NEWTON

NEWTON


Popular tags

    My ABIs will be same right? In UI I am assuming I wont have to make any changes

    Asked

    6 days ago

    1

    view


    0

    My ABIs will be same right? In UI I am assuming I wont have to make any changes

      warp

    victorforissier.eth

    asked

    6 days ago


    1 answers

    0

    Accepted answer

    The ABI of your warp’d Cairo contract is different for two reasons:

    1. Cairo doesn’t allow overloading, so we append the EVM function selector of the function to its name to avoid collisions.
    2. Cairo doesn’t have the same types as Solidity.

    If you try to interact with your warp’d contracts through warp cli or hardhat- warp then it does the automatic ABI translation for you.

    victorforissier.eth

    answered

    6 days ago

    Your answer

    NEWTON

    NEWTON