UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

280 lines (279 loc) 5.94 kB
{ "_format": "hh-sol-artifact-1", "contractName": "Router", "sourceName": "@connext/nxtp-contracts/contracts/core/shared/Router.sol", "abi": [ { "inputs": [], "name": "ProposedOwnable__acceptProposedOwner_delayNotElapsed", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__onlyOwner_notOwner", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__onlyProposed_notProposedOwner", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__proposeNewOwner_invalidProposal", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__proposeNewOwner_noOwnershipChange", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__renounceOwnership_delayNotElapsed", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__renounceOwnership_invalidProposal", "type": "error" }, { "inputs": [], "name": "ProposedOwnable__renounceOwnership_noProposal", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "proposedOwner", "type": "address" } ], "name": "OwnershipProposed", "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" }, { "inputs": [], "name": "acceptProposedOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "delay", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_domain", "type": "uint32" }, { "internalType": "bytes32", "name": "_router", "type": "bytes32" } ], "name": "enrollRemoteRouter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_origin", "type": "uint32" }, { "internalType": "uint32", "name": "_nonce", "type": "uint32" }, { "internalType": "bytes32", "name": "_sender", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" } ], "name": "handle", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newlyProposed", "type": "address" } ], "name": "proposeNewOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proposed", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "proposedTimestamp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "remotes", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounced", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_xAppConnectionManager", "type": "address" } ], "name": "setXAppConnectionManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "xAppConnectionManager", "outputs": [ { "internalType": "contract XAppConnectionManager", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }