@typemove/sui 1.6.2-rc.2 → 1.6.2-rc.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/dist/cjs/builtin/0x1.d.ts +178 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +994 -2
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +535 -6
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +1300 -135
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +178 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +993 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +535 -6
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +1298 -133
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +748 -12
- package/src/abis/0x2.json +2395 -477
- package/src/builtin/0x1.ts +1385 -1
- package/src/builtin/0x2.ts +2064 -97
|
@@ -247,16 +247,24 @@ export declare namespace bcs {
|
|
|
247
247
|
function peelOptionAddress(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
248
248
|
function peelOptionBool(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
249
249
|
function peelOptionU128(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
250
|
+
function peelOptionU16(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
251
|
+
function peelOptionU256(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
252
|
+
function peelOptionU32(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
250
253
|
function peelOptionU64(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
251
254
|
function peelOptionU8(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
252
255
|
function peelU128(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
256
|
+
function peelU16(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
253
257
|
function peelU256(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
258
|
+
function peelU32(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
254
259
|
function peelU64(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
255
260
|
function peelU8(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
256
261
|
function peelVecAddress(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
257
262
|
function peelVecBool(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
258
263
|
function peelVecLength(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
259
264
|
function peelVecU128(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
265
|
+
function peelVecU16(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
266
|
+
function peelVecU256(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
267
|
+
function peelVecU32(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
260
268
|
function peelVecU64(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
261
269
|
function peelVecU8(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
262
270
|
function peelVecVecU8(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -270,16 +278,24 @@ export declare namespace bcs {
|
|
|
270
278
|
function peelOptionAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
|
271
279
|
function peelOptionBool(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<Boolean>]>>;
|
|
272
280
|
function peelOptionU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
281
|
+
function peelOptionU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
|
282
|
+
function peelOptionU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
283
|
+
function peelOptionU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
|
273
284
|
function peelOptionU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
274
285
|
function peelOptionU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
|
275
286
|
function peelU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
287
|
+
function peelU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
276
288
|
function peelU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
289
|
+
function peelU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
277
290
|
function peelU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
278
291
|
function peelU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
279
292
|
function peelVecAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string[]]>>;
|
|
280
293
|
function peelVecBool(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean[]]>>;
|
|
281
294
|
function peelVecLength(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
282
295
|
function peelVecU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
296
|
+
function peelVecU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
297
|
+
function peelVecU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
298
|
+
function peelVecU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
283
299
|
function peelVecU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
284
300
|
function peelVecU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
285
301
|
function peelVecVecU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[][]]>>;
|
|
@@ -632,6 +648,14 @@ export declare namespace coin {
|
|
|
632
648
|
const TYPE_QNAME = "0x2::coin::DenyCap";
|
|
633
649
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DenyCap<T0>>;
|
|
634
650
|
}
|
|
651
|
+
interface DenyCapV2<T0> {
|
|
652
|
+
id: object_.UID;
|
|
653
|
+
allow_global_pause: Boolean;
|
|
654
|
+
}
|
|
655
|
+
namespace DenyCapV2 {
|
|
656
|
+
const TYPE_QNAME = "0x2::coin::DenyCapV2";
|
|
657
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DenyCapV2<T0>>;
|
|
658
|
+
}
|
|
635
659
|
interface RegulatedCoinMetadata<T0> {
|
|
636
660
|
id: object_.UID;
|
|
637
661
|
coin_metadata_object: object_.ID;
|
|
@@ -686,6 +710,23 @@ export declare namespace coin {
|
|
|
686
710
|
TransactionArgument,
|
|
687
711
|
TransactionArgument
|
|
688
712
|
];
|
|
713
|
+
function createRegulatedCurrencyV2<T0 = any>(tx: TransactionBlock, args: [
|
|
714
|
+
T0 | TransactionArgument,
|
|
715
|
+
number | TransactionArgument,
|
|
716
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
717
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
718
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
719
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
720
|
+
Boolean | TransactionArgument
|
|
721
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
722
|
+
TransactionArgument,
|
|
723
|
+
TransactionArgument,
|
|
724
|
+
TransactionArgument,
|
|
725
|
+
TransactionArgument,
|
|
726
|
+
TransactionArgument,
|
|
727
|
+
TransactionArgument,
|
|
728
|
+
TransactionArgument
|
|
729
|
+
];
|
|
689
730
|
function denyListAdd<T0 = any>(tx: TransactionBlock, args: [
|
|
690
731
|
string | TransactionObjectArgument | TransactionArgument,
|
|
691
732
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -708,6 +749,42 @@ export declare namespace coin {
|
|
|
708
749
|
TransactionArgument,
|
|
709
750
|
TransactionArgument
|
|
710
751
|
];
|
|
752
|
+
function denyListV2Add<T0 = any>(tx: TransactionBlock, args: [
|
|
753
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
754
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
755
|
+
string | TransactionArgument
|
|
756
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
757
|
+
TransactionArgument,
|
|
758
|
+
TransactionArgument,
|
|
759
|
+
TransactionArgument
|
|
760
|
+
];
|
|
761
|
+
function denyListV2ContainsCurrentEpoch<T0 = any>(tx: TransactionBlock, args: [
|
|
762
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
763
|
+
string | TransactionArgument
|
|
764
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
765
|
+
function denyListV2ContainsNextEpoch<T0 = any>(tx: TransactionBlock, args: [
|
|
766
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
767
|
+
string | TransactionArgument
|
|
768
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
769
|
+
function denyListV2DisableGlobalPause<T0 = any>(tx: TransactionBlock, args: [
|
|
770
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
771
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
772
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
773
|
+
function denyListV2EnableGlobalPause<T0 = any>(tx: TransactionBlock, args: [
|
|
774
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
775
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
776
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
777
|
+
function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
778
|
+
function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
779
|
+
function denyListV2Remove<T0 = any>(tx: TransactionBlock, args: [
|
|
780
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
781
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
782
|
+
string | TransactionArgument
|
|
783
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
784
|
+
TransactionArgument,
|
|
785
|
+
TransactionArgument,
|
|
786
|
+
TransactionArgument
|
|
787
|
+
];
|
|
711
788
|
function destroyZero<T0 = any>(tx: TransactionBlock, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
712
789
|
function divideIntoN<T0 = any>(tx: TransactionBlock, args: [
|
|
713
790
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -724,6 +801,15 @@ export declare namespace coin {
|
|
|
724
801
|
string | TransactionObjectArgument | TransactionArgument,
|
|
725
802
|
coin.Coin<T0> | TransactionArgument
|
|
726
803
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
804
|
+
function migrateRegulatedCurrencyToV2<T0 = any>(tx: TransactionBlock, args: [
|
|
805
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
806
|
+
coin.DenyCap<T0> | TransactionArgument,
|
|
807
|
+
Boolean | TransactionArgument
|
|
808
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
809
|
+
TransactionArgument,
|
|
810
|
+
TransactionArgument,
|
|
811
|
+
TransactionArgument
|
|
812
|
+
];
|
|
727
813
|
function mint<T0 = any>(tx: TransactionBlock, args: [
|
|
728
814
|
string | TransactionObjectArgument | TransactionArgument,
|
|
729
815
|
bigint | TransactionArgument
|
|
@@ -824,6 +910,19 @@ export declare namespace coin {
|
|
|
824
910
|
coin.DenyCap<T0>,
|
|
825
911
|
coin.CoinMetadata<T0>
|
|
826
912
|
]>>;
|
|
913
|
+
function createRegulatedCurrencyV2<T0 = any>(client: SuiClient, args: [
|
|
914
|
+
T0 | TransactionArgument,
|
|
915
|
+
number | TransactionArgument,
|
|
916
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
917
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
918
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
919
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
920
|
+
Boolean | TransactionArgument
|
|
921
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
922
|
+
coin.TreasuryCap<T0>,
|
|
923
|
+
coin.DenyCapV2<T0>,
|
|
924
|
+
coin.CoinMetadata<T0>
|
|
925
|
+
]>>;
|
|
827
926
|
function denyListAdd<T0 = any>(client: SuiClient, args: [
|
|
828
927
|
string | TransactionObjectArgument | TransactionArgument,
|
|
829
928
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -838,6 +937,34 @@ export declare namespace coin {
|
|
|
838
937
|
string | TransactionObjectArgument | TransactionArgument,
|
|
839
938
|
string | TransactionArgument
|
|
840
939
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
940
|
+
function denyListV2Add<T0 = any>(client: SuiClient, args: [
|
|
941
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
942
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
943
|
+
string | TransactionArgument
|
|
944
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
945
|
+
function denyListV2ContainsCurrentEpoch<T0 = any>(client: SuiClient, args: [
|
|
946
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
947
|
+
string | TransactionArgument
|
|
948
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
949
|
+
function denyListV2ContainsNextEpoch<T0 = any>(client: SuiClient, args: [
|
|
950
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
951
|
+
string | TransactionArgument
|
|
952
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
953
|
+
function denyListV2DisableGlobalPause<T0 = any>(client: SuiClient, args: [
|
|
954
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
955
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
956
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
957
|
+
function denyListV2EnableGlobalPause<T0 = any>(client: SuiClient, args: [
|
|
958
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
959
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
960
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
961
|
+
function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
962
|
+
function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
963
|
+
function denyListV2Remove<T0 = any>(client: SuiClient, args: [
|
|
964
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
965
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
966
|
+
string | TransactionArgument
|
|
967
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
841
968
|
function destroyZero<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
842
969
|
function divideIntoN<T0 = any>(client: SuiClient, args: [
|
|
843
970
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -854,6 +981,11 @@ export declare namespace coin {
|
|
|
854
981
|
string | TransactionObjectArgument | TransactionArgument,
|
|
855
982
|
coin.Coin<T0> | TransactionArgument
|
|
856
983
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
984
|
+
function migrateRegulatedCurrencyToV2<T0 = any>(client: SuiClient, args: [
|
|
985
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
986
|
+
coin.DenyCap<T0> | TransactionArgument,
|
|
987
|
+
Boolean | TransactionArgument
|
|
988
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.DenyCapV2<T0>]>>;
|
|
857
989
|
function mint<T0 = any>(client: SuiClient, args: [
|
|
858
990
|
string | TransactionObjectArgument | TransactionArgument,
|
|
859
991
|
bigint | TransactionArgument
|
|
@@ -908,7 +1040,197 @@ export declare namespace coin {
|
|
|
908
1040
|
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
909
1041
|
}
|
|
910
1042
|
}
|
|
1043
|
+
export declare namespace config {
|
|
1044
|
+
interface Config<T0> {
|
|
1045
|
+
id: object_.UID;
|
|
1046
|
+
}
|
|
1047
|
+
namespace Config {
|
|
1048
|
+
const TYPE_QNAME = "0x2::config::Config";
|
|
1049
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Config<T0>>;
|
|
1050
|
+
}
|
|
1051
|
+
interface Setting<T0> {
|
|
1052
|
+
data: _0x1.option.Option<config.SettingData<T0>>;
|
|
1053
|
+
}
|
|
1054
|
+
namespace Setting {
|
|
1055
|
+
const TYPE_QNAME = "0x2::config::Setting";
|
|
1056
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Setting<T0>>;
|
|
1057
|
+
}
|
|
1058
|
+
interface SettingData<T0> {
|
|
1059
|
+
newer_value_epoch: bigint;
|
|
1060
|
+
newer_value: _0x1.option.Option<T0>;
|
|
1061
|
+
older_value_opt: _0x1.option.Option<T0>;
|
|
1062
|
+
}
|
|
1063
|
+
namespace SettingData {
|
|
1064
|
+
const TYPE_QNAME = "0x2::config::SettingData";
|
|
1065
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SettingData<T0>>;
|
|
1066
|
+
}
|
|
1067
|
+
namespace builder {
|
|
1068
|
+
function addForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1069
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1070
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1071
|
+
T1 | TransactionArgument,
|
|
1072
|
+
T2 | TransactionArgument
|
|
1073
|
+
], typeArguments: [
|
|
1074
|
+
TypeDescriptor<T0> | string,
|
|
1075
|
+
TypeDescriptor<T1> | string,
|
|
1076
|
+
TypeDescriptor<T2> | string
|
|
1077
|
+
]): TransactionArgument & [
|
|
1078
|
+
TransactionArgument,
|
|
1079
|
+
TransactionArgument,
|
|
1080
|
+
TransactionArgument,
|
|
1081
|
+
TransactionArgument
|
|
1082
|
+
];
|
|
1083
|
+
function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1084
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1085
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1086
|
+
T1 | TransactionArgument
|
|
1087
|
+
], typeArguments: [
|
|
1088
|
+
TypeDescriptor<T0> | string,
|
|
1089
|
+
TypeDescriptor<T1> | string,
|
|
1090
|
+
TypeDescriptor<T2> | string
|
|
1091
|
+
]): TransactionArgument & [
|
|
1092
|
+
TransactionArgument,
|
|
1093
|
+
TransactionArgument,
|
|
1094
|
+
TransactionArgument
|
|
1095
|
+
];
|
|
1096
|
+
function existsWithType<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1097
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1098
|
+
T1 | TransactionArgument
|
|
1099
|
+
], typeArguments: [
|
|
1100
|
+
TypeDescriptor<T0> | string,
|
|
1101
|
+
TypeDescriptor<T1> | string,
|
|
1102
|
+
TypeDescriptor<T2> | string
|
|
1103
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1104
|
+
function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1105
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1106
|
+
T1 | TransactionArgument
|
|
1107
|
+
], typeArguments: [
|
|
1108
|
+
TypeDescriptor<T0> | string,
|
|
1109
|
+
TypeDescriptor<T1> | string,
|
|
1110
|
+
TypeDescriptor<T2> | string
|
|
1111
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1112
|
+
function new_<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1113
|
+
function readSetting<T0 = any, T1 = any>(tx: TransactionBlock, args: [object_.ID | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1114
|
+
function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1115
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1116
|
+
T1 | TransactionArgument
|
|
1117
|
+
], typeArguments: [
|
|
1118
|
+
TypeDescriptor<T0> | string,
|
|
1119
|
+
TypeDescriptor<T1> | string,
|
|
1120
|
+
TypeDescriptor<T2> | string
|
|
1121
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1122
|
+
function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1123
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1124
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1125
|
+
T1 | TransactionArgument
|
|
1126
|
+
], typeArguments: [
|
|
1127
|
+
TypeDescriptor<T0> | string,
|
|
1128
|
+
TypeDescriptor<T1> | string,
|
|
1129
|
+
TypeDescriptor<T2> | string
|
|
1130
|
+
]): TransactionArgument & [
|
|
1131
|
+
TransactionArgument,
|
|
1132
|
+
TransactionArgument,
|
|
1133
|
+
TransactionArgument
|
|
1134
|
+
];
|
|
1135
|
+
function share<T0 = any>(tx: TransactionBlock, args: [config.Config<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1136
|
+
function transfer<T0 = any>(tx: TransactionBlock, args: [
|
|
1137
|
+
config.Config<T0> | TransactionArgument,
|
|
1138
|
+
string | TransactionArgument
|
|
1139
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1140
|
+
}
|
|
1141
|
+
namespace view {
|
|
1142
|
+
function addForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1143
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1144
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1145
|
+
T1 | TransactionArgument,
|
|
1146
|
+
T2 | TransactionArgument
|
|
1147
|
+
], typeArguments: [
|
|
1148
|
+
TypeDescriptor<T0> | string,
|
|
1149
|
+
TypeDescriptor<T1> | string,
|
|
1150
|
+
TypeDescriptor<T2> | string
|
|
1151
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
|
1152
|
+
function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1153
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1154
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1155
|
+
T1 | TransactionArgument
|
|
1156
|
+
], typeArguments: [
|
|
1157
|
+
TypeDescriptor<T0> | string,
|
|
1158
|
+
TypeDescriptor<T1> | string,
|
|
1159
|
+
TypeDescriptor<T2> | string
|
|
1160
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
|
1161
|
+
function existsWithType<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1162
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1163
|
+
T1 | TransactionArgument
|
|
1164
|
+
], typeArguments: [
|
|
1165
|
+
TypeDescriptor<T0> | string,
|
|
1166
|
+
TypeDescriptor<T1> | string,
|
|
1167
|
+
TypeDescriptor<T2> | string
|
|
1168
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1169
|
+
function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1170
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1171
|
+
T1 | TransactionArgument
|
|
1172
|
+
], typeArguments: [
|
|
1173
|
+
TypeDescriptor<T0> | string,
|
|
1174
|
+
TypeDescriptor<T1> | string,
|
|
1175
|
+
TypeDescriptor<T2> | string
|
|
1176
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1177
|
+
function new_<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[config.Config<T0>]>>;
|
|
1178
|
+
function readSetting<T0 = any, T1 = any>(client: SuiClient, args: [object_.ID | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
1179
|
+
function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1180
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1181
|
+
T1 | TransactionArgument
|
|
1182
|
+
], typeArguments: [
|
|
1183
|
+
TypeDescriptor<T0> | string,
|
|
1184
|
+
TypeDescriptor<T1> | string,
|
|
1185
|
+
TypeDescriptor<T2> | string
|
|
1186
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
|
1187
|
+
function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1188
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1189
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1190
|
+
T1 | TransactionArgument
|
|
1191
|
+
], typeArguments: [
|
|
1192
|
+
TypeDescriptor<T0> | string,
|
|
1193
|
+
TypeDescriptor<T1> | string,
|
|
1194
|
+
TypeDescriptor<T2> | string
|
|
1195
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
|
1196
|
+
function share<T0 = any>(client: SuiClient, args: [config.Config<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1197
|
+
function transfer<T0 = any>(client: SuiClient, args: [
|
|
1198
|
+
config.Config<T0> | TransactionArgument,
|
|
1199
|
+
string | TransactionArgument
|
|
1200
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
911
1203
|
export declare namespace deny_list {
|
|
1204
|
+
interface AddressKey {
|
|
1205
|
+
pos0: string;
|
|
1206
|
+
}
|
|
1207
|
+
namespace AddressKey {
|
|
1208
|
+
const TYPE_QNAME = "0x2::deny_list::AddressKey";
|
|
1209
|
+
function type(): TypeDescriptor<AddressKey>;
|
|
1210
|
+
}
|
|
1211
|
+
interface AddressKeyInstance extends TypedEventInstance<AddressKey> {
|
|
1212
|
+
data_decoded: AddressKey;
|
|
1213
|
+
type_arguments: [];
|
|
1214
|
+
}
|
|
1215
|
+
interface ConfigKey {
|
|
1216
|
+
per_type_index: bigint;
|
|
1217
|
+
per_type_key: number[];
|
|
1218
|
+
}
|
|
1219
|
+
namespace ConfigKey {
|
|
1220
|
+
const TYPE_QNAME = "0x2::deny_list::ConfigKey";
|
|
1221
|
+
function type(): TypeDescriptor<ConfigKey>;
|
|
1222
|
+
}
|
|
1223
|
+
interface ConfigKeyInstance extends TypedEventInstance<ConfigKey> {
|
|
1224
|
+
data_decoded: ConfigKey;
|
|
1225
|
+
type_arguments: [];
|
|
1226
|
+
}
|
|
1227
|
+
interface ConfigWriteCap {
|
|
1228
|
+
dummy_field: Boolean;
|
|
1229
|
+
}
|
|
1230
|
+
namespace ConfigWriteCap {
|
|
1231
|
+
const TYPE_QNAME = "0x2::deny_list::ConfigWriteCap";
|
|
1232
|
+
function type(): TypeDescriptor<ConfigWriteCap>;
|
|
1233
|
+
}
|
|
912
1234
|
interface DenyList {
|
|
913
1235
|
id: object_.UID;
|
|
914
1236
|
lists: bag.Bag;
|
|
@@ -917,6 +1239,29 @@ export declare namespace deny_list {
|
|
|
917
1239
|
const TYPE_QNAME = "0x2::deny_list::DenyList";
|
|
918
1240
|
function type(): TypeDescriptor<DenyList>;
|
|
919
1241
|
}
|
|
1242
|
+
interface GlobalPauseKey {
|
|
1243
|
+
dummy_field: Boolean;
|
|
1244
|
+
}
|
|
1245
|
+
namespace GlobalPauseKey {
|
|
1246
|
+
const TYPE_QNAME = "0x2::deny_list::GlobalPauseKey";
|
|
1247
|
+
function type(): TypeDescriptor<GlobalPauseKey>;
|
|
1248
|
+
}
|
|
1249
|
+
interface GlobalPauseKeyInstance extends TypedEventInstance<GlobalPauseKey> {
|
|
1250
|
+
data_decoded: GlobalPauseKey;
|
|
1251
|
+
type_arguments: [];
|
|
1252
|
+
}
|
|
1253
|
+
interface PerTypeConfigCreated {
|
|
1254
|
+
key: deny_list.ConfigKey;
|
|
1255
|
+
config_id: object_.ID;
|
|
1256
|
+
}
|
|
1257
|
+
namespace PerTypeConfigCreated {
|
|
1258
|
+
const TYPE_QNAME = "0x2::deny_list::PerTypeConfigCreated";
|
|
1259
|
+
function type(): TypeDescriptor<PerTypeConfigCreated>;
|
|
1260
|
+
}
|
|
1261
|
+
interface PerTypeConfigCreatedInstance extends TypedEventInstance<PerTypeConfigCreated> {
|
|
1262
|
+
data_decoded: PerTypeConfigCreated;
|
|
1263
|
+
type_arguments: [];
|
|
1264
|
+
}
|
|
920
1265
|
interface PerTypeList {
|
|
921
1266
|
id: object_.UID;
|
|
922
1267
|
denied_count: table.Table<string, bigint>;
|
|
@@ -927,7 +1272,49 @@ export declare namespace deny_list {
|
|
|
927
1272
|
function type(): TypeDescriptor<PerTypeList>;
|
|
928
1273
|
}
|
|
929
1274
|
namespace builder {
|
|
930
|
-
function
|
|
1275
|
+
function migrateV1ToV2(tx: TransactionBlock, args: [
|
|
1276
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1277
|
+
bigint | TransactionArgument,
|
|
1278
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1279
|
+
]): TransactionArgument & [
|
|
1280
|
+
TransactionArgument,
|
|
1281
|
+
TransactionArgument,
|
|
1282
|
+
TransactionArgument
|
|
1283
|
+
];
|
|
1284
|
+
function v1Add(tx: TransactionBlock, args: [
|
|
1285
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1286
|
+
bigint | TransactionArgument,
|
|
1287
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1288
|
+
string | TransactionArgument
|
|
1289
|
+
]): TransactionArgument & [
|
|
1290
|
+
TransactionArgument,
|
|
1291
|
+
TransactionArgument,
|
|
1292
|
+
TransactionArgument,
|
|
1293
|
+
TransactionArgument
|
|
1294
|
+
];
|
|
1295
|
+
function v1Contains(tx: TransactionBlock, args: [
|
|
1296
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1297
|
+
bigint | TransactionArgument,
|
|
1298
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1299
|
+
string | TransactionArgument
|
|
1300
|
+
]): TransactionArgument & [
|
|
1301
|
+
TransactionArgument,
|
|
1302
|
+
TransactionArgument,
|
|
1303
|
+
TransactionArgument,
|
|
1304
|
+
TransactionArgument
|
|
1305
|
+
];
|
|
1306
|
+
function v1Remove(tx: TransactionBlock, args: [
|
|
1307
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1308
|
+
bigint | TransactionArgument,
|
|
1309
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1310
|
+
string | TransactionArgument
|
|
1311
|
+
]): TransactionArgument & [
|
|
1312
|
+
TransactionArgument,
|
|
1313
|
+
TransactionArgument,
|
|
1314
|
+
TransactionArgument,
|
|
1315
|
+
TransactionArgument
|
|
1316
|
+
];
|
|
1317
|
+
function v2Add(tx: TransactionBlock, args: [
|
|
931
1318
|
string | TransactionObjectArgument | TransactionArgument,
|
|
932
1319
|
bigint | TransactionArgument,
|
|
933
1320
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
@@ -938,7 +1325,7 @@ export declare namespace deny_list {
|
|
|
938
1325
|
TransactionArgument,
|
|
939
1326
|
TransactionArgument
|
|
940
1327
|
];
|
|
941
|
-
function
|
|
1328
|
+
function v2ContainsCurrentEpoch(tx: TransactionBlock, args: [
|
|
942
1329
|
string | TransactionObjectArgument | TransactionArgument,
|
|
943
1330
|
bigint | TransactionArgument,
|
|
944
1331
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
@@ -949,7 +1336,54 @@ export declare namespace deny_list {
|
|
|
949
1336
|
TransactionArgument,
|
|
950
1337
|
TransactionArgument
|
|
951
1338
|
];
|
|
952
|
-
function
|
|
1339
|
+
function v2ContainsNextEpoch(tx: TransactionBlock, args: [
|
|
1340
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1341
|
+
bigint | TransactionArgument,
|
|
1342
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1343
|
+
string | TransactionArgument
|
|
1344
|
+
]): TransactionArgument & [
|
|
1345
|
+
TransactionArgument,
|
|
1346
|
+
TransactionArgument,
|
|
1347
|
+
TransactionArgument,
|
|
1348
|
+
TransactionArgument
|
|
1349
|
+
];
|
|
1350
|
+
function v2DisableGlobalPause(tx: TransactionBlock, args: [
|
|
1351
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1352
|
+
bigint | TransactionArgument,
|
|
1353
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1354
|
+
]): TransactionArgument & [
|
|
1355
|
+
TransactionArgument,
|
|
1356
|
+
TransactionArgument,
|
|
1357
|
+
TransactionArgument
|
|
1358
|
+
];
|
|
1359
|
+
function v2EnableGlobalPause(tx: TransactionBlock, args: [
|
|
1360
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1361
|
+
bigint | TransactionArgument,
|
|
1362
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1363
|
+
]): TransactionArgument & [
|
|
1364
|
+
TransactionArgument,
|
|
1365
|
+
TransactionArgument,
|
|
1366
|
+
TransactionArgument
|
|
1367
|
+
];
|
|
1368
|
+
function v2IsGlobalPauseEnabledCurrentEpoch(tx: TransactionBlock, args: [
|
|
1369
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1370
|
+
bigint | TransactionArgument,
|
|
1371
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1372
|
+
]): TransactionArgument & [
|
|
1373
|
+
TransactionArgument,
|
|
1374
|
+
TransactionArgument,
|
|
1375
|
+
TransactionArgument
|
|
1376
|
+
];
|
|
1377
|
+
function v2IsGlobalPauseEnabledNextEpoch(tx: TransactionBlock, args: [
|
|
1378
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1379
|
+
bigint | TransactionArgument,
|
|
1380
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1381
|
+
]): TransactionArgument & [
|
|
1382
|
+
TransactionArgument,
|
|
1383
|
+
TransactionArgument,
|
|
1384
|
+
TransactionArgument
|
|
1385
|
+
];
|
|
1386
|
+
function v2Remove(tx: TransactionBlock, args: [
|
|
953
1387
|
string | TransactionObjectArgument | TransactionArgument,
|
|
954
1388
|
bigint | TransactionArgument,
|
|
955
1389
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
@@ -962,19 +1396,68 @@ export declare namespace deny_list {
|
|
|
962
1396
|
];
|
|
963
1397
|
}
|
|
964
1398
|
namespace view {
|
|
965
|
-
function
|
|
1399
|
+
function migrateV1ToV2(client: SuiClient, args: [
|
|
1400
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1401
|
+
bigint | TransactionArgument,
|
|
1402
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1403
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1404
|
+
function v1Add(client: SuiClient, args: [
|
|
1405
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1406
|
+
bigint | TransactionArgument,
|
|
1407
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1408
|
+
string | TransactionArgument
|
|
1409
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1410
|
+
function v1Contains(client: SuiClient, args: [
|
|
1411
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1412
|
+
bigint | TransactionArgument,
|
|
1413
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1414
|
+
string | TransactionArgument
|
|
1415
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1416
|
+
function v1Remove(client: SuiClient, args: [
|
|
1417
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1418
|
+
bigint | TransactionArgument,
|
|
1419
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1420
|
+
string | TransactionArgument
|
|
1421
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1422
|
+
function v2Add(client: SuiClient, args: [
|
|
966
1423
|
string | TransactionObjectArgument | TransactionArgument,
|
|
967
1424
|
bigint | TransactionArgument,
|
|
968
1425
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
969
1426
|
string | TransactionArgument
|
|
970
1427
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
971
|
-
function
|
|
1428
|
+
function v2ContainsCurrentEpoch(client: SuiClient, args: [
|
|
972
1429
|
string | TransactionObjectArgument | TransactionArgument,
|
|
973
1430
|
bigint | TransactionArgument,
|
|
974
1431
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
975
1432
|
string | TransactionArgument
|
|
976
1433
|
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
977
|
-
function
|
|
1434
|
+
function v2ContainsNextEpoch(client: SuiClient, args: [
|
|
1435
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1436
|
+
bigint | TransactionArgument,
|
|
1437
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1438
|
+
string | TransactionArgument
|
|
1439
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1440
|
+
function v2DisableGlobalPause(client: SuiClient, args: [
|
|
1441
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1442
|
+
bigint | TransactionArgument,
|
|
1443
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1444
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1445
|
+
function v2EnableGlobalPause(client: SuiClient, args: [
|
|
1446
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1447
|
+
bigint | TransactionArgument,
|
|
1448
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1449
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1450
|
+
function v2IsGlobalPauseEnabledCurrentEpoch(client: SuiClient, args: [
|
|
1451
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1452
|
+
bigint | TransactionArgument,
|
|
1453
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1454
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1455
|
+
function v2IsGlobalPauseEnabledNextEpoch(client: SuiClient, args: [
|
|
1456
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1457
|
+
bigint | TransactionArgument,
|
|
1458
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1459
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1460
|
+
function v2Remove(client: SuiClient, args: [
|
|
978
1461
|
string | TransactionObjectArgument | TransactionArgument,
|
|
979
1462
|
bigint | TransactionArgument,
|
|
980
1463
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
@@ -1258,6 +1741,31 @@ export declare namespace dynamic_object_field {
|
|
|
1258
1741
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1259
1742
|
T0 | TransactionArgument
|
|
1260
1743
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1744
|
+
function internalAdd<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1745
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1746
|
+
T0 | TransactionArgument,
|
|
1747
|
+
T1 | TransactionArgument
|
|
1748
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1749
|
+
TransactionArgument,
|
|
1750
|
+
TransactionArgument,
|
|
1751
|
+
TransactionArgument
|
|
1752
|
+
];
|
|
1753
|
+
function internalBorrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1754
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1755
|
+
T0 | TransactionArgument
|
|
1756
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1757
|
+
function internalBorrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1758
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1759
|
+
T0 | TransactionArgument
|
|
1760
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1761
|
+
function internalExistsWithType<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1762
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1763
|
+
T0 | TransactionArgument
|
|
1764
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1765
|
+
function internalRemove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1766
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1767
|
+
T0 | TransactionArgument
|
|
1768
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1261
1769
|
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1262
1770
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1263
1771
|
T0 | TransactionArgument
|
|
@@ -1289,6 +1797,27 @@ export declare namespace dynamic_object_field {
|
|
|
1289
1797
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1290
1798
|
T0 | TransactionArgument
|
|
1291
1799
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
1800
|
+
function internalAdd<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1801
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1802
|
+
T0 | TransactionArgument,
|
|
1803
|
+
T1 | TransactionArgument
|
|
1804
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1805
|
+
function internalBorrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1806
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1807
|
+
T0 | TransactionArgument
|
|
1808
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1809
|
+
function internalBorrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1810
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1811
|
+
T0 | TransactionArgument
|
|
1812
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1813
|
+
function internalExistsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1814
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1815
|
+
T0 | TransactionArgument
|
|
1816
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1817
|
+
function internalRemove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1818
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1819
|
+
T0 | TransactionArgument
|
|
1820
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1292
1821
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1293
1822
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1294
1823
|
T0 | TransactionArgument
|