@sentio/sdk 2.54.0-rc.6 → 2.54.0-rc.8
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 +840 -815
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +1200 -1137
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +67 -52
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +66 -53
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +113 -113
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +149 -149
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/fuel/fuel-plugin.d.ts +4 -2
- package/lib/fuel/fuel-plugin.d.ts.map +1 -1
- package/lib/fuel/fuel-plugin.js +54 -26
- package/lib/fuel/fuel-plugin.js.map +1 -1
- package/lib/fuel/fuel-processor.d.ts +3 -2
- package/lib/fuel/fuel-processor.d.ts.map +1 -1
- package/lib/fuel/fuel-processor.js +19 -24
- package/lib/fuel/fuel-processor.js.map +1 -1
- package/lib/fuel/transaction.d.ts +5 -1
- package/lib/fuel/transaction.d.ts.map +1 -1
- package/lib/fuel/transaction.js +17 -10
- package/lib/fuel/transaction.js.map +1 -1
- package/lib/fuel/types.d.ts +6 -1
- package/lib/fuel/types.d.ts.map +1 -1
- package/lib/fuel/types.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +83 -0
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +345 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/testing/fuel-facet.d.ts.map +1 -1
- package/lib/testing/fuel-facet.js +8 -7
- package/lib/testing/fuel-facet.js.map +1 -1
- package/package.json +7 -7
- package/src/aptos/abis/0x1.json +3816 -3657
- package/src/aptos/abis/0x3.json +247 -219
- package/src/aptos/abis/0x4.json +576 -576
- package/src/aptos/builtin/0x1.ts +2374 -2235
- package/src/aptos/builtin/0x3.ts +154 -113
- package/src/aptos/builtin/0x4.ts +280 -282
- package/src/fuel/fuel-plugin.ts +62 -25
- package/src/fuel/fuel-processor.ts +35 -31
- package/src/fuel/transaction.ts +18 -9
- package/src/fuel/types.ts +7 -0
- package/src/sui/abis/0x1.json +391 -0
- package/src/sui/builtin/0x1.ts +510 -1
- package/src/testing/fuel-facet.ts +8 -7
@@ -30,13 +30,13 @@ export class FuelFacet {
|
|
30
30
|
for (const callConfig of config.fuelCallConfigs) {
|
31
31
|
const binding = {
|
32
32
|
data: {
|
33
|
-
|
33
|
+
fuelTransaction: {
|
34
34
|
transaction,
|
35
35
|
timestamp: new Date()
|
36
36
|
}
|
37
37
|
},
|
38
38
|
handlerIds: [callConfig.handlerId],
|
39
|
-
handlerType: HandlerType.
|
39
|
+
handlerType: HandlerType.FUEL_TRANSACTION
|
40
40
|
}
|
41
41
|
|
42
42
|
const filter = callConfig.filters[0]?.function
|
@@ -55,13 +55,14 @@ export class FuelFacet {
|
|
55
55
|
for (const logConfig of config.fuelLogConfigs) {
|
56
56
|
const binding = {
|
57
57
|
data: {
|
58
|
-
|
58
|
+
fuelLog: {
|
59
59
|
transaction,
|
60
|
-
timestamp: new Date()
|
60
|
+
timestamp: new Date(),
|
61
|
+
receiptIndex: BigInt(transaction.status.receipts.findIndex((r: any) => r.rb == logConfig.logIds[0]))
|
61
62
|
}
|
62
63
|
},
|
63
64
|
handlerIds: [logConfig.handlerId],
|
64
|
-
handlerType: HandlerType.
|
65
|
+
handlerType: HandlerType.FUEL_RECEIPT
|
65
66
|
}
|
66
67
|
|
67
68
|
const logIds = logConfig.logIds
|
@@ -76,13 +77,13 @@ export class FuelFacet {
|
|
76
77
|
for (const assetConfig of config.assetConfigs) {
|
77
78
|
const binding = {
|
78
79
|
data: {
|
79
|
-
|
80
|
+
fuelTransaction: {
|
80
81
|
transaction,
|
81
82
|
timestamp: new Date()
|
82
83
|
}
|
83
84
|
},
|
84
85
|
handlerIds: [assetConfig.handlerId],
|
85
|
-
handlerType: HandlerType.
|
86
|
+
handlerType: HandlerType.FUEL_TRANSACTION
|
86
87
|
}
|
87
88
|
|
88
89
|
res.push(binding)
|