0

This is my code:https://gist.github.com/Puregass/f3ef64b9722c77a9290ad6369cd11172 Remix.etherium can't create ABI for my contract.How can I fix it ?

1
  • just run through solc with --abi flag
    – Nulik
    Aug 18, 2021 at 1:41

1 Answer 1

1

It does, you are just getting the ABI for the wrong contract segment.

  1. Choose Solidity version: 0.6.12;
  2. Then compile the contract
  3. Then in the dropdown here:

enter image description here

Choose PGS

  1. Then copy the ABI below

enter image description here

There you go :)

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.