UNPKG

@eco-foundation/routes-ts

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 choise.

190 lines (189 loc) 5.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IMetalayerRouterExtDeployedBytecode = exports.IMetalayerRouterExtBytecode = exports.IMetalayerRouterExtAbi = void 0; /** * ABI for the IMetalayerRouterExt contract */ exports.IMetalayerRouterExtAbi = [ { "inputs": [ { "internalType": "uint32", "name": "_destinationDomain", "type": "uint32" }, { "internalType": "address", "name": "_recipientAddress", "type": "address" }, { "components": [ { "internalType": "uint32", "name": "domain", "type": "uint32" }, { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "callData", "type": "bytes" } ], "internalType": "struct ReadOperation[]", "name": "_reads", "type": "tuple[]" }, { "internalType": "bytes", "name": "_writeCallData", "type": "bytes" }, { "internalType": "enum FinalityState", "name": "_finalityState", "type": "uint8" }, { "internalType": "uint256", "name": "_gasLimit", "type": "uint256" } ], "name": "dispatch", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_destinationDomain", "type": "uint32" }, { "internalType": "bytes32", "name": "_recipientAddress", "type": "bytes32" }, { "components": [ { "internalType": "uint32", "name": "domain", "type": "uint32" }, { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "callData", "type": "bytes" } ], "internalType": "struct ReadOperation[]", "name": "_reads", "type": "tuple[]" }, { "internalType": "bytes", "name": "_writeCallData", "type": "bytes" }, { "internalType": "enum FinalityState", "name": "_finalityState", "type": "uint8" }, { "internalType": "uint256", "name": "_gasLimit", "type": "uint256" } ], "name": "dispatch", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "destinationDomain", "type": "uint32" }, { "internalType": "bytes32", "name": "recipientAddress", "type": "bytes32" }, { "internalType": "bytes", "name": "messageBody", "type": "bytes" } ], "name": "quoteDispatch", "outputs": [ { "internalType": "uint256", "name": "fee", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "destinationDomain", "type": "uint32" }, { "internalType": "bytes32", "name": "recipientAddress", "type": "bytes32" }, { "internalType": "bytes", "name": "messageBody", "type": "bytes" }, { "internalType": "bytes", "name": "defaultHookMetadata", "type": "bytes" } ], "name": "quoteDispatch", "outputs": [ { "internalType": "uint256", "name": "fee", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]; /** * Bytecode for the IMetalayerRouterExt contract */ exports.IMetalayerRouterExtBytecode = "0x"; /** * Deployed bytecode for the IMetalayerRouterExt contract */ exports.IMetalayerRouterExtDeployedBytecode = "0x";