cic-go/batch_balance/smart-contract/artifacts/abi.json
Mohamed Sohail 8ebcbbf479
add: (wip) on-chain balance query (#5)
* add: smart-contracts

* add: implement and test

changes to contract:
- returns 0 instead of false error status
- func return type is []big.Int

* fix: test name

* fix: (test) env var name
2022-05-17 20:33:03 +03:00

38 lines
753 B
JSON

[
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address[]",
"name": "contracts",
"type": "address[]"
}
],
"name": "tokensBalance",
"outputs": [
{
"components": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
},
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
],
"internalType": "struct Balances.Result[]",
"name": "results",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
}
]