UNPKG

@agoric/zoe

Version:

Zoe: the Smart Contract Framework for Offer Enforcement

6 lines 625 B
export function getInputPrice(inputValue: any, inputReserve: any, outputReserve: any, feeBasisPoints?: bigint): NatValue; export function getOutputPrice(outputValue: any, inputReserve: any, outputReserve: any, feeBasisPoints?: bigint): NatValue; export function calcLiqValueToMint(liqTokenSupply: bigint, inputValue: bigint, inputReserve: bigint): NatValue; export function calcSecondaryRequired(centralIn: any, centralPool: any, secondaryPool: any, secondaryIn: any): NatValue; export function calcValueToRemove(liqTokenSupply: any, poolValue: any, liquidityValueIn: any): bigint; //# sourceMappingURL=bondingCurves.d.ts.map