@7kprotocol/sdk-ts 2.2.1 → 2.2.2
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.
|
@@ -18,7 +18,7 @@ const utils_1 = require("@mysten/sui/utils");
|
|
|
18
18
|
const utils_2 = require("../utils");
|
|
19
19
|
const bn_js_1 = __importDefault(require("bn.js"));
|
|
20
20
|
const sui_1 = require("../../../utils/sui");
|
|
21
|
-
const PACKAGE_ID = "
|
|
21
|
+
const PACKAGE_ID = "0x6c796c3ab3421a68158e0df18e4657b2827b1f8fed5ed4b82dba9c935988711b";
|
|
22
22
|
const CONFIG_ID = "0x03db251ba509a8d5d8777b6338836082335d93eecbdd09a11e190a1cff51c352";
|
|
23
23
|
class BluefinContract extends base_1.BaseContract {
|
|
24
24
|
swap(tx) {
|
|
@@ -3,7 +3,7 @@ import { SUI_CLOCK_OBJECT_ID } from "@mysten/sui/utils";
|
|
|
3
3
|
import { getDefaultSqrtPriceLimit } from "../utils";
|
|
4
4
|
import BN from "bn.js";
|
|
5
5
|
import { SuiUtils } from "../../../utils/sui";
|
|
6
|
-
const PACKAGE_ID = "
|
|
6
|
+
const PACKAGE_ID = "0x6c796c3ab3421a68158e0df18e4657b2827b1f8fed5ed4b82dba9c935988711b";
|
|
7
7
|
const CONFIG_ID = "0x03db251ba509a8d5d8777b6338836082335d93eecbdd09a11e190a1cff51c352";
|
|
8
8
|
export class BluefinContract extends BaseContract {
|
|
9
9
|
async swap(tx) {
|