github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/LegacyERC20ETH.json (about) 1 [ 2 { 3 "inputs": [], 4 "stateMutability": "nonpayable", 5 "type": "constructor" 6 }, 7 { 8 "inputs": [], 9 "name": "BRIDGE", 10 "outputs": [ 11 { 12 "internalType": "address", 13 "name": "", 14 "type": "address" 15 } 16 ], 17 "stateMutability": "view", 18 "type": "function" 19 }, 20 { 21 "inputs": [], 22 "name": "REMOTE_TOKEN", 23 "outputs": [ 24 { 25 "internalType": "address", 26 "name": "", 27 "type": "address" 28 } 29 ], 30 "stateMutability": "view", 31 "type": "function" 32 }, 33 { 34 "inputs": [ 35 { 36 "internalType": "address", 37 "name": "owner", 38 "type": "address" 39 }, 40 { 41 "internalType": "address", 42 "name": "spender", 43 "type": "address" 44 } 45 ], 46 "name": "allowance", 47 "outputs": [ 48 { 49 "internalType": "uint256", 50 "name": "", 51 "type": "uint256" 52 } 53 ], 54 "stateMutability": "view", 55 "type": "function" 56 }, 57 { 58 "inputs": [ 59 { 60 "internalType": "address", 61 "name": "", 62 "type": "address" 63 }, 64 { 65 "internalType": "uint256", 66 "name": "", 67 "type": "uint256" 68 } 69 ], 70 "name": "approve", 71 "outputs": [ 72 { 73 "internalType": "bool", 74 "name": "", 75 "type": "bool" 76 } 77 ], 78 "stateMutability": "nonpayable", 79 "type": "function" 80 }, 81 { 82 "inputs": [ 83 { 84 "internalType": "address", 85 "name": "_who", 86 "type": "address" 87 } 88 ], 89 "name": "balanceOf", 90 "outputs": [ 91 { 92 "internalType": "uint256", 93 "name": "", 94 "type": "uint256" 95 } 96 ], 97 "stateMutability": "view", 98 "type": "function" 99 }, 100 { 101 "inputs": [], 102 "name": "bridge", 103 "outputs": [ 104 { 105 "internalType": "address", 106 "name": "", 107 "type": "address" 108 } 109 ], 110 "stateMutability": "view", 111 "type": "function" 112 }, 113 { 114 "inputs": [ 115 { 116 "internalType": "address", 117 "name": "", 118 "type": "address" 119 }, 120 { 121 "internalType": "uint256", 122 "name": "", 123 "type": "uint256" 124 } 125 ], 126 "name": "burn", 127 "outputs": [], 128 "stateMutability": "nonpayable", 129 "type": "function" 130 }, 131 { 132 "inputs": [], 133 "name": "decimals", 134 "outputs": [ 135 { 136 "internalType": "uint8", 137 "name": "", 138 "type": "uint8" 139 } 140 ], 141 "stateMutability": "view", 142 "type": "function" 143 }, 144 { 145 "inputs": [ 146 { 147 "internalType": "address", 148 "name": "", 149 "type": "address" 150 }, 151 { 152 "internalType": "uint256", 153 "name": "", 154 "type": "uint256" 155 } 156 ], 157 "name": "decreaseAllowance", 158 "outputs": [ 159 { 160 "internalType": "bool", 161 "name": "", 162 "type": "bool" 163 } 164 ], 165 "stateMutability": "nonpayable", 166 "type": "function" 167 }, 168 { 169 "inputs": [ 170 { 171 "internalType": "address", 172 "name": "", 173 "type": "address" 174 }, 175 { 176 "internalType": "uint256", 177 "name": "", 178 "type": "uint256" 179 } 180 ], 181 "name": "increaseAllowance", 182 "outputs": [ 183 { 184 "internalType": "bool", 185 "name": "", 186 "type": "bool" 187 } 188 ], 189 "stateMutability": "nonpayable", 190 "type": "function" 191 }, 192 { 193 "inputs": [], 194 "name": "l1Token", 195 "outputs": [ 196 { 197 "internalType": "address", 198 "name": "", 199 "type": "address" 200 } 201 ], 202 "stateMutability": "view", 203 "type": "function" 204 }, 205 { 206 "inputs": [], 207 "name": "l2Bridge", 208 "outputs": [ 209 { 210 "internalType": "address", 211 "name": "", 212 "type": "address" 213 } 214 ], 215 "stateMutability": "view", 216 "type": "function" 217 }, 218 { 219 "inputs": [ 220 { 221 "internalType": "address", 222 "name": "", 223 "type": "address" 224 }, 225 { 226 "internalType": "uint256", 227 "name": "", 228 "type": "uint256" 229 } 230 ], 231 "name": "mint", 232 "outputs": [], 233 "stateMutability": "nonpayable", 234 "type": "function" 235 }, 236 { 237 "inputs": [], 238 "name": "name", 239 "outputs": [ 240 { 241 "internalType": "string", 242 "name": "", 243 "type": "string" 244 } 245 ], 246 "stateMutability": "view", 247 "type": "function" 248 }, 249 { 250 "inputs": [], 251 "name": "remoteToken", 252 "outputs": [ 253 { 254 "internalType": "address", 255 "name": "", 256 "type": "address" 257 } 258 ], 259 "stateMutability": "view", 260 "type": "function" 261 }, 262 { 263 "inputs": [ 264 { 265 "internalType": "bytes4", 266 "name": "_interfaceId", 267 "type": "bytes4" 268 } 269 ], 270 "name": "supportsInterface", 271 "outputs": [ 272 { 273 "internalType": "bool", 274 "name": "", 275 "type": "bool" 276 } 277 ], 278 "stateMutability": "pure", 279 "type": "function" 280 }, 281 { 282 "inputs": [], 283 "name": "symbol", 284 "outputs": [ 285 { 286 "internalType": "string", 287 "name": "", 288 "type": "string" 289 } 290 ], 291 "stateMutability": "view", 292 "type": "function" 293 }, 294 { 295 "inputs": [], 296 "name": "totalSupply", 297 "outputs": [ 298 { 299 "internalType": "uint256", 300 "name": "", 301 "type": "uint256" 302 } 303 ], 304 "stateMutability": "view", 305 "type": "function" 306 }, 307 { 308 "inputs": [ 309 { 310 "internalType": "address", 311 "name": "", 312 "type": "address" 313 }, 314 { 315 "internalType": "uint256", 316 "name": "", 317 "type": "uint256" 318 } 319 ], 320 "name": "transfer", 321 "outputs": [ 322 { 323 "internalType": "bool", 324 "name": "", 325 "type": "bool" 326 } 327 ], 328 "stateMutability": "nonpayable", 329 "type": "function" 330 }, 331 { 332 "inputs": [ 333 { 334 "internalType": "address", 335 "name": "", 336 "type": "address" 337 }, 338 { 339 "internalType": "address", 340 "name": "", 341 "type": "address" 342 }, 343 { 344 "internalType": "uint256", 345 "name": "", 346 "type": "uint256" 347 } 348 ], 349 "name": "transferFrom", 350 "outputs": [ 351 { 352 "internalType": "bool", 353 "name": "", 354 "type": "bool" 355 } 356 ], 357 "stateMutability": "nonpayable", 358 "type": "function" 359 }, 360 { 361 "inputs": [], 362 "name": "version", 363 "outputs": [ 364 { 365 "internalType": "string", 366 "name": "", 367 "type": "string" 368 } 369 ], 370 "stateMutability": "view", 371 "type": "function" 372 }, 373 { 374 "anonymous": false, 375 "inputs": [ 376 { 377 "indexed": true, 378 "internalType": "address", 379 "name": "owner", 380 "type": "address" 381 }, 382 { 383 "indexed": true, 384 "internalType": "address", 385 "name": "spender", 386 "type": "address" 387 }, 388 { 389 "indexed": false, 390 "internalType": "uint256", 391 "name": "value", 392 "type": "uint256" 393 } 394 ], 395 "name": "Approval", 396 "type": "event" 397 }, 398 { 399 "anonymous": false, 400 "inputs": [ 401 { 402 "indexed": true, 403 "internalType": "address", 404 "name": "account", 405 "type": "address" 406 }, 407 { 408 "indexed": false, 409 "internalType": "uint256", 410 "name": "amount", 411 "type": "uint256" 412 } 413 ], 414 "name": "Burn", 415 "type": "event" 416 }, 417 { 418 "anonymous": false, 419 "inputs": [ 420 { 421 "indexed": true, 422 "internalType": "address", 423 "name": "account", 424 "type": "address" 425 }, 426 { 427 "indexed": false, 428 "internalType": "uint256", 429 "name": "amount", 430 "type": "uint256" 431 } 432 ], 433 "name": "Mint", 434 "type": "event" 435 }, 436 { 437 "anonymous": false, 438 "inputs": [ 439 { 440 "indexed": true, 441 "internalType": "address", 442 "name": "from", 443 "type": "address" 444 }, 445 { 446 "indexed": true, 447 "internalType": "address", 448 "name": "to", 449 "type": "address" 450 }, 451 { 452 "indexed": false, 453 "internalType": "uint256", 454 "name": "value", 455 "type": "uint256" 456 } 457 ], 458 "name": "Transfer", 459 "type": "event" 460 } 461 ]