@aave/governance-crosschain-bridges
Version:
Contracts of Aave Governance Crosschain Bridges
546 lines (545 loc) • 12.3 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "ISequencerInbox",
"sourceName": "contracts/dependencies/arbitrum/interfaces/ISequencerInbox.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "messageNum",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "InboxMessageDelivered",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "messageNum",
"type": "uint256"
}
],
"name": "InboxMessageDeliveredFromOrigin",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "keysetHash",
"type": "bytes32"
}
],
"name": "InvalidateKeyset",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "OwnerFunctionCalled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "batchSequenceNumber",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "SequencerBatchData",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "batchSequenceNumber",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "beforeAcc",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "afterAcc",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "delayedAcc",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "afterDelayedMessagesRead",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint64",
"name": "minTimestamp",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "maxTimestamp",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "minBlockNumber",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "maxBlockNumber",
"type": "uint64"
}
],
"indexed": false,
"internalType": "struct ISequencerInbox.TimeBounds",
"name": "timeBounds",
"type": "tuple"
},
{
"indexed": false,
"internalType": "enum ISequencerInbox.BatchDataLocation",
"name": "dataLocation",
"type": "uint8"
}
],
"name": "SequencerBatchDelivered",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "keysetHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes",
"name": "keysetBytes",
"type": "bytes"
}
],
"name": "SetValidKeyset",
"type": "event"
},
{
"inputs": [],
"name": "DATA_AUTHENTICATED_FLAG",
"outputs": [
{
"internalType": "bytes1",
"name": "",
"type": "bytes1"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "HEADER_LENGTH",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "sequenceNumber",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "afterDelayedMessagesRead",
"type": "uint256"
},
{
"internalType": "contract IGasRefunder",
"name": "gasRefunder",
"type": "address"
}
],
"name": "addSequencerL2Batch",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "sequenceNumber",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "afterDelayedMessagesRead",
"type": "uint256"
},
{
"internalType": "contract IGasRefunder",
"name": "gasRefunder",
"type": "address"
}
],
"name": "addSequencerL2BatchFromOrigin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "batchCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "bridge",
"outputs": [
{
"internalType": "contract IBridge",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_totalDelayedMessagesRead",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "kind",
"type": "uint8"
},
{
"internalType": "uint64[2]",
"name": "l1BlockAndTime",
"type": "uint64[2]"
},
{
"internalType": "uint256",
"name": "baseFeeL1",
"type": "uint256"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "bytes32",
"name": "messageDataHash",
"type": "bytes32"
}
],
"name": "forceInclusion",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "ksHash",
"type": "bytes32"
}
],
"name": "getKeysetCreationBlock",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "inboxAccs",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IBridge",
"name": "bridge_",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "delayBlocks",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "futureBlocks",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "delaySeconds",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "futureSeconds",
"type": "uint256"
}
],
"internalType": "struct ISequencerInbox.MaxTimeVariation",
"name": "maxTimeVariation_",
"type": "tuple"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "ksHash",
"type": "bytes32"
}
],
"name": "invalidateKeysetHash",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "isBatchPoster",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "ksHash",
"type": "bytes32"
}
],
"name": "isValidKeysetHash",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "rollup",
"outputs": [
{
"internalType": "contract IOwnable",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "addr",
"type": "address"
},
{
"internalType": "bool",
"name": "isBatchPoster_",
"type": "bool"
}
],
"name": "setIsBatchPoster",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "delayBlocks",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "futureBlocks",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "delaySeconds",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "futureSeconds",
"type": "uint256"
}
],
"internalType": "struct ISequencerInbox.MaxTimeVariation",
"name": "maxTimeVariation_",
"type": "tuple"
}
],
"name": "setMaxTimeVariation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "keysetBytes",
"type": "bytes"
}
],
"name": "setValidKeyset",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "totalDelayedMessagesRead",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}