@sentio/sdk-bundle 2.62.0-rc.1 → 2.62.0-rc.10
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 +7 -7
- package/lib/aptos/builtin/0x3.js +8 -8
- package/lib/aptos/builtin/0x4.js +8 -8
- package/lib/aptos/builtin/index.js +9 -9
- package/lib/aptos/ext/index.js +7 -7
- package/lib/aptos/index.js +7 -7
- package/lib/btc/index.js +4 -4
- package/lib/{chunk-YP6MTEVV.js → chunk-264SL7AZ.js} +8 -8
- package/lib/{chunk-YP6MTEVV.js.map → chunk-264SL7AZ.js.map} +1 -1
- package/lib/{chunk-B7ORRE5Z.js → chunk-3I7QRROE.js} +6 -6
- package/lib/{chunk-X3ZOC322.js → chunk-4IAG3OPB.js} +19 -19
- package/lib/chunk-4IAG3OPB.js.map +1 -0
- package/lib/{chunk-5GXMJVJP.js → chunk-6B74I6XD.js} +2879 -1509
- package/lib/chunk-6B74I6XD.js.map +1 -0
- package/lib/{chunk-QIUP6BN5.js → chunk-7VLYXLQQ.js} +4 -4
- package/lib/{chunk-C53E3755.js → chunk-7ZV3DAAO.js} +4 -4
- package/lib/{chunk-KFV6BBUQ.js → chunk-CQSHL3XU.js} +3 -3
- package/lib/{chunk-3K3LBXOO.js → chunk-CYZSY3BD.js} +85 -90
- package/lib/chunk-CYZSY3BD.js.map +1 -0
- package/lib/{chunk-44DIT4WB.js → chunk-DH2Q7NZC.js} +4 -4
- package/lib/{chunk-AY26TGI3.js → chunk-FOHTW6RT.js} +6 -6
- package/lib/{chunk-7OSM2QQ6.js → chunk-H3IA4OF2.js} +2 -2
- package/lib/{chunk-DXCZG35Q.js → chunk-HEWGWMBC.js} +2 -2
- package/lib/{chunk-WPKVKAMV.js → chunk-HIGFJU7A.js} +28 -28
- package/lib/{chunk-WPKVKAMV.js.map → chunk-HIGFJU7A.js.map} +1 -1
- package/lib/{chunk-7ATE5LXE.js → chunk-IIFJ2BBO.js} +47 -16
- package/lib/chunk-IIFJ2BBO.js.map +1 -0
- package/lib/{chunk-GPQD74SB.js → chunk-NTLTKNCZ.js} +5 -5
- package/lib/{chunk-YBW43KCC.js → chunk-Q6CXMNB5.js} +10 -10
- package/lib/{chunk-YBW43KCC.js.map → chunk-Q6CXMNB5.js.map} +1 -1
- package/lib/{chunk-NS4NAHCW.js → chunk-QXKBOTZF.js} +3 -3
- package/lib/{chunk-TCBLV4QT.js → chunk-TETKQJS3.js} +2 -2
- package/lib/{chunk-E7F5WNL7.js → chunk-TTNIGDUS.js} +75 -178
- package/lib/{chunk-E7F5WNL7.js.map → chunk-TTNIGDUS.js.map} +1 -1
- package/lib/{chunk-B4NQDXHJ.js → chunk-UEVZFM6J.js} +2 -2
- package/lib/{chunk-KAROCKG2.js → chunk-VB7NRL7X.js} +5 -5
- package/lib/{chunk-IE4ZIBSH.js → chunk-XFJPJ6U5.js} +3 -3
- package/lib/{chunk-DAP5K6PJ.js → chunk-Y6SBQRZL.js} +4 -4
- package/lib/core/index.js +2 -2
- package/lib/eth/abi-decoder/decode-worker.js +2 -2
- package/lib/eth/builtin/eacaggregatorproxy.js +5 -5
- package/lib/eth/builtin/erc1155.js +6 -6
- package/lib/eth/builtin/erc20.js +5 -5
- package/lib/eth/builtin/erc721.js +5 -5
- package/lib/eth/builtin/index.js +7 -7
- package/lib/eth/builtin/weth9.js +6 -6
- package/lib/eth/index.js +5 -5
- package/lib/fuel/index.js +4 -4
- package/lib/index.js +8 -4
- package/lib/iota/builtin/0x1.js +10 -10
- package/lib/iota/builtin/0x2.js +11 -11
- package/lib/iota/builtin/0x3.js +12 -12
- package/lib/iota/builtin/index.js +12 -12
- package/lib/iota/ext/index.js +7 -7
- package/lib/iota/index.js +9 -9
- package/lib/move/index.js +3 -3
- package/lib/solana/builtin/index.js +3 -3
- package/lib/solana/index.js +3 -3
- package/lib/stark/index.js +3 -3
- package/lib/store/index.js +2 -2
- package/lib/sui/builtin/0x1.js +10 -10
- package/lib/sui/builtin/0x2.js +11 -11
- package/lib/sui/builtin/0x3.js +12 -12
- package/lib/sui/builtin/index.js +12 -12
- package/lib/sui/ext/index.js +7 -7
- package/lib/sui/index.js +9 -9
- package/lib/testing/index.js +12 -12
- package/lib/utils/index.js +5 -5
- package/package.json +2 -2
- package/lib/chunk-3K3LBXOO.js.map +0 -1
- package/lib/chunk-5GXMJVJP.js.map +0 -1
- package/lib/chunk-7ATE5LXE.js.map +0 -1
- package/lib/chunk-X3ZOC322.js.map +0 -1
- /package/lib/{chunk-B7ORRE5Z.js.map → chunk-3I7QRROE.js.map} +0 -0
- /package/lib/{chunk-QIUP6BN5.js.map → chunk-7VLYXLQQ.js.map} +0 -0
- /package/lib/{chunk-C53E3755.js.map → chunk-7ZV3DAAO.js.map} +0 -0
- /package/lib/{chunk-KFV6BBUQ.js.map → chunk-CQSHL3XU.js.map} +0 -0
- /package/lib/{chunk-44DIT4WB.js.map → chunk-DH2Q7NZC.js.map} +0 -0
- /package/lib/{chunk-AY26TGI3.js.map → chunk-FOHTW6RT.js.map} +0 -0
- /package/lib/{chunk-7OSM2QQ6.js.map → chunk-H3IA4OF2.js.map} +0 -0
- /package/lib/{chunk-DXCZG35Q.js.map → chunk-HEWGWMBC.js.map} +0 -0
- /package/lib/{chunk-GPQD74SB.js.map → chunk-NTLTKNCZ.js.map} +0 -0
- /package/lib/{chunk-NS4NAHCW.js.map → chunk-QXKBOTZF.js.map} +0 -0
- /package/lib/{chunk-TCBLV4QT.js.map → chunk-TETKQJS3.js.map} +0 -0
- /package/lib/{chunk-B4NQDXHJ.js.map → chunk-UEVZFM6J.js.map} +0 -0
- /package/lib/{chunk-KAROCKG2.js.map → chunk-VB7NRL7X.js.map} +0 -0
- /package/lib/{chunk-IE4ZIBSH.js.map → chunk-XFJPJ6U5.js.map} +0 -0
- /package/lib/{chunk-DAP5K6PJ.js.map → chunk-Y6SBQRZL.js.map} +0 -0
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
transactionArgumentOrPureU64,
|
|
14
14
|
transactionArgumentOrPureU8,
|
|
15
15
|
transactionArgumentOrVec
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4IAG3OPB.js";
|
|
17
17
|
import {
|
|
18
18
|
IotaNetwork,
|
|
19
19
|
Transaction
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HIGFJU7A.js";
|
|
21
21
|
import {
|
|
22
22
|
ANY_TYPE,
|
|
23
23
|
TypeDescriptor
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-264SL7AZ.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-7VLYXLQQ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
HandlerRegister,
|
|
4
4
|
getHandlerName,
|
|
5
5
|
proxyProcessor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UEVZFM6J.js";
|
|
7
7
|
import {
|
|
8
8
|
BTCTransactionFilter_Condition,
|
|
9
9
|
BTCTransactionFilter_Filter,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
TemplateInstanceState,
|
|
18
18
|
normalizeLabels,
|
|
19
19
|
serializeRichValue
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TTNIGDUS.js";
|
|
21
21
|
import {
|
|
22
22
|
BigDecimal
|
|
23
23
|
} from "./chunk-J5UEW4B7.js";
|
|
24
24
|
import {
|
|
25
25
|
require_lib
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6B74I6XD.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
@@ -525,4 +525,4 @@ export {
|
|
|
525
525
|
filters2Proto,
|
|
526
526
|
BTCPlugin
|
|
527
527
|
};
|
|
528
|
-
//# sourceMappingURL=chunk-
|
|
528
|
+
//# sourceMappingURL=chunk-7ZV3DAAO.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
defaultMoveCoder,
|
|
6
6
|
defaultMoveCoderForClient,
|
|
7
7
|
loadAllTypes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q6CXMNB5.js";
|
|
9
9
|
import {
|
|
10
10
|
ANY_TYPE,
|
|
11
11
|
TypeDescriptor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-264SL7AZ.js";
|
|
13
13
|
import {
|
|
14
14
|
__export,
|
|
15
15
|
__name
|
|
@@ -1794,4 +1794,4 @@ export {
|
|
|
1794
1794
|
loadAllTypes2 as loadAllTypes,
|
|
1795
1795
|
x3_exports
|
|
1796
1796
|
};
|
|
1797
|
-
//# sourceMappingURL=chunk-
|
|
1797
|
+
//# sourceMappingURL=chunk-CQSHL3XU.js.map
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
} from "./chunk-742S42NO.js";
|
|
32
32
|
import {
|
|
33
33
|
getPriceByType
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IIFJ2BBO.js";
|
|
35
35
|
import {
|
|
36
36
|
SPLITTER,
|
|
37
37
|
accountTypeString
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-264SL7AZ.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-R7PMHHKJ.js";
|
|
@@ -1514,7 +1514,7 @@ var bcs = {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
};
|
|
1516
1516
|
|
|
1517
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
1517
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/utils/suins.js
|
|
1518
1518
|
var SUI_NS_NAME_REGEX = /^(?!.*(^(?!@)|[-.@])($|[-.@]))(?:[a-z0-9-]{0,63}(?:\.[a-z0-9-]{0,63})*)?@[a-z0-9-]{0,63}$/i;
|
|
1519
1519
|
var SUI_NS_DOMAIN_REGEX = /^(?!.*(^|[-.])($|[-.]))(?:[a-z0-9-]{0,63}\.)+sui$/i;
|
|
1520
1520
|
var MAX_SUI_NS_NAME_LENGTH = 235;
|
|
@@ -1550,7 +1550,7 @@ function normalizeSuiNSName(name2, format = "at") {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
__name(normalizeSuiNSName, "normalizeSuiNSName");
|
|
1552
1552
|
|
|
1553
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
1553
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/utils/move-registry.js
|
|
1554
1554
|
var NAME_PATTERN = /^([a-z0-9]+(?:-[a-z0-9]+)*)$/;
|
|
1555
1555
|
var VERSION_REGEX = /^\d+$/;
|
|
1556
1556
|
var MAX_APP_SIZE = 64;
|
|
@@ -1571,7 +1571,7 @@ var isValidNamedType = /* @__PURE__ */ __name((type) => {
|
|
|
1571
1571
|
return true;
|
|
1572
1572
|
}, "isValidNamedType");
|
|
1573
1573
|
|
|
1574
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
1574
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/utils/sui-types.js
|
|
1575
1575
|
var TX_DIGEST_LENGTH = 32;
|
|
1576
1576
|
function isValidTransactionDigest(value) {
|
|
1577
1577
|
try {
|
|
@@ -1641,7 +1641,7 @@ function getHexByteLength(value) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
__name(getHexByteLength, "getHexByteLength");
|
|
1643
1643
|
|
|
1644
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
1644
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/data/internal.js
|
|
1645
1645
|
function safeEnum(options) {
|
|
1646
1646
|
const unionOptions = Object.entries(options).map(([key, value]) => object({ [key]: value }));
|
|
1647
1647
|
return pipe(
|
|
@@ -1793,7 +1793,8 @@ var CallArg = safeEnum({
|
|
|
1793
1793
|
objectId: ObjectID,
|
|
1794
1794
|
version: optional(nullable(JsonU64)),
|
|
1795
1795
|
digest: optional(nullable(string())),
|
|
1796
|
-
initialSharedVersion: optional(nullable(JsonU64))
|
|
1796
|
+
initialSharedVersion: optional(nullable(JsonU64)),
|
|
1797
|
+
mutable: optional(nullable(boolean()))
|
|
1797
1798
|
})
|
|
1798
1799
|
});
|
|
1799
1800
|
var NormalizedCallArg = safeEnum({
|
|
@@ -1815,7 +1816,7 @@ var TransactionData = object({
|
|
|
1815
1816
|
commands: array(Command)
|
|
1816
1817
|
});
|
|
1817
1818
|
|
|
1818
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
1819
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/Commands.js
|
|
1819
1820
|
var Commands = {
|
|
1820
1821
|
MoveCall(input) {
|
|
1821
1822
|
const [pkg, mod = "", fn = ""] = "target" in input ? input.target.split("::") : [input.package, input.module, input.function];
|
|
@@ -1922,7 +1923,7 @@ var Commands = {
|
|
|
1922
1923
|
}
|
|
1923
1924
|
};
|
|
1924
1925
|
|
|
1925
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
1926
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/bcs/type-tag-serializer.js
|
|
1926
1927
|
var VECTOR_REGEX = /^vector<(.+)>$/;
|
|
1927
1928
|
var STRUCT_REGEX = /^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/;
|
|
1928
1929
|
var TypeTagSerializer = class _TypeTagSerializer {
|
|
@@ -2014,7 +2015,7 @@ var TypeTagSerializer = class _TypeTagSerializer {
|
|
|
2014
2015
|
}
|
|
2015
2016
|
};
|
|
2016
2017
|
|
|
2017
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
2018
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/bcs/bcs.js
|
|
2018
2019
|
function unsafe_u64(options) {
|
|
2019
2020
|
return bcs.u64({
|
|
2020
2021
|
name: "unsafe_u64",
|
|
@@ -2289,7 +2290,7 @@ var PasskeyAuthenticator = bcs.struct("PasskeyAuthenticator", {
|
|
|
2289
2290
|
userSignature: bcs.vector(bcs.u8())
|
|
2290
2291
|
});
|
|
2291
2292
|
|
|
2292
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
2293
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/bcs/effects.js
|
|
2293
2294
|
var PackageUpgradeError = bcs.enum("PackageUpgradeError", {
|
|
2294
2295
|
UnableToFetchPackage: bcs.struct("UnableToFetchPackage", { packageId: Address }),
|
|
2295
2296
|
NotAPackage: bcs.struct("NotAPackage", { objectId: Address }),
|
|
@@ -2475,7 +2476,7 @@ var TransactionEffects = bcs.enum("TransactionEffects", {
|
|
|
2475
2476
|
V2: TransactionEffectsV2
|
|
2476
2477
|
});
|
|
2477
2478
|
|
|
2478
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
2479
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/bcs/pure.js
|
|
2479
2480
|
function pureBcsSchemaFromTypeName(name2) {
|
|
2480
2481
|
switch (name2) {
|
|
2481
2482
|
case "u8":
|
|
@@ -2511,7 +2512,7 @@ function pureBcsSchemaFromTypeName(name2) {
|
|
|
2511
2512
|
}
|
|
2512
2513
|
__name(pureBcsSchemaFromTypeName, "pureBcsSchemaFromTypeName");
|
|
2513
2514
|
|
|
2514
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
2515
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/bcs/index.js
|
|
2515
2516
|
var suiBcs = {
|
|
2516
2517
|
...bcs,
|
|
2517
2518
|
U8: bcs.u8(),
|
|
@@ -2557,7 +2558,7 @@ var suiBcs = {
|
|
|
2557
2558
|
TypeTag
|
|
2558
2559
|
};
|
|
2559
2560
|
|
|
2560
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
2561
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/data/v1.js
|
|
2561
2562
|
var ObjectRef2 = object({
|
|
2562
2563
|
digest: string(),
|
|
2563
2564
|
objectId: string(),
|
|
@@ -3010,7 +3011,7 @@ function parseV1TransactionArgument(arg) {
|
|
|
3010
3011
|
}
|
|
3011
3012
|
__name(parseV1TransactionArgument, "parseV1TransactionArgument");
|
|
3012
3013
|
|
|
3013
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3014
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/data/v2.js
|
|
3014
3015
|
function enumUnion(options) {
|
|
3015
3016
|
return union(
|
|
3016
3017
|
Object.entries(options).map(([key, value]) => object({ [key]: value }))
|
|
@@ -3094,7 +3095,8 @@ var CallArg3 = enumUnion({
|
|
|
3094
3095
|
objectId: ObjectID,
|
|
3095
3096
|
version: optional(nullable(JsonU64)),
|
|
3096
3097
|
digest: optional(nullable(string())),
|
|
3097
|
-
initialSharedVersion: optional(nullable(JsonU64))
|
|
3098
|
+
initialSharedVersion: optional(nullable(JsonU64)),
|
|
3099
|
+
mutable: optional(nullable(boolean()))
|
|
3098
3100
|
})
|
|
3099
3101
|
});
|
|
3100
3102
|
var TransactionExpiration4 = enumUnion({
|
|
@@ -3111,7 +3113,7 @@ var SerializedTransactionDataV2 = object({
|
|
|
3111
3113
|
digest: optional(nullable(string()))
|
|
3112
3114
|
});
|
|
3113
3115
|
|
|
3114
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3116
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/Inputs.js
|
|
3115
3117
|
function Pure(data) {
|
|
3116
3118
|
return {
|
|
3117
3119
|
$kind: "Pure",
|
|
@@ -3168,7 +3170,7 @@ var Inputs = {
|
|
|
3168
3170
|
}
|
|
3169
3171
|
};
|
|
3170
3172
|
|
|
3171
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3173
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/utils/constants.js
|
|
3172
3174
|
var MIST_PER_SUI = BigInt(1e9);
|
|
3173
3175
|
var MOVE_STDLIB_ADDRESS = "0x1";
|
|
3174
3176
|
var SUI_FRAMEWORK_ADDRESS = "0x2";
|
|
@@ -3176,7 +3178,7 @@ var SUI_CLOCK_OBJECT_ID = normalizeSuiObjectId("0x6");
|
|
|
3176
3178
|
var SUI_TYPE_ARG = `${SUI_FRAMEWORK_ADDRESS}::sui::SUI`;
|
|
3177
3179
|
var SUI_SYSTEM_STATE_OBJECT_ID = normalizeSuiObjectId("0x5");
|
|
3178
3180
|
|
|
3179
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3181
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/utils/dynamic-fields.js
|
|
3180
3182
|
function deriveDynamicFieldID(parentId, typeTag, key) {
|
|
3181
3183
|
const address = suiBcs.Address.serialize(parentId).toBytes();
|
|
3182
3184
|
const tag = suiBcs.TypeTag.serialize(typeTag).toBytes();
|
|
@@ -3193,7 +3195,7 @@ function deriveDynamicFieldID(parentId, typeTag, key) {
|
|
|
3193
3195
|
}
|
|
3194
3196
|
__name(deriveDynamicFieldID, "deriveDynamicFieldID");
|
|
3195
3197
|
|
|
3196
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3198
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/serializer.js
|
|
3197
3199
|
var OBJECT_MODULE_NAME = "object";
|
|
3198
3200
|
var ID_STRUCT_NAME = "ID";
|
|
3199
3201
|
var STD_ASCII_MODULE_NAME = "ascii";
|
|
@@ -3323,7 +3325,7 @@ function normalizedTypeToMoveTypeSignatureBody(type) {
|
|
|
3323
3325
|
}
|
|
3324
3326
|
__name(normalizedTypeToMoveTypeSignatureBody, "normalizedTypeToMoveTypeSignatureBody");
|
|
3325
3327
|
|
|
3326
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3328
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/transports/json-rpc-resolver.js
|
|
3327
3329
|
var MAX_OBJECTS_PER_FETCH = 50;
|
|
3328
3330
|
var GAS_SAFE_OVERHEAD = 1000n;
|
|
3329
3331
|
var MAX_GAS = 5e10;
|
|
@@ -3456,7 +3458,7 @@ async function resolveObjectReferences(transactionData, client) {
|
|
|
3456
3458
|
updated = Inputs.SharedObjectRef({
|
|
3457
3459
|
objectId: id,
|
|
3458
3460
|
initialSharedVersion: input.UnresolvedObject.initialSharedVersion || object2?.initialSharedVersion,
|
|
3459
|
-
mutable: isUsedAsMutable(transactionData, index)
|
|
3461
|
+
mutable: input.UnresolvedObject.mutable || isUsedAsMutable(transactionData, index)
|
|
3460
3462
|
});
|
|
3461
3463
|
} else if (isUsedAsReceiving(transactionData, index)) {
|
|
3462
3464
|
updated = Inputs.ReceivingRef(
|
|
@@ -3491,7 +3493,7 @@ async function normalizeInputs(transactionData, client) {
|
|
|
3491
3493
|
return null;
|
|
3492
3494
|
});
|
|
3493
3495
|
const needsResolution = inputs2.some(
|
|
3494
|
-
(input) => input?.UnresolvedPure || input?.UnresolvedObject
|
|
3496
|
+
(input) => input?.UnresolvedPure || input?.UnresolvedObject && typeof input?.UnresolvedObject.mutable !== "boolean"
|
|
3495
3497
|
);
|
|
3496
3498
|
if (needsResolution) {
|
|
3497
3499
|
const functionName = `${command.MoveCall.package}::${command.MoveCall.module}::${command.MoveCall.function}`;
|
|
@@ -3613,7 +3615,7 @@ function isReceivingType(type) {
|
|
|
3613
3615
|
}
|
|
3614
3616
|
__name(isReceivingType, "isReceivingType");
|
|
3615
3617
|
|
|
3616
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3618
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/resolve.js
|
|
3617
3619
|
function needsTransactionResolution(data, options) {
|
|
3618
3620
|
if (data.inputs.some((input) => {
|
|
3619
3621
|
return input.UnresolvedObject || input.UnresolvedPure;
|
|
@@ -3690,7 +3692,7 @@ function normalizeRawArgument(arg, schema, transactionData) {
|
|
|
3690
3692
|
}
|
|
3691
3693
|
__name(normalizeRawArgument, "normalizeRawArgument");
|
|
3692
3694
|
|
|
3693
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3695
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/object.js
|
|
3694
3696
|
function createObjectMethods(makeObject) {
|
|
3695
3697
|
function object2(value) {
|
|
3696
3698
|
return makeObject(value);
|
|
@@ -3722,29 +3724,19 @@ function createObjectMethods(makeObject) {
|
|
|
3722
3724
|
mutable: false
|
|
3723
3725
|
})
|
|
3724
3726
|
);
|
|
3725
|
-
object2.random = () => object2(
|
|
3726
|
-
|
|
3727
|
+
object2.random = () => object2({
|
|
3728
|
+
$kind: "UnresolvedObject",
|
|
3729
|
+
UnresolvedObject: {
|
|
3727
3730
|
objectId: "0x8",
|
|
3728
|
-
initialSharedVersion: 1,
|
|
3729
3731
|
mutable: false
|
|
3730
|
-
})
|
|
3731
|
-
);
|
|
3732
|
-
object2.denyList = (options) => {
|
|
3733
|
-
const mutable = options?.mutable;
|
|
3734
|
-
if (mutable !== void 0) {
|
|
3735
|
-
return object2(
|
|
3736
|
-
Inputs.SharedObjectRef({
|
|
3737
|
-
objectId: "0x403",
|
|
3738
|
-
initialSharedVersion: 1,
|
|
3739
|
-
mutable
|
|
3740
|
-
})
|
|
3741
|
-
);
|
|
3742
3732
|
}
|
|
3733
|
+
});
|
|
3734
|
+
object2.denyList = (options) => {
|
|
3743
3735
|
return object2({
|
|
3744
3736
|
$kind: "UnresolvedObject",
|
|
3745
3737
|
UnresolvedObject: {
|
|
3746
3738
|
objectId: "0x403",
|
|
3747
|
-
|
|
3739
|
+
mutable: options?.mutable
|
|
3748
3740
|
}
|
|
3749
3741
|
});
|
|
3750
3742
|
};
|
|
@@ -3757,7 +3749,7 @@ function createObjectMethods(makeObject) {
|
|
|
3757
3749
|
}
|
|
3758
3750
|
__name(createObjectMethods, "createObjectMethods");
|
|
3759
3751
|
|
|
3760
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3752
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/pure.js
|
|
3761
3753
|
function createPure(makePure) {
|
|
3762
3754
|
function pure(typeOrSerializedValue, value) {
|
|
3763
3755
|
if (typeof typeOrSerializedValue === "string") {
|
|
@@ -3791,7 +3783,7 @@ function createPure(makePure) {
|
|
|
3791
3783
|
}
|
|
3792
3784
|
__name(createPure, "createPure");
|
|
3793
3785
|
|
|
3794
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3786
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/hash.js
|
|
3795
3787
|
function hashTypedData(typeTag, data) {
|
|
3796
3788
|
const typeTagBytes = Array.from(`${typeTag}::`).map((e) => e.charCodeAt(0));
|
|
3797
3789
|
const dataWithTag = new Uint8Array(typeTagBytes.length + data.length);
|
|
@@ -3801,7 +3793,7 @@ function hashTypedData(typeTag, data) {
|
|
|
3801
3793
|
}
|
|
3802
3794
|
__name(hashTypedData, "hashTypedData");
|
|
3803
3795
|
|
|
3804
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
3796
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/TransactionData.js
|
|
3805
3797
|
function prepareSuiAddress(address) {
|
|
3806
3798
|
return normalizeSuiAddress(address).replace("0x", "");
|
|
3807
3799
|
}
|
|
@@ -4056,7 +4048,7 @@ var TransactionDataBuilder = class _TransactionDataBuilder {
|
|
|
4056
4048
|
}
|
|
4057
4049
|
};
|
|
4058
4050
|
|
|
4059
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
4051
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/utils.js
|
|
4060
4052
|
function getIdFromCallArg(arg) {
|
|
4061
4053
|
if (typeof arg === "string") {
|
|
4062
4054
|
return normalizeSuiAddress(arg);
|
|
@@ -4077,7 +4069,7 @@ function getIdFromCallArg(arg) {
|
|
|
4077
4069
|
}
|
|
4078
4070
|
__name(getIdFromCallArg, "getIdFromCallArg");
|
|
4079
4071
|
|
|
4080
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
4072
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/cache.js
|
|
4081
4073
|
var __typeError2 = /* @__PURE__ */ __name((msg) => {
|
|
4082
4074
|
throw TypeError(msg);
|
|
4083
4075
|
}, "__typeError");
|
|
@@ -4147,11 +4139,11 @@ _prefix = /* @__PURE__ */ new WeakMap();
|
|
|
4147
4139
|
_cache = /* @__PURE__ */ new WeakMap();
|
|
4148
4140
|
var ClientCache = _ClientCache;
|
|
4149
4141
|
|
|
4150
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
4151
|
-
var PACKAGE_VERSION = "1.37.
|
|
4152
|
-
var TARGETED_RPC_VERSION = "1.
|
|
4142
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/version.js
|
|
4143
|
+
var PACKAGE_VERSION = "1.37.6";
|
|
4144
|
+
var TARGETED_RPC_VERSION = "1.56.0";
|
|
4153
4145
|
|
|
4154
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
4146
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/mvr.js
|
|
4155
4147
|
var __typeError3 = /* @__PURE__ */ __name((msg) => {
|
|
4156
4148
|
throw TypeError(msg);
|
|
4157
4149
|
}, "__typeError");
|
|
@@ -4496,7 +4488,7 @@ function getNamesFromTypeList(types) {
|
|
|
4496
4488
|
}
|
|
4497
4489
|
__name(getNamesFromTypeList, "getNamesFromTypeList");
|
|
4498
4490
|
|
|
4499
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
4491
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/plugins/NamedPackagesPlugin.js
|
|
4500
4492
|
var cacheMap = /* @__PURE__ */ new WeakMap();
|
|
4501
4493
|
var namedPackagesPlugin = /* @__PURE__ */ __name((options) => {
|
|
4502
4494
|
let mvrClient;
|
|
@@ -4538,7 +4530,7 @@ function getClient2(options) {
|
|
|
4538
4530
|
}
|
|
4539
4531
|
__name(getClient2, "getClient");
|
|
4540
4532
|
|
|
4541
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
4533
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/transactions/Transaction.js
|
|
4542
4534
|
var __typeError4 = /* @__PURE__ */ __name((msg) => {
|
|
4543
4535
|
throw TypeError(msg);
|
|
4544
4536
|
}, "__typeError");
|
|
@@ -5099,35 +5091,38 @@ prepareBuild_fn = /* @__PURE__ */ __name(async function(options) {
|
|
|
5099
5091
|
await __privateMethod2(this, _Transaction_instances, runPlugins_fn).call(this, [...__privateGet4(this, _buildPlugins), resolveTransactionPlugin], options);
|
|
5100
5092
|
}, "prepareBuild_fn");
|
|
5101
5093
|
runPlugins_fn = /* @__PURE__ */ __name(async function(plugins, options) {
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
const plugin = plugins[i];
|
|
5108
|
-
return async () => {
|
|
5109
|
-
const next = createNext(i + 1);
|
|
5110
|
-
let calledNext = false;
|
|
5111
|
-
let nextResolved = false;
|
|
5112
|
-
await plugin(__privateGet4(this, _data), options, async () => {
|
|
5113
|
-
if (calledNext) {
|
|
5114
|
-
throw new Error(`next() was call multiple times in TransactionPlugin ${i}`);
|
|
5115
|
-
}
|
|
5116
|
-
calledNext = true;
|
|
5117
|
-
await next();
|
|
5118
|
-
nextResolved = true;
|
|
5119
|
-
});
|
|
5120
|
-
if (!calledNext) {
|
|
5121
|
-
throw new Error(`next() was not called in TransactionPlugin ${i}`);
|
|
5122
|
-
}
|
|
5123
|
-
if (!nextResolved) {
|
|
5124
|
-
throw new Error(`next() was not awaited in TransactionPlugin ${i}`);
|
|
5094
|
+
try {
|
|
5095
|
+
const createNext = /* @__PURE__ */ __name((i) => {
|
|
5096
|
+
if (i >= plugins.length) {
|
|
5097
|
+
return () => {
|
|
5098
|
+
};
|
|
5125
5099
|
}
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5100
|
+
const plugin = plugins[i];
|
|
5101
|
+
return async () => {
|
|
5102
|
+
const next = createNext(i + 1);
|
|
5103
|
+
let calledNext = false;
|
|
5104
|
+
let nextResolved = false;
|
|
5105
|
+
await plugin(__privateGet4(this, _data), options, async () => {
|
|
5106
|
+
if (calledNext) {
|
|
5107
|
+
throw new Error(`next() was call multiple times in TransactionPlugin ${i}`);
|
|
5108
|
+
}
|
|
5109
|
+
calledNext = true;
|
|
5110
|
+
await next();
|
|
5111
|
+
nextResolved = true;
|
|
5112
|
+
});
|
|
5113
|
+
if (!calledNext) {
|
|
5114
|
+
throw new Error(`next() was not called in TransactionPlugin ${i}`);
|
|
5115
|
+
}
|
|
5116
|
+
if (!nextResolved) {
|
|
5117
|
+
throw new Error(`next() was not awaited in TransactionPlugin ${i}`);
|
|
5118
|
+
}
|
|
5119
|
+
};
|
|
5120
|
+
}, "createNext");
|
|
5121
|
+
await createNext(0)();
|
|
5122
|
+
} finally {
|
|
5123
|
+
__privateSet4(this, _inputSection, __privateGet4(this, _data).inputs.slice());
|
|
5124
|
+
__privateSet4(this, _commandSection, __privateGet4(this, _data).commands.slice());
|
|
5125
|
+
}
|
|
5131
5126
|
}, "runPlugins_fn");
|
|
5132
5127
|
waitForPendingTasks_fn = /* @__PURE__ */ __name(async function() {
|
|
5133
5128
|
while (__privateGet4(this, _pendingPromises).size > 0) {
|
|
@@ -5204,7 +5199,7 @@ var Transaction = _Transaction;
|
|
|
5204
5199
|
import { SuiChainId } from "@sentio/chain";
|
|
5205
5200
|
import { Endpoints } from "@sentio/runtime";
|
|
5206
5201
|
|
|
5207
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5202
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/client/errors.js
|
|
5208
5203
|
var CODE_TO_ERROR_TYPE = {
|
|
5209
5204
|
"-32700": "ParseError",
|
|
5210
5205
|
"-32701": "OversizedRequest",
|
|
@@ -5249,7 +5244,7 @@ var SuiHTTPStatusError = class extends SuiHTTPTransportError {
|
|
|
5249
5244
|
}
|
|
5250
5245
|
};
|
|
5251
5246
|
|
|
5252
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5247
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/client/rpc-websocket-client.js
|
|
5253
5248
|
var __typeError5 = /* @__PURE__ */ __name((msg) => {
|
|
5254
5249
|
throw TypeError(msg);
|
|
5255
5250
|
}, "__typeError");
|
|
@@ -5434,7 +5429,7 @@ var RpcSubscription = class {
|
|
|
5434
5429
|
}
|
|
5435
5430
|
};
|
|
5436
5431
|
|
|
5437
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5432
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/client/http-transport.js
|
|
5438
5433
|
var __typeError6 = /* @__PURE__ */ __name((msg) => {
|
|
5439
5434
|
throw TypeError(msg);
|
|
5440
5435
|
}, "__typeError");
|
|
@@ -5535,7 +5530,7 @@ getWebsocketClient_fn = /* @__PURE__ */ __name(function() {
|
|
|
5535
5530
|
return __privateGet6(this, _websocketClient);
|
|
5536
5531
|
}, "getWebsocketClient_fn");
|
|
5537
5532
|
|
|
5538
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5533
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/client.js
|
|
5539
5534
|
var Experimental_BaseClient = class {
|
|
5540
5535
|
static {
|
|
5541
5536
|
__name(this, "Experimental_BaseClient");
|
|
@@ -5565,7 +5560,7 @@ var Experimental_BaseClient = class {
|
|
|
5565
5560
|
}
|
|
5566
5561
|
};
|
|
5567
5562
|
|
|
5568
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5563
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/core.js
|
|
5569
5564
|
var DEFAULT_MVR_URLS = {
|
|
5570
5565
|
mainnet: "https://mainnet.mvr.mystenlabs.com",
|
|
5571
5566
|
testnet: "https://testnet.mvr.mystenlabs.com"
|
|
@@ -5653,7 +5648,7 @@ var Experimental_CoreClient = class extends Experimental_BaseClient {
|
|
|
5653
5648
|
}
|
|
5654
5649
|
};
|
|
5655
5650
|
|
|
5656
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5651
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/errors.js
|
|
5657
5652
|
var SuiClientError = class extends Error {
|
|
5658
5653
|
static {
|
|
5659
5654
|
__name(this, "SuiClientError");
|
|
@@ -5690,7 +5685,7 @@ var ObjectError = class _ObjectError extends SuiClientError {
|
|
|
5690
5685
|
}
|
|
5691
5686
|
};
|
|
5692
5687
|
|
|
5693
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5688
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/transports/utils.js
|
|
5694
5689
|
function parseTransactionBcs(bytes) {
|
|
5695
5690
|
return {
|
|
5696
5691
|
...TransactionDataBuilder.fromBytes(bytes).snapshot(),
|
|
@@ -5770,7 +5765,7 @@ function parseTransactionEffectsV2({
|
|
|
5770
5765
|
}
|
|
5771
5766
|
__name(parseTransactionEffectsV2, "parseTransactionEffectsV2");
|
|
5772
5767
|
|
|
5773
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
5768
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/experimental/transports/jsonRPC.js
|
|
5774
5769
|
var __typeError7 = /* @__PURE__ */ __name((msg) => {
|
|
5775
5770
|
throw TypeError(msg);
|
|
5776
5771
|
}, "__typeError");
|
|
@@ -6235,7 +6230,7 @@ var Coin = suiBcs.struct("Coin", {
|
|
|
6235
6230
|
balance: Balance
|
|
6236
6231
|
});
|
|
6237
6232
|
|
|
6238
|
-
// ../../node_modules/.pnpm/@mysten+sui@1.37.
|
|
6233
|
+
// ../../node_modules/.pnpm/@mysten+sui@1.37.6_typescript@5.5.2/node_modules/@mysten/sui/dist/esm/client/client.js
|
|
6239
6234
|
var SUI_CLIENT_BRAND = Symbol.for("@mysten/SuiClient");
|
|
6240
6235
|
var SuiClient = class extends Experimental_BaseClient {
|
|
6241
6236
|
static {
|
|
@@ -7622,4 +7617,4 @@ export {
|
|
|
7622
7617
|
getPrice,
|
|
7623
7618
|
calculateValueInUsd
|
|
7624
7619
|
};
|
|
7625
|
-
//# sourceMappingURL=chunk-
|
|
7620
|
+
//# sourceMappingURL=chunk-CYZSY3BD.js.map
|