@crypticdot/defituna-core 3.4.6 → 3.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/defituna_core_js_bindings.d.ts +174 -174
- package/dist/browser/defituna_core_js_bindings_bg.js +443 -442
- package/dist/browser/defituna_core_js_bindings_bg.wasm +0 -0
- package/dist/browser/defituna_core_js_bindings_bg.wasm.d.ts +10 -10
- package/dist/nodejs/defituna_core_js_bindings.d.ts +174 -174
- package/dist/nodejs/defituna_core_js_bindings.js +443 -442
- package/dist/nodejs/defituna_core_js_bindings_bg.wasm +0 -0
- package/dist/nodejs/defituna_core_js_bindings_bg.wasm.d.ts +10 -10
- package/package.json +2 -2
|
Binary file
|
|
@@ -78,6 +78,12 @@ export const tryApplySwapFee: (a: number, b: bigint, c: number) => void;
|
|
|
78
78
|
export const tryReverseApplySwapFee: (a: number, b: bigint, c: number) => void;
|
|
79
79
|
export const swapQuoteByInputToken: (a: number, b: bigint, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
80
80
|
export const swapQuoteByOutputToken: (a: number, b: bigint, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
81
|
+
export const getLiquidityFromAmountA: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint) => void;
|
|
82
|
+
export const getLiquidityFromAmountB: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint) => void;
|
|
83
|
+
export const getAmountAFromLiquidity: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: number) => void;
|
|
84
|
+
export const getAmountBFromLiquidity: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: number) => void;
|
|
85
|
+
export const getAmountsFromLiquidity: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: bigint, i: bigint, j: number) => void;
|
|
86
|
+
export const getLiquidityFromAmounts: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: bigint, i: bigint) => void;
|
|
81
87
|
export const firstUnoccupiedPositionInBundle: (a: number, b: number) => number;
|
|
82
88
|
export const isPositionBundleFull: (a: number, b: number) => number;
|
|
83
89
|
export const isPositionBundleEmpty: (a: number, b: number) => number;
|
|
@@ -89,12 +95,6 @@ export const sqrtPriceToPrice: (a: bigint, b: bigint, c: number, d: number) => n
|
|
|
89
95
|
export const invertPrice: (a: number, b: number, c: number) => number;
|
|
90
96
|
export const tickIndexToPrice: (a: number, b: number, c: number) => number;
|
|
91
97
|
export const priceToTickIndex: (a: number, b: number, c: number) => number;
|
|
92
|
-
export const tryGetLiquidityFromAmountA: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint) => void;
|
|
93
|
-
export const tryGetAmountAFromLiquidity: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: number) => void;
|
|
94
|
-
export const tryGetLiquidityFromAmountB: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint) => void;
|
|
95
|
-
export const tryGetAmountBFromLiquidity: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: number) => void;
|
|
96
|
-
export const tryGetAmountsFromLiquidity: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: number, g: number, h: number) => void;
|
|
97
|
-
export const tryGetLiquidityFromAmounts: (a: number, b: bigint, c: bigint, d: bigint, e: bigint, f: bigint, g: bigint, h: bigint, i: bigint) => void;
|
|
98
98
|
export const _TICK_ARRAY_NOT_EVENLY_SPACED: (a: number) => void;
|
|
99
99
|
export const _TICK_INDEX_OUT_OF_BOUNDS: (a: number) => void;
|
|
100
100
|
export const _INVALID_TICK_INDEX: (a: number) => void;
|
|
@@ -147,10 +147,10 @@ export const limitOrderRewardByOutputToken: (a: number, b: bigint, c: number, d:
|
|
|
147
147
|
export const decreaseLimitOrderQuote: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: number) => void;
|
|
148
148
|
export const collectFeesQuote: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
149
149
|
export const limitOrderFee: (a: number) => number;
|
|
150
|
-
export const
|
|
151
|
-
export const
|
|
152
|
-
export const
|
|
153
|
-
export const
|
|
150
|
+
export const __wasm_bindgen_func_elem_3153: (a: number, b: number) => void;
|
|
151
|
+
export const __wasm_bindgen_func_elem_3149: (a: number, b: number) => void;
|
|
152
|
+
export const __wasm_bindgen_func_elem_3259: (a: number, b: number, c: number) => void;
|
|
153
|
+
export const __wasm_bindgen_func_elem_3232: (a: number, b: number) => void;
|
|
154
154
|
export const __wasm_bindgen_func_elem_494: (a: number, b: number, c: number, d: number) => void;
|
|
155
155
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
156
156
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crypticdot/defituna-core",
|
|
3
3
|
"description": "DefiTuna core typescript package.",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.7",
|
|
5
5
|
"main": "./dist/nodejs/defituna_core_js_bindings.js",
|
|
6
6
|
"types": "./dist/nodejs/defituna_core_js_bindings.d.ts",
|
|
7
7
|
"browser": "./dist/browser/defituna_core_js_bindings.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@crypticdot/typescript-config": "^1.0.0",
|
|
24
24
|
"typescript": "^5.8.3",
|
|
25
25
|
"wasm-pack": "^0.13.1",
|
|
26
|
-
"@crypticdot/defituna-rust-core": "3.4.
|
|
26
|
+
"@crypticdot/defituna-rust-core": "3.4.7"
|
|
27
27
|
},
|
|
28
28
|
"license": "SEE LICENSE IN LICENSE",
|
|
29
29
|
"keywords": [
|