github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/AssetReceiver.json (about) 1 [ 2 { 3 "inputs": [ 4 { 5 "internalType": "address", 6 "name": "_owner", 7 "type": "address" 8 } 9 ], 10 "stateMutability": "nonpayable", 11 "type": "constructor" 12 }, 13 { 14 "stateMutability": "payable", 15 "type": "receive" 16 }, 17 { 18 "inputs": [ 19 { 20 "internalType": "address", 21 "name": "_target", 22 "type": "address" 23 }, 24 { 25 "internalType": "bytes", 26 "name": "_data", 27 "type": "bytes" 28 }, 29 { 30 "internalType": "uint256", 31 "name": "_value", 32 "type": "uint256" 33 } 34 ], 35 "name": "CALL", 36 "outputs": [ 37 { 38 "internalType": "bool", 39 "name": "success_", 40 "type": "bool" 41 }, 42 { 43 "internalType": "bytes", 44 "name": "data_", 45 "type": "bytes" 46 } 47 ], 48 "stateMutability": "payable", 49 "type": "function" 50 }, 51 { 52 "inputs": [ 53 { 54 "internalType": "address", 55 "name": "_target", 56 "type": "address" 57 }, 58 { 59 "internalType": "bytes", 60 "name": "_data", 61 "type": "bytes" 62 } 63 ], 64 "name": "DELEGATECALL", 65 "outputs": [ 66 { 67 "internalType": "bool", 68 "name": "success_", 69 "type": "bool" 70 }, 71 { 72 "internalType": "bytes", 73 "name": "data_", 74 "type": "bytes" 75 } 76 ], 77 "stateMutability": "payable", 78 "type": "function" 79 }, 80 { 81 "inputs": [], 82 "name": "owner", 83 "outputs": [ 84 { 85 "internalType": "address", 86 "name": "", 87 "type": "address" 88 } 89 ], 90 "stateMutability": "view", 91 "type": "function" 92 }, 93 { 94 "inputs": [ 95 { 96 "internalType": "address", 97 "name": "newOwner", 98 "type": "address" 99 } 100 ], 101 "name": "setOwner", 102 "outputs": [], 103 "stateMutability": "nonpayable", 104 "type": "function" 105 }, 106 { 107 "inputs": [ 108 { 109 "internalType": "contract ERC20", 110 "name": "_asset", 111 "type": "address" 112 }, 113 { 114 "internalType": "address", 115 "name": "_to", 116 "type": "address" 117 }, 118 { 119 "internalType": "uint256", 120 "name": "_amount", 121 "type": "uint256" 122 } 123 ], 124 "name": "withdrawERC20", 125 "outputs": [], 126 "stateMutability": "nonpayable", 127 "type": "function" 128 }, 129 { 130 "inputs": [ 131 { 132 "internalType": "contract ERC20", 133 "name": "_asset", 134 "type": "address" 135 }, 136 { 137 "internalType": "address", 138 "name": "_to", 139 "type": "address" 140 } 141 ], 142 "name": "withdrawERC20", 143 "outputs": [], 144 "stateMutability": "nonpayable", 145 "type": "function" 146 }, 147 { 148 "inputs": [ 149 { 150 "internalType": "contract ERC721", 151 "name": "_asset", 152 "type": "address" 153 }, 154 { 155 "internalType": "address", 156 "name": "_to", 157 "type": "address" 158 }, 159 { 160 "internalType": "uint256", 161 "name": "_id", 162 "type": "uint256" 163 } 164 ], 165 "name": "withdrawERC721", 166 "outputs": [], 167 "stateMutability": "nonpayable", 168 "type": "function" 169 }, 170 { 171 "inputs": [ 172 { 173 "internalType": "address payable", 174 "name": "_to", 175 "type": "address" 176 }, 177 { 178 "internalType": "uint256", 179 "name": "_amount", 180 "type": "uint256" 181 } 182 ], 183 "name": "withdrawETH", 184 "outputs": [], 185 "stateMutability": "nonpayable", 186 "type": "function" 187 }, 188 { 189 "inputs": [ 190 { 191 "internalType": "address payable", 192 "name": "_to", 193 "type": "address" 194 } 195 ], 196 "name": "withdrawETH", 197 "outputs": [], 198 "stateMutability": "nonpayable", 199 "type": "function" 200 }, 201 { 202 "anonymous": false, 203 "inputs": [ 204 { 205 "indexed": true, 206 "internalType": "address", 207 "name": "user", 208 "type": "address" 209 }, 210 { 211 "indexed": true, 212 "internalType": "address", 213 "name": "newOwner", 214 "type": "address" 215 } 216 ], 217 "name": "OwnerUpdated", 218 "type": "event" 219 }, 220 { 221 "anonymous": false, 222 "inputs": [ 223 { 224 "indexed": true, 225 "internalType": "address", 226 "name": "from", 227 "type": "address" 228 }, 229 { 230 "indexed": false, 231 "internalType": "uint256", 232 "name": "amount", 233 "type": "uint256" 234 } 235 ], 236 "name": "ReceivedETH", 237 "type": "event" 238 }, 239 { 240 "anonymous": false, 241 "inputs": [ 242 { 243 "indexed": true, 244 "internalType": "address", 245 "name": "withdrawer", 246 "type": "address" 247 }, 248 { 249 "indexed": true, 250 "internalType": "address", 251 "name": "recipient", 252 "type": "address" 253 }, 254 { 255 "indexed": true, 256 "internalType": "address", 257 "name": "asset", 258 "type": "address" 259 }, 260 { 261 "indexed": false, 262 "internalType": "uint256", 263 "name": "amount", 264 "type": "uint256" 265 } 266 ], 267 "name": "WithdrewERC20", 268 "type": "event" 269 }, 270 { 271 "anonymous": false, 272 "inputs": [ 273 { 274 "indexed": true, 275 "internalType": "address", 276 "name": "withdrawer", 277 "type": "address" 278 }, 279 { 280 "indexed": true, 281 "internalType": "address", 282 "name": "recipient", 283 "type": "address" 284 }, 285 { 286 "indexed": true, 287 "internalType": "address", 288 "name": "asset", 289 "type": "address" 290 }, 291 { 292 "indexed": false, 293 "internalType": "uint256", 294 "name": "id", 295 "type": "uint256" 296 } 297 ], 298 "name": "WithdrewERC721", 299 "type": "event" 300 }, 301 { 302 "anonymous": false, 303 "inputs": [ 304 { 305 "indexed": true, 306 "internalType": "address", 307 "name": "withdrawer", 308 "type": "address" 309 }, 310 { 311 "indexed": true, 312 "internalType": "address", 313 "name": "recipient", 314 "type": "address" 315 }, 316 { 317 "indexed": false, 318 "internalType": "uint256", 319 "name": "amount", 320 "type": "uint256" 321 } 322 ], 323 "name": "WithdrewETH", 324 "type": "event" 325 } 326 ]