UNPKG

@raydium-io/raydium-sdk-v2

Version:

An SDK for building applications on top of Raydium.

2 lines 1.32 kB
var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var B=(t,o)=>{for(var a in o)n(t,a,{get:o[a],enumerable:!0})},d=(t,o,a,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!u.call(t,e)&&e!==a&&n(t,e,{get:()=>o[e],enumerable:!(l=i(o,e))||l.enumerable});return t};var p=t=>d(n({},"__esModule",{value:!0}),t);var s={};B(s,{CurveBase:()=>r});module.exports=p(s);var r=class{static getPoolInitPriceByPool({poolInfo:o,decimalA:a,decimalB:l}){throw Error()}static getPoolInitPriceByInit({a:o,b:a,decimalA:l,decimalB:e}){throw Error()}static getPoolPrice({poolInfo:o,decimalA:a,decimalB:l}){throw Error()}static getPoolEndPrice({supply:o,totalSell:a,totalLockedAmount:l,totalFundRaising:e,migrateFee:m,decimalA:I,decimalB:N}){throw Error()}static getPoolEndPriceReal({poolInfo:o,decimalA:a,decimalB:l}){throw Error()}static getInitParam({supply:o,totalFundRaising:a,totalSell:l,totalLockedAmount:e,migrateFee:m}){throw Error()}static buyExactIn({poolInfo:o,amount:a}){throw Error()}static buyExactOut({poolInfo:o,amount:a}){throw Error()}static sellExactIn({poolInfo:o,amount:a}){throw Error()}static sellExactOut({poolInfo:o,amount:a}){throw Error()}};0&&(module.exports={CurveBase}); //# sourceMappingURL=curveBase.js.map