@typemove/sui 1.5.6-rc.2 → 1.5.7-rc.1
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/0x2.d.ts +261 -2
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +897 -72
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +1288 -127
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +3045 -268
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.js +2 -2
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +261 -2
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +897 -72
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +1288 -127
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +3045 -268
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.js +2 -2
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +4 -4
- package/src/builtin/0x2.ts +1972 -699
- package/src/builtin/0x3.ts +5427 -777
- package/src/codegen/codegen.ts +2 -2
- package/src/tests/types/testnet/0xdee9.ts +1890 -173
|
@@ -182,6 +182,7 @@ export declare namespace balance {
|
|
|
182
182
|
string | TransactionObjectArgument | TransactionArgument,
|
|
183
183
|
balance.Balance<T0> | TransactionArgument
|
|
184
184
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
185
|
+
function destroySupply<T0 = any>(tx: TransactionBlock, args: [balance.Supply<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
185
186
|
function destroyZero<T0 = any>(tx: TransactionBlock, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
186
187
|
function increaseSupply<T0 = any>(tx: TransactionBlock, args: [
|
|
187
188
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -206,6 +207,7 @@ export declare namespace balance {
|
|
|
206
207
|
string | TransactionObjectArgument | TransactionArgument,
|
|
207
208
|
balance.Balance<T0> | TransactionArgument
|
|
208
209
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
210
|
+
function destroySupply<T0 = any>(client: SuiClient, args: [balance.Supply<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
209
211
|
function destroyZero<T0 = any>(client: SuiClient, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
210
212
|
function increaseSupply<T0 = any>(client: SuiClient, args: [
|
|
211
213
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -924,8 +926,61 @@ export declare namespace deny_list {
|
|
|
924
926
|
const TYPE_QNAME = "0x2::deny_list::PerTypeList";
|
|
925
927
|
function type(): TypeDescriptor<PerTypeList>;
|
|
926
928
|
}
|
|
927
|
-
namespace builder {
|
|
928
|
-
|
|
929
|
+
namespace builder {
|
|
930
|
+
function add(tx: TransactionBlock, args: [
|
|
931
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
932
|
+
bigint | TransactionArgument,
|
|
933
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
934
|
+
string | TransactionArgument
|
|
935
|
+
]): TransactionArgument & [
|
|
936
|
+
TransactionArgument,
|
|
937
|
+
TransactionArgument,
|
|
938
|
+
TransactionArgument,
|
|
939
|
+
TransactionArgument
|
|
940
|
+
];
|
|
941
|
+
function contains(tx: TransactionBlock, args: [
|
|
942
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
943
|
+
bigint | TransactionArgument,
|
|
944
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
945
|
+
string | TransactionArgument
|
|
946
|
+
]): TransactionArgument & [
|
|
947
|
+
TransactionArgument,
|
|
948
|
+
TransactionArgument,
|
|
949
|
+
TransactionArgument,
|
|
950
|
+
TransactionArgument
|
|
951
|
+
];
|
|
952
|
+
function remove(tx: TransactionBlock, args: [
|
|
953
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
954
|
+
bigint | TransactionArgument,
|
|
955
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
956
|
+
string | TransactionArgument
|
|
957
|
+
]): TransactionArgument & [
|
|
958
|
+
TransactionArgument,
|
|
959
|
+
TransactionArgument,
|
|
960
|
+
TransactionArgument,
|
|
961
|
+
TransactionArgument
|
|
962
|
+
];
|
|
963
|
+
}
|
|
964
|
+
namespace view {
|
|
965
|
+
function add(client: SuiClient, args: [
|
|
966
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
967
|
+
bigint | TransactionArgument,
|
|
968
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
969
|
+
string | TransactionArgument
|
|
970
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
971
|
+
function contains(client: SuiClient, args: [
|
|
972
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
973
|
+
bigint | TransactionArgument,
|
|
974
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
975
|
+
string | TransactionArgument
|
|
976
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
977
|
+
function remove(client: SuiClient, args: [
|
|
978
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
979
|
+
bigint | TransactionArgument,
|
|
980
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
981
|
+
string | TransactionArgument
|
|
982
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
983
|
+
}
|
|
929
984
|
}
|
|
930
985
|
export declare namespace display {
|
|
931
986
|
interface Display<T0> {
|
|
@@ -1062,10 +1117,19 @@ export declare namespace dynamic_field {
|
|
|
1062
1117
|
TransactionArgument,
|
|
1063
1118
|
TransactionArgument
|
|
1064
1119
|
];
|
|
1120
|
+
function addChildObject<T0 = any>(tx: TransactionBlock, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1065
1121
|
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1066
1122
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1067
1123
|
T0 | TransactionArgument
|
|
1068
1124
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1125
|
+
function borrowChildObject<T0 = any>(tx: TransactionBlock, args: [
|
|
1126
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1127
|
+
string | TransactionArgument
|
|
1128
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1129
|
+
function borrowChildObjectMut<T0 = any>(tx: TransactionBlock, args: [
|
|
1130
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1131
|
+
string | TransactionArgument
|
|
1132
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1069
1133
|
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1070
1134
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1071
1135
|
T0 | TransactionArgument
|
|
@@ -1078,10 +1142,22 @@ export declare namespace dynamic_field {
|
|
|
1078
1142
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1079
1143
|
T0 | TransactionArgument
|
|
1080
1144
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1145
|
+
function fieldInfo<T0 = any>(tx: TransactionBlock, args: [
|
|
1146
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1147
|
+
T0 | TransactionArgument
|
|
1148
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1149
|
+
function fieldInfoMut<T0 = any>(tx: TransactionBlock, args: [
|
|
1150
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1151
|
+
T0 | TransactionArgument
|
|
1152
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1153
|
+
function hasChildObject(tx: TransactionBlock, args: [string | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1154
|
+
function hasChildObjectWithTy<T0 = any>(tx: TransactionBlock, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1155
|
+
function hashTypeAndKey<T0 = any>(tx: TransactionBlock, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1081
1156
|
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1082
1157
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1083
1158
|
T0 | TransactionArgument
|
|
1084
1159
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1160
|
+
function removeChildObject<T0 = any>(tx: TransactionBlock, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1085
1161
|
function removeIfExists<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1086
1162
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1087
1163
|
T0 | TransactionArgument
|
|
@@ -1093,10 +1169,19 @@ export declare namespace dynamic_field {
|
|
|
1093
1169
|
T0 | TransactionArgument,
|
|
1094
1170
|
T1 | TransactionArgument
|
|
1095
1171
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1172
|
+
function addChildObject<T0 = any>(client: SuiClient, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1096
1173
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1097
1174
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1098
1175
|
T0 | TransactionArgument
|
|
1099
1176
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1177
|
+
function borrowChildObject<T0 = any>(client: SuiClient, args: [
|
|
1178
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1179
|
+
string | TransactionArgument
|
|
1180
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1181
|
+
function borrowChildObjectMut<T0 = any>(client: SuiClient, args: [
|
|
1182
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1183
|
+
string | TransactionArgument
|
|
1184
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1100
1185
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1101
1186
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1102
1187
|
T0 | TransactionArgument
|
|
@@ -1109,10 +1194,22 @@ export declare namespace dynamic_field {
|
|
|
1109
1194
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1110
1195
|
T0 | TransactionArgument
|
|
1111
1196
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1197
|
+
function fieldInfo<T0 = any>(client: SuiClient, args: [
|
|
1198
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1199
|
+
T0 | TransactionArgument
|
|
1200
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
1201
|
+
function fieldInfoMut<T0 = any>(client: SuiClient, args: [
|
|
1202
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1203
|
+
T0 | TransactionArgument
|
|
1204
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
1205
|
+
function hasChildObject(client: SuiClient, args: [string | TransactionArgument, string | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1206
|
+
function hasChildObjectWithTy<T0 = any>(client: SuiClient, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1207
|
+
function hashTypeAndKey<T0 = any>(client: SuiClient, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1112
1208
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1113
1209
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1114
1210
|
T0 | TransactionArgument
|
|
1115
1211
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1212
|
+
function removeChildObject<T0 = any>(client: SuiClient, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
1116
1213
|
function removeIfExists<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1117
1214
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1118
1215
|
T0 | TransactionArgument
|
|
@@ -1443,18 +1540,146 @@ export declare namespace group_ops {
|
|
|
1443
1540
|
type_arguments: [string];
|
|
1444
1541
|
}
|
|
1445
1542
|
namespace builder {
|
|
1543
|
+
function add<T0 = any>(tx: TransactionBlock, args: [
|
|
1544
|
+
number | TransactionArgument,
|
|
1545
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1546
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1547
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1548
|
+
TransactionArgument,
|
|
1549
|
+
TransactionArgument,
|
|
1550
|
+
TransactionArgument
|
|
1551
|
+
];
|
|
1446
1552
|
function bytes<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1553
|
+
function div<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1554
|
+
number | TransactionArgument,
|
|
1555
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1556
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1557
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1558
|
+
TransactionArgument,
|
|
1559
|
+
TransactionArgument,
|
|
1560
|
+
TransactionArgument
|
|
1561
|
+
];
|
|
1447
1562
|
function equal<T0 = any>(tx: TransactionBlock, args: [
|
|
1448
1563
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1449
1564
|
string | TransactionObjectArgument | TransactionArgument
|
|
1450
1565
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1566
|
+
function fromBytes<T0 = any>(tx: TransactionBlock, args: [
|
|
1567
|
+
number | TransactionArgument,
|
|
1568
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1569
|
+
Boolean | TransactionArgument
|
|
1570
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1571
|
+
TransactionArgument,
|
|
1572
|
+
TransactionArgument,
|
|
1573
|
+
TransactionArgument
|
|
1574
|
+
];
|
|
1575
|
+
function hashTo<T0 = any>(tx: TransactionBlock, args: [
|
|
1576
|
+
number | TransactionArgument,
|
|
1577
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1578
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1579
|
+
function mul<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1580
|
+
number | TransactionArgument,
|
|
1581
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1582
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1583
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1584
|
+
TransactionArgument,
|
|
1585
|
+
TransactionArgument,
|
|
1586
|
+
TransactionArgument
|
|
1587
|
+
];
|
|
1588
|
+
function multiScalarMultiplication<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1589
|
+
number | TransactionArgument,
|
|
1590
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1591
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1592
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1593
|
+
TransactionArgument,
|
|
1594
|
+
TransactionArgument,
|
|
1595
|
+
TransactionArgument
|
|
1596
|
+
];
|
|
1597
|
+
function pairing<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
1598
|
+
number | TransactionArgument,
|
|
1599
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1600
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1601
|
+
], typeArguments: [
|
|
1602
|
+
TypeDescriptor<T0> | string,
|
|
1603
|
+
TypeDescriptor<T1> | string,
|
|
1604
|
+
TypeDescriptor<T2> | string
|
|
1605
|
+
]): TransactionArgument & [
|
|
1606
|
+
TransactionArgument,
|
|
1607
|
+
TransactionArgument,
|
|
1608
|
+
TransactionArgument
|
|
1609
|
+
];
|
|
1610
|
+
function setAsPrefix(tx: TransactionBlock, args: [
|
|
1611
|
+
bigint | TransactionArgument,
|
|
1612
|
+
Boolean | TransactionArgument,
|
|
1613
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1614
|
+
]): TransactionArgument & [
|
|
1615
|
+
TransactionArgument,
|
|
1616
|
+
TransactionArgument,
|
|
1617
|
+
TransactionArgument
|
|
1618
|
+
];
|
|
1619
|
+
function sub<T0 = any>(tx: TransactionBlock, args: [
|
|
1620
|
+
number | TransactionArgument,
|
|
1621
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1622
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1623
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1624
|
+
TransactionArgument,
|
|
1625
|
+
TransactionArgument,
|
|
1626
|
+
TransactionArgument
|
|
1627
|
+
];
|
|
1451
1628
|
}
|
|
1452
1629
|
namespace view {
|
|
1630
|
+
function add<T0 = any>(client: SuiClient, args: [
|
|
1631
|
+
number | TransactionArgument,
|
|
1632
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1633
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1634
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
1453
1635
|
function bytes<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1636
|
+
function div<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1637
|
+
number | TransactionArgument,
|
|
1638
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1639
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1640
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
1454
1641
|
function equal<T0 = any>(client: SuiClient, args: [
|
|
1455
1642
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1456
1643
|
string | TransactionObjectArgument | TransactionArgument
|
|
1457
1644
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1645
|
+
function fromBytes<T0 = any>(client: SuiClient, args: [
|
|
1646
|
+
number | TransactionArgument,
|
|
1647
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1648
|
+
Boolean | TransactionArgument
|
|
1649
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
1650
|
+
function hashTo<T0 = any>(client: SuiClient, args: [
|
|
1651
|
+
number | TransactionArgument,
|
|
1652
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1653
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
1654
|
+
function mul<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1655
|
+
number | TransactionArgument,
|
|
1656
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1657
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1658
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
1659
|
+
function multiScalarMultiplication<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1660
|
+
number | TransactionArgument,
|
|
1661
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1662
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1663
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
1664
|
+
function pairing<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
1665
|
+
number | TransactionArgument,
|
|
1666
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1667
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1668
|
+
], typeArguments: [
|
|
1669
|
+
TypeDescriptor<T0> | string,
|
|
1670
|
+
TypeDescriptor<T1> | string,
|
|
1671
|
+
TypeDescriptor<T2> | string
|
|
1672
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<T2>]>>;
|
|
1673
|
+
function setAsPrefix(client: SuiClient, args: [
|
|
1674
|
+
bigint | TransactionArgument,
|
|
1675
|
+
Boolean | TransactionArgument,
|
|
1676
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1677
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1678
|
+
function sub<T0 = any>(client: SuiClient, args: [
|
|
1679
|
+
number | TransactionArgument,
|
|
1680
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1681
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
1682
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
1458
1683
|
}
|
|
1459
1684
|
}
|
|
1460
1685
|
export declare namespace hash {
|
|
@@ -1702,6 +1927,10 @@ export declare namespace kiosk {
|
|
|
1702
1927
|
TransactionArgument,
|
|
1703
1928
|
TransactionArgument
|
|
1704
1929
|
];
|
|
1930
|
+
function lockInternal<T0 = any>(tx: TransactionBlock, args: [
|
|
1931
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1932
|
+
T0 | TransactionArgument
|
|
1933
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1705
1934
|
function new_(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
1706
1935
|
function owner(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1707
1936
|
function place<T0 = any>(tx: TransactionBlock, args: [
|
|
@@ -1724,6 +1953,10 @@ export declare namespace kiosk {
|
|
|
1724
1953
|
TransactionArgument,
|
|
1725
1954
|
TransactionArgument
|
|
1726
1955
|
];
|
|
1956
|
+
function placeInternal<T0 = any>(tx: TransactionBlock, args: [
|
|
1957
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1958
|
+
T0 | TransactionArgument
|
|
1959
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1727
1960
|
function profitsAmount(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1728
1961
|
function profitsMut(tx: TransactionBlock, args: [
|
|
1729
1962
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1800,6 +2033,7 @@ export declare namespace kiosk {
|
|
|
1800
2033
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1801
2034
|
string | TransactionObjectArgument | TransactionArgument
|
|
1802
2035
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2036
|
+
function uidMutInternal(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1803
2037
|
function withdraw(tx: TransactionBlock, args: [
|
|
1804
2038
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1805
2039
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1879,6 +2113,10 @@ export declare namespace kiosk {
|
|
|
1879
2113
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1880
2114
|
T0 | TransactionArgument
|
|
1881
2115
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2116
|
+
function lockInternal<T0 = any>(client: SuiClient, args: [
|
|
2117
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2118
|
+
T0 | TransactionArgument
|
|
2119
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1882
2120
|
function new_(client: SuiClient, args: []): Promise<TypedDevInspectResults<[kiosk.Kiosk, kiosk.KioskOwnerCap]>>;
|
|
1883
2121
|
function owner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1884
2122
|
function place<T0 = any>(client: SuiClient, args: [
|
|
@@ -1892,6 +2130,10 @@ export declare namespace kiosk {
|
|
|
1892
2130
|
T0 | TransactionArgument,
|
|
1893
2131
|
bigint | TransactionArgument
|
|
1894
2132
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2133
|
+
function placeInternal<T0 = any>(client: SuiClient, args: [
|
|
2134
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2135
|
+
T0 | TransactionArgument
|
|
2136
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1895
2137
|
function profitsAmount(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1896
2138
|
function profitsMut(client: SuiClient, args: [
|
|
1897
2139
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1944,6 +2186,7 @@ export declare namespace kiosk {
|
|
|
1944
2186
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1945
2187
|
string | TransactionObjectArgument | TransactionArgument
|
|
1946
2188
|
]): Promise<TypedDevInspectResults<[string]>>;
|
|
2189
|
+
function uidMutInternal(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1947
2190
|
function withdraw(client: SuiClient, args: [
|
|
1948
2191
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1949
2192
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -2229,7 +2472,9 @@ export declare namespace object_ {
|
|
|
2229
2472
|
function type(): TypeDescriptor<UID>;
|
|
2230
2473
|
}
|
|
2231
2474
|
namespace builder {
|
|
2475
|
+
function authenticatorState(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2232
2476
|
function borrowId<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2477
|
+
function clock(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2233
2478
|
function delete_(tx: TransactionBlock, args: [object_.UID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2234
2479
|
function id<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2235
2480
|
function idAddress<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
@@ -2239,13 +2484,18 @@ export declare namespace object_ {
|
|
|
2239
2484
|
function idToAddress(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2240
2485
|
function idToBytes(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2241
2486
|
function new_(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2487
|
+
function newUidFromHash(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2488
|
+
function randomnessState(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2489
|
+
function suiDenyListObjectId(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2242
2490
|
function uidAsInner(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2243
2491
|
function uidToAddress(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2244
2492
|
function uidToBytes(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2245
2493
|
function uidToInner(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2246
2494
|
}
|
|
2247
2495
|
namespace view {
|
|
2496
|
+
function authenticatorState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
2248
2497
|
function borrowId<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2498
|
+
function clock(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
2249
2499
|
function delete_(client: SuiClient, args: [object_.UID | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
2250
2500
|
function id<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2251
2501
|
function idAddress<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
@@ -2255,6 +2505,9 @@ export declare namespace object_ {
|
|
|
2255
2505
|
function idToAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2256
2506
|
function idToBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
2257
2507
|
function new_(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
2508
|
+
function newUidFromHash(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
2509
|
+
function randomnessState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
2510
|
+
function suiDenyListObjectId(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
2258
2511
|
function uidAsInner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2259
2512
|
function uidToAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2260
2513
|
function uidToBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
@@ -3365,6 +3618,7 @@ export declare namespace transfer {
|
|
|
3365
3618
|
}
|
|
3366
3619
|
namespace builder {
|
|
3367
3620
|
function freezeObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3621
|
+
function freezeObjectImpl<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3368
3622
|
function publicFreezeObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3369
3623
|
function publicReceive<T0 = any>(tx: TransactionBlock, args: [
|
|
3370
3624
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -3378,10 +3632,13 @@ export declare namespace transfer {
|
|
|
3378
3632
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3379
3633
|
function receivingObjectId<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3380
3634
|
function shareObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3635
|
+
function shareObjectImpl<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3381
3636
|
function transfer<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3637
|
+
function transferImpl<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3382
3638
|
}
|
|
3383
3639
|
namespace view {
|
|
3384
3640
|
function freezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3641
|
+
function freezeObjectImpl<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3385
3642
|
function publicFreezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3386
3643
|
function publicReceive<T0 = any>(client: SuiClient, args: [
|
|
3387
3644
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -3395,7 +3652,9 @@ export declare namespace transfer {
|
|
|
3395
3652
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
3396
3653
|
function receivingObjectId<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
3397
3654
|
function shareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3655
|
+
function shareObjectImpl<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3398
3656
|
function transfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3657
|
+
function transferImpl<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3399
3658
|
}
|
|
3400
3659
|
}
|
|
3401
3660
|
export declare namespace transfer_policy {
|