mirror of
https://github.com/grassrootseconomics/cic-go.git
synced 2024-11-25 23:16:46 +01:00
Mohammed Sohail
c34e1444dc
changes to contract: - returns 0 instead of false error status - func return type is []big.Int
38 lines
753 B
JSON
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"
|
|
}
|
|
] |