|
| 1 | +export const IPROXY_ADDRESS = "0x000000000000000000000000000000000000080b"; |
| 2 | + |
| 3 | +export const IProxyABI = [ |
| 4 | + { |
| 5 | + "inputs": [ |
| 6 | + { |
| 7 | + "internalType": "uint8", |
| 8 | + "name": "proxy_type", |
| 9 | + "type": "uint8" |
| 10 | + }, |
| 11 | + { |
| 12 | + "internalType": "uint32", |
| 13 | + "name": "delay", |
| 14 | + "type": "uint32" |
| 15 | + }, |
| 16 | + { |
| 17 | + "internalType": "uint16", |
| 18 | + "name": "index", |
| 19 | + "type": "uint16" |
| 20 | + } |
| 21 | + ], |
| 22 | + "name": "createPureProxy", |
| 23 | + "outputs": [ |
| 24 | + { |
| 25 | + "internalType": "bytes32", |
| 26 | + "name": "proxy", |
| 27 | + "type": "bytes32" |
| 28 | + } |
| 29 | + ], |
| 30 | + "stateMutability": "nonpayable", |
| 31 | + "type": "function" |
| 32 | + }, |
| 33 | + { |
| 34 | + "inputs": [ |
| 35 | + { |
| 36 | + "internalType": "bytes32", |
| 37 | + "name": "spawner", |
| 38 | + "type": "bytes32" |
| 39 | + }, |
| 40 | + { |
| 41 | + "internalType": "uint8", |
| 42 | + "name": "proxy_type", |
| 43 | + "type": "uint8" |
| 44 | + }, |
| 45 | + { |
| 46 | + "internalType": "uint16", |
| 47 | + "name": "index", |
| 48 | + "type": "uint16" |
| 49 | + }, |
| 50 | + { |
| 51 | + "internalType": "uint32", |
| 52 | + "name": "height", |
| 53 | + "type": "uint32" |
| 54 | + }, |
| 55 | + { |
| 56 | + "internalType": "uint32", |
| 57 | + "name": "ext_index", |
| 58 | + "type": "uint32" |
| 59 | + } |
| 60 | + ], |
| 61 | + "name": "killPureProxy", |
| 62 | + "outputs": [], |
| 63 | + "stateMutability": "nonpayable", |
| 64 | + "type": "function" |
| 65 | + }, |
| 66 | + { |
| 67 | + "inputs": [ |
| 68 | + { |
| 69 | + "internalType": "bytes32", |
| 70 | + "name": "real", |
| 71 | + "type": "bytes32" |
| 72 | + }, |
| 73 | + { |
| 74 | + "internalType": "uint8[]", |
| 75 | + "name": "force_proxy_type", // optional |
| 76 | + "type": "uint8[]" |
| 77 | + }, |
| 78 | + { |
| 79 | + "internalType": "uint8[]", |
| 80 | + "name": "call", |
| 81 | + "type": "uint8[]" |
| 82 | + } |
| 83 | + ], |
| 84 | + "name": "proxyCall", |
| 85 | + "outputs": [], |
| 86 | + "stateMutability": "nonpayable", |
| 87 | + "type": "function" |
| 88 | + }, |
| 89 | + { |
| 90 | + "inputs": [], |
| 91 | + "name": "removeProxies", |
| 92 | + "outputs": [], |
| 93 | + "stateMutability": "nonpayable", |
| 94 | + "type": "function" |
| 95 | + }, { |
| 96 | + "inputs": [], |
| 97 | + "name": "pokeDeposit", |
| 98 | + "outputs": [], |
| 99 | + "stateMutability": "nonpayable", |
| 100 | + "type": "function" |
| 101 | + }, |
| 102 | + { |
| 103 | + "inputs": [ |
| 104 | + { |
| 105 | + "internalType": "bytes32", |
| 106 | + "name": "delegate", |
| 107 | + "type": "bytes32" |
| 108 | + }, |
| 109 | + { |
| 110 | + "internalType": "uint8", |
| 111 | + "name": "proxy_type", |
| 112 | + "type": "uint8" |
| 113 | + }, |
| 114 | + { |
| 115 | + "internalType": "uint32", |
| 116 | + "name": "delay", |
| 117 | + "type": "uint32" |
| 118 | + } |
| 119 | + ], |
| 120 | + "name": "removeProxy", |
| 121 | + "outputs": [], |
| 122 | + "stateMutability": "nonpayable", |
| 123 | + "type": "function" |
| 124 | + }, |
| 125 | + { |
| 126 | + "inputs": [ |
| 127 | + { |
| 128 | + "internalType": "bytes32", |
| 129 | + "name": "delegate", |
| 130 | + "type": "bytes32" |
| 131 | + }, |
| 132 | + { |
| 133 | + "internalType": "uint8", |
| 134 | + "name": "proxy_type", |
| 135 | + "type": "uint8" |
| 136 | + }, |
| 137 | + { |
| 138 | + "internalType": "uint32", |
| 139 | + "name": "delay", |
| 140 | + "type": "uint32" |
| 141 | + } |
| 142 | + ], |
| 143 | + "name": "addProxy", |
| 144 | + "outputs": [], |
| 145 | + "stateMutability": "nonpayable", |
| 146 | + "type": "function" |
| 147 | + } |
| 148 | +]; |
0 commit comments