@mstable/protocol
Version:
mStable Contracts
137 lines (136 loc) • 4.48 kB
TypeScript
declare const _default: {
integrationData: {
mpAssetReserve0: string;
mpAssetReserve1: string;
mpAssetReserve2: string;
feederPoolMAssetReserve: string;
feederPoolFAssetReserve: string;
mAssetA: number;
feederPoolA: number;
LPTokenSupply: string;
hardMin: number;
hardMax: number;
swapFeeRate: number;
actions: ({
type: string;
outputIndex: number;
inputQty: string;
outputQty0: string;
outputQty: string;
swapFee1: string;
swapFee2: string;
mpReserves: string[];
fpReserves: string[];
mAssetSupply: string;
LPTokenSupply: string;
swapFee?: undefined;
redemptionFee?: undefined;
inputIndex?: undefined;
hardLimitError?: undefined;
insufficientLiquidityError?: undefined;
} | {
type: string;
inputQty: string;
outputIndex: number;
outputQty: string;
swapFee: string;
redemptionFee: string;
mpReserves: string[];
fpReserves: string[];
mAssetSupply: string;
LPTokenSupply: string;
outputQty0?: undefined;
swapFee1?: undefined;
swapFee2?: undefined;
inputIndex?: undefined;
hardLimitError?: undefined;
insufficientLiquidityError?: undefined;
} | {
type: string;
inputIndex: number;
inputQty: string;
outputQty0: string;
outputQty: string;
mpReserves: string[];
fpReserves: string[];
mAssetSupply: string;
LPTokenSupply: string;
outputIndex?: undefined;
swapFee1?: undefined;
swapFee2?: undefined;
swapFee?: undefined;
redemptionFee?: undefined;
hardLimitError?: undefined;
insufficientLiquidityError?: undefined;
} | {
type: string;
inputIndex: number;
inputQty: string;
outputQty0: string;
outputQty: string;
swapFee: string;
mpReserves: string[];
fpReserves: string[];
mAssetSupply: string;
LPTokenSupply: string;
outputIndex?: undefined;
swapFee1?: undefined;
swapFee2?: undefined;
redemptionFee?: undefined;
hardLimitError?: undefined;
insufficientLiquidityError?: undefined;
} | {
type: string;
outputIndex: number;
inputQty: string;
hardLimitError: boolean;
outputQty0?: undefined;
outputQty?: undefined;
swapFee1?: undefined;
swapFee2?: undefined;
mpReserves?: undefined;
fpReserves?: undefined;
mAssetSupply?: undefined;
LPTokenSupply?: undefined;
swapFee?: undefined;
redemptionFee?: undefined;
inputIndex?: undefined;
insufficientLiquidityError?: undefined;
} | {
type: string;
inputIndex: number;
inputQty: string;
hardLimitError: boolean;
outputIndex?: undefined;
outputQty0?: undefined;
outputQty?: undefined;
swapFee1?: undefined;
swapFee2?: undefined;
mpReserves?: undefined;
fpReserves?: undefined;
mAssetSupply?: undefined;
LPTokenSupply?: undefined;
swapFee?: undefined;
redemptionFee?: undefined;
insufficientLiquidityError?: undefined;
} | {
type: string;
outputIndex: number;
inputQty: string;
insufficientLiquidityError: boolean;
outputQty0?: undefined;
outputQty?: undefined;
swapFee1?: undefined;
swapFee2?: undefined;
mpReserves?: undefined;
fpReserves?: undefined;
mAssetSupply?: undefined;
LPTokenSupply?: undefined;
swapFee?: undefined;
redemptionFee?: undefined;
inputIndex?: undefined;
hardLimitError?: undefined;
})[];
};
};
export default _default;