UNPKG

@eco-foundation/routes

Version:

The Eco Routes Protocol is a decentralized intent based system that allows users to submit their intent to the network and have it fulfilled by a solver on the destination rollup of their choice.

173 lines (169 loc) 3.88 kB
/** * ABI for the Eco7683DestinationSettler contract */ export const Eco7683DestinationSettlerAbi = [ { "inputs": [], "name": "FillDeadlinePassed", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "_orderId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "_solver", "type": "address" } ], "name": "OrderFilled", "type": "event" }, { "inputs": [ { "internalType": "bytes32", "name": "_orderId", "type": "bytes32" }, { "internalType": "bytes", "name": "_originData", "type": "bytes" }, { "internalType": "bytes", "name": "_fillerData", "type": "bytes" } ], "name": "fill", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "uint256", "name": "source", "type": "uint256" }, { "internalType": "uint256", "name": "destination", "type": "uint256" }, { "internalType": "address", "name": "inbox", "type": "address" }, { "components": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct TokenAmount[]", "name": "tokens", "type": "tuple[]" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "internalType": "struct Call[]", "name": "calls", "type": "tuple[]" } ], "internalType": "struct Route", "name": "_route", "type": "tuple" }, { "internalType": "bytes32", "name": "_rewardHash", "type": "bytes32" }, { "internalType": "address", "name": "_claimant", "type": "address" }, { "internalType": "bytes32", "name": "_expectedHash", "type": "bytes32" }, { "internalType": "address", "name": "_localProver", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "fulfillAndProve", "outputs": [ { "internalType": "bytes[]", "name": "", "type": "bytes[]" } ], "stateMutability": "payable", "type": "function" } ] as const /** * Type-safe ABI for the Eco7683DestinationSettler contract */ export type Eco7683DestinationSettlerAbiType = typeof Eco7683DestinationSettlerAbi /** * Bytecode for the Eco7683DestinationSettler contract */ export const Eco7683DestinationSettlerBytecode = "0x" /** * Deployed bytecode for the Eco7683DestinationSettler contract */ export const Eco7683DestinationSettlerDeployedBytecode = "0x"