UNPKG

@raydium-io/raydium-sdk-v2

Version:

An SDK for building applications on top of Raydium.

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