opnet 1.2.13 → 1.2.14
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/browser/_version.d.ts +1 -1
- package/browser/abi/shared/interfaces/motoswap/INativeSwapContract.d.ts +1 -1
- package/browser/index.js +1 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/abi/shared/interfaces/motoswap/INativeSwapContract.d.ts +1 -1
- package/build/abi/shared/json/motoswap/NATIVE_SWAP_ABI.js +0 -8
- package/package.json +1 -1
- package/src/_version.ts +1 -1
- package/src/abi/shared/interfaces/motoswap/INativeSwapContract.ts +1 -8
- package/src/abi/shared/json/motoswap/NATIVE_SWAP_ABI.ts +0 -8
package/build/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.2.
|
|
1
|
+
export declare const version = "1.2.14";
|
package/build/_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.2.
|
|
1
|
+
export const version = '1.2.14';
|
|
@@ -57,7 +57,7 @@ export interface INativeSwapContract extends IOP_NETContract {
|
|
|
57
57
|
createPoolWithSignature(signature: Buffer, approveAmount: bigint, token: Address, floorPrice: bigint, initialLiquidity: bigint, receiver: string, antiBotEnabledFor: number, antiBotMaximumTokensPerReservation: bigint, maxReservesIn5BlocksPercent: number): Promise<CreatePool>;
|
|
58
58
|
setFees(reservationBaseFee: bigint, priorityQueueBaseFee: bigint, pricePerUserInPriorityQueueBTC: bigint): Promise<SetFees>;
|
|
59
59
|
getFees(): Promise<GetFees>;
|
|
60
|
-
addLiquidity(token: Address, receiver: string
|
|
60
|
+
addLiquidity(token: Address, receiver: string): Promise<AddLiquidity>;
|
|
61
61
|
removeLiquidity(token: Address, amount: bigint): Promise<RemoveLiquidity>;
|
|
62
62
|
swap(token: Address): Promise<Swap>;
|
|
63
63
|
getReserve(token: Address): Promise<GetReserve>;
|
|
@@ -332,14 +332,6 @@ export const NativeSwapAbi = [
|
|
|
332
332
|
name: 'receiver',
|
|
333
333
|
type: ABIDataTypes.STRING,
|
|
334
334
|
},
|
|
335
|
-
{
|
|
336
|
-
name: 'amountIn',
|
|
337
|
-
type: ABIDataTypes.UINT128,
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
name: 'priority',
|
|
341
|
-
type: ABIDataTypes.BOOL,
|
|
342
|
-
},
|
|
343
335
|
],
|
|
344
336
|
outputs: [
|
|
345
337
|
{
|
package/package.json
CHANGED
package/src/_version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.2.
|
|
1
|
+
export const version = '1.2.14';
|
|
@@ -206,16 +206,9 @@ export interface INativeSwapContract extends IOP_NETContract {
|
|
|
206
206
|
* @description Adds liquidity to the contract.
|
|
207
207
|
* @param token - The address of the token to add liquidity for.
|
|
208
208
|
* @param receiver - The receiver of the liquidity (Bitcoin address).
|
|
209
|
-
* @param amountIn - The amount of tokens to add.
|
|
210
|
-
* @param priority - Whether to prioritize the liquidity addition.
|
|
211
209
|
* @returns {Promise<AddLiquidity>}
|
|
212
210
|
*/
|
|
213
|
-
addLiquidity(
|
|
214
|
-
token: Address,
|
|
215
|
-
receiver: string,
|
|
216
|
-
amountIn: bigint,
|
|
217
|
-
priority: boolean,
|
|
218
|
-
): Promise<AddLiquidity>;
|
|
211
|
+
addLiquidity(token: Address, receiver: string): Promise<AddLiquidity>;
|
|
219
212
|
|
|
220
213
|
/**
|
|
221
214
|
* @description Removes liquidity from the contract.
|
|
@@ -369,14 +369,6 @@ export const NativeSwapAbi: BitcoinInterfaceAbi = [
|
|
|
369
369
|
name: 'receiver',
|
|
370
370
|
type: ABIDataTypes.STRING,
|
|
371
371
|
},
|
|
372
|
-
{
|
|
373
|
-
name: 'amountIn',
|
|
374
|
-
type: ABIDataTypes.UINT128,
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
name: 'priority',
|
|
378
|
-
type: ABIDataTypes.BOOL,
|
|
379
|
-
},
|
|
380
372
|
],
|
|
381
373
|
outputs: [
|
|
382
374
|
{
|