|
1 | | -{ |
2 | | - "_format": "hh-sol-artifact-1", |
3 | | - "contractName": "IBank", |
4 | | - "sourceName": "solidity/precompiles/bank/IBank.sol", |
5 | | - "abi": [ |
6 | | - { |
7 | | - "inputs": [ |
8 | | - { |
9 | | - "internalType": "address", |
10 | | - "name": "account", |
11 | | - "type": "address" |
12 | | - } |
13 | | - ], |
14 | | - "name": "balances", |
15 | | - "outputs": [ |
16 | | - { |
17 | | - "components": [ |
18 | | - { |
19 | | - "internalType": "address", |
20 | | - "name": "contractAddress", |
21 | | - "type": "address" |
22 | | - }, |
23 | | - { |
24 | | - "internalType": "uint256", |
25 | | - "name": "amount", |
26 | | - "type": "uint256" |
27 | | - } |
28 | | - ], |
29 | | - "internalType": "struct Balance[]", |
30 | | - "name": "balances", |
31 | | - "type": "tuple[]" |
32 | | - } |
33 | | - ], |
34 | | - "stateMutability": "view", |
35 | | - "type": "function" |
36 | | - }, |
37 | | - { |
38 | | - "inputs": [ |
39 | | - { |
40 | | - "internalType": "address", |
41 | | - "name": "erc20Address", |
42 | | - "type": "address" |
43 | | - } |
44 | | - ], |
45 | | - "name": "supplyOf", |
46 | | - "outputs": [ |
47 | | - { |
48 | | - "internalType": "uint256", |
49 | | - "name": "totalSupply", |
50 | | - "type": "uint256" |
51 | | - } |
52 | | - ], |
53 | | - "stateMutability": "view", |
54 | | - "type": "function" |
55 | | - }, |
56 | | - { |
57 | | - "inputs": [], |
58 | | - "name": "totalSupply", |
59 | | - "outputs": [ |
60 | | - { |
61 | | - "components": [ |
62 | | - { |
63 | | - "internalType": "address", |
64 | | - "name": "contractAddress", |
65 | | - "type": "address" |
66 | | - }, |
67 | | - { |
68 | | - "internalType": "uint256", |
69 | | - "name": "amount", |
70 | | - "type": "uint256" |
71 | | - } |
72 | | - ], |
73 | | - "internalType": "struct Balance[]", |
74 | | - "name": "totalSupply", |
75 | | - "type": "tuple[]" |
76 | | - } |
77 | | - ], |
78 | | - "stateMutability": "view", |
79 | | - "type": "function" |
80 | | - } |
81 | | - ], |
82 | | - "bytecode": "0x", |
83 | | - "deployedBytecode": "0x", |
84 | | - "linkReferences": {}, |
85 | | - "deployedLinkReferences": {} |
86 | | -} |
| 1 | +[ |
| 2 | + { |
| 3 | + "inputs": [ |
| 4 | + { |
| 5 | + "internalType": "address", |
| 6 | + "name": "account", |
| 7 | + "type": "address" |
| 8 | + } |
| 9 | + ], |
| 10 | + "name": "balances", |
| 11 | + "outputs": [ |
| 12 | + { |
| 13 | + "components": [ |
| 14 | + { |
| 15 | + "internalType": "address", |
| 16 | + "name": "contractAddress", |
| 17 | + "type": "address" |
| 18 | + }, |
| 19 | + { |
| 20 | + "internalType": "uint256", |
| 21 | + "name": "amount", |
| 22 | + "type": "uint256" |
| 23 | + } |
| 24 | + ], |
| 25 | + "internalType": "struct Balance[]", |
| 26 | + "name": "balances", |
| 27 | + "type": "tuple[]" |
| 28 | + } |
| 29 | + ], |
| 30 | + "stateMutability": "view", |
| 31 | + "type": "function" |
| 32 | + }, |
| 33 | + { |
| 34 | + "inputs": [ |
| 35 | + { |
| 36 | + "internalType": "address", |
| 37 | + "name": "erc20Address", |
| 38 | + "type": "address" |
| 39 | + } |
| 40 | + ], |
| 41 | + "name": "supplyOf", |
| 42 | + "outputs": [ |
| 43 | + { |
| 44 | + "internalType": "uint256", |
| 45 | + "name": "totalSupply", |
| 46 | + "type": "uint256" |
| 47 | + } |
| 48 | + ], |
| 49 | + "stateMutability": "view", |
| 50 | + "type": "function" |
| 51 | + }, |
| 52 | + { |
| 53 | + "inputs": [], |
| 54 | + "name": "totalSupply", |
| 55 | + "outputs": [ |
| 56 | + { |
| 57 | + "components": [ |
| 58 | + { |
| 59 | + "internalType": "address", |
| 60 | + "name": "contractAddress", |
| 61 | + "type": "address" |
| 62 | + }, |
| 63 | + { |
| 64 | + "internalType": "uint256", |
| 65 | + "name": "amount", |
| 66 | + "type": "uint256" |
| 67 | + } |
| 68 | + ], |
| 69 | + "internalType": "struct Balance[]", |
| 70 | + "name": "totalSupply", |
| 71 | + "type": "tuple[]" |
| 72 | + } |
| 73 | + ], |
| 74 | + "stateMutability": "view", |
| 75 | + "type": "function" |
| 76 | + } |
| 77 | +] |
0 commit comments