UNPKG

@uniswap/universal-router

Version:
142 lines (141 loc) 2.98 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IUniversalRouter", "sourceName": "contracts/interfaces/IUniversalRouter.sol", "abi": [ { "inputs": [], "name": "ETHNotAccepted", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "commandIndex", "type": "uint256" }, { "internalType": "bytes", "name": "message", "type": "bytes" } ], "name": "ExecutionFailed", "type": "error" }, { "inputs": [], "name": "InvalidEthSender", "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[]" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "execute", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "commands", "type": "bytes" }, { "internalType": "bytes[]", "name": "inputs", "type": "bytes[]" }, { "internalType": "bytes32", "name": "intent", "type": "bytes32" }, { "internalType": "bytes32", "name": "data", "type": "bytes32" }, { "internalType": "bool", "name": "verifySender", "type": "bool" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "executeSigned", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "signedRouteContext", "outputs": [ { "internalType": "address", "name": "signer", "type": "address" }, { "internalType": "bytes32", "name": "intent", "type": "bytes32" }, { "internalType": "bytes32", "name": "data", "type": "bytes32" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }