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 Answer
It does, you are just getting the ABI for the wrong contract segment.
- Choose Solidity version: 0.6.12;
- Then compile the contract
- Then in the dropdown here:
Choose PGS
- Then copy the ABI below
There you go :)
solc
with--abi
flag