[ { "inputs": [ { "internalType": "uint32", "name": "_localDomain", "type": "uint32" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "leafIndex", "type": "uint256" }, { "indexed": true, "internalType": "uint64", "name": "destinationAndSequence", "type": "uint64" }, { "indexed": true, "internalType": "bytes32", "name": "leaf", "type": "bytes32" }, { "indexed": false, "internalType": "bytes32", "name": "current", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "message", "type": "bytes" } ], "name": "Dispatch", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "oldRoot", "type": "bytes32" }, { "indexed": false, "internalType": "bytes32[2]", "name": "newRoot", "type": "bytes32[2]" }, { "indexed": false, "internalType": "bytes", "name": "signature", "type": "bytes" }, { "indexed": false, "internalType": "bytes", "name": "signature2", "type": "bytes" } ], "name": "DoubleUpdate", "type": "event" }, { "anonymous": false, "inputs": [], "name": "ImproperUpdate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "updater", "type": "address" } ], "name": "NewUpdater", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "updaterManager", "type": "address" } ], "name": "NewUpdaterManager", "type": "event" }, { "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": "uint32", "name": "homeDomain", "type": "uint32" }, { "indexed": true, "internalType": "bytes32", "name": "oldRoot", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newRoot", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "Update", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "updater", "type": "address" }, { "indexed": true, "internalType": "address", "name": "reporter", "type": "address" } ], "name": "UpdaterSlashed", "type": "event" }, { "inputs": [], "name": "MAX_MESSAGE_BODY_BYTES", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "count", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "current", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_oldRoot", "type": "bytes32" }, { "internalType": "bytes32[2]", "name": "_newRoot", "type": "bytes32[2]" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "internalType": "bytes", "name": "_signature2", "type": "bytes" } ], "name": "doubleUpdate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_destination", "type": "uint32" }, { "internalType": "bytes32", "name": "_recipient", "type": "bytes32" }, { "internalType": "bytes", "name": "_body", "type": "bytes" } ], "name": "enqueue", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "homeDomainHash", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_oldRoot", "type": "bytes32" }, { "internalType": "bytes32", "name": "_newRoot", "type": "bytes32" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" } ], "name": "improperUpdate", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IUpdaterManager", "name": "_updaterManager", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "localDomain", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_item", "type": "bytes32" } ], "name": "queueContains", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "queueEnd", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "queueLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "root", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "sequences", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_updater", "type": "address" } ], "name": "setUpdater", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_updaterManager", "type": "address" } ], "name": "setUpdaterManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "state", "outputs": [ { "internalType": "enum Common.States", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "suggestUpdate", "outputs": [ { "internalType": "bytes32", "name": "_current", "type": "bytes32" }, { "internalType": "bytes32", "name": "_new", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "tree", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_oldRoot", "type": "bytes32" }, { "internalType": "bytes32", "name": "_newRoot", "type": "bytes32" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" } ], "name": "update", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "updater", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "updaterManager", "outputs": [ { "internalType": "contract IUpdaterManager", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]