@clober/v2-sdk 0.0.20 → 0.0.22
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/cjs/abis/core/book-manager-abi.js +112 -0
- package/dist/cjs/abis/core/book-manager-abi.js.map +1 -0
- package/dist/cjs/abis/core/book-viewer-abi.js +135 -3
- package/dist/cjs/abis/core/book-viewer-abi.js.map +1 -1
- package/dist/cjs/abis/core/controller-abi.js +1 -6
- package/dist/cjs/abis/core/controller-abi.js.map +1 -1
- package/dist/cjs/apis/market.js +9 -9
- package/dist/cjs/apis/market.js.map +1 -1
- package/dist/cjs/apis/open-order.js +15 -15
- package/dist/cjs/apis/open-order.js.map +1 -1
- package/dist/cjs/call.js +6 -6
- package/dist/cjs/call.js.map +1 -1
- package/dist/cjs/constants/addresses.js +1 -1
- package/dist/cjs/model/book.js +9 -9
- package/dist/cjs/model/book.js.map +1 -1
- package/dist/cjs/model/market.js +2 -2
- package/dist/cjs/model/market.js.map +1 -1
- package/dist/cjs/utils/book-id.js +3 -3
- package/dist/cjs/utils/book-id.js.map +1 -1
- package/dist/cjs/utils/order.js +7 -114
- package/dist/cjs/utils/order.js.map +1 -1
- package/dist/cjs/utils/{unit.js → unit-size.js} +10 -10
- package/dist/cjs/utils/unit-size.js.map +1 -0
- package/dist/esm/abis/core/book-manager-abi.js +109 -0
- package/dist/esm/abis/core/book-manager-abi.js.map +1 -0
- package/dist/esm/abis/core/book-viewer-abi.js +135 -3
- package/dist/esm/abis/core/book-viewer-abi.js.map +1 -1
- package/dist/esm/abis/core/controller-abi.js +1 -6
- package/dist/esm/abis/core/controller-abi.js.map +1 -1
- package/dist/esm/apis/market.js +9 -9
- package/dist/esm/apis/market.js.map +1 -1
- package/dist/esm/apis/open-order.js +15 -15
- package/dist/esm/apis/open-order.js.map +1 -1
- package/dist/esm/call.js +6 -6
- package/dist/esm/call.js.map +1 -1
- package/dist/esm/constants/addresses.js +1 -1
- package/dist/esm/model/book.js +9 -9
- package/dist/esm/model/book.js.map +1 -1
- package/dist/esm/model/market.js +2 -2
- package/dist/esm/model/market.js.map +1 -1
- package/dist/esm/utils/book-id.js +3 -3
- package/dist/esm/utils/book-id.js.map +1 -1
- package/dist/esm/utils/order.js +7 -114
- package/dist/esm/utils/order.js.map +1 -1
- package/dist/esm/utils/{unit.js → unit-size.js} +8 -8
- package/dist/esm/utils/unit-size.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/abis/core/book-manager-abi.d.ts +82 -0
- package/dist/types/abis/core/book-manager-abi.d.ts.map +1 -0
- package/dist/types/abis/core/book-viewer-abi.d.ts +105 -3
- package/dist/types/abis/core/book-viewer-abi.d.ts.map +1 -1
- package/dist/types/abis/core/controller-abi.d.ts +1 -5
- package/dist/types/abis/core/controller-abi.d.ts.map +1 -1
- package/dist/types/model/book.d.ts +6 -27
- package/dist/types/model/book.d.ts.map +1 -1
- package/dist/types/model/depth.d.ts +2 -2
- package/dist/types/model/depth.d.ts.map +1 -1
- package/dist/types/model/open-order.d.ts +5 -5
- package/dist/types/model/open-order.d.ts.map +1 -1
- package/dist/types/utils/book-id.d.ts +1 -1
- package/dist/types/utils/book-id.d.ts.map +1 -1
- package/dist/types/utils/order.d.ts.map +1 -1
- package/dist/types/utils/unit-size.d.ts +4 -0
- package/dist/types/utils/unit-size.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/abis/core/params-abi.js +0 -62
- package/dist/cjs/abis/core/params-abi.js.map +0 -1
- package/dist/cjs/utils/unit.js.map +0 -1
- package/dist/esm/abis/core/params-abi.js +0 -59
- package/dist/esm/abis/core/params-abi.js.map +0 -1
- package/dist/esm/utils/unit.js.map +0 -1
- package/dist/types/abis/core/params-abi.d.ts +0 -21
- package/dist/types/abis/core/params-abi.d.ts.map +0 -1
- package/dist/types/utils/unit.d.ts +0 -4
- package/dist/types/utils/unit.d.ts.map +0 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const BOOK_MANAGER_ABI: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "OrderId";
|
|
4
|
+
readonly name: "id";
|
|
5
|
+
readonly type: "uint256";
|
|
6
|
+
}];
|
|
7
|
+
readonly name: "getOrder";
|
|
8
|
+
readonly outputs: readonly [{
|
|
9
|
+
readonly components: readonly [{
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
readonly name: "provider";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}, {
|
|
14
|
+
readonly internalType: "uint64";
|
|
15
|
+
readonly name: "open";
|
|
16
|
+
readonly type: "uint64";
|
|
17
|
+
}, {
|
|
18
|
+
readonly internalType: "uint64";
|
|
19
|
+
readonly name: "claimable";
|
|
20
|
+
readonly type: "uint64";
|
|
21
|
+
}];
|
|
22
|
+
readonly internalType: "struct IBookManager.OrderInfo";
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "tuple";
|
|
25
|
+
}];
|
|
26
|
+
readonly stateMutability: "view";
|
|
27
|
+
readonly type: "function";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [{
|
|
30
|
+
readonly internalType: "uint256";
|
|
31
|
+
readonly name: "tokenId";
|
|
32
|
+
readonly type: "uint256";
|
|
33
|
+
}];
|
|
34
|
+
readonly name: "ownerOf";
|
|
35
|
+
readonly outputs: readonly [{
|
|
36
|
+
readonly internalType: "address";
|
|
37
|
+
readonly name: "";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
}];
|
|
40
|
+
readonly stateMutability: "view";
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
}, {
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly internalType: "BookId";
|
|
45
|
+
readonly name: "id";
|
|
46
|
+
readonly type: "uint192";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "getBookKey";
|
|
49
|
+
readonly outputs: readonly [{
|
|
50
|
+
readonly components: readonly [{
|
|
51
|
+
readonly internalType: "Currency";
|
|
52
|
+
readonly name: "base";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}, {
|
|
55
|
+
readonly internalType: "uint64";
|
|
56
|
+
readonly name: "unitSize";
|
|
57
|
+
readonly type: "uint64";
|
|
58
|
+
}, {
|
|
59
|
+
readonly internalType: "Currency";
|
|
60
|
+
readonly name: "quote";
|
|
61
|
+
readonly type: "address";
|
|
62
|
+
}, {
|
|
63
|
+
readonly internalType: "FeePolicy";
|
|
64
|
+
readonly name: "makerPolicy";
|
|
65
|
+
readonly type: "uint24";
|
|
66
|
+
}, {
|
|
67
|
+
readonly internalType: "contract IHooks";
|
|
68
|
+
readonly name: "hooks";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}, {
|
|
71
|
+
readonly internalType: "FeePolicy";
|
|
72
|
+
readonly name: "takerPolicy";
|
|
73
|
+
readonly type: "uint24";
|
|
74
|
+
}];
|
|
75
|
+
readonly internalType: "struct IBookManager.BookKey";
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "tuple";
|
|
78
|
+
}];
|
|
79
|
+
readonly stateMutability: "view";
|
|
80
|
+
readonly type: "function";
|
|
81
|
+
}];
|
|
82
|
+
//# sourceMappingURL=book-manager-abi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"book-manager-abi.d.ts","sourceRoot":"","sources":["../../../../src/abis/core/book-manager-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2GnB,CAAA"}
|
|
@@ -1,11 +1,97 @@
|
|
|
1
1
|
export declare const BOOK_VIEWER_ABI: readonly [{
|
|
2
|
+
readonly anonymous: false;
|
|
2
3
|
readonly inputs: readonly [{
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
4
|
+
readonly indexed: true;
|
|
5
|
+
readonly internalType: "address";
|
|
6
|
+
readonly name: "previousOwner";
|
|
7
|
+
readonly type: "address";
|
|
8
|
+
}, {
|
|
9
|
+
readonly indexed: true;
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
readonly name: "newOwner";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}];
|
|
14
|
+
readonly name: "OwnershipTransferred";
|
|
15
|
+
readonly type: "event";
|
|
16
|
+
}, {
|
|
17
|
+
readonly anonymous: false;
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly indexed: true;
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "previousImplementation";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly indexed: true;
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
readonly name: "newImplementation";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}];
|
|
29
|
+
readonly name: "ProxyImplementationUpdated";
|
|
30
|
+
readonly type: "event";
|
|
31
|
+
}, {
|
|
32
|
+
readonly stateMutability: "payable";
|
|
33
|
+
readonly type: "fallback";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [];
|
|
36
|
+
readonly name: "owner";
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly internalType: "address";
|
|
39
|
+
readonly name: "";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "view";
|
|
43
|
+
readonly type: "function";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly internalType: "bytes4";
|
|
47
|
+
readonly name: "id";
|
|
48
|
+
readonly type: "bytes4";
|
|
49
|
+
}];
|
|
50
|
+
readonly name: "supportsInterface";
|
|
51
|
+
readonly outputs: readonly [{
|
|
52
|
+
readonly internalType: "bool";
|
|
53
|
+
readonly name: "";
|
|
54
|
+
readonly type: "bool";
|
|
55
|
+
}];
|
|
56
|
+
readonly stateMutability: "view";
|
|
57
|
+
readonly type: "function";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly internalType: "address";
|
|
61
|
+
readonly name: "newOwner";
|
|
5
62
|
readonly type: "address";
|
|
6
63
|
}];
|
|
64
|
+
readonly name: "transferOwnership";
|
|
65
|
+
readonly outputs: readonly [];
|
|
7
66
|
readonly stateMutability: "nonpayable";
|
|
8
|
-
readonly type: "
|
|
67
|
+
readonly type: "function";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "newImplementation";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "upgradeTo";
|
|
75
|
+
readonly outputs: readonly [];
|
|
76
|
+
readonly stateMutability: "nonpayable";
|
|
77
|
+
readonly type: "function";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
readonly name: "newImplementation";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}, {
|
|
84
|
+
readonly internalType: "bytes";
|
|
85
|
+
readonly name: "data";
|
|
86
|
+
readonly type: "bytes";
|
|
87
|
+
}];
|
|
88
|
+
readonly name: "upgradeToAndCall";
|
|
89
|
+
readonly outputs: readonly [];
|
|
90
|
+
readonly stateMutability: "payable";
|
|
91
|
+
readonly type: "function";
|
|
92
|
+
}, {
|
|
93
|
+
readonly stateMutability: "payable";
|
|
94
|
+
readonly type: "receive";
|
|
9
95
|
}, {
|
|
10
96
|
readonly inputs: readonly [];
|
|
11
97
|
readonly name: "InvalidTick";
|
|
@@ -137,5 +223,21 @@ export declare const BOOK_VIEWER_ABI: readonly [{
|
|
|
137
223
|
}];
|
|
138
224
|
readonly stateMutability: "view";
|
|
139
225
|
readonly type: "function";
|
|
226
|
+
}, {
|
|
227
|
+
readonly inputs: readonly [{
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "implementationAddress";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
readonly name: "ownerAddress";
|
|
234
|
+
readonly type: "address";
|
|
235
|
+
}, {
|
|
236
|
+
readonly internalType: "bytes";
|
|
237
|
+
readonly name: "data";
|
|
238
|
+
readonly type: "bytes";
|
|
239
|
+
}];
|
|
240
|
+
readonly stateMutability: "payable";
|
|
241
|
+
readonly type: "constructor";
|
|
140
242
|
}];
|
|
141
243
|
//# sourceMappingURL=book-viewer-abi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"book-viewer-abi.d.ts","sourceRoot":"","sources":["../../../../src/abis/core/book-viewer-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"book-viewer-abi.d.ts","sourceRoot":"","sources":["../../../../src/abis/core/book-viewer-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4TlB,CAAA"}
|
|
@@ -54,10 +54,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
54
54
|
readonly inputs: readonly [];
|
|
55
55
|
readonly name: "InvalidLength";
|
|
56
56
|
readonly type: "error";
|
|
57
|
-
}, {
|
|
58
|
-
readonly inputs: readonly [];
|
|
59
|
-
readonly name: "InvalidMarket";
|
|
60
|
-
readonly type: "error";
|
|
61
57
|
}, {
|
|
62
58
|
readonly inputs: readonly [];
|
|
63
59
|
readonly name: "InvalidPrice";
|
|
@@ -559,7 +555,7 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
559
555
|
readonly type: "address";
|
|
560
556
|
}, {
|
|
561
557
|
readonly internalType: "uint64";
|
|
562
|
-
readonly name: "
|
|
558
|
+
readonly name: "unitSize";
|
|
563
559
|
readonly type: "uint64";
|
|
564
560
|
}, {
|
|
565
561
|
readonly internalType: "Currency";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller-abi.d.ts","sourceRoot":"","sources":["../../../../src/abis/core/controller-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"controller-abi.d.ts","sourceRoot":"","sources":["../../../../src/abis/core/controller-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA69BjB,CAAA"}
|
|
@@ -1,39 +1,18 @@
|
|
|
1
1
|
import type { Currency } from './currency';
|
|
2
|
-
import type {
|
|
3
|
-
export type BookDto = {
|
|
4
|
-
id: string;
|
|
5
|
-
base: {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
symbol: string;
|
|
9
|
-
decimals: string;
|
|
10
|
-
};
|
|
11
|
-
quote: {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
symbol: string;
|
|
15
|
-
decimals: string;
|
|
16
|
-
};
|
|
17
|
-
unit: string;
|
|
18
|
-
depths: {
|
|
19
|
-
tick: string;
|
|
20
|
-
price: string;
|
|
21
|
-
rawAmount: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
2
|
+
import type { DepthDto } from './depth';
|
|
24
3
|
export declare class Book {
|
|
25
4
|
id: bigint;
|
|
26
5
|
base: Currency;
|
|
27
|
-
|
|
6
|
+
unitSize: bigint;
|
|
28
7
|
quote: Currency;
|
|
29
|
-
depths:
|
|
8
|
+
depths: DepthDto[];
|
|
30
9
|
isOpened: boolean;
|
|
31
|
-
constructor({ id, base, quote,
|
|
10
|
+
constructor({ id, base, quote, unitSize, depths, isOpened, }: {
|
|
32
11
|
id: bigint;
|
|
33
12
|
base: Currency;
|
|
34
13
|
quote: Currency;
|
|
35
|
-
|
|
36
|
-
depths:
|
|
14
|
+
unitSize: bigint;
|
|
15
|
+
depths: DepthDto[];
|
|
37
16
|
isOpened: boolean;
|
|
38
17
|
});
|
|
39
18
|
take: ({ limitPrice, amountOut, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"book.d.ts","sourceRoot":"","sources":["../../../src/model/book.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,
|
|
1
|
+
{"version":3,"file":"book.d.ts","sourceRoot":"","sources":["../../../src/model/book.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,QAAQ,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,QAAQ,CAAA;IACf,MAAM,EAAE,QAAQ,EAAE,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;gBAEL,EACV,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,GACT,EAAE;QACD,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,QAAQ,CAAA;QACd,KAAK,EAAE,QAAQ,CAAA;QACf,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,QAAQ,EAAE,CAAA;QAClB,QAAQ,EAAE,OAAO,CAAA;KAClB;IASD,IAAI,+BAGD;QACD,UAAU,EAAE,MAAM,CAAA;QAClB,SAAS,EAAE,MAAM,CAAA;KAClB;;;MA2DA;IAED,KAAK,8BAGF;QACD,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;KACjB;;;MAwDA;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depth.d.ts","sourceRoot":"","sources":["../../../src/model/depth.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,
|
|
1
|
+
{"version":3,"file":"depth.d.ts","sourceRoot":"","sources":["../../../src/model/depth.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -16,15 +16,15 @@ export type OpenOrderDto = {
|
|
|
16
16
|
symbol: string;
|
|
17
17
|
decimals: string;
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
unitSize: string;
|
|
20
20
|
};
|
|
21
21
|
tick: string;
|
|
22
22
|
txHash: string;
|
|
23
23
|
createdAt: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
unitAmount: string;
|
|
25
|
+
unitFilledAmount: string;
|
|
26
|
+
unitClaimedAmount: string;
|
|
27
|
+
unitClaimableAmount: string;
|
|
28
28
|
};
|
|
29
29
|
export type OpenOrder = {
|
|
30
30
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-order.d.ts","sourceRoot":"","sources":["../../../src/model/open-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAE1C,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE;YACJ,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,KAAK,EAAE;YACL,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,
|
|
1
|
+
{"version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AE,QAAQ,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC7C,OAAO,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C,SAAS,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAChD,UAAU,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAClD,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const toBookId: (quote: `0x${string}`, base: `0x${string}`,
|
|
1
|
+
export declare const toBookId: (quote: `0x${string}`, base: `0x${string}`, unitSize: bigint) => bigint;
|
|
2
2
|
//# sourceMappingURL=book-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"book-id.d.ts","sourceRoot":"","sources":["../../../src/utils/book-id.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,UACZ,KAAK,MAAM,EAAE,QACd,KAAK,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"book-id.d.ts","sourceRoot":"","sources":["../../../src/utils/book-id.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,UACZ,KAAK,MAAM,EAAE,QACd,KAAK,MAAM,EAAE,YACT,MAAM,WAuBjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../src/utils/order.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../src/utils/order.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAa/C,eAAO,MAAM,WAAW,YACb,SAAS,YACR,MAAM,EAAE,KACjB,QAAQ,SAAS,EAAE,CAsGrB,CAAA;AAED,eAAO,MAAM,WAAW,YACb,MAAM,KACd;IACD,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CAQd,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unit-size.d.ts","sourceRoot":"","sources":["../../../src/utils/unit-size.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAiC9C,eAAO,MAAM,iBAAiB,YACnB,SAAS,SACX,QAAQ,oBAShB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAKE_ORDER_PARAMS_ABI = exports.TAKE_ORDER_PARAMS_ABI = void 0;
|
|
4
|
-
exports.TAKE_ORDER_PARAMS_ABI = [
|
|
5
|
-
{
|
|
6
|
-
components: [
|
|
7
|
-
{
|
|
8
|
-
internalType: 'BookId',
|
|
9
|
-
name: 'id',
|
|
10
|
-
type: 'uint192',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
internalType: 'uint256',
|
|
14
|
-
name: 'limitPrice',
|
|
15
|
-
type: 'uint256',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
internalType: 'uint256',
|
|
19
|
-
name: 'quoteAmount',
|
|
20
|
-
type: 'uint256',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
internalType: 'bytes',
|
|
24
|
-
name: 'hookData',
|
|
25
|
-
type: 'bytes',
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
internalType: 'struct IController.TakeOrderParams',
|
|
29
|
-
name: 'params',
|
|
30
|
-
type: 'tuple',
|
|
31
|
-
},
|
|
32
|
-
];
|
|
33
|
-
exports.MAKE_ORDER_PARAMS_ABI = [
|
|
34
|
-
{
|
|
35
|
-
components: [
|
|
36
|
-
{
|
|
37
|
-
internalType: 'BookId',
|
|
38
|
-
name: 'id',
|
|
39
|
-
type: 'uint192',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: 'Tick',
|
|
43
|
-
name: 'tick',
|
|
44
|
-
type: 'int24',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: 'uint256',
|
|
48
|
-
name: 'quoteAmount',
|
|
49
|
-
type: 'uint256',
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: 'bytes',
|
|
53
|
-
name: 'hookData',
|
|
54
|
-
type: 'bytes',
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
internalType: 'struct IController.MakeOrderParams',
|
|
58
|
-
name: 'params',
|
|
59
|
-
type: 'tuple',
|
|
60
|
-
},
|
|
61
|
-
];
|
|
62
|
-
//# sourceMappingURL=params-abi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"params-abi.js","sourceRoot":"","sources":["../../../../src/abis/core/params-abi.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC;QACE,UAAU,EAAE;YACV;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;aACd;SACF;QACD,YAAY,EAAE,oCAAoC;QAClD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;CACF,CAAA;AAEY,QAAA,qBAAqB,GAAG;IACnC;QACE,UAAU,EAAE;YACV;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;aACd;SACF;QACD,YAAY,EAAE,oCAAoC;QAClD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit.js","sourceRoot":"","sources":["../../../src/utils/unit.ts"],"names":[],"mappings":";;;AAAA,+BAAkD;AAIlD,gDAAyD;AAEzD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAA;AAEV,MAAM,qBAAqB,GAAG,CAAC,OAAkB,EAAE,OAAsB,EAAE,EAAE,CAC3E,GAAG,OAAO,IAAI,OAAO,EAAE,CAAA;AACzB,MAAM,SAAS,GAAG,IAAI,GAAG,EAAkB,CAAA;AAC3C,MAAM,gBAAgB,GAAG,CACvB,OAAkB,EAClB,OAAsB,EACF,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;AAC/E,MAAM,cAAc,GAAG,CAC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PARAMS_ABI = [
|
|
2
|
-
{
|
|
3
|
-
components: [
|
|
4
|
-
{
|
|
5
|
-
internalType: 'BookId',
|
|
6
|
-
name: 'id',
|
|
7
|
-
type: 'uint192',
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
internalType: 'uint256',
|
|
11
|
-
name: 'limitPrice',
|
|
12
|
-
type: 'uint256',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
internalType: 'uint256',
|
|
16
|
-
name: 'quoteAmount',
|
|
17
|
-
type: 'uint256',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: 'bytes',
|
|
21
|
-
name: 'hookData',
|
|
22
|
-
type: 'bytes',
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
internalType: 'struct IController.TakeOrderParams',
|
|
26
|
-
name: 'params',
|
|
27
|
-
type: 'tuple',
|
|
28
|
-
},
|
|
29
|
-
];
|
|
30
|
-
export const MAKE_ORDER_PARAMS_ABI = [
|
|
31
|
-
{
|
|
32
|
-
components: [
|
|
33
|
-
{
|
|
34
|
-
internalType: 'BookId',
|
|
35
|
-
name: 'id',
|
|
36
|
-
type: 'uint192',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
internalType: 'Tick',
|
|
40
|
-
name: 'tick',
|
|
41
|
-
type: 'int24',
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
internalType: 'uint256',
|
|
45
|
-
name: 'quoteAmount',
|
|
46
|
-
type: 'uint256',
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
internalType: 'bytes',
|
|
50
|
-
name: 'hookData',
|
|
51
|
-
type: 'bytes',
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
internalType: 'struct IController.MakeOrderParams',
|
|
55
|
-
name: 'params',
|
|
56
|
-
type: 'tuple',
|
|
57
|
-
},
|
|
58
|
-
];
|
|
59
|
-
//# sourceMappingURL=params-abi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"params-abi.js","sourceRoot":"","sources":["../../../../src/abis/core/params-abi.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC;QACE,UAAU,EAAE;YACV;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;aACd;SACF;QACD,YAAY,EAAE,oCAAoC;QAClD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;CACF,CAAA;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC;QACE,UAAU,EAAE;YACV;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;aACd;SACF;QACD,YAAY,EAAE,oCAAoC;QAClD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit.js","sourceRoot":"","sources":["../../../src/utils/unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA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K,EAAE,OAAkB,EAAE,KAAe,EAAE,EAAE;IACvE,IAAI,cAAc,CAAC,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,CAAC;QAC/C,OAAO,GAAG,IAAI,GAAG,CAAA;IACnB,CAAC;IACD,MAAM,WAAW,GAAG,MAAM,mBAAmB,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC;QAClE,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,GAAG,EAAE,IAAI;QACT,YAAY,EAAE,aAAa;KAC5B,CAAC,CAAA;IACF,OAAO,CACL,GAAG;QACH,MAAM,CAAC,WAAW,IAAI,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CACxE,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const TAKE_ORDER_PARAMS_ABI: {
|
|
2
|
-
components: {
|
|
3
|
-
internalType: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
}[];
|
|
7
|
-
internalType: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type: string;
|
|
10
|
-
}[];
|
|
11
|
-
export declare const MAKE_ORDER_PARAMS_ABI: {
|
|
12
|
-
components: {
|
|
13
|
-
internalType: string;
|
|
14
|
-
name: string;
|
|
15
|
-
type: string;
|
|
16
|
-
}[];
|
|
17
|
-
internalType: string;
|
|
18
|
-
name: string;
|
|
19
|
-
type: string;
|
|
20
|
-
}[];
|
|
21
|
-
//# sourceMappingURL=params-abi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"params-abi.d.ts","sourceRoot":"","sources":["../../../../src/abis/core/params-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;;;;;;;;GA4BjC,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;GA4BjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../../src/utils/unit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAgC9C,eAAO,MAAM,aAAa,YAAmB,SAAS,SAAS,QAAQ,oBAQtE,CAAA"}
|