0

I am finally able to come up with a compilable code. As I attempt to verify the contract, the Remix - Ethereum output is "undefined". Someone advice me on what to do. My ABI is as follows:

[
{
    "constant": false,
    "inputs": [
        {
            "name": "to",
            "type": "address"
        },
        {
            "name": "amount",
            "type": "uint256"
        }
    ],
    "name": "transfer",
    "outputs": [],
    "payable": false,
    "stateMutability": "nonpayable",
    "type": "function"
},
{
    "constant": true,
    "inputs": [
        {
            "name": "account",
            "type": "address"
        }
    ],
    "name": "getBalance",
    "outputs": [
        {
            "name": "",
            "type": "uint256"
        }
    ],
    "payable": false,
    "stateMutability": "view",
    "type": "function"
},
{
    "inputs": [],
    "payable": false,
    "stateMutability": "nonpayable",
    "type": "constructor"
}
]
  • 2
    Could you show your code? And cojld you explain what are you trying to achieve? – Mikhail Vladimirov Aug 25 at 17:19

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.