mirror of
https://github.com/grassrootseconomics/cic-go.git
synced 2024-11-22 05:56:46 +01:00
Mohamed Sohail
8ebcbbf479
* 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
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"
|
|
}
|
|
] |