@sentio/sdk 2.45.2 → 2.45.3-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +2 -2
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +1 -2
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +2 -2
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +1 -2
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +2 -2
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +1 -2
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +7 -1
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +23 -23
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +93 -659
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.d.ts +8 -8
- package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.js +33 -264
- package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.d.ts +18 -18
- package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.js +75 -538
- package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +9 -9
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.js +37 -268
- package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.d.ts +14 -14
- package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.js +57 -430
- package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.d.ts +11 -11
- package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.js +45 -321
- package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
- package/lib/eth/codegen/file.d.ts.map +1 -1
- package/lib/eth/codegen/file.js +3 -6
- package/lib/eth/codegen/file.js.map +1 -1
- package/lib/eth/codegen/function-calls.d.ts.map +1 -1
- package/lib/eth/codegen/function-calls.js +5 -27
- package/lib/eth/codegen/function-calls.js.map +1 -1
- package/lib/eth/context.d.ts +4 -2
- package/lib/eth/context.d.ts.map +1 -1
- package/lib/eth/context.js +15 -0
- package/lib/eth/context.js.map +1 -1
- package/lib/eth/eth.d.ts +2 -0
- package/lib/eth/eth.d.ts.map +1 -1
- package/lib/eth/eth.js +15 -1
- package/lib/eth/eth.js.map +1 -1
- package/lib/move/shared-network-codegen.d.ts.map +1 -1
- package/lib/move/shared-network-codegen.js +2 -3
- package/lib/move/shared-network-codegen.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +751 -12
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +3857 -0
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +3876 -14
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +14389 -188
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +1923 -0
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +5425 -0
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +5 -1
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/package.json +6 -6
- package/src/aptos/builtin/0x1.ts +5 -5
- package/src/aptos/builtin/0x3.ts +5 -5
- package/src/aptos/builtin/0x4.ts +5 -5
- package/src/aptos/codegen/codegen.ts +7 -1
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +189 -662
- package/src/eth/builtin/internal/erc1155-processor.ts +69 -261
- package/src/eth/builtin/internal/erc20-processor.ts +136 -535
- package/src/eth/builtin/internal/erc20bytes-processor.ts +68 -265
- package/src/eth/builtin/internal/erc721-processor.ts +118 -433
- package/src/eth/builtin/internal/weth9-processor.ts +81 -318
- package/src/eth/codegen/file.ts +2 -6
- package/src/eth/codegen/function-calls.ts +7 -29
- package/src/eth/context.ts +19 -2
- package/src/eth/eth.ts +21 -1
- package/src/move/shared-network-codegen.ts +1 -4
- package/src/sui/builtin/0x1.ts +5590 -19
- package/src/sui/builtin/0x2.ts +21779 -92
- package/src/sui/builtin/0x3.ts +8825 -15
- package/src/sui/codegen/codegen.ts +6 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sentio/sdk",
|
3
|
-
"version": "2.45.2",
|
3
|
+
"version": "2.45.3-rc.2",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -60,9 +60,9 @@
|
|
60
60
|
"@sentio/chain": "^2.1.14",
|
61
61
|
"@sentio/ethers-v6": "^1.0.29",
|
62
62
|
"@solana/web3.js": "1.91.8",
|
63
|
-
"@typemove/aptos": "~1.6.
|
64
|
-
"@typemove/move": "~1.6.
|
65
|
-
"@typemove/sui": "~1.6.
|
63
|
+
"@typemove/aptos": "~1.6.10",
|
64
|
+
"@typemove/move": "~1.6.10",
|
65
|
+
"@typemove/sui": "~1.6.10",
|
66
66
|
"bs58": "^5.0.0",
|
67
67
|
"chalk": "^5.3.0",
|
68
68
|
"csv-parse": "^5.5.3",
|
@@ -84,8 +84,8 @@
|
|
84
84
|
"typechain": "^8.3.2",
|
85
85
|
"utility-types": "^3.11.0",
|
86
86
|
"yaml": "^2.3.4",
|
87
|
-
"@sentio/protos": "2.45.2",
|
88
|
-
"@sentio/runtime": "^2.45.2"
|
87
|
+
"@sentio/protos": "2.45.3-rc.2",
|
88
|
+
"@sentio/runtime": "^2.45.3-rc.2"
|
89
89
|
},
|
90
90
|
"peerDependencies": {
|
91
91
|
"tsup": "npm:@sentio/tsup@^6.7.6"
|
package/src/aptos/builtin/0x1.ts
CHANGED
@@ -4,11 +4,6 @@
|
|
4
4
|
|
5
5
|
/* Generated types for 0x1, original address 0x1 */
|
6
6
|
|
7
|
-
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
8
|
-
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
9
|
-
|
10
|
-
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
11
|
-
|
12
7
|
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
13
8
|
import {
|
14
9
|
AptosBindOptions,
|
@@ -17,6 +12,11 @@ import {
|
|
17
12
|
TypedFunctionPayload,
|
18
13
|
AptosContext,
|
19
14
|
} from "@sentio/sdk/aptos";
|
15
|
+
|
16
|
+
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
17
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
18
|
+
|
19
|
+
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
20
20
|
import {
|
21
21
|
Aptos,
|
22
22
|
Account as AptosAccount,
|
package/src/aptos/builtin/0x3.ts
CHANGED
@@ -4,11 +4,6 @@
|
|
4
4
|
|
5
5
|
/* Generated types for 0x3, original address 0x3 */
|
6
6
|
|
7
|
-
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
8
|
-
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
9
|
-
|
10
|
-
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
11
|
-
|
12
7
|
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
13
8
|
import {
|
14
9
|
AptosBindOptions,
|
@@ -17,6 +12,11 @@ import {
|
|
17
12
|
TypedFunctionPayload,
|
18
13
|
AptosContext,
|
19
14
|
} from "@sentio/sdk/aptos";
|
15
|
+
|
16
|
+
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
17
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
18
|
+
|
19
|
+
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
20
20
|
import {
|
21
21
|
Aptos,
|
22
22
|
Account as AptosAccount,
|
package/src/aptos/builtin/0x4.ts
CHANGED
@@ -4,11 +4,6 @@
|
|
4
4
|
|
5
5
|
/* Generated types for 0x4, original address 0x4 */
|
6
6
|
|
7
|
-
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
8
|
-
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
9
|
-
|
10
|
-
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
11
|
-
|
12
7
|
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
13
8
|
import {
|
14
9
|
AptosBindOptions,
|
@@ -17,6 +12,11 @@ import {
|
|
17
12
|
TypedFunctionPayload,
|
18
13
|
AptosContext,
|
19
14
|
} from "@sentio/sdk/aptos";
|
15
|
+
|
16
|
+
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
17
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
18
|
+
|
19
|
+
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
20
20
|
import {
|
21
21
|
Aptos,
|
22
22
|
Account as AptosAccount,
|
@@ -46,7 +46,13 @@ class AptosNetworkCodegen extends BaseAptosCodegen {
|
|
46
46
|
generateImports() {
|
47
47
|
return (
|
48
48
|
this.moduleGenerator.generateImports() +
|
49
|
-
`
|
49
|
+
`
|
50
|
+
import { TypeDescriptor, ANY_TYPE } from "@typemove/move"
|
51
|
+
import {
|
52
|
+
MoveCoder, TypedEventInstance } from "@typemove/${this.PREFIX.toLowerCase()}"
|
53
|
+
|
54
|
+
import { defaultMoveCoder } from "${this.defaultCoderPackage()}"
|
55
|
+
import { Aptos, Account as AptosAccount, MoveAddressType, PendingTransactionResponse, InputGenerateTransactionOptions, MoveStructId } from '@aptos-labs/ts-sdk'`
|
50
56
|
)
|
51
57
|
}
|
52
58
|
generateLoadAll(isSystem: boolean): string {
|