@syncswap/sdk
Version:
SyncSwap TypeScript SDK for building DeFi applications
4 lines • 28.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = [{ "inputs": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "contract IMaster", "name": "master", "type": "address" }, { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "startIndex", "type": "uint256" }, { "internalType": "uint256", "name": "count", "type": "uint256" }, { "internalType": "address[]", "name": "factories", "type": "address[]" }, { "internalType": "address", "name": "tokenTo", "type": "address" }, { "internalType": "address[]", "name": "connectorTokens", "type": "address[]" }], "name": "getAllPools", "outputs": [{ "components": [{ "components": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "poolType", "type": "uint16" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee01", "type": "tuple" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee10", "type": "tuple" }, { "internalType": "uint24", "name": "protocolFee", "type": "uint24" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token0", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token1", "type": "tuple" }, { "internalType": "uint256", "name": "reserve0", "type": "uint256" }, { "internalType": "uint256", "name": "reserve1", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "accountBalance", "type": "uint256" }, { "internalType": "uint256", "name": "routerAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "token0Value", "type": "uint256" }, { "internalType": "uint256", "name": "token1Value", "type": "uint256" }, { "internalType": "uint256", "name": "feesCurrentEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feesLastEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feeStartTime", "type": "uint256" }, { "internalType": "uint256", "name": "totalFeeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "a", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "gamma", "type": "uint256" }, { "internalType": "uint256", "name": "invariantLast", "type": "uint256" }, { "internalType": "uint256", "name": "priceScale", "type": "uint256" }, { "internalType": "uint256", "name": "futureParamsTime", "type": "uint256" }, { "internalType": "uint256", "name": "virtualPrice", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }], "internalType": "struct Multicall.CryptoPoolData[]", "name": "cryptoPoolData", "type": "tuple[]" }], "internalType": "struct Multicall.PoolData[]", "name": "pools", "type": "tuple[]" }], "internalType": "struct Multicall.GetPools", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IMaster", "name": "masterV1", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV2", "type": "address" }, { "internalType": "contract IRouter", "name": "router", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "startIndex", "type": "uint256" }, { "internalType": "uint256", "name": "count", "type": "uint256" }, { "internalType": "address[]", "name": "factoriesV1", "type": "address[]" }, { "internalType": "address[]", "name": "factoriesV2", "type": "address[]" }, { "internalType": "address", "name": "tokenTo", "type": "address" }, { "internalType": "address[]", "name": "connectorTokens", "type": "address[]" }], "name": "getEnteredPools", "outputs": [{ "components": [{ "components": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "poolType", "type": "uint16" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee01", "type": "tuple" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee10", "type": "tuple" }, { "internalType": "uint24", "name": "protocolFee", "type": "uint24" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token0", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token1", "type": "tuple" }, { "internalType": "uint256", "name": "reserve0", "type": "uint256" }, { "internalType": "uint256", "name": "reserve1", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "accountBalance", "type": "uint256" }, { "internalType": "uint256", "name": "routerAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "token0Value", "type": "uint256" }, { "internalType": "uint256", "name": "token1Value", "type": "uint256" }, { "internalType": "uint256", "name": "feesCurrentEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feesLastEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feeStartTime", "type": "uint256" }, { "internalType": "uint256", "name": "totalFeeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "a", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "gamma", "type": "uint256" }, { "internalType": "uint256", "name": "invariantLast", "type": "uint256" }, { "internalType": "uint256", "name": "priceScale", "type": "uint256" }, { "internalType": "uint256", "name": "futureParamsTime", "type": "uint256" }, { "internalType": "uint256", "name": "virtualPrice", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }], "internalType": "struct Multicall.CryptoPoolData[]", "name": "cryptoPoolData", "type": "tuple[]" }], "internalType": "struct Multicall.PoolData[]", "name": "pools", "type": "tuple[]" }], "internalType": "struct Multicall.GetPools", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IFactory[]", "name": "pairFactories", "type": "address[]" }, { "internalType": "address", "name": "tokenA", "type": "address" }, { "internalType": "address", "name": "tokenB", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV1", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV2", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "address[]", "name": "factoriesV1", "type": "address[]" }, { "internalType": "address[]", "name": "factoriesV2", "type": "address[]" }, { "internalType": "address", "name": "tokenTo", "type": "address" }, { "internalType": "address[]", "name": "connectorTokens", "type": "address[]" }], "name": "getPairPools", "outputs": [{ "components": [{ "components": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "poolType", "type": "uint16" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee01", "type": "tuple" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee10", "type": "tuple" }, { "internalType": "uint24", "name": "protocolFee", "type": "uint24" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token0", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token1", "type": "tuple" }, { "internalType": "uint256", "name": "reserve0", "type": "uint256" }, { "internalType": "uint256", "name": "reserve1", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "accountBalance", "type": "uint256" }, { "internalType": "uint256", "name": "routerAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "token0Value", "type": "uint256" }, { "internalType": "uint256", "name": "token1Value", "type": "uint256" }, { "internalType": "uint256", "name": "feesCurrentEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feesLastEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feeStartTime", "type": "uint256" }, { "internalType": "uint256", "name": "totalFeeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "a", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "gamma", "type": "uint256" }, { "internalType": "uint256", "name": "invariantLast", "type": "uint256" }, { "internalType": "uint256", "name": "priceScale", "type": "uint256" }, { "internalType": "uint256", "name": "futureParamsTime", "type": "uint256" }, { "internalType": "uint256", "name": "virtualPrice", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }], "internalType": "struct Multicall.CryptoPoolData[]", "name": "cryptoPoolData", "type": "tuple[]" }], "internalType": "struct Multicall.PoolData[]", "name": "pools", "type": "tuple[]" }], "internalType": "struct Multicall.GetPools", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IFactory", "name": "factory", "type": "address" }, { "internalType": "address", "name": "tokenA", "type": "address" }, { "internalType": "address", "name": "tokenB", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV1", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV2", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "bool", "name": "expectV2", "type": "bool" }, { "internalType": "address[]", "name": "factoriesV1", "type": "address[]" }, { "internalType": "address[]", "name": "factoriesV2", "type": "address[]" }, { "internalType": "address", "name": "tokenTo", "type": "address" }, { "internalType": "address[]", "name": "connectorTokens", "type": "address[]" }], "name": "getPool", "outputs": [{ "components": [{ "components": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "poolType", "type": "uint16" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee01", "type": "tuple" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee10", "type": "tuple" }, { "internalType": "uint24", "name": "protocolFee", "type": "uint24" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token0", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token1", "type": "tuple" }, { "internalType": "uint256", "name": "reserve0", "type": "uint256" }, { "internalType": "uint256", "name": "reserve1", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "accountBalance", "type": "uint256" }, { "internalType": "uint256", "name": "routerAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "token0Value", "type": "uint256" }, { "internalType": "uint256", "name": "token1Value", "type": "uint256" }, { "internalType": "uint256", "name": "feesCurrentEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feesLastEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feeStartTime", "type": "uint256" }, { "internalType": "uint256", "name": "totalFeeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "a", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "gamma", "type": "uint256" }, { "internalType": "uint256", "name": "invariantLast", "type": "uint256" }, { "internalType": "uint256", "name": "priceScale", "type": "uint256" }, { "internalType": "uint256", "name": "futureParamsTime", "type": "uint256" }, { "internalType": "uint256", "name": "virtualPrice", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }], "internalType": "struct Multicall.CryptoPoolData[]", "name": "cryptoPoolData", "type": "tuple[]" }], "internalType": "struct Multicall.PoolData", "name": "pool", "type": "tuple" }, { "components": [{ "internalType": "uint256[]", "name": "defaultProtocolFees", "type": "uint256[]" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData[]", "name": "defaultSwapFees", "type": "tuple[]" }], "internalType": "struct Multicall.PoolFees", "name": "feesV1", "type": "tuple" }, { "components": [{ "internalType": "uint256[]", "name": "defaultProtocolFees", "type": "uint256[]" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData[]", "name": "defaultSwapFees", "type": "tuple[]" }], "internalType": "struct Multicall.PoolFees", "name": "feesV2", "type": "tuple" }], "internalType": "struct Multicall.GetPool", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IBasePool", "name": "pool", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV1", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV2", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "bool", "name": "expectV2", "type": "bool" }, { "internalType": "address[]", "name": "factoriesV1", "type": "address[]" }, { "internalType": "address[]", "name": "factoriesV2", "type": "address[]" }, { "internalType": "address", "name": "tokenTo", "type": "address" }, { "internalType": "address[]", "name": "connectorTokens", "type": "address[]" }], "name": "getPoolByAddress", "outputs": [{ "components": [{ "components": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "poolType", "type": "uint16" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee01", "type": "tuple" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee10", "type": "tuple" }, { "internalType": "uint24", "name": "protocolFee", "type": "uint24" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token0", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token1", "type": "tuple" }, { "internalType": "uint256", "name": "reserve0", "type": "uint256" }, { "internalType": "uint256", "name": "reserve1", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "accountBalance", "type": "uint256" }, { "internalType": "uint256", "name": "routerAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "token0Value", "type": "uint256" }, { "internalType": "uint256", "name": "token1Value", "type": "uint256" }, { "internalType": "uint256", "name": "feesCurrentEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feesLastEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feeStartTime", "type": "uint256" }, { "internalType": "uint256", "name": "totalFeeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "a", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "gamma", "type": "uint256" }, { "internalType": "uint256", "name": "invariantLast", "type": "uint256" }, { "internalType": "uint256", "name": "priceScale", "type": "uint256" }, { "internalType": "uint256", "name": "futureParamsTime", "type": "uint256" }, { "internalType": "uint256", "name": "virtualPrice", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }], "internalType": "struct Multicall.CryptoPoolData[]", "name": "cryptoPoolData", "type": "tuple[]" }], "internalType": "struct Multicall.PoolData", "name": "pool", "type": "tuple" }, { "components": [{ "internalType": "uint256[]", "name": "defaultProtocolFees", "type": "uint256[]" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData[]", "name": "defaultSwapFees", "type": "tuple[]" }], "internalType": "struct Multicall.PoolFees", "name": "feesV1", "type": "tuple" }, { "components": [{ "internalType": "uint256[]", "name": "defaultProtocolFees", "type": "uint256[]" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData[]", "name": "defaultSwapFees", "type": "tuple[]" }], "internalType": "struct Multicall.PoolFees", "name": "feesV2", "type": "tuple" }], "internalType": "struct Multicall.GetPool", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IMaster", "name": "master", "type": "address" }], "name": "getPoolData", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IMaster", "name": "masterV1", "type": "address" }, { "internalType": "contract IMaster", "name": "masterV2", "type": "address" }, { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address[]", "name": "poolAddresses", "type": "address[]" }, { "internalType": "address[]", "name": "factoriesV1", "type": "address[]" }, { "internalType": "address[]", "name": "factoriesV2", "type": "address[]" }, { "internalType": "address", "name": "tokenTo", "type": "address" }, { "internalType": "address[]", "name": "connectorTokens", "type": "address[]" }], "name": "getPools", "outputs": [{ "components": [{ "components": [{ "internalType": "bool", "name": "isV2", "type": "bool" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "poolType", "type": "uint16" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee01", "type": "tuple" }, { "components": [{ "internalType": "uint64", "name": "gamma", "type": "uint64" }, { "internalType": "uint24", "name": "minFee", "type": "uint24" }, { "internalType": "uint24", "name": "maxFee", "type": "uint24" }], "internalType": "struct IFeeManagerV2.FeeData", "name": "swapFee10", "type": "tuple" }, { "internalType": "uint24", "name": "protocolFee", "type": "uint24" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token0", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "token1", "type": "tuple" }, { "internalType": "uint256", "name": "reserve0", "type": "uint256" }, { "internalType": "uint256", "name": "reserve1", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "accountBalance", "type": "uint256" }, { "internalType": "uint256", "name": "routerAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "token0Value", "type": "uint256" }, { "internalType": "uint256", "name": "token1Value", "type": "uint256" }, { "internalType": "uint256", "name": "feesCurrentEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feesLastEpoch", "type": "uint256" }, { "internalType": "uint256", "name": "feeStartTime", "type": "uint256" }, { "internalType": "uint256", "name": "totalFeeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "a", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "gamma", "type": "uint256" }, { "internalType": "uint256", "name": "invariantLast", "type": "uint256" }, { "internalType": "uint256", "name": "priceScale", "type": "uint256" }, { "internalType": "uint256", "name": "futureParamsTime", "type": "uint256" }, { "internalType": "uint256", "name": "virtualPrice", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }], "internalType": "struct Multicall.CryptoPoolData[]", "name": "cryptoPoolData", "type": "tuple[]" }], "internalType": "struct Multicall.PoolData[]", "name": "pools", "type": "tuple[]" }], "internalType": "struct Multicall.GetPools", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "token", "type": "address" }], "name": "tryDecimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "token", "type": "address" }], "name": "tryName", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "token", "type": "address" }], "name": "trySymbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "token", "type": "address" }], "name": "tryToken", "outputs": [{ "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }], "internalType": "struct Multicall.Token", "name": "metadata", "type": "tuple" }], "stateMutability": "view", "type": "function" }];
//# sourceMappingURL=multicall.js.map