var TimelockControllerUpgradeable = [ { inputs: [ ], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ ], name: "FailedCall", type: "error" }, { inputs: [ ], name: "InvalidInitialization", type: "error" }, { inputs: [ ], name: "NotInitializing", type: "error" }, { inputs: [ { internalType: "uint256", name: "delay", type: "uint256" }, { internalType: "uint256", name: "minDelay", type: "uint256" } ], name: "TimelockInsufficientDelay", type: "error" }, { inputs: [ { internalType: "uint256", name: "targets", type: "uint256" }, { internalType: "uint256", name: "payloads", type: "uint256" }, { internalType: "uint256", name: "values", type: "uint256" } ], name: "TimelockInvalidOperationLength", type: "error" }, { inputs: [ { internalType: "address", name: "caller", type: "address" } ], name: "TimelockUnauthorizedCaller", type: "error" }, { inputs: [ { internalType: "bytes32", name: "predecessorId", type: "bytes32" } ], name: "TimelockUnexecutedPredecessor", type: "error" }, { inputs: [ { internalType: "bytes32", name: "operationId", type: "bytes32" }, { internalType: "bytes32", name: "expectedStates", type: "bytes32" } ], name: "TimelockUnexpectedOperationState", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address", name: "target", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" } ], name: "CallExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" }, { indexed: false, internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "CallSalt", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address", name: "target", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "bytes32", name: "predecessor", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "delay", type: "uint256" } ], name: "CallScheduled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" } ], name: "Cancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldDuration", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newDuration", type: "uint256" } ], name: "MinDelayChange", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" } ], name: "RoleAdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" } ], name: "RoleGranted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" } ], name: "RoleRevoked", type: "event" }, { inputs: [ ], name: "CANCELLER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "EXECUTOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "PROPOSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "cancel", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "payload", type: "bytes" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "execute", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "payloads", type: "bytes[]" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "executeBatch", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ ], name: "getMinDelay", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "getOperationState", outputs: [ { internalType: "enum TimelockControllerUpgradeable.OperationState", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "getTimestamp", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "hasRole", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "hashOperation", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "payloads", type: "bytes[]" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "hashOperationBatch", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "minDelay", type: "uint256" }, { internalType: "address[]", name: "proposers", type: "address[]" }, { internalType: "address[]", name: "executors", type: "address[]" }, { internalType: "address", name: "admin", type: "address" } ], name: "initialize", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperation", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperationDone", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperationPending", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperationReady", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", type: "address" } ], name: "renounceRole", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256", name: "delay", type: "uint256" } ], name: "schedule", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "payloads", type: "bytes[]" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256", name: "delay", type: "uint256" } ], name: "scheduleBatch", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "newDelay", type: "uint256" } ], name: "updateDelay", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ArbitrumOrbitNativeBridgeProxy = [ { inputs: [ { internalType: "address", name: "routerGateway", type: "address" }, { internalType: "uint256", name: "relayPoolChainId", type: "uint256" }, { internalType: "address", name: "relayPool", type: "address" }, { internalType: "address", name: "l1BridgeProxy", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "actual", type: "address" } ], name: "AssetMismatch", type: "error" }, { inputs: [ ], name: "BridgeNotImplemented", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], name: "NotAuthorized", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "TokenNotBridged", type: "error" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "TransferFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "received", type: "address" } ], name: "UnexpectedL1Asset", type: "error" }, { inputs: [ ], name: "ARB_SYS", outputs: [ { internalType: "contract IArbSys", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "L1_BRIDGE_PROXY", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL_CHAIN_ID", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "ROUTER", outputs: [ { internalType: "contract IL2GatewayRouter", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "l1Currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "bridge", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "claim", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BridgeProxy = [ { inputs: [ { internalType: "uint256", name: "relayPoolChainId", type: "uint256" }, { internalType: "address", name: "relayPool", type: "address" }, { internalType: "address", name: "l1BridgeProxy", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "BridgeNotImplemented", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], name: "NotAuthorized", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "TokenNotBridged", type: "error" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "TransferFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "received", type: "address" } ], name: "UnexpectedL1Asset", type: "error" }, { inputs: [ ], name: "L1_BRIDGE_PROXY", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL_CHAIN_ID", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "address", name: "l1Asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "txParams", type: "bytes" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], name: "bridge", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "claim", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" } ]; var CCTPBridgeProxy = [ { inputs: [ { internalType: "address", name: "messenger", type: "address" }, { internalType: "address", name: "usdc", type: "address" }, { internalType: "uint256", name: "relayPoolChainId", type: "uint256" }, { internalType: "address", name: "relayPool", type: "address" }, { internalType: "address", name: "l1BridgeProxy", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "BridgeNotImplemented", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], name: "NotAuthorized", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "TokenNotBridged", type: "error" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "TransferFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "received", type: "address" } ], name: "UnexpectedL1Asset", type: "error" }, { inputs: [ ], name: "ETHEREUM_DOMAIN", outputs: [ { internalType: "uint32", name: "", type: "uint32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "L1_BRIDGE_PROXY", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "MESSENGER", outputs: [ { internalType: "contract ITokenMessenger", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL_CHAIN_ID", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "USDC", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "bridge", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "claim", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" } ]; var OPStackNativeBridgeProxy = [ { inputs: [ { internalType: "uint256", name: "relayPoolChainId", type: "uint256" }, { internalType: "address", name: "relayPool", type: "address" }, { internalType: "address", name: "l1BridgeProxy", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "BridgeNotImplemented", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], name: "NotAuthorized", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "TokenNotBridged", type: "error" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "TransferFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "received", type: "address" } ], name: "UnexpectedL1Asset", type: "error" }, { inputs: [ ], name: "L1_BRIDGE_PROXY", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "MIN_GAS_LIMIT", outputs: [ { internalType: "uint32", name: "", type: "uint32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL_CHAIN_ID", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "STANDARD_BRIDGE", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "address", name: "l1Asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "bridge", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "claim", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ZkSyncBridgeProxy = [ { inputs: [ { internalType: "address", name: "l2SharedBridge", type: "address" }, { internalType: "uint256", name: "relayPoolChainId", type: "uint256" }, { internalType: "address", name: "relayPool", type: "address" }, { internalType: "address", name: "l1BridgeProxy", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "BridgeNotImplemented", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], name: "NotAuthorized", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "TokenNotBridged", type: "error" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "TransferFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "received", type: "address" } ], name: "UnexpectedL1Asset", type: "error" }, { inputs: [ ], name: "L1_BRIDGE_PROXY", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "L2_BASE_TOKEN", outputs: [ { internalType: "contract IBaseToken", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "L2_SHARED_BRIDGE", outputs: [ { internalType: "contract IL2SharedBridge", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RELAY_POOL_CHAIN_ID", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "bridge", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "claim", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var IRelayBridge = [ { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "poolAsset", type: "address" }, { internalType: "uint256", name: "poolGas", type: "uint256" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], name: "bridge", outputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], stateMutability: "payable", type: "function" } ]; var RelayBridge = [ { inputs: [ { internalType: "address", name: "asset", type: "address" }, { internalType: "contract BridgeProxy", name: "bridgeProxy", type: "address" }, { internalType: "address", name: "hyperlaneMailbox", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "BridgingFailed", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" } ], name: "FailedFeeRefund", type: "error" }, { inputs: [ { internalType: "uint256", name: "received", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "InsufficientValue", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "BridgeCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "BridgeExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "address", name: "ASSET", type: "address" }, { indexed: false, internalType: "address", name: "poolAsset", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "contract BridgeProxy", name: "BRIDGE_PROXY", type: "address" } ], name: "BridgeInitiated", type: "event" }, { inputs: [ ], name: "ASSET", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "BRIDGE_PROXY", outputs: [ { internalType: "contract BridgeProxy", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "HYPERLANE_MAILBOX", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "poolAsset", type: "address" }, { internalType: "uint256", name: "poolGas", type: "uint256" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], name: "bridge", outputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "poolGas", type: "uint256" } ], name: "getFee", outputs: [ { internalType: "uint256", name: "fee", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "transferNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var RelayBridgeFactory = [ { inputs: [ { internalType: "address", name: "hMailbox", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "bridge", type: "address" }, { indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: true, internalType: "contract BridgeProxy", name: "proxyBridge", type: "address" } ], name: "BridgeDeployed", type: "event" }, { inputs: [ ], name: "HYPERLANE_MAILBOX", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "bridgesByAsset", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "asset", type: "address" }, { internalType: "contract BridgeProxy", name: "proxyBridge", type: "address" } ], name: "deployBridge", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "nonpayable", type: "function" } ]; var RelayPoolFactory = [ { inputs: [ { internalType: "address", name: "hMailbox", type: "address" }, { internalType: "address", name: "weth", type: "address" }, { internalType: "address", name: "timelock", type: "address" }, { internalType: "uint256", name: "minTimelockDelay", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "FailedDeployment", type: "error" }, { inputs: [ { internalType: "uint256", name: "balance", type: "uint256" }, { internalType: "uint256", name: "needed", type: "uint256" } ], name: "InsufficientBalance", type: "error" }, { inputs: [ { internalType: "uint256", name: "deposit", type: "uint256" } ], name: "InsufficientInitialDeposit", type: "error" }, { inputs: [ { internalType: "uint256", name: "delay", type: "uint256" } ], name: "InsufficientTimelockDelay", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "OwnableInvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "OwnableUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "UnauthorizedCaller", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "pool", type: "address" }, { indexed: true, internalType: "address", name: "creator", type: "address" }, { indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: false, internalType: "string", name: "name", type: "string" }, { indexed: false, internalType: "string", name: "symbol", type: "string" }, { indexed: false, internalType: "address", name: "thirdPartyPool", type: "address" }, { indexed: false, internalType: "address", name: "timelock", type: "address" } ], name: "PoolDeployed", type: "event" }, { inputs: [ ], name: "HYPERLANE_MAILBOX", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "MIN_TIMELOCK_DELAY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "TIMELOCK_TEMPLATE", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "WETH", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract ERC20", name: "asset", type: "address" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "address", name: "thirdPartyPool", type: "address" }, { internalType: "uint256", name: "timelockDelay", type: "uint256" }, { internalType: "uint256", name: "initialDeposit", type: "uint256" }, { internalType: "address", name: "curator", type: "address" } ], name: "deployPool", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "poolsByAsset", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "renounceOwnership", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var RelayPoolTimelock = [ { inputs: [ { internalType: "uint256", name: "minDelay", type: "uint256" }, { internalType: "address[]", name: "proposers", type: "address[]" }, { internalType: "address[]", name: "executors", type: "address[]" }, { internalType: "address", name: "admin", type: "address" } ], name: "initialize", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var RelayPoolNativeGateway = [ { inputs: [ { internalType: "address", name: "wethAddress", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "EthTransferFailed", type: "error" }, { inputs: [ ], name: "OnlyWethCanSendEth", type: "error" }, { inputs: [ ], name: "RemainingEth", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ ], name: "SlippageExceeded", type: "error" }, { inputs: [ ], name: "WETH", outputs: [ { internalType: "contract IWETH", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "pool", type: "address" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "minSharesOut", type: "uint256" } ], name: "deposit", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "pool", type: "address" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "minSharesOut", type: "uint256" } ], name: "mint", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "pool", type: "address" }, { internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "minAssetsOut", type: "uint256" } ], name: "redeem", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "pool", type: "address" }, { internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "maxSharesIn", type: "uint256" } ], name: "withdraw", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var TokenSwap = [ { inputs: [ { internalType: "address", name: "_uniswapUniversalRouter", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "SafeERC20FailedOperation", type: "error" }, { inputs: [ { internalType: "address", name: "uniswapUniversalRouter", type: "address" }, { internalType: "address", name: "tokenIn", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "TokenSwappedFailed", type: "error" }, { inputs: [ ], name: "UnauthorizedSwap", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "pool", type: "address" }, { indexed: false, internalType: "address", name: "tokenIn", type: "address" }, { indexed: false, internalType: "address", name: "tokenOut", type: "address" }, { indexed: false, internalType: "uint256", name: "amountIn", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amountOut", type: "uint256" } ], name: "TokenSwapped", type: "event" }, { inputs: [ ], name: "UNISWAP_UNIVERSAL_ROUTER", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint24", name: "uniswapWethPoolFeeToken", type: "uint24" }, { internalType: "uint24", name: "uniswapWethPoolFeeAsset", type: "uint24" }, { internalType: "uint48", name: "deadline", type: "uint48" }, { internalType: "uint256", name: "amountOutMinimum", type: "uint256" } ], name: "swap", outputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" } ], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var IBridgeProxy = [ { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "claim", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" } ]; var IHyperlaneMailbox = [ { inputs: [ { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "recipientAddress", type: "bytes32" }, { internalType: "bytes", name: "body", type: "bytes" }, { internalType: "bytes", name: "defaultHookMetadata", type: "bytes" } ], name: "dispatch", outputs: [ { internalType: "bytes32", name: "messageId", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint32", name: "receiverChainId", type: "uint32" }, { internalType: "bytes32", name: "receiverAddress", type: "bytes32" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "dispatch", outputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint32", name: "receiverChainId", type: "uint32" }, { internalType: "bytes32", name: "receiverAddress", type: "bytes32" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "quoteDispatch", outputs: [ { internalType: "uint256", name: "fee", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "recipientAddress", type: "bytes32" }, { internalType: "bytes", name: "messageBody", type: "bytes" }, { internalType: "bytes", name: "defaultHookMetadata", type: "bytes" } ], name: "quoteDispatch", outputs: [ { internalType: "uint256", name: "fee", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var IOptimismMintableERC20 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "bridge", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mint", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "remoteToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" } ]; var IOptimismPortal = [ { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "withdrawalHash", type: "bytes32" }, { indexed: false, internalType: "bool", name: "success", type: "bool" } ], name: "WithdrawalFinalized", type: "event" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "gasLimit", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], internalType: "struct Types.WithdrawalTransaction", name: "_tx", type: "tuple" }, { internalType: "address", name: "_proofSubmitter", type: "address" } ], name: "finalizeWithdrawalTransactionExternalProof", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "l2Sender", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "gasLimit", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], internalType: "struct Types.WithdrawalTransaction", name: "_tx", type: "tuple" }, { internalType: "uint256", name: "_l2OutputIndex", type: "uint256" }, { components: [ { internalType: "bytes32", name: "version", type: "bytes32" }, { internalType: "bytes32", name: "stateRoot", type: "bytes32" }, { internalType: "bytes32", name: "messagePasserStorageRoot", type: "bytes32" }, { internalType: "bytes32", name: "latestBlockhash", type: "bytes32" } ], internalType: "struct Types.OutputRootProof", name: "_outputRootProof", type: "tuple" }, { internalType: "bytes[]", name: "_withdrawalProof", type: "bytes[]" } ], name: "proveWithdrawalTransaction", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var Types = [ ]; var IRelayPool = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" } ], name: "Deposit", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" } ], name: "Withdraw", type: "event" }, { inputs: [ ], name: "WETH", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "asset", outputs: [ { internalType: "address", name: "assetTokenAddress", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], name: "convertToAssets", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], name: "convertToShares", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "deposit", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "maxDeposit", outputs: [ { internalType: "uint256", name: "maxAssets", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "maxMint", outputs: [ { internalType: "uint256", name: "maxShares", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "maxRedeem", outputs: [ { internalType: "uint256", name: "maxShares", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "maxWithdraw", outputs: [ { internalType: "uint256", name: "maxAssets", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], name: "previewDeposit", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], name: "previewMint", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], name: "previewRedeem", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], name: "previewWithdraw", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "redeem", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalAssets", outputs: [ { internalType: "uint256", name: "totalManagedAssets", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "withdraw", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "nonpayable", type: "function" } ]; var ITokenSwap = [ { inputs: [ { internalType: "address", name: "pool", type: "address" }, { internalType: "uint24", name: "uniswapWethPoolFeeToken", type: "uint24" }, { internalType: "uint24", name: "uniswapWethPoolFeeAsset", type: "uint24" }, { internalType: "uint48", name: "deadline", type: "uint48" }, { internalType: "uint256", name: "amountOutMinimum", type: "uint256" } ], name: "swap", outputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], stateMutability: "payable", type: "function" } ]; var IUSDC = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "authorizer", type: "address" }, { indexed: true, internalType: "bytes32", name: "nonce", type: "bytes32" } ], name: "AuthorizationCanceled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "authorizer", type: "address" }, { indexed: true, internalType: "bytes32", name: "nonce", type: "bytes32" } ], name: "AuthorizationUsed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_account", type: "address" } ], name: "Blacklisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newBlacklister", type: "address" } ], name: "BlacklisterChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "burner", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Burn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newMasterMinter", type: "address" } ], name: "MasterMinterChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "minter", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Mint", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "minterAllowedAmount", type: "uint256" } ], name: "MinterConfigured", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldMinter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousOwner", type: "address" }, { indexed: false, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { anonymous: false, inputs: [ ], name: "Pause", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newAddress", type: "address" } ], name: "PauserChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRescuer", type: "address" } ], name: "RescuerChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_account", type: "address" } ], name: "UnBlacklisted", type: "event" }, { anonymous: false, inputs: [ ], name: "Unpause", type: "event" }, { inputs: [ ], name: "CANCEL_AUTHORIZATION_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "RECEIVE_WITH_AUTHORIZATION_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "TRANSFER_WITH_AUTHORIZATION_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "authorizer", type: "address" }, { internalType: "bytes32", name: "nonce", type: "bytes32" } ], name: "authorizationState", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" } ], name: "blacklist", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "blacklister", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "authorizer", type: "address" }, { internalType: "bytes32", name: "nonce", type: "bytes32" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "cancelAuthorization", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "minter", type: "address" }, { internalType: "uint256", name: "minterAllowedAmount", type: "uint256" } ], name: "configureMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "currency", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "decrement", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "increment", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "tokenName", type: "string" }, { internalType: "string", name: "tokenSymbol", type: "string" }, { internalType: "string", name: "tokenCurrency", type: "string" }, { internalType: "uint8", name: "tokenDecimals", type: "uint8" }, { internalType: "address", name: "newMasterMinter", type: "address" }, { internalType: "address", name: "newPauser", type: "address" }, { internalType: "address", name: "newBlacklister", type: "address" }, { internalType: "address", name: "newOwner", type: "address" } ], name: "initialize", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newName", type: "string" } ], name: "initializeV2", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "lostAndFound", type: "address" } ], name: "initializeV2_1", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" } ], name: "isBlacklisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "masterMinter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "minterAllowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "pause", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "pauser", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "permit", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "validAfter", type: "uint256" }, { internalType: "uint256", name: "validBefore", type: "uint256" }, { internalType: "bytes32", name: "nonce", type: "bytes32" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "receiveWithAuthorization", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "removeMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "tokenContract", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "rescueERC20", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "rescuer", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwne1rship", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "validAfter", type: "uint256" }, { internalType: "uint256", name: "validBefore", type: "uint256" }, { internalType: "bytes32", name: "nonce", type: "bytes32" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "transferWithAuthorization", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" } ], name: "unBlacklist", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "unpause", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newBlacklister", type: "address" } ], name: "updateBlacklister", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newMasterMinter", type: "address" } ], name: "updateMasterMinter", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newPauser", type: "address" } ], name: "updatePauser", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newRescuer", type: "address" } ], name: "updateRescuer", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var IWETH = [ { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "deposit", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "src", type: "address" }, { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "withdraw", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var L2StandardBridge = [ { inputs: [ { internalType: "address", name: "_localToken", type: "address" }, { internalType: "address", name: "_remoteToken", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint32", name: "_minGasLimit", type: "uint32" }, { internalType: "bytes", name: "_extraData", type: "bytes" } ], name: "bridgeERC20To", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint32", name: "_minGasLimit", type: "uint32" }, { internalType: "bytes", name: "_extraData", type: "bytes" } ], name: "bridgeETHTo", outputs: [ ], stateMutability: "payable", type: "function" } ]; var IL2GatewayRouter = [ { inputs: [ { internalType: "address", name: "l1ERC20", type: "address" } ], name: "calculateL2TokenAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_l1Token", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "outboundTransfer", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "payable", type: "function" } ]; var IArbSys = [ { inputs: [ { internalType: "uint256", name: "requested", type: "uint256" }, { internalType: "uint256", name: "current", type: "uint256" } ], name: "InvalidBlockNumber", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "destination", type: "address" }, { indexed: true, internalType: "uint256", name: "uniqueId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "batchNumber", type: "uint256" }, { indexed: false, internalType: "uint256", name: "indexInBatch", type: "uint256" }, { indexed: false, internalType: "uint256", name: "arbBlockNum", type: "uint256" }, { indexed: false, internalType: "uint256", name: "ethBlockNum", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "callvalue", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" } ], name: "L2ToL1Transaction", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "destination", type: "address" }, { indexed: true, internalType: "uint256", name: "hash", type: "uint256" }, { indexed: true, internalType: "uint256", name: "position", type: "uint256" }, { indexed: false, internalType: "uint256", name: "arbBlockNum", type: "uint256" }, { indexed: false, internalType: "uint256", name: "ethBlockNum", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "callvalue", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" } ], name: "L2ToL1Tx", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "reserved", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "hash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "position", type: "uint256" } ], name: "SendMerkleUpdate", type: "event" }, { inputs: [ { internalType: "uint256", name: "arbBlockNum", type: "uint256" } ], name: "arbBlockHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "arbBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "arbChainID", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "arbOSVersion", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "getStorageGasAvailable", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "isTopLevelCall", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "unused", type: "address" } ], name: "mapL1SenderContractAddressToL2Alias", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "pure", type: "function" }, { inputs: [ ], name: "myCallersAddressWithoutAliasing", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "sendMerkleTreeState", outputs: [ { internalType: "uint256", name: "size", type: "uint256" }, { internalType: "bytes32", name: "root", type: "bytes32" }, { internalType: "bytes32[]", name: "partials", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "destination", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "sendTxToL1", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [ ], name: "wasMyCallersAddressAliased", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "destination", type: "address" } ], name: "withdrawEth", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "payable", type: "function" } ]; var INodeInterface = [ { inputs: [ { internalType: "uint64", name: "l2BlockNum", type: "uint64" } ], name: "blockL1Num", outputs: [ { internalType: "uint64", name: "l1BlockNum", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint64", name: "size", type: "uint64" }, { internalType: "uint64", name: "leaf", type: "uint64" } ], name: "constructOutboxProof", outputs: [ { internalType: "bytes32", name: "send", type: "bytes32" }, { internalType: "bytes32", name: "root", type: "bytes32" }, { internalType: "bytes32[]", name: "proof", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "deposit", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "l2CallValue", type: "uint256" }, { internalType: "address", name: "excessFeeRefundAddress", type: "address" }, { internalType: "address", name: "callValueRefundAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "estimateRetryableTicket", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint64", name: "blockNum", type: "uint64" } ], name: "findBatchContainingBlock", outputs: [ { internalType: "uint64", name: "batch", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bool", name: "contractCreation", type: "bool" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "gasEstimateComponents", outputs: [ { internalType: "uint64", name: "gasEstimate", type: "uint64" }, { internalType: "uint64", name: "gasEstimateForL1", type: "uint64" }, { internalType: "uint256", name: "baseFee", type: "uint256" }, { internalType: "uint256", name: "l1BaseFeeEstimate", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bool", name: "contractCreation", type: "bool" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "gasEstimateL1Component", outputs: [ { internalType: "uint64", name: "gasEstimateForL1", type: "uint64" }, { internalType: "uint256", name: "baseFee", type: "uint256" }, { internalType: "uint256", name: "l1BaseFeeEstimate", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "blockHash", type: "bytes32" } ], name: "getL1Confirmations", outputs: [ { internalType: "uint64", name: "confirmations", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint64", name: "blockNum", type: "uint64" } ], name: "l2BlockRangeForL1", outputs: [ { internalType: "uint64", name: "firstBlock", type: "uint64" }, { internalType: "uint64", name: "lastBlock", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "batchNum", type: "uint256" }, { internalType: "uint64", name: "index", type: "uint64" } ], name: "legacyLookupMessageBatchProof", outputs: [ { internalType: "bytes32[]", name: "proof", type: "bytes32[]" }, { internalType: "uint256", name: "path", type: "uint256" }, { internalType: "address", name: "l2Sender", type: "address" }, { internalType: "address", name: "l1Dest", type: "address" }, { internalType: "uint256", name: "l2Block", type: "uint256" }, { internalType: "uint256", name: "l1Block", type: "uint256" }, { internalType: "uint256", name: "timestamp", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "calldataForL1", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "nitroGenesisBlock", outputs: [ { internalType: "uint256", name: "number", type: "uint256" } ], stateMutability: "pure", type: "function" } ]; var IOutbox = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "address", name: "l2Sender", type: "address" }, { indexed: true, internalType: "uint256", name: "zero", type: "uint256" }, { indexed: false, internalType: "uint256", name: "transactionIndex", type: "uint256" } ], name: "OutBoxTransactionExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "outputRoot", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "l2BlockHash", type: "bytes32" } ], name: "SendRootUpdated", type: "event" }, { inputs: [ ], name: "OUTBOX_VERSION", outputs: [ { internalType: "uint128", name: "", type: "uint128" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "l2Sender", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "l2Block", type: "uint256" }, { internalType: "uint256", name: "l1Block", type: "uint256" }, { internalType: "uint256", name: "l2Timestamp", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "calculateItemHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "proof", type: "bytes32[]" }, { internalType: "uint256", name: "path", type: "uint256" }, { internalType: "bytes32", name: "item", type: "bytes32" } ], name: "calculateMerkleRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "proof", type: "bytes32[]" }, { internalType: "uint256", name: "index", type: "uint256" }, { internalType: "address", name: "l2Sender", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "l2Block", type: "uint256" }, { internalType: "uint256", name: "l1Block", type: "uint256" }, { internalType: "uint256", name: "l2Timestamp", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "executeTransaction", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" }, { internalType: "address", name: "l2Sender", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "l2Block", type: "uint256" }, { internalType: "uint256", name: "l1Block", type: "uint256" }, { internalType: "uint256", name: "l2Timestamp", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "executeTransactionSimulation", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "isSpent", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "l2ToL1Block", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "l2ToL1EthBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "l2ToL1OutputId", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "l2ToL1Sender", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "l2ToL1Timestamp", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "postUpgradeInit", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "rollup", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "roots", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "spent", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "updateRollupAddress", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "sendRoot", type: "bytes32" }, { internalType: "bytes32", name: "l2BlockHash", type: "bytes32" } ], name: "updateSendRoot", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var IMessageTransmitter = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: false, internalType: "uint32", name: "sourceDomain", type: "uint32" }, { indexed: true, internalType: "uint64", name: "nonce", type: "uint64" }, { indexed: false, internalType: "bytes32", name: "sender", type: "bytes32" }, { indexed: false, internalType: "bytes", name: "messageBody", type: "bytes" } ], name: "MessageReceived", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes", name: "message", type: "bytes" } ], name: "MessageSent", type: "event" }, { inputs: [ { internalType: "bytes", name: "message", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "receiveMessage", outputs: [ { internalType: "bool", name: "success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "originalMessage", type: "bytes" }, { internalType: "bytes", name: "originalAttestation", type: "bytes" }, { internalType: "bytes", name: "newMessageBody", type: "bytes" }, { internalType: "bytes32", name: "newDestinationCaller", type: "bytes32" } ], name: "replaceMessage", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "recipient", type: "bytes32" }, { internalType: "bytes", name: "messageBody", type: "bytes" } ], name: "sendMessage", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "recipient", type: "bytes32" }, { internalType: "bytes32", name: "destinationCaller", type: "bytes32" }, { internalType: "bytes", name: "messageBody", type: "bytes" } ], name: "sendMessageWithCaller", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "nonpayable", type: "function" } ]; var IReceiver = [ { inputs: [ { internalType: "bytes", name: "message", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "receiveMessage", outputs: [ { internalType: "bool", name: "success", type: "bool" } ], stateMutability: "nonpayable", type: "function" } ]; var IRelayer = [ { inputs: [ { internalType: "bytes", name: "originalMessage", type: "bytes" }, { internalType: "bytes", name: "originalAttestation", type: "bytes" }, { internalType: "bytes", name: "newMessageBody", type: "bytes" }, { internalType: "bytes32", name: "newDestinationCaller", type: "bytes32" } ], name: "replaceMessage", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "recipient", type: "bytes32" }, { internalType: "bytes", name: "messageBody", type: "bytes" } ], name: "sendMessage", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "recipient", type: "bytes32" }, { internalType: "bytes32", name: "destinationCaller", type: "bytes32" }, { internalType: "bytes", name: "messageBody", type: "bytes" } ], name: "sendMessageWithCaller", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "nonpayable", type: "function" } ]; var ITokenMessenger = [ { anonymous: false, inputs: [ { indexed: true, internalType: "uint64", name: "nonce", type: "uint64" }, { indexed: true, internalType: "address", name: "burnToken", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "address", name: "depositor", type: "address" }, { indexed: false, internalType: "bytes32", name: "mintRecipient", type: "bytes32" }, { indexed: false, internalType: "uint32", name: "destinationDomain", type: "uint32" }, { indexed: false, internalType: "bytes32", name: "destinationTokenMessenger", type: "bytes32" }, { indexed: false, internalType: "bytes32", name: "destinationCaller", type: "bytes32" } ], name: "DepositForBurn", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "localMinter", type: "address" } ], name: "LocalMinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "localMinter", type: "address" } ], name: "LocalMinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "mintRecipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "address", name: "mintToken", type: "address" } ], name: "MintAndWithdraw", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint32", name: "domain", type: "uint32" }, { indexed: false, internalType: "bytes32", name: "tokenMessenger", type: "bytes32" } ], name: "RemoteTokenMessengerAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint32", name: "domain", type: "uint32" }, { indexed: false, internalType: "bytes32", name: "tokenMessenger", type: "bytes32" } ], name: "RemoteTokenMessengerRemoved", type: "event" }, { inputs: [ { internalType: "address", name: "newLocalMinter", type: "address" } ], name: "addLocalMinter", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "domain", type: "uint32" }, { internalType: "bytes32", name: "tokenMessenger", type: "bytes32" } ], name: "addRemoteTokenMessenger", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "mintRecipient", type: "bytes32" }, { internalType: "address", name: "burnToken", type: "address" } ], name: "depositForBurn", outputs: [ { internalType: "uint64", name: "nonce", type: "uint64" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint32", name: "destinationDomain", type: "uint32" }, { internalType: "bytes32", name: "mintRecipient", type: "bytes32" }, { internalType: "address", name: "burnToken", type: "address" }, { internalType: "bytes32", name: "destinationCaller", type: "bytes32" } ], name: "depositForBurnWithCaller", outputs: [ { internalType: "uint64", name: "nonce", type: "uint64" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "remoteDomain", type: "uint32" }, { internalType: "bytes32", name: "sender", type: "bytes32" }, { internalType: "bytes", name: "messageBody", type: "bytes" } ], name: "handleReceiveMessage", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "localMessageTransmitter", outputs: [ { internalType: "contract IMessageTransmitter", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "localMinter", outputs: [ { internalType: "contract ITokenMinter", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "messageBodyVersion", outputs: [ { internalType: "uint32", name: "", type: "uint32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint32", name: "domain", type: "uint32" } ], name: "remoteTokenMessengers", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "removeLocalMinter", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "domain", type: "uint32" } ], name: "removeRemoteTokenMessenger", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "originalMessage", type: "bytes" }, { internalType: "bytes", name: "originalAttestation", type: "bytes" }, { internalType: "bytes32", name: "newDestinationCaller", type: "bytes32" }, { internalType: "bytes32", name: "newMintRecipient", type: "bytes32" } ], name: "replaceDepositForBurn", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var ITokenMinter = [ { inputs: [ { internalType: "address", name: "burnToken", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint32", name: "remoteDomain", type: "uint32" }, { internalType: "bytes32", name: "remoteToken", type: "bytes32" } ], name: "getLocalToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint32", name: "sourceDomain", type: "uint32" }, { internalType: "bytes32", name: "burnToken", type: "bytes32" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [ { internalType: "address", name: "mintToken", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newTokenController", type: "address" } ], name: "setTokenController", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var IUniversalRouter = [ { inputs: [ ], name: "ETHNotAccepted", type: "error" }, { inputs: [ { internalType: "uint256", name: "commandIndex", type: "uint256" }, { internalType: "bytes", name: "message", type: "bytes" } ], name: "ExecutionFailed", type: "error" }, { inputs: [ ], name: "LengthMismatch", type: "error" }, { inputs: [ ], name: "TransactionDeadlinePassed", type: "error" }, { inputs: [ { internalType: "bytes", name: "commands", type: "bytes" }, { internalType: "bytes[]", name: "inputs", type: "bytes[]" } ], name: "execute", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes", name: "commands", type: "bytes" }, { internalType: "bytes[]", name: "inputs", type: "bytes[]" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "execute", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var IBaseToken = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_l2Sender", type: "address" }, { indexed: true, internalType: "address", name: "_l1Receiver", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "Withdrawal", type: "event" }, { inputs: [ { internalType: "address", name: "_l1Receiver", type: "address" } ], name: "withdraw", outputs: [ ], stateMutability: "payable", type: "function" } ]; var IL1SharedBridge = [ { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "chainId", type: "uint256" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "address", name: "l1Token", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "WithdrawalFinalizedSharedBridge", type: "event" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_l2BatchNumber", type: "uint256" }, { internalType: "uint256", name: "_l2MessageIndex", type: "uint256" }, { internalType: "uint16", name: "_l2TxNumberInBatch", type: "uint16" }, { internalType: "bytes", name: "_message", type: "bytes" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "finalizeWithdrawal", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_l2BatchNumber", type: "uint256" }, { internalType: "uint256", name: "_l2MessageIndex", type: "uint256" } ], name: "isWithdrawalFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var IL2SharedBridge = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "l1Sender", type: "address" }, { indexed: true, internalType: "address", name: "l2Receiver", type: "address" }, { indexed: true, internalType: "address", name: "l2Token", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "FinalizeDeposit", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "l2Sender", type: "address" }, { indexed: true, internalType: "address", name: "l1Receiver", type: "address" }, { indexed: true, internalType: "address", name: "l2Token", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "WithdrawalInitiated", type: "event" }, { inputs: [ { internalType: "address", name: "_l1Sender", type: "address" }, { internalType: "address", name: "_l2Receiver", type: "address" }, { internalType: "address", name: "_l1Token", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "finalizeDeposit", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "l1Bridge", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "l1SharedBridge", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_l2Token", type: "address" } ], name: "l1TokenAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_l1Token", type: "address" } ], name: "l2TokenAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_l1Receiver", type: "address" }, { internalType: "address", name: "_l2Token", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdraw", outputs: [ ], stateMutability: "nonpayable", type: "function" } ]; var ERC20 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ ], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "permit", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" } ]; var ERC4626 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" } ], name: "Deposit", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" } ], name: "Withdraw", type: "event" }, { inputs: [ ], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "asset", outputs: [ { internalType: "contract ERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], name: "convertToAssets", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], name: "convertToShares", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "deposit", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "maxDeposit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "maxMint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "maxRedeem", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "maxWithdraw", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "permit", outputs: [ ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], name: "previewDeposit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], name: "previewMint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], name: "previewRedeem", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], name: "previewWithdraw", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "redeem", outputs: [ { internalType: "uint256", name: "assets", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ ], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalAssets", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "withdraw", outputs: [ { internalType: "uint256", name: "shares", type: "uint256" } ], stateMutability: "nonpayable", type: "function" } ]; var FixedPointMathLib = [ ]; var SafeTransferLib = [ ]; var ISafe = [ { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "isOwner", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var OriginCurator = [ { inputs: [ { internalType: "address", name: "_safeAddress", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ ], name: "ForwardFailed", type: "error" }, { inputs: [ ], name: "InsufficientValueSent", type: "error" }, { inputs: [ ], name: "InvalidTargetAddress", type: "error" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "NotMultisigOwner", type: "error" }, { inputs: [ ], name: "RefundFailed", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Forwarded", type: "event" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "forward", outputs: [ ], stateMutability: "payable", type: "function" }, { inputs: [ ], name: "safeAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var SafeCast160 = [ { inputs: [ ], name: "UnsafeCast", type: "error" } ]; var StandardHookMetadata = [ { inputs: [ ], name: "VARIANT", outputs: [ { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" } ]; var TypeCasts = [ ]; declare const RelayPool: any; export { ArbitrumOrbitNativeBridgeProxy, BridgeProxy, CCTPBridgeProxy, ERC20, ERC4626, FixedPointMathLib, IArbSys, IBaseToken, IBridgeProxy, IHyperlaneMailbox, IL1SharedBridge, IL2GatewayRouter, IL2SharedBridge, IMessageTransmitter, INodeInterface, IOptimismMintableERC20, IOptimismPortal, IOutbox, IReceiver, IRelayBridge, IRelayPool, IRelayer, ISafe, ITokenMessenger, ITokenMinter, ITokenSwap, IUSDC, IUniversalRouter, IWETH, L2StandardBridge, OPStackNativeBridgeProxy, OriginCurator, RelayBridge, RelayBridgeFactory, RelayPool, RelayPoolFactory, RelayPoolNativeGateway, RelayPoolTimelock, SafeCast160, SafeTransferLib, StandardHookMetadata, TimelockControllerUpgradeable, TokenSwap, TypeCasts, Types, ZkSyncBridgeProxy };