I want to call FA1.2 token's transfer entrypoint & FA2.0 token's transfer entrypoint from the one contract using get_entrypoint_opt/get_contract_opt.

But, Both interfaces use "Transfer" for entry points.

So, If I write two type in the one contract , I get the next error.

Constructor "Transfer" already exists as part of another variant.

Is this impossible with LIGO lang?

  • I solved this. thank you.
    – ans st
    Jan 2 at 16:14


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.