@sentio/sdk-bundle 2.62.2-rc.5 → 2.62.2-rc.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/lib/aptos/builtin/0x1.js +4 -4
- package/lib/aptos/builtin/0x3.js +5 -5
- package/lib/aptos/builtin/0x4.js +5 -5
- package/lib/aptos/builtin/index.js +6 -6
- package/lib/aptos/ext/index.js +4 -4
- package/lib/aptos/index.js +4 -4
- package/lib/{chunk-HUHBVRRW.js → chunk-27BHA5MU.js} +5 -5
- package/lib/{chunk-2UL4ETFF.js → chunk-3K57LJQY.js} +2 -1
- package/lib/{chunk-JRY6AOMG.js → chunk-4LEM5NVJ.js} +4 -4
- package/lib/chunk-6UVWNOIX.js +4207 -0
- package/lib/chunk-6UVWNOIX.js.map +1 -0
- package/lib/{chunk-UKPEXWMV.js → chunk-7VEIMKBU.js} +2 -2
- package/lib/{chunk-XTUGHD43.js → chunk-EBG4LRR2.js} +3 -3
- package/lib/{chunk-XPXW5GTG.js → chunk-F6G32WYQ.js} +2 -2
- package/lib/{chunk-GHLY3II6.js → chunk-FSSSNDCE.js} +5 -5
- package/lib/{chunk-27EI4HXW.js → chunk-GL4M3LCN.js} +3 -3
- package/lib/{chunk-7G3O6GFC.js → chunk-HCL7SALX.js} +7 -3
- package/lib/{chunk-7G3O6GFC.js.map → chunk-HCL7SALX.js.map} +1 -1
- package/lib/{chunk-NXXIE7YU.js → chunk-HGR43RRH.js} +5 -5
- package/lib/{chunk-7EBYOGSS.js → chunk-L4TGDLRU.js} +3 -3
- package/lib/{chunk-E23JGSY5.js → chunk-MIRGDLI5.js} +6 -6
- package/lib/{chunk-JDK2DEIM.js → chunk-MSFFCQH6.js} +2 -2
- package/lib/{chunk-ITEA4P7X.js → chunk-PNTP77H3.js} +296 -4485
- package/lib/chunk-PNTP77H3.js.map +1 -0
- package/lib/{chunk-GG4LFVYB.js → chunk-QU26CCK5.js} +3 -3
- package/lib/{chunk-MJ3Y5EIQ.js → chunk-TPNU45PA.js} +4 -4
- package/lib/{chunk-XPAVUR3M.js → chunk-WC72O4WS.js} +2 -2
- package/lib/{chunk-VWS6HZK2.js → chunk-WSXGLXUY.js} +4 -4
- package/lib/{chunk-ROWRZFAB.js → chunk-YSIAUJXF.js} +6 -6
- package/lib/core/index.js +1 -1
- package/lib/eth/builtin/eacaggregatorproxy.js +2 -2
- package/lib/eth/builtin/erc1155.js +3 -3
- package/lib/eth/builtin/erc20.js +2 -2
- package/lib/eth/builtin/erc721.js +2 -2
- package/lib/eth/builtin/index.js +8 -8
- package/lib/eth/builtin/weth9.js +3 -3
- package/lib/eth/index.js +2 -2
- package/lib/fuel/index.js +2 -2
- package/lib/index.js +1 -1
- package/lib/iota/builtin/0x1.js +7 -7
- package/lib/iota/builtin/0x2.js +8 -8
- package/lib/iota/builtin/0x3.js +9 -9
- package/lib/iota/builtin/index.js +9 -9
- package/lib/iota/ext/index.js +4 -4
- package/lib/iota/index.js +6 -6
- package/lib/move/index.js +2 -2
- package/lib/solana/builtin/index.js +3 -2
- package/lib/solana/builtin/index.js.map +1 -1
- package/lib/solana/index.js +3 -2
- package/lib/stark/index.js +25426 -0
- package/lib/stark/index.js.map +1 -0
- package/lib/store/index.js +1 -1
- package/lib/sui/builtin/0x1.js +7 -7
- package/lib/sui/builtin/0x2.js +8 -8
- package/lib/sui/builtin/0x3.js +9 -9
- package/lib/sui/builtin/index.js +9 -9
- package/lib/sui/ext/index.js +4 -4
- package/lib/sui/index.js +6 -6
- package/lib/testing/index.js +67 -8
- package/lib/testing/index.js.map +1 -1
- package/lib/utils/index.js +2 -2
- package/package.json +2 -2
- package/lib/chunk-ITEA4P7X.js.map +0 -1
- /package/lib/{chunk-HUHBVRRW.js.map → chunk-27BHA5MU.js.map} +0 -0
- /package/lib/{chunk-2UL4ETFF.js.map → chunk-3K57LJQY.js.map} +0 -0
- /package/lib/{chunk-JRY6AOMG.js.map → chunk-4LEM5NVJ.js.map} +0 -0
- /package/lib/{chunk-UKPEXWMV.js.map → chunk-7VEIMKBU.js.map} +0 -0
- /package/lib/{chunk-XTUGHD43.js.map → chunk-EBG4LRR2.js.map} +0 -0
- /package/lib/{chunk-XPXW5GTG.js.map → chunk-F6G32WYQ.js.map} +0 -0
- /package/lib/{chunk-GHLY3II6.js.map → chunk-FSSSNDCE.js.map} +0 -0
- /package/lib/{chunk-27EI4HXW.js.map → chunk-GL4M3LCN.js.map} +0 -0
- /package/lib/{chunk-NXXIE7YU.js.map → chunk-HGR43RRH.js.map} +0 -0
- /package/lib/{chunk-7EBYOGSS.js.map → chunk-L4TGDLRU.js.map} +0 -0
- /package/lib/{chunk-E23JGSY5.js.map → chunk-MIRGDLI5.js.map} +0 -0
- /package/lib/{chunk-JDK2DEIM.js.map → chunk-MSFFCQH6.js.map} +0 -0
- /package/lib/{chunk-GG4LFVYB.js.map → chunk-QU26CCK5.js.map} +0 -0
- /package/lib/{chunk-MJ3Y5EIQ.js.map → chunk-TPNU45PA.js.map} +0 -0
- /package/lib/{chunk-XPAVUR3M.js.map → chunk-WC72O4WS.js.map} +0 -0
- /package/lib/{chunk-VWS6HZK2.js.map → chunk-WSXGLXUY.js.map} +0 -0
- /package/lib/{chunk-ROWRZFAB.js.map → chunk-YSIAUJXF.js.map} +0 -0
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
} from "./chunk-742S42NO.js";
|
|
29
29
|
import {
|
|
30
30
|
getPriceByType
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-F6G32WYQ.js";
|
|
32
32
|
import {
|
|
33
33
|
SPLITTER,
|
|
34
34
|
accountTypeString
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WC72O4WS.js";
|
|
36
36
|
import {
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-R7PMHHKJ.js";
|
|
@@ -5711,4 +5711,4 @@ export {
|
|
|
5711
5711
|
getPrice,
|
|
5712
5712
|
calculateValueInUsd
|
|
5713
5713
|
};
|
|
5714
|
-
//# sourceMappingURL=chunk-
|
|
5714
|
+
//# sourceMappingURL=chunk-QU26CCK5.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-742S42NO.js";
|
|
8
8
|
import {
|
|
9
9
|
getPriceByType
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F6G32WYQ.js";
|
|
11
11
|
import {
|
|
12
12
|
HandlerRegister,
|
|
13
13
|
getHandlerName,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
matchType,
|
|
27
27
|
moduleQname,
|
|
28
28
|
parseMoveType
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WC72O4WS.js";
|
|
30
30
|
import {
|
|
31
31
|
Field,
|
|
32
32
|
FpInvertBatch,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
PartitionHandlerManager,
|
|
98
98
|
TemplateInstanceState,
|
|
99
99
|
normalizeLabels
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-3K57LJQY.js";
|
|
101
101
|
import {
|
|
102
102
|
require_lib
|
|
103
103
|
} from "./chunk-6B74I6XD.js";
|
|
@@ -40724,4 +40724,4 @@ export {
|
|
|
40724
40724
|
@scure/bip32/lib/esm/index.js:
|
|
40725
40725
|
(*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
40726
40726
|
*/
|
|
40727
|
-
//# sourceMappingURL=chunk-
|
|
40727
|
+
//# sourceMappingURL=chunk-TPNU45PA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
BaseContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3K57LJQY.js";
|
|
5
5
|
import {
|
|
6
6
|
__name
|
|
7
7
|
} from "./chunk-R7PMHHKJ.js";
|
|
@@ -901,4 +901,4 @@ export {
|
|
|
901
901
|
MoveContext,
|
|
902
902
|
MoveAccountContext
|
|
903
903
|
};
|
|
904
|
-
//# sourceMappingURL=chunk-
|
|
904
|
+
//# sourceMappingURL=chunk-WC72O4WS.js.map
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
transactionArgumentOrPureU64,
|
|
14
14
|
transactionArgumentOrPureU8,
|
|
15
15
|
transactionArgumentOrVec
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-27BHA5MU.js";
|
|
17
17
|
import {
|
|
18
18
|
IotaNetwork,
|
|
19
19
|
Transaction
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QU26CCK5.js";
|
|
21
21
|
import {
|
|
22
22
|
ANY_TYPE,
|
|
23
23
|
TypeDescriptor
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WC72O4WS.js";
|
|
25
25
|
import {
|
|
26
26
|
__export,
|
|
27
27
|
__name
|
|
@@ -4891,4 +4891,4 @@ export {
|
|
|
4891
4891
|
loadAllTypes,
|
|
4892
4892
|
x1_exports
|
|
4893
4893
|
};
|
|
4894
|
-
//# sourceMappingURL=chunk-
|
|
4894
|
+
//# sourceMappingURL=chunk-WSXGLXUY.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
loadAllTypes as loadAllTypes2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HGR43RRH.js";
|
|
5
5
|
import {
|
|
6
6
|
loadAllTypes
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4LEM5NVJ.js";
|
|
8
8
|
import {
|
|
9
9
|
SuiBaseProcessor,
|
|
10
10
|
ZERO_ADDRESS2 as ZERO_ADDRESS,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
transactionArgumentOrPureU642 as transactionArgumentOrPureU64,
|
|
19
19
|
transactionArgumentOrPureU82 as transactionArgumentOrPureU8,
|
|
20
20
|
transactionArgumentOrVec2 as transactionArgumentOrVec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-27BHA5MU.js";
|
|
22
22
|
import {
|
|
23
23
|
SuiNetwork,
|
|
24
24
|
Transaction
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EBG4LRR2.js";
|
|
26
26
|
import {
|
|
27
27
|
TypeDescriptor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WC72O4WS.js";
|
|
29
29
|
import {
|
|
30
30
|
__export,
|
|
31
31
|
__name
|
|
@@ -7518,4 +7518,4 @@ export {
|
|
|
7518
7518
|
loadAllTypes3 as loadAllTypes,
|
|
7519
7519
|
x3_exports
|
|
7520
7520
|
};
|
|
7521
|
-
//# sourceMappingURL=chunk-
|
|
7521
|
+
//# sourceMappingURL=chunk-YSIAUJXF.js.map
|
package/lib/core/index.js
CHANGED
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
mockNewRoundLog,
|
|
12
12
|
mockOwnershipTransferRequestedLog,
|
|
13
13
|
mockOwnershipTransferredLog2 as mockOwnershipTransferredLog
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-F6G32WYQ.js";
|
|
15
15
|
import "../../chunk-H3IA4OF2.js";
|
|
16
16
|
import "../../chunk-UEVZFM6J.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-3K57LJQY.js";
|
|
18
18
|
import "../../chunk-J5UEW4B7.js";
|
|
19
19
|
import "../../chunk-6B74I6XD.js";
|
|
20
20
|
import "../../chunk-R7PMHHKJ.js";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
mockTransferBatchLog,
|
|
11
11
|
mockTransferSingleLog,
|
|
12
12
|
mockURILog
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-MSFFCQH6.js";
|
|
14
14
|
import {
|
|
15
15
|
ERC1155__factory
|
|
16
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-F6G32WYQ.js";
|
|
17
17
|
import "../../chunk-H3IA4OF2.js";
|
|
18
18
|
import "../../chunk-UEVZFM6J.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-3K57LJQY.js";
|
|
20
20
|
import "../../chunk-J5UEW4B7.js";
|
|
21
21
|
import "../../chunk-6B74I6XD.js";
|
|
22
22
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/eth/builtin/erc20.js
CHANGED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
mockApprovalLog2 as mockApprovalLog,
|
|
11
11
|
mockOwnershipTransferredLog,
|
|
12
12
|
mockTransferLog2 as mockTransferLog
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-F6G32WYQ.js";
|
|
14
14
|
import "../../chunk-H3IA4OF2.js";
|
|
15
15
|
import "../../chunk-UEVZFM6J.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-3K57LJQY.js";
|
|
17
17
|
import "../../chunk-J5UEW4B7.js";
|
|
18
18
|
import "../../chunk-6B74I6XD.js";
|
|
19
19
|
import "../../chunk-R7PMHHKJ.js";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
mockApprovalForAllLog,
|
|
11
11
|
mockApprovalLog,
|
|
12
12
|
mockTransferLog
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-F6G32WYQ.js";
|
|
14
14
|
import "../../chunk-H3IA4OF2.js";
|
|
15
15
|
import "../../chunk-UEVZFM6J.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-3K57LJQY.js";
|
|
17
17
|
import "../../chunk-J5UEW4B7.js";
|
|
18
18
|
import "../../chunk-6B74I6XD.js";
|
|
19
19
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/eth/builtin/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
ERC1155Processor,
|
|
4
|
-
ERC1155ProcessorTemplate,
|
|
5
|
-
erc1155_exports
|
|
6
|
-
} from "../../chunk-JDK2DEIM.js";
|
|
7
2
|
import {
|
|
8
3
|
WETH9Processor,
|
|
9
4
|
WETH9ProcessorTemplate,
|
|
10
5
|
weth9_exports
|
|
11
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-7VEIMKBU.js";
|
|
7
|
+
import {
|
|
8
|
+
ERC1155Processor,
|
|
9
|
+
ERC1155ProcessorTemplate,
|
|
10
|
+
erc1155_exports
|
|
11
|
+
} from "../../chunk-MSFFCQH6.js";
|
|
12
12
|
import {
|
|
13
13
|
EACAggregatorProxyProcessor,
|
|
14
14
|
EACAggregatorProxyProcessorTemplate,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
erc20_exports,
|
|
23
23
|
erc20bytes_exports,
|
|
24
24
|
erc721_exports
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-F6G32WYQ.js";
|
|
26
26
|
import "../../chunk-H3IA4OF2.js";
|
|
27
27
|
import "../../chunk-UEVZFM6J.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-3K57LJQY.js";
|
|
29
29
|
import "../../chunk-J5UEW4B7.js";
|
|
30
30
|
import "../../chunk-6B74I6XD.js";
|
|
31
31
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/eth/builtin/weth9.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
mockDepositLog,
|
|
11
11
|
mockTransferLog,
|
|
12
12
|
mockWithdrawalLog
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-7VEIMKBU.js";
|
|
14
14
|
import {
|
|
15
15
|
WETH9__factory
|
|
16
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-F6G32WYQ.js";
|
|
17
17
|
import "../../chunk-H3IA4OF2.js";
|
|
18
18
|
import "../../chunk-UEVZFM6J.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-3K57LJQY.js";
|
|
20
20
|
import "../../chunk-J5UEW4B7.js";
|
|
21
21
|
import "../../chunk-6B74I6XD.js";
|
|
22
22
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/eth/index.js
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
newInterface,
|
|
34
34
|
transformEtherError,
|
|
35
35
|
validateAndNormalizeAddress
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-F6G32WYQ.js";
|
|
37
37
|
import "../chunk-H3IA4OF2.js";
|
|
38
38
|
import "../chunk-UEVZFM6J.js";
|
|
39
39
|
import {
|
|
40
40
|
EthFetchConfig,
|
|
41
41
|
PreprocessResult
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-3K57LJQY.js";
|
|
43
43
|
import "../chunk-J5UEW4B7.js";
|
|
44
44
|
import "../chunk-6B74I6XD.js";
|
|
45
45
|
import "../chunk-R7PMHHKJ.js";
|
package/lib/fuel/index.js
CHANGED
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
getOptionsSignature,
|
|
23
23
|
getProvider,
|
|
24
24
|
getRpcEndpoint
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-HCL7SALX.js";
|
|
26
26
|
import "../chunk-UEVZFM6J.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-3K57LJQY.js";
|
|
28
28
|
import "../chunk-J5UEW4B7.js";
|
|
29
29
|
import "../chunk-6B74I6XD.js";
|
|
30
30
|
import "../chunk-R7PMHHKJ.js";
|
package/lib/index.js
CHANGED
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
toMetricValue,
|
|
203
203
|
totalPerEntityAggregation_TypeFromJSON,
|
|
204
204
|
totalPerEntityAggregation_TypeToJSON
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-3K57LJQY.js";
|
|
206
206
|
import {
|
|
207
207
|
BigDecimal as BigDecimal2
|
|
208
208
|
} from "./chunk-J5UEW4B7.js";
|
package/lib/iota/builtin/0x1.js
CHANGED
|
@@ -20,21 +20,21 @@ import {
|
|
|
20
20
|
uq32_32,
|
|
21
21
|
uq64_64,
|
|
22
22
|
vector
|
|
23
|
-
} from "../../chunk-
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
23
|
+
} from "../../chunk-WSXGLXUY.js";
|
|
24
|
+
import "../../chunk-27BHA5MU.js";
|
|
25
|
+
import "../../chunk-EBG4LRR2.js";
|
|
26
|
+
import "../../chunk-QU26CCK5.js";
|
|
27
27
|
import "../../chunk-VGE55IGX.js";
|
|
28
28
|
import "../../chunk-JDTHJKBB.js";
|
|
29
29
|
import "../../chunk-742S42NO.js";
|
|
30
30
|
import "../../chunk-7IDGS56O.js";
|
|
31
|
-
import "../../chunk-
|
|
31
|
+
import "../../chunk-F6G32WYQ.js";
|
|
32
32
|
import "../../chunk-H3IA4OF2.js";
|
|
33
33
|
import "../../chunk-UEVZFM6J.js";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-WC72O4WS.js";
|
|
35
35
|
import "../../chunk-EZWWCMDA.js";
|
|
36
36
|
import "../../chunk-ZR7UHHH2.js";
|
|
37
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-3K57LJQY.js";
|
|
38
38
|
import "../../chunk-J5UEW4B7.js";
|
|
39
39
|
import "../../chunk-6B74I6XD.js";
|
|
40
40
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/iota/builtin/0x2.js
CHANGED
|
@@ -55,22 +55,22 @@ import {
|
|
|
55
55
|
versioned,
|
|
56
56
|
zklogin_verified_id,
|
|
57
57
|
zklogin_verified_issuer
|
|
58
|
-
} from "../../chunk-
|
|
59
|
-
import "../../chunk-
|
|
60
|
-
import "../../chunk-
|
|
61
|
-
import "../../chunk-
|
|
62
|
-
import "../../chunk-
|
|
58
|
+
} from "../../chunk-FSSSNDCE.js";
|
|
59
|
+
import "../../chunk-WSXGLXUY.js";
|
|
60
|
+
import "../../chunk-27BHA5MU.js";
|
|
61
|
+
import "../../chunk-EBG4LRR2.js";
|
|
62
|
+
import "../../chunk-QU26CCK5.js";
|
|
63
63
|
import "../../chunk-VGE55IGX.js";
|
|
64
64
|
import "../../chunk-JDTHJKBB.js";
|
|
65
65
|
import "../../chunk-742S42NO.js";
|
|
66
66
|
import "../../chunk-7IDGS56O.js";
|
|
67
|
-
import "../../chunk-
|
|
67
|
+
import "../../chunk-F6G32WYQ.js";
|
|
68
68
|
import "../../chunk-H3IA4OF2.js";
|
|
69
69
|
import "../../chunk-UEVZFM6J.js";
|
|
70
|
-
import "../../chunk-
|
|
70
|
+
import "../../chunk-WC72O4WS.js";
|
|
71
71
|
import "../../chunk-EZWWCMDA.js";
|
|
72
72
|
import "../../chunk-ZR7UHHH2.js";
|
|
73
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-3K57LJQY.js";
|
|
74
74
|
import "../../chunk-J5UEW4B7.js";
|
|
75
75
|
import "../../chunk-6B74I6XD.js";
|
|
76
76
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/iota/builtin/0x3.js
CHANGED
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
validator_set,
|
|
13
13
|
validator_wrapper,
|
|
14
14
|
voting_power
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
15
|
+
} from "../../chunk-MIRGDLI5.js";
|
|
16
|
+
import "../../chunk-FSSSNDCE.js";
|
|
17
|
+
import "../../chunk-WSXGLXUY.js";
|
|
18
|
+
import "../../chunk-27BHA5MU.js";
|
|
19
|
+
import "../../chunk-EBG4LRR2.js";
|
|
20
|
+
import "../../chunk-QU26CCK5.js";
|
|
21
21
|
import "../../chunk-VGE55IGX.js";
|
|
22
22
|
import "../../chunk-JDTHJKBB.js";
|
|
23
23
|
import "../../chunk-742S42NO.js";
|
|
24
24
|
import "../../chunk-7IDGS56O.js";
|
|
25
|
-
import "../../chunk-
|
|
25
|
+
import "../../chunk-F6G32WYQ.js";
|
|
26
26
|
import "../../chunk-H3IA4OF2.js";
|
|
27
27
|
import "../../chunk-UEVZFM6J.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-WC72O4WS.js";
|
|
29
29
|
import "../../chunk-EZWWCMDA.js";
|
|
30
30
|
import "../../chunk-ZR7UHHH2.js";
|
|
31
|
-
import "../../chunk-
|
|
31
|
+
import "../../chunk-3K57LJQY.js";
|
|
32
32
|
import "../../chunk-J5UEW4B7.js";
|
|
33
33
|
import "../../chunk-6B74I6XD.js";
|
|
34
34
|
import "../../chunk-R7PMHHKJ.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
x3_exports
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-MIRGDLI5.js";
|
|
5
5
|
import {
|
|
6
6
|
x2_exports
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-FSSSNDCE.js";
|
|
8
8
|
import {
|
|
9
9
|
x1_exports
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-WSXGLXUY.js";
|
|
11
|
+
import "../../chunk-27BHA5MU.js";
|
|
12
|
+
import "../../chunk-EBG4LRR2.js";
|
|
13
|
+
import "../../chunk-QU26CCK5.js";
|
|
14
14
|
import "../../chunk-VGE55IGX.js";
|
|
15
15
|
import "../../chunk-JDTHJKBB.js";
|
|
16
16
|
import "../../chunk-742S42NO.js";
|
|
17
17
|
import "../../chunk-7IDGS56O.js";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-F6G32WYQ.js";
|
|
19
19
|
import "../../chunk-H3IA4OF2.js";
|
|
20
20
|
import "../../chunk-UEVZFM6J.js";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-WC72O4WS.js";
|
|
22
22
|
import "../../chunk-EZWWCMDA.js";
|
|
23
23
|
import "../../chunk-ZR7UHHH2.js";
|
|
24
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-3K57LJQY.js";
|
|
25
25
|
import "../../chunk-J5UEW4B7.js";
|
|
26
26
|
import "../../chunk-6B74I6XD.js";
|
|
27
27
|
import "../../chunk-R7PMHHKJ.js";
|
package/lib/iota/ext/index.js
CHANGED
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
initCoinList,
|
|
12
12
|
whiteListed,
|
|
13
13
|
whitelistCoins
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-QU26CCK5.js";
|
|
15
15
|
import "../../chunk-VGE55IGX.js";
|
|
16
16
|
import "../../chunk-742S42NO.js";
|
|
17
17
|
import "../../chunk-7IDGS56O.js";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-F6G32WYQ.js";
|
|
19
19
|
import "../../chunk-H3IA4OF2.js";
|
|
20
20
|
import "../../chunk-UEVZFM6J.js";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-WC72O4WS.js";
|
|
22
22
|
import "../../chunk-EZWWCMDA.js";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-3K57LJQY.js";
|
|
24
24
|
import "../../chunk-J5UEW4B7.js";
|
|
25
25
|
import "../../chunk-6B74I6XD.js";
|
|
26
26
|
import {
|
package/lib/iota/index.js
CHANGED
|
@@ -17,26 +17,26 @@ import {
|
|
|
17
17
|
IotaWrappedObjectProcessorTemplate,
|
|
18
18
|
MoveCoder,
|
|
19
19
|
defaultMoveCoder
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-27BHA5MU.js";
|
|
21
|
+
import "../chunk-EBG4LRR2.js";
|
|
22
22
|
import {
|
|
23
23
|
IotaNetwork,
|
|
24
24
|
getClient,
|
|
25
25
|
getRpcEndpoint
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-QU26CCK5.js";
|
|
27
27
|
import "../chunk-VGE55IGX.js";
|
|
28
28
|
import "../chunk-JDTHJKBB.js";
|
|
29
29
|
import "../chunk-742S42NO.js";
|
|
30
30
|
import "../chunk-7IDGS56O.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-F6G32WYQ.js";
|
|
32
32
|
import "../chunk-H3IA4OF2.js";
|
|
33
33
|
import "../chunk-UEVZFM6J.js";
|
|
34
34
|
import {
|
|
35
35
|
BUILTIN_TYPES
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-WC72O4WS.js";
|
|
37
37
|
import "../chunk-EZWWCMDA.js";
|
|
38
38
|
import "../chunk-ZR7UHHH2.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-3K57LJQY.js";
|
|
40
40
|
import "../chunk-J5UEW4B7.js";
|
|
41
41
|
import "../chunk-6B74I6XD.js";
|
|
42
42
|
import "../chunk-R7PMHHKJ.js";
|
package/lib/move/index.js
CHANGED
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
structQname,
|
|
32
32
|
upperFirst,
|
|
33
33
|
vectorType
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-WC72O4WS.js";
|
|
35
35
|
import {
|
|
36
36
|
MoveFetchConfig
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-3K57LJQY.js";
|
|
38
38
|
import "../chunk-J5UEW4B7.js";
|
|
39
39
|
import "../chunk-6B74I6XD.js";
|
|
40
40
|
import "../chunk-R7PMHHKJ.js";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
SolanaBaseProcessor
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-PNTP77H3.js";
|
|
5
|
+
import "../../chunk-6UVWNOIX.js";
|
|
5
6
|
import "../../chunk-WYM4IYMI.js";
|
|
6
7
|
import "../../chunk-EZWWCMDA.js";
|
|
7
8
|
import "../../chunk-ZR7UHHH2.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-3K57LJQY.js";
|
|
9
10
|
import "../../chunk-J5UEW4B7.js";
|
|
10
11
|
import "../../chunk-6B74I6XD.js";
|
|
11
12
|
import {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/solana/builtin/spl-token-processor.ts","../../../src/solana/builtin/index.ts"],"sourcesContent":["import { SolanaBaseProcessor, SolanaContext, SolanaBindOptions } from \"../index.js\"\nimport { Instruction } from '@coral-xyz/anchor'\nimport { AmountToUiAmount, Approve, ApproveChecked, Burn, BurnChecked, CloseAccount, CreateNativeMint, DefaultAccountStateExtension, FreezeAccount, GetAccountDataSize, InitializeAccount, InitializeAccount2, InitializeAccount3, InitializeImmutableOwner, InitializeMint, InitializeMintCloseAuthority, InitializeMultisig, MemoTransferExtension, MintTo, MintToChecked, Reallocate, Revoke, SyncNative, ThawAccount, Transfer, TransferChecked, TransferFeeExtension, UiAmountToAmount } from './types.js';\n\nexport class SPLTokenProcessor extends SolanaBaseProcessor {\n static bind(options: SolanaBindOptions): SPLTokenProcessor {\n if (options && !options.name) {\n options.name = 'SPL Token Program'\n }\n return new SPLTokenProcessor(options)\n }\n\n fromParsedInstruction: (instruction: { type: string, info: any }) => Instruction | null = (instruction: { type: string, info: any }) => {\n const instructionType = instruction.type\n if (!instructionType) {\n return null\n }\n return {\n name: instruction.type,\n data: {\n ...instruction.info,\n },\n }\n }\n\n public onInitializeMint(\n handler: (data: InitializeMint, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeMint', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeMint, ctx)\n }\n })\n return this\n }\n\n public onInitializeAccount(\n hanlder: (data: InitializeAccount, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeAccount', (ins: Instruction, ctx) => {\n if (ins) {\n hanlder(ins.data as InitializeAccount, ctx)\n }\n })\n return this\n }\n\n public onInitializeAccount2(\n hanlder: (data: InitializeAccount2, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeAccount2', (ins: Instruction, ctx) => {\n if (ins) {\n hanlder(ins.data as InitializeAccount2, ctx)\n }\n })\n return this\n }\n\n public onInitializeAccount3(\n hanlder: (data: InitializeAccount3, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeAccount3', (ins: Instruction, ctx) => {\n if (ins) {\n hanlder(ins.data as InitializeAccount3, ctx)\n }\n })\n return this\n }\n\n public onInitializeMultisig(\n handler: (data: InitializeMultisig, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeMultisig', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeMultisig, ctx)\n }\n })\n return this\n }\n\n public onTransfer(handler: (data: Transfer, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('transfer', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Transfer, ctx)\n }\n })\n return this\n }\n\n public onApprovend(handler: (data: Approve, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('approve', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Approve, ctx)\n }\n })\n return this\n }\n\n public onRevoke(handler: (data: Revoke, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('revoke', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Revoke, ctx)\n }\n })\n return this\n }\n\n public onSetAuthority(handler: (data: any, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('setAuthority', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as any, ctx)\n }\n })\n return this\n }\n\n public onMintTo(handler: (data: MintTo, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('mintTo', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as MintTo, ctx)\n }\n })\n return this\n }\n\n public onBurn(handler: (data: Burn, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('burn', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Burn, ctx)\n }\n })\n return this\n }\n\n public onCloseAccount(handler: (data: CloseAccount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('closeAccount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as CloseAccount, ctx)\n }\n })\n return this\n }\n\n public onFreezeAccount(handler: (data: FreezeAccount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('freezeAccount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as FreezeAccount, ctx)\n }\n })\n return this\n }\n\n public onThawAccount(handler: (data: ThawAccount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('thawAccount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as ThawAccount, ctx)\n }\n })\n return this\n }\n\n public onTransferChecked(handler: (data: TransferChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('transferChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as TransferChecked, ctx)\n }\n })\n return this\n }\n\n public onApproveChecked(handler: (data: ApproveChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('approveChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as ApproveChecked, ctx)\n }\n })\n return this\n }\n\n public onMintToChecked(handler: (data: MintToChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('mintToChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as MintToChecked, ctx)\n }\n })\n return this\n }\n\n public onBurnChecked(handler: (data: BurnChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('burnChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as BurnChecked, ctx)\n }\n })\n return this\n }\n\n public onSyncNative(handler: (data: SyncNative, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('syncNative', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as SyncNative, ctx)\n }\n })\n return this\n }\n\n public onGetAccountDataSize(handler: (data: GetAccountDataSize, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('getAccountDataSize', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as GetAccountDataSize, ctx)\n }\n })\n return this\n }\n\n public onInitializeImmutableOwner(handler: (data: InitializeImmutableOwner, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('initializeImmutableOwner', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeImmutableOwner, ctx)\n }\n })\n return this\n }\n\n public onAmountToUiAmount(handler: (data: AmountToUiAmount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('amountToUiAmount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as AmountToUiAmount, ctx)\n }\n })\n return this\n }\n\n public onUiAmountToAmount(handler: (data: UiAmountToAmount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('uiAmountToAmount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as UiAmountToAmount, ctx)\n }\n })\n return this\n }\n\n public onInitializeMintCloseAuthority(handler: (data: InitializeMintCloseAuthority, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('initializeMintCloseAuthority', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeMintCloseAuthority, ctx)\n }\n })\n return this\n }\n\n public onTransferFeeExtension(handler: (data: TransferFeeExtension, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('transferFeeExtension', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as TransferFeeExtension, ctx)\n }\n })\n return this\n }\n\n public onDefaultAccountStateExtension(handler: (data: DefaultAccountStateExtension, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('defaultAccountStateExtension', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as DefaultAccountStateExtension, ctx)\n }\n })\n return this\n }\n\n public onReallocate(handler: (data: Reallocate, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('reallocate', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Reallocate, ctx)\n }\n })\n return this\n }\n\n public onMemoTransferExtension(handler: (data: MemoTransferExtension, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('memoTransferExtension', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as MemoTransferExtension, ctx)\n }\n })\n return this\n }\n\n public onCreateNativeMint(handler: (data: CreateNativeMint, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('createNativeMint', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as CreateNativeMint, ctx)\n }\n })\n return this\n }\n\n // Todo(pcxu): auto gen this file\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export * from './spl-token-processor.js';import(\"node:process\").then((p) => p.stdout.write(\"\"));"],"mappings":";;;;;;;;;;;;;;;AAIO,IAAM,oBAAN,MAAM,2BAA0B,oBAAoB;AAAA,EAJ3D,OAI2D;AAAA;AAAA;AAAA,EACzD,OAAO,KAAK,SAA+C;AACzD,QAAI,WAAW,CAAC,QAAQ,MAAM;AAC5B,cAAQ,OAAO;AAAA,IACjB;AACA,WAAO,IAAI,mBAAkB,OAAO;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AAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,wBAAwB,SAAuF;AACpH,SAAK,cAAc,yBAAyB,CAAC,KAAkB,QAAQ;AACrE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA+B,GAAG;AAAA,MAChD;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,mBAAmB,SAAkF;AAC1G,SAAK,cAAc,oBAAoB,CAAC,KAAkB,QAAQ;AAChE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA0B,GAAG;AAAA,MAC3C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA;AAGF;AACC,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;;;AC1Sb,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/solana/builtin/spl-token-processor.ts","../../../src/solana/builtin/index.ts"],"sourcesContent":["import { SolanaBaseProcessor, SolanaContext, SolanaBindOptions } from \"../index.js\"\nimport { Instruction } from '@coral-xyz/anchor'\nimport { AmountToUiAmount, Approve, ApproveChecked, Burn, BurnChecked, CloseAccount, CreateNativeMint, DefaultAccountStateExtension, FreezeAccount, GetAccountDataSize, InitializeAccount, InitializeAccount2, InitializeAccount3, InitializeImmutableOwner, InitializeMint, InitializeMintCloseAuthority, InitializeMultisig, MemoTransferExtension, MintTo, MintToChecked, Reallocate, Revoke, SyncNative, ThawAccount, Transfer, TransferChecked, TransferFeeExtension, UiAmountToAmount } from './types.js';\n\nexport class SPLTokenProcessor extends SolanaBaseProcessor {\n static bind(options: SolanaBindOptions): SPLTokenProcessor {\n if (options && !options.name) {\n options.name = 'SPL Token Program'\n }\n return new SPLTokenProcessor(options)\n }\n\n fromParsedInstruction: (instruction: { type: string, info: any }) => Instruction | null = (instruction: { type: string, info: any }) => {\n const instructionType = instruction.type\n if (!instructionType) {\n return null\n }\n return {\n name: instruction.type,\n data: {\n ...instruction.info,\n },\n }\n }\n\n public onInitializeMint(\n handler: (data: InitializeMint, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeMint', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeMint, ctx)\n }\n })\n return this\n }\n\n public onInitializeAccount(\n hanlder: (data: InitializeAccount, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeAccount', (ins: Instruction, ctx) => {\n if (ins) {\n hanlder(ins.data as InitializeAccount, ctx)\n }\n })\n return this\n }\n\n public onInitializeAccount2(\n hanlder: (data: InitializeAccount2, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeAccount2', (ins: Instruction, ctx) => {\n if (ins) {\n hanlder(ins.data as InitializeAccount2, ctx)\n }\n })\n return this\n }\n\n public onInitializeAccount3(\n hanlder: (data: InitializeAccount3, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeAccount3', (ins: Instruction, ctx) => {\n if (ins) {\n hanlder(ins.data as InitializeAccount3, ctx)\n }\n })\n return this\n }\n\n public onInitializeMultisig(\n handler: (data: InitializeMultisig, ctx: SolanaContext) => void\n ): SPLTokenProcessor {\n this.onInstruction('initializeMultisig', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeMultisig, ctx)\n }\n })\n return this\n }\n\n public onTransfer(handler: (data: Transfer, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('transfer', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Transfer, ctx)\n }\n })\n return this\n }\n\n public onApprovend(handler: (data: Approve, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('approve', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Approve, ctx)\n }\n })\n return this\n }\n\n public onRevoke(handler: (data: Revoke, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('revoke', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Revoke, ctx)\n }\n })\n return this\n }\n\n public onSetAuthority(handler: (data: any, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('setAuthority', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as any, ctx)\n }\n })\n return this\n }\n\n public onMintTo(handler: (data: MintTo, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('mintTo', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as MintTo, ctx)\n }\n })\n return this\n }\n\n public onBurn(handler: (data: Burn, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('burn', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Burn, ctx)\n }\n })\n return this\n }\n\n public onCloseAccount(handler: (data: CloseAccount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('closeAccount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as CloseAccount, ctx)\n }\n })\n return this\n }\n\n public onFreezeAccount(handler: (data: FreezeAccount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('freezeAccount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as FreezeAccount, ctx)\n }\n })\n return this\n }\n\n public onThawAccount(handler: (data: ThawAccount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('thawAccount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as ThawAccount, ctx)\n }\n })\n return this\n }\n\n public onTransferChecked(handler: (data: TransferChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('transferChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as TransferChecked, ctx)\n }\n })\n return this\n }\n\n public onApproveChecked(handler: (data: ApproveChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('approveChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as ApproveChecked, ctx)\n }\n })\n return this\n }\n\n public onMintToChecked(handler: (data: MintToChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('mintToChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as MintToChecked, ctx)\n }\n })\n return this\n }\n\n public onBurnChecked(handler: (data: BurnChecked, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('burnChecked', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as BurnChecked, ctx)\n }\n })\n return this\n }\n\n public onSyncNative(handler: (data: SyncNative, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('syncNative', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as SyncNative, ctx)\n }\n })\n return this\n }\n\n public onGetAccountDataSize(handler: (data: GetAccountDataSize, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('getAccountDataSize', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as GetAccountDataSize, ctx)\n }\n })\n return this\n }\n\n public onInitializeImmutableOwner(handler: (data: InitializeImmutableOwner, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('initializeImmutableOwner', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeImmutableOwner, ctx)\n }\n })\n return this\n }\n\n public onAmountToUiAmount(handler: (data: AmountToUiAmount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('amountToUiAmount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as AmountToUiAmount, ctx)\n }\n })\n return this\n }\n\n public onUiAmountToAmount(handler: (data: UiAmountToAmount, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('uiAmountToAmount', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as UiAmountToAmount, ctx)\n }\n })\n return this\n }\n\n public onInitializeMintCloseAuthority(handler: (data: InitializeMintCloseAuthority, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('initializeMintCloseAuthority', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as InitializeMintCloseAuthority, ctx)\n }\n })\n return this\n }\n\n public onTransferFeeExtension(handler: (data: TransferFeeExtension, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('transferFeeExtension', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as TransferFeeExtension, ctx)\n }\n })\n return this\n }\n\n public onDefaultAccountStateExtension(handler: (data: DefaultAccountStateExtension, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('defaultAccountStateExtension', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as DefaultAccountStateExtension, ctx)\n }\n })\n return this\n }\n\n public onReallocate(handler: (data: Reallocate, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('reallocate', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as Reallocate, ctx)\n }\n })\n return this\n }\n\n public onMemoTransferExtension(handler: (data: MemoTransferExtension, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('memoTransferExtension', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as MemoTransferExtension, ctx)\n }\n })\n return this\n }\n\n public onCreateNativeMint(handler: (data: CreateNativeMint, ctx: SolanaContext) => void): SPLTokenProcessor {\n this.onInstruction('createNativeMint', (ins: Instruction, ctx) => {\n if (ins) {\n handler(ins.data as CreateNativeMint, ctx)\n }\n })\n return this\n }\n\n // Todo(pcxu): auto gen this file\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export * from './spl-token-processor.js';import(\"node:process\").then((p) => p.stdout.write(\"\"));"],"mappings":";;;;;;;;;;;;;;;;AAIO,IAAM,oBAAN,MAAM,2BAA0B,oBAAoB;AAAA,EAJ3D,OAI2D;AAAA;AAAA;AAAA,EACzD,OAAO,KAAK,SAA+C;AACzD,QAAI,WAAW,CAAC,QAAQ,MAAM;AAC5B,cAAQ,OAAO;AAAA,IACjB;AACA,WAAO,IAAI,mBAAkB,OAAO;AAAA,EACtC;AAAA,EAEA,wBAA0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A,EAEO,wBAAwB,SAAuF;AACpH,SAAK,cAAc,yBAAyB,CAAC,KAAkB,QAAQ;AACrE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA+B,GAAG;AAAA,MAChD;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,mBAAmB,SAAkF;AAC1G,SAAK,cAAc,oBAAoB,CAAC,KAAkB,QAAQ;AAChE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA0B,GAAG;AAAA,MAC3C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA;AAGF;AACC,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;;;AC1Sb,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;","names":[]}
|
package/lib/solana/index.js
CHANGED
|
@@ -6,11 +6,12 @@ import {
|
|
|
6
6
|
SolanaContext,
|
|
7
7
|
SolanaPlugin,
|
|
8
8
|
SolanaProcessorState
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-PNTP77H3.js";
|
|
10
|
+
import "../chunk-6UVWNOIX.js";
|
|
10
11
|
import "../chunk-WYM4IYMI.js";
|
|
11
12
|
import "../chunk-EZWWCMDA.js";
|
|
12
13
|
import "../chunk-ZR7UHHH2.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-3K57LJQY.js";
|
|
14
15
|
import "../chunk-J5UEW4B7.js";
|
|
15
16
|
import "../chunk-6B74I6XD.js";
|
|
16
17
|
import "../chunk-R7PMHHKJ.js";
|