Untitled
Never
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "depositRecipient", "type": "address" }, { "indexed": false, "internalType": "address", "name": "tokenAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "DepositAcceptedIntoQueue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "cancelJustified", "type": "bool" } ], "name": "DisputeResolutionAcceptedIntoQueue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "withdrawRecipient", "type": "address" }, { "indexed": false, "internalType": "address", "name": "tokenAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "FundsWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": false, "internalType": "uint256[]", "name": "l2UpdatesToRemove", "type": "uint256[]" } ], "name": "L2UpdatesToRemovedAcceptedIntoQueue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "success", "type": "bool" } ], "name": "WithdrawalResolutionAcceptedIntoQueue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "cancelHash", "type": "bytes32" }, { "indexed": false, "internalType": "bytes32", "name": "calculatedHash", "type": "bytes32" } ], "name": "cancelAndCalculatedHash", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "cancelResolutions", "outputs": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "l2RequestId", "type": "uint256" }, { "internalType": "bool", "name": "cancelJustified", "type": "bool" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "counter", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "end", "type": "uint256" } ], "name": "getPendingRequests", "outputs": [ { "components": [ { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "address", "name": "depositRecipient", "type": "address" }, { "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.Deposit[]", "name": "pendingDeposits", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "l2RequestId", "type": "uint256" }, { "internalType": "bool", "name": "cancelJustified", "type": "bool" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.CancelResolution[]", "name": "pendingCancelResultions", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "l2RequestId", "type": "uint256" }, { "internalType": "bool", "name": "status", "type": "bool" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.WithdrawalResolution[]", "name": "pendingWithdrawalResolutions", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256[]", "name": "l2UpdatesToRemove", "type": "uint256[]" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.L2UpdatesToRemove[]", "name": "pendingL2UpdatesToRemove", "type": "tuple[]" } ], "internalType": "struct RollDown.L1Update", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getUpdateForL2", "outputs": [ { "components": [ { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "address", "name": "depositRecipient", "type": "address" }, { "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.Deposit[]", "name": "pendingDeposits", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "l2RequestId", "type": "uint256" }, { "internalType": "bool", "name": "cancelJustified", "type": "bool" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.CancelResolution[]", "name": "pendingCancelResultions", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "l2RequestId", "type": "uint256" }, { "internalType": "bool", "name": "status", "type": "bool" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.WithdrawalResolution[]", "name": "pendingWithdrawalResolutions", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256[]", "name": "l2UpdatesToRemove", "type": "uint256[]" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "internalType": "struct RollDown.L2UpdatesToRemove[]", "name": "pendingL2UpdatesToRemove", "type": "tuple[]" } ], "internalType": "struct RollDown.L1Update", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lastProcessedUpdate_origin_l1", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lastProcessedUpdate_origin_l2", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "end", "type": "uint256" } ], "internalType": "struct RollDown.Range", "name": "range", "type": "tuple" }, { "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "internalType": "struct RollDown.Cancel[]", "name": "cancels", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "address", "name": "withdrawalRecipient", "type": "address" }, { "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct RollDown.Withdrawal[]", "name": "withdrawals", "type": "tuple[]" }, { "components": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "originRequestId", "type": "uint256" }, { "internalType": "enum RollDown.UpdateType", "name": "updateType", "type": "uint8" }, { "internalType": "bool", "name": "status", "type": "bool" } ], "internalType": "struct RollDown.RequestResult[]", "name": "results", "type": "tuple[]" } ], "internalType": "struct RollDown.L2Update", "name": "inputArray", "type": "tuple" } ], "name": "update_l1_from_l2", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "withdrawalResolutions", "outputs": [ { "components": [ { "internalType": "enum RollDown.Origin", "name": "origin", "type": "uint8" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "internalType": "struct RollDown.RequestId", "name": "requestId", "type": "tuple" }, { "internalType": "uint256", "name": "l2RequestId", "type": "uint256" }, { "internalType": "bool", "name": "status", "type": "bool" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" } ], "stateMutability": "view", "type": "function" } ]