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.

197 lines (196 loc) 4.9 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IProverDeployedBytecode = exports.IProverBytecode = exports.IProverAbi = void 0; /** * ABI for the IProver contract */ exports.IProverAbi = [ { "inputs": [], "name": "ArrayLengthMismatch", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "chainId", "type": "uint256" } ], "name": "ChainIdTooLarge", "type": "error" }, { "inputs": [], "name": "ZeroPortal", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "intentHash", "type": "bytes32" } ], "name": "IntentAlreadyProven", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "intentHash", "type": "bytes32" } ], "name": "IntentProofInvalidated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "intentHash", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "claimant", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "destination", "type": "uint64" } ], "name": "IntentProven", "type": "event" }, { "inputs": [ { "internalType": "uint64", "name": "destination", "type": "uint64" }, { "internalType": "bytes32", "name": "routeHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "rewardHash", "type": "bytes32" } ], "name": "challengeIntentProof", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getProofType", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint64", "name": "sourceChainDomainID", "type": "uint64" }, { "internalType": "bytes", "name": "encodedProofs", "type": "bytes" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "prove", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "intentHash", "type": "bytes32" } ], "name": "provenIntents", "outputs": [ { "components": [ { "internalType": "address", "name": "claimant", "type": "address" }, { "internalType": "uint64", "name": "destination", "type": "uint64" } ], "internalType": "struct IProver.ProofData", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" } ]; /** * Bytecode for the IProver contract */ exports.IProverBytecode = "0x"; /** * Deployed bytecode for the IProver contract */ exports.IProverDeployedBytecode = "0x";