UNPKG

@ensuro/swaplibrary

Version:

Solidity Library that implements swap using different plaforms with a homogeneneous interface

27 lines (25 loc) 2.1 kB
// This file was autogenerated by Hardhat, do not edit it. // prettier-ignore // tslint:disable // eslint-disable // biome-ignore format: see above export interface CurveRoutes$Type { readonly _format: "hh3-artifact-1"; readonly contractName: "CurveRoutes"; readonly sourceName: "contracts/CurveRoutes.sol"; readonly abi: [{"inputs":[],"name":"AtLeastOneRoute","type":"error"},{"inputs":[],"name":"CurveRouterCantBeZero","type":"error"},{"inputs":[],"name":"InvalidLength","type":"error"},{"inputs":[{"components":[{"internalType":"address[11]","name":"route","type":"address[11]"},{"internalType":"uint256[5][5]","name":"swapParams","type":"uint256[5][5]"},{"internalType":"address[5]","name":"pools","type":"address[5]"}],"internalType":"struct CurveRoutes.CurveRoute","name":"route","type":"tuple"}],"name":"InvalidRoute","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"RouteNotFound","type":"error"},{"inputs":[{"internalType":"uint8","name":"nSwaps","type":"uint8"}],"name":"TooManySwaps","type":"error"}]; readonly bytecode: "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220b769a51117827d89715cdd25c1709f6e7ad04585d58fbd3eeef2c0a227f200f664736f6c63430008230033"; readonly deployedBytecode: "0x730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220b769a51117827d89715cdd25c1709f6e7ad04585d58fbd3eeef2c0a227f200f664736f6c63430008230033"; readonly linkReferences: {}; readonly deployedLinkReferences: {}; readonly immutableReferences: {}; readonly inputSourceName: "project/contracts/CurveRoutes.sol"; readonly buildInfoId: "solc-0_8_35-3c6720e352a8805a57f3d5d8111ba91dcd52bec9"; }; import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactMap { ["CurveRoutes"]: CurveRoutes$Type; ["contracts/CurveRoutes.sol:CurveRoutes"]: CurveRoutes$Type; } }