@sentio/sdk-bundle 3.0.0-rc-next.1 → 3.0.0-rc-next.3
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-BBAJWF26.js → chunk-3KDJSY5N.js} +3 -3
- package/lib/{chunk-BBAJWF26.js.map → chunk-3KDJSY5N.js.map} +1 -1
- package/lib/{chunk-E6NA7NG4.js → chunk-47L7EIB2.js} +4 -4
- package/lib/{chunk-RZH2OJ62.js → chunk-52ADGQ2P.js} +6 -6
- package/lib/{chunk-2UL4ETFF.js → chunk-6II2IHP5.js} +37 -192
- package/lib/{chunk-2UL4ETFF.js.map → chunk-6II2IHP5.js.map} +1 -1
- package/lib/chunk-6UVWNOIX.js +4207 -0
- package/lib/chunk-6UVWNOIX.js.map +1 -0
- package/lib/{chunk-KDONV5MN.js → chunk-7B6XR77L.js} +5 -5
- package/lib/{chunk-7G3O6GFC.js → chunk-7QHKL3XK.js} +7 -3
- package/lib/{chunk-7G3O6GFC.js.map → chunk-7QHKL3XK.js.map} +1 -1
- package/lib/{chunk-N2YKY3T4.js → chunk-BDCQEQL3.js} +3 -3
- package/lib/{chunk-35FWRY45.js → chunk-DE7WHRSO.js} +2 -2
- package/lib/{chunk-B5DTCANS.js → chunk-GQRS6222.js} +5 -5
- package/lib/{chunk-C4IWDMJP.js → chunk-HKLKPWGH.js} +4 -4
- package/lib/{chunk-KPSHXWBW.js → chunk-IUUESFJC.js} +2 -2
- package/lib/{chunk-OK7JSSAW.js → chunk-JQJAZG2B.js} +3 -3
- package/lib/{chunk-ZWXYSR6T.js → chunk-KWFHP2RM.js} +3 -3
- package/lib/{chunk-QQKOOATP.js → chunk-NSF2X5WJ.js} +3 -3
- package/lib/{chunk-KVGG6FSO.js → chunk-OVEYDV2Z.js} +6 -6
- package/lib/{chunk-ZCVHUL7O.js → chunk-R7XU3B4Z.js} +5 -5
- package/lib/{chunk-TXEQKSWM.js → chunk-XVFOU26X.js} +4 -4
- package/lib/{chunk-XPAVUR3M.js → chunk-XYHEYK4X.js} +2 -2
- package/lib/{chunk-ITEA4P7X.js → chunk-Y7PVWPPL.js} +296 -4485
- package/lib/chunk-Y7PVWPPL.js.map +1 -0
- package/lib/core/index.js +1 -9
- 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 -9
- 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-E6NA7NG4.js.map → chunk-47L7EIB2.js.map} +0 -0
- /package/lib/{chunk-RZH2OJ62.js.map → chunk-52ADGQ2P.js.map} +0 -0
- /package/lib/{chunk-KDONV5MN.js.map → chunk-7B6XR77L.js.map} +0 -0
- /package/lib/{chunk-N2YKY3T4.js.map → chunk-BDCQEQL3.js.map} +0 -0
- /package/lib/{chunk-35FWRY45.js.map → chunk-DE7WHRSO.js.map} +0 -0
- /package/lib/{chunk-B5DTCANS.js.map → chunk-GQRS6222.js.map} +0 -0
- /package/lib/{chunk-C4IWDMJP.js.map → chunk-HKLKPWGH.js.map} +0 -0
- /package/lib/{chunk-KPSHXWBW.js.map → chunk-IUUESFJC.js.map} +0 -0
- /package/lib/{chunk-OK7JSSAW.js.map → chunk-JQJAZG2B.js.map} +0 -0
- /package/lib/{chunk-ZWXYSR6T.js.map → chunk-KWFHP2RM.js.map} +0 -0
- /package/lib/{chunk-QQKOOATP.js.map → chunk-NSF2X5WJ.js.map} +0 -0
- /package/lib/{chunk-KVGG6FSO.js.map → chunk-OVEYDV2Z.js.map} +0 -0
- /package/lib/{chunk-ZCVHUL7O.js.map → chunk-R7XU3B4Z.js.map} +0 -0
- /package/lib/{chunk-TXEQKSWM.js.map → chunk-XVFOU26X.js.map} +0 -0
- /package/lib/{chunk-XPAVUR3M.js.map → chunk-XYHEYK4X.js.map} +0 -0
package/lib/core/index.js
CHANGED
|
@@ -6,18 +6,14 @@ import {
|
|
|
6
6
|
CorePlugin,
|
|
7
7
|
Counter,
|
|
8
8
|
CounterBinding,
|
|
9
|
-
CounterNew,
|
|
10
9
|
DatabaseSchema,
|
|
11
10
|
EventLogger,
|
|
12
11
|
EventLoggerBinding,
|
|
13
|
-
EventLoggerBindingNew,
|
|
14
12
|
EventLoggerState,
|
|
15
13
|
Exporter,
|
|
16
14
|
Gauge,
|
|
17
15
|
GaugeBinding,
|
|
18
|
-
GaugeNew,
|
|
19
16
|
Meter,
|
|
20
|
-
MeterNew,
|
|
21
17
|
MetricOptions,
|
|
22
18
|
PartitionHandlerManager,
|
|
23
19
|
fieldsToProtos,
|
|
@@ -26,7 +22,7 @@ import {
|
|
|
26
22
|
scaleDown,
|
|
27
23
|
toBigInteger,
|
|
28
24
|
toMetricValue
|
|
29
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-6II2IHP5.js";
|
|
30
26
|
import {
|
|
31
27
|
BigDecimal
|
|
32
28
|
} from "../chunk-J5UEW4B7.js";
|
|
@@ -40,18 +36,14 @@ export {
|
|
|
40
36
|
CorePlugin,
|
|
41
37
|
Counter,
|
|
42
38
|
CounterBinding,
|
|
43
|
-
CounterNew,
|
|
44
39
|
DatabaseSchema,
|
|
45
40
|
EventLogger,
|
|
46
41
|
EventLoggerBinding,
|
|
47
|
-
EventLoggerBindingNew,
|
|
48
42
|
EventLoggerState,
|
|
49
43
|
Exporter,
|
|
50
44
|
Gauge,
|
|
51
45
|
GaugeBinding,
|
|
52
|
-
GaugeNew,
|
|
53
46
|
Meter,
|
|
54
|
-
MeterNew,
|
|
55
47
|
MetricOptions,
|
|
56
48
|
PartitionHandlerManager,
|
|
57
49
|
fieldsToProtos,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
mockNewRoundLog,
|
|
12
12
|
mockOwnershipTransferRequestedLog,
|
|
13
13
|
mockOwnershipTransferredLog2 as mockOwnershipTransferredLog
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-3KDJSY5N.js";
|
|
15
15
|
import "../../chunk-H3IA4OF2.js";
|
|
16
16
|
import "../../chunk-UEVZFM6J.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-6II2IHP5.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-IUUESFJC.js";
|
|
14
14
|
import {
|
|
15
15
|
ERC1155__factory
|
|
16
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-3KDJSY5N.js";
|
|
17
17
|
import "../../chunk-H3IA4OF2.js";
|
|
18
18
|
import "../../chunk-UEVZFM6J.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-6II2IHP5.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-3KDJSY5N.js";
|
|
14
14
|
import "../../chunk-H3IA4OF2.js";
|
|
15
15
|
import "../../chunk-UEVZFM6J.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-6II2IHP5.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-3KDJSY5N.js";
|
|
14
14
|
import "../../chunk-H3IA4OF2.js";
|
|
15
15
|
import "../../chunk-UEVZFM6J.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-6II2IHP5.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-KPSHXWBW.js";
|
|
7
2
|
import {
|
|
8
3
|
WETH9Processor,
|
|
9
4
|
WETH9ProcessorTemplate,
|
|
10
5
|
weth9_exports
|
|
11
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-DE7WHRSO.js";
|
|
7
|
+
import {
|
|
8
|
+
ERC1155Processor,
|
|
9
|
+
ERC1155ProcessorTemplate,
|
|
10
|
+
erc1155_exports
|
|
11
|
+
} from "../../chunk-IUUESFJC.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-3KDJSY5N.js";
|
|
26
26
|
import "../../chunk-H3IA4OF2.js";
|
|
27
27
|
import "../../chunk-UEVZFM6J.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-6II2IHP5.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-DE7WHRSO.js";
|
|
14
14
|
import {
|
|
15
15
|
WETH9__factory
|
|
16
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-3KDJSY5N.js";
|
|
17
17
|
import "../../chunk-H3IA4OF2.js";
|
|
18
18
|
import "../../chunk-UEVZFM6J.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-6II2IHP5.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-3KDJSY5N.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-6II2IHP5.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-7QHKL3XK.js";
|
|
26
26
|
import "../chunk-UEVZFM6J.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-6II2IHP5.js";
|
|
28
28
|
import "../chunk-J5UEW4B7.js";
|
|
29
29
|
import "../chunk-6B74I6XD.js";
|
|
30
30
|
import "../chunk-R7PMHHKJ.js";
|
package/lib/index.js
CHANGED
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
CosmosLogHandlerConfig,
|
|
21
21
|
Counter,
|
|
22
22
|
CounterBinding,
|
|
23
|
-
CounterNew,
|
|
24
23
|
CounterResult,
|
|
25
24
|
DBRequest,
|
|
26
25
|
DBRequest_DBDelete,
|
|
@@ -68,7 +67,6 @@ import {
|
|
|
68
67
|
EventLogConfig_StructFieldType,
|
|
69
68
|
EventLogger,
|
|
70
69
|
EventLoggerBinding,
|
|
71
|
-
EventLoggerBindingNew,
|
|
72
70
|
EventLoggerState,
|
|
73
71
|
EventTrackingResult,
|
|
74
72
|
ExecutionConfig,
|
|
@@ -88,7 +86,6 @@ import {
|
|
|
88
86
|
FuelTransactionHandlerConfig,
|
|
89
87
|
Gauge,
|
|
90
88
|
GaugeBinding,
|
|
91
|
-
GaugeNew,
|
|
92
89
|
GaugeResult,
|
|
93
90
|
HandleInterval,
|
|
94
91
|
HandlerType,
|
|
@@ -99,7 +96,6 @@ import {
|
|
|
99
96
|
LogHandlerConfig,
|
|
100
97
|
LogLevel,
|
|
101
98
|
Meter,
|
|
102
|
-
MeterNew,
|
|
103
99
|
MetricConfig,
|
|
104
100
|
MetricOptions,
|
|
105
101
|
MetricType,
|
|
@@ -202,7 +198,7 @@ import {
|
|
|
202
198
|
toMetricValue,
|
|
203
199
|
totalPerEntityAggregation_TypeFromJSON,
|
|
204
200
|
totalPerEntityAggregation_TypeToJSON
|
|
205
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-6II2IHP5.js";
|
|
206
202
|
import {
|
|
207
203
|
BigDecimal as BigDecimal2
|
|
208
204
|
} from "./chunk-J5UEW4B7.js";
|
|
@@ -229,7 +225,6 @@ export {
|
|
|
229
225
|
CosmosLogHandlerConfig,
|
|
230
226
|
Counter,
|
|
231
227
|
CounterBinding,
|
|
232
|
-
CounterNew,
|
|
233
228
|
CounterResult,
|
|
234
229
|
DBRequest,
|
|
235
230
|
DBRequest_DBDelete,
|
|
@@ -277,7 +272,6 @@ export {
|
|
|
277
272
|
EventLogConfig_StructFieldType,
|
|
278
273
|
EventLogger,
|
|
279
274
|
EventLoggerBinding,
|
|
280
|
-
EventLoggerBindingNew,
|
|
281
275
|
EventLoggerState,
|
|
282
276
|
EventTrackingResult,
|
|
283
277
|
ExecutionConfig,
|
|
@@ -297,7 +291,6 @@ export {
|
|
|
297
291
|
FuelTransactionHandlerConfig,
|
|
298
292
|
Gauge,
|
|
299
293
|
GaugeBinding,
|
|
300
|
-
GaugeNew,
|
|
301
294
|
GaugeResult,
|
|
302
295
|
HandleInterval,
|
|
303
296
|
HandlerType,
|
|
@@ -308,7 +301,6 @@ export {
|
|
|
308
301
|
LogHandlerConfig,
|
|
309
302
|
LogLevel,
|
|
310
303
|
Meter,
|
|
311
|
-
MeterNew,
|
|
312
304
|
MetricConfig,
|
|
313
305
|
MetricOptions,
|
|
314
306
|
MetricType,
|
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-HKLKPWGH.js";
|
|
24
|
+
import "../../chunk-7B6XR77L.js";
|
|
25
|
+
import "../../chunk-KWFHP2RM.js";
|
|
26
|
+
import "../../chunk-JQJAZG2B.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-3KDJSY5N.js";
|
|
32
32
|
import "../../chunk-H3IA4OF2.js";
|
|
33
33
|
import "../../chunk-UEVZFM6J.js";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-XYHEYK4X.js";
|
|
35
35
|
import "../../chunk-EZWWCMDA.js";
|
|
36
36
|
import "../../chunk-ZR7UHHH2.js";
|
|
37
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-6II2IHP5.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-GQRS6222.js";
|
|
59
|
+
import "../../chunk-HKLKPWGH.js";
|
|
60
|
+
import "../../chunk-7B6XR77L.js";
|
|
61
|
+
import "../../chunk-KWFHP2RM.js";
|
|
62
|
+
import "../../chunk-JQJAZG2B.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-3KDJSY5N.js";
|
|
68
68
|
import "../../chunk-H3IA4OF2.js";
|
|
69
69
|
import "../../chunk-UEVZFM6J.js";
|
|
70
|
-
import "../../chunk-
|
|
70
|
+
import "../../chunk-XYHEYK4X.js";
|
|
71
71
|
import "../../chunk-EZWWCMDA.js";
|
|
72
72
|
import "../../chunk-ZR7UHHH2.js";
|
|
73
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-6II2IHP5.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-OVEYDV2Z.js";
|
|
16
|
+
import "../../chunk-GQRS6222.js";
|
|
17
|
+
import "../../chunk-HKLKPWGH.js";
|
|
18
|
+
import "../../chunk-7B6XR77L.js";
|
|
19
|
+
import "../../chunk-KWFHP2RM.js";
|
|
20
|
+
import "../../chunk-JQJAZG2B.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-3KDJSY5N.js";
|
|
26
26
|
import "../../chunk-H3IA4OF2.js";
|
|
27
27
|
import "../../chunk-UEVZFM6J.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-XYHEYK4X.js";
|
|
29
29
|
import "../../chunk-EZWWCMDA.js";
|
|
30
30
|
import "../../chunk-ZR7UHHH2.js";
|
|
31
|
-
import "../../chunk-
|
|
31
|
+
import "../../chunk-6II2IHP5.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-OVEYDV2Z.js";
|
|
5
5
|
import {
|
|
6
6
|
x2_exports
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-GQRS6222.js";
|
|
8
8
|
import {
|
|
9
9
|
x1_exports
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-HKLKPWGH.js";
|
|
11
|
+
import "../../chunk-7B6XR77L.js";
|
|
12
|
+
import "../../chunk-KWFHP2RM.js";
|
|
13
|
+
import "../../chunk-JQJAZG2B.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-3KDJSY5N.js";
|
|
19
19
|
import "../../chunk-H3IA4OF2.js";
|
|
20
20
|
import "../../chunk-UEVZFM6J.js";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-XYHEYK4X.js";
|
|
22
22
|
import "../../chunk-EZWWCMDA.js";
|
|
23
23
|
import "../../chunk-ZR7UHHH2.js";
|
|
24
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-6II2IHP5.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-JQJAZG2B.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-3KDJSY5N.js";
|
|
19
19
|
import "../../chunk-H3IA4OF2.js";
|
|
20
20
|
import "../../chunk-UEVZFM6J.js";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-XYHEYK4X.js";
|
|
22
22
|
import "../../chunk-EZWWCMDA.js";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-6II2IHP5.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-7B6XR77L.js";
|
|
21
|
+
import "../chunk-KWFHP2RM.js";
|
|
22
22
|
import {
|
|
23
23
|
IotaNetwork,
|
|
24
24
|
getClient,
|
|
25
25
|
getRpcEndpoint
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-JQJAZG2B.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-3KDJSY5N.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-XYHEYK4X.js";
|
|
37
37
|
import "../chunk-EZWWCMDA.js";
|
|
38
38
|
import "../chunk-ZR7UHHH2.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-6II2IHP5.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-XYHEYK4X.js";
|
|
35
35
|
import {
|
|
36
36
|
MoveFetchConfig
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-6II2IHP5.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-Y7PVWPPL.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-6II2IHP5.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;AAAA,EACtC;AAAA,EAEA,wBAA0F,wBAAC,gBAA6C;AACtI,UAAM,kBAAkB,YAAY;AACpC,QAAI,CAAC,iBAAiB;AACpB,aAAO;AAAA,IACT;AACA,WAAO;AAAA,MACL,MAAM,YAAY;AAAA,MAClB,MAAM;AAAA,QACJ,GAAG,YAAY;AAAA,MACjB;AAAA,IACF;AAAA,EACF,GAX0F;AAAA,EAanF,iBACL,SACmB;AACnB,SAAK,cAAc,kBAAkB,CAAC,KAAkB,QAAQ;AAC9D,UAAI,KAAK;AACP,gBAAQ,IAAI,MAAwB,GAAG;AAAA,MACzC;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,oBACL,SACmB;AACnB,SAAK,cAAc,qBAAqB,CAAC,KAAkB,QAAQ;AACjE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA2B,GAAG;AAAA,MAC5C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,qBACL,SACmB;AACnB,SAAK,cAAc,sBAAsB,CAAC,KAAkB,QAAQ;AAClE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA4B,GAAG;AAAA,MAC7C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,qBACL,SACmB;AACnB,SAAK,cAAc,sBAAsB,CAAC,KAAkB,QAAQ;AAClE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA4B,GAAG;AAAA,MAC7C;AAAA,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A,EACT;AAAA,EAEO,+BAA+B,SAA8F;AAClI,SAAK,cAAc,gCAAgC,CAAC,KAAkB,QAAQ;AAC5E,UAAI,KAAK;AACP,gBAAQ,IAAI,MAAsC,GAAG;AAAA,MACvD;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,aAAa,SAA4E;AAC9F,SAAK,cAAc,cAAc,CAAC,KAAkB,QAAQ;AAC1D,UAAI,KAAK;AACP,gBAAQ,IAAI,MAAoB,GAAG;AAAA,MACrC;AAAA,IACF,CAAC;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,wBAA0F,wBAAC,gBAA6C;AACtI,UAAM,kBAAkB,YAAY;AACpC,QAAI,CAAC,iBAAiB;AACpB,aAAO;AAAA,IACT;AACA,WAAO;AAAA,MACL,MAAM,YAAY;AAAA,MAClB,MAAM;AAAA,QACJ,GAAG,YAAY;AAAA,MACjB;AAAA,IACF;AAAA,EACF,GAX0F;AAAA,EAanF,iBACL,SACmB;AACnB,SAAK,cAAc,kBAAkB,CAAC,KAAkB,QAAQ;AAC9D,UAAI,KAAK;AACP,gBAAQ,IAAI,MAAwB,GAAG;AAAA,MACzC;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,oBACL,SACmB;AACnB,SAAK,cAAc,qBAAqB,CAAC,KAAkB,QAAQ;AACjE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA2B,GAAG;AAAA,MAC5C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,qBACL,SACmB;AACnB,SAAK,cAAc,sBAAsB,CAAC,KAAkB,QAAQ;AAClE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA4B,GAAG;AAAA,MAC7C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,qBACL,SACmB;AACnB,SAAK,cAAc,sBAAsB,CAAC,KAAkB,QAAQ;AAClE,UAAI,KAAK;AACP,gBAAQ,IAAI,MAA4B,GAAG;AAAA,MAC7C;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EAC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A8F;AAClI,SAAK,cAAc,gCAAgC,CAAC,KAAkB,QAAQ;AAC5E,UAAI,KAAK;AACP,gBAAQ,IAAI,MAAsC,GAAG;AAAA,MACvD;AAAA,IACF,CAAC;AACD,WAAO;AAAA,EACT;AAAA,EAEO,aAAa,SAA4E;AAC9F,SAAK,cAAc,cAAc,CAAC,KAAkB,QAAQ;AAC1D,UAAI,KAAK;AACP,gBAAQ,IAAI,MAAoB,GAAG;AAAA,MACrC;AAAA,IACF,CAAC;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":[]}
|
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-Y7PVWPPL.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-6II2IHP5.js";
|
|
14
15
|
import "../chunk-J5UEW4B7.js";
|
|
15
16
|
import "../chunk-6B74I6XD.js";
|
|
16
17
|
import "../chunk-R7PMHHKJ.js";
|