@typemove/sui 1.6.1 → 1.6.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x2.d.ts +35 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +109 -2
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/move-coder.test.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +35 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +107 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/move-coder.test.js.map +1 -1
- package/package.json +3 -3
- package/src/abis/0x2.json +128 -0
- package/src/builtin/0x2.ts +163 -1
|
@@ -3938,6 +3938,31 @@ export declare namespace url {
|
|
|
3938
3938
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
3939
3939
|
}
|
|
3940
3940
|
}
|
|
3941
|
+
export declare namespace vdf {
|
|
3942
|
+
namespace builder {
|
|
3943
|
+
function hashToInput(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3944
|
+
function vdfVerify(tx: TransactionBlock, args: [
|
|
3945
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
3946
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
3947
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
3948
|
+
bigint | TransactionArgument
|
|
3949
|
+
]): TransactionArgument & [
|
|
3950
|
+
TransactionArgument,
|
|
3951
|
+
TransactionArgument,
|
|
3952
|
+
TransactionArgument,
|
|
3953
|
+
TransactionArgument
|
|
3954
|
+
];
|
|
3955
|
+
}
|
|
3956
|
+
namespace view {
|
|
3957
|
+
function hashToInput(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
3958
|
+
function vdfVerify(client: SuiClient, args: [
|
|
3959
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
3960
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
3961
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
3962
|
+
bigint | TransactionArgument
|
|
3963
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
3964
|
+
}
|
|
3965
|
+
}
|
|
3941
3966
|
export declare namespace vec_map {
|
|
3942
3967
|
interface Entry<T0, T1> {
|
|
3943
3968
|
key: T0;
|
|
@@ -3969,6 +3994,10 @@ export declare namespace vec_map {
|
|
|
3969
3994
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3970
3995
|
function destroyEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3971
3996
|
function empty<T0 = any, T1 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
|
3997
|
+
function fromKeysValues<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
3998
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3999
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
4000
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3972
4001
|
function get<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
3973
4002
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3974
4003
|
string | TransactionObjectArgument | TransactionArgument
|
|
@@ -4027,6 +4056,10 @@ export declare namespace vec_map {
|
|
|
4027
4056
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
4028
4057
|
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
4029
4058
|
function empty<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
|
4059
|
+
function fromKeysValues<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
4060
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4061
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
4062
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
|
4030
4063
|
function get<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
4031
4064
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4032
4065
|
string | TransactionObjectArgument | TransactionArgument
|
|
@@ -4093,6 +4126,7 @@ export declare namespace vec_set {
|
|
|
4093
4126
|
string | TransactionObjectArgument | TransactionArgument
|
|
4094
4127
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
4095
4128
|
function empty<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
4129
|
+
function fromKeys<T0 = any>(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
4096
4130
|
function insert<T0 = any>(tx: TransactionBlock, args: [
|
|
4097
4131
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4098
4132
|
T0 | TransactionArgument
|
|
@@ -4113,6 +4147,7 @@ export declare namespace vec_set {
|
|
|
4113
4147
|
string | TransactionObjectArgument | TransactionArgument
|
|
4114
4148
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
4115
4149
|
function empty<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
|
4150
|
+
function fromKeys<T0 = any>(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
|
4116
4151
|
function insert<T0 = any>(client: SuiClient, args: [
|
|
4117
4152
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4118
4153
|
T0 | TransactionArgument
|