@typemove/sui 1.13.4 → 1.13.5-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/esm/builtin/0x1.d.ts +112 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +347 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +286 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +2919 -1823
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +24 -24
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +184 -99
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +224 -22
- package/src/abis/0x2.json +5544 -3367
- package/src/abis/0x3.json +260 -186
- package/src/builtin/0x1.ts +525 -1
- package/src/builtin/0x2.ts +3111 -1441
- package/src/builtin/0x3.ts +253 -142
|
@@ -1835,6 +1835,7 @@ export declare namespace display {
|
|
|
1835
1835
|
TransactionArgument
|
|
1836
1836
|
];
|
|
1837
1837
|
function createAndKeep<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1838
|
+
function destroy<T0 = any>(tx: Transaction, args: [display.Display<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1838
1839
|
function edit<T0 = any>(tx: Transaction, args: [
|
|
1839
1840
|
string | TransactionObjectArgument,
|
|
1840
1841
|
string | TransactionArgument,
|
|
@@ -1864,6 +1865,7 @@ export declare namespace display {
|
|
|
1864
1865
|
function add<T0 = any>(client: SuiJsonRpcClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1865
1866
|
function addMultiple<T0 = any>(client: SuiJsonRpcClient, args: [string, string[], string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1866
1867
|
function createAndKeep<T0 = any>(client: SuiJsonRpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1868
|
+
function destroy<T0 = any>(client: SuiJsonRpcClient, args: [display.Display<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1867
1869
|
function edit<T0 = any>(client: SuiJsonRpcClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1868
1870
|
function fields<T0 = any>(client: SuiJsonRpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1869
1871
|
function isAuthorized<T0 = any>(client: SuiJsonRpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
@@ -1874,6 +1876,144 @@ export declare namespace display {
|
|
|
1874
1876
|
function version<T0 = any>(client: SuiJsonRpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
|
1875
1877
|
}
|
|
1876
1878
|
}
|
|
1879
|
+
export declare namespace display_registry {
|
|
1880
|
+
interface Display<T0> {
|
|
1881
|
+
id: object$.UID;
|
|
1882
|
+
fields: vec_map.VecMap<string, string>;
|
|
1883
|
+
cap_id: _0x1.option.Option<object$.ID>;
|
|
1884
|
+
}
|
|
1885
|
+
namespace Display {
|
|
1886
|
+
const TYPE_QNAME = "0x2::display_registry::Display";
|
|
1887
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Display<T0>>;
|
|
1888
|
+
}
|
|
1889
|
+
interface DisplayCap<T0> {
|
|
1890
|
+
id: object$.UID;
|
|
1891
|
+
}
|
|
1892
|
+
namespace DisplayCap {
|
|
1893
|
+
const TYPE_QNAME = "0x2::display_registry::DisplayCap";
|
|
1894
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DisplayCap<T0>>;
|
|
1895
|
+
}
|
|
1896
|
+
interface DisplayKey<T0> {
|
|
1897
|
+
dummy_field: boolean;
|
|
1898
|
+
}
|
|
1899
|
+
namespace DisplayKey {
|
|
1900
|
+
const TYPE_QNAME = "0x2::display_registry::DisplayKey";
|
|
1901
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DisplayKey<T0>>;
|
|
1902
|
+
}
|
|
1903
|
+
type DisplayKeyInstance = TypedEventInstance<DisplayKey<any>> & {
|
|
1904
|
+
data_decoded: DisplayKey<any>;
|
|
1905
|
+
type_arguments: [string];
|
|
1906
|
+
};
|
|
1907
|
+
interface DisplayRegistry {
|
|
1908
|
+
id: object$.UID;
|
|
1909
|
+
}
|
|
1910
|
+
namespace DisplayRegistry {
|
|
1911
|
+
const TYPE_QNAME = "0x2::display_registry::DisplayRegistry";
|
|
1912
|
+
function type(): TypeDescriptor<DisplayRegistry>;
|
|
1913
|
+
}
|
|
1914
|
+
interface SystemMigrationCap {
|
|
1915
|
+
id: object$.UID;
|
|
1916
|
+
}
|
|
1917
|
+
namespace SystemMigrationCap {
|
|
1918
|
+
const TYPE_QNAME = "0x2::display_registry::SystemMigrationCap";
|
|
1919
|
+
function type(): TypeDescriptor<SystemMigrationCap>;
|
|
1920
|
+
}
|
|
1921
|
+
namespace builder {
|
|
1922
|
+
function capId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1923
|
+
function claim<T0 = any>(tx: Transaction, args: [
|
|
1924
|
+
string | TransactionObjectArgument,
|
|
1925
|
+
display.Display<T0> | TransactionArgument
|
|
1926
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1927
|
+
function claimWithPublisher<T0 = any>(tx: Transaction, args: [
|
|
1928
|
+
string | TransactionObjectArgument,
|
|
1929
|
+
string | TransactionObjectArgument
|
|
1930
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1931
|
+
function clear<T0 = any>(tx: Transaction, args: [
|
|
1932
|
+
string | TransactionObjectArgument,
|
|
1933
|
+
string | TransactionObjectArgument
|
|
1934
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1935
|
+
function deleteLegacy<T0 = any>(tx: Transaction, args: [
|
|
1936
|
+
string | TransactionObjectArgument,
|
|
1937
|
+
display.Display<T0> | TransactionArgument
|
|
1938
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1939
|
+
function destroySystemMigrationCap(tx: Transaction, args: [display_registry.SystemMigrationCap | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1940
|
+
function fields<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1941
|
+
function migrateV1ToV2<T0 = any>(tx: Transaction, args: [
|
|
1942
|
+
string | TransactionObjectArgument,
|
|
1943
|
+
display.Display<T0> | TransactionArgument
|
|
1944
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1945
|
+
function migrationCapReceiver(tx: Transaction, args: []): TransactionArgument & [];
|
|
1946
|
+
function new$<T0 = any>(tx: Transaction, args: [
|
|
1947
|
+
string | TransactionObjectArgument,
|
|
1948
|
+
_0x1.internal.Permit<T0> | TransactionArgument
|
|
1949
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1950
|
+
function newWithPublisher<T0 = any>(tx: Transaction, args: [
|
|
1951
|
+
string | TransactionObjectArgument,
|
|
1952
|
+
string | TransactionObjectArgument
|
|
1953
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1954
|
+
function set<T0 = any>(tx: Transaction, args: [
|
|
1955
|
+
string | TransactionObjectArgument,
|
|
1956
|
+
string | TransactionObjectArgument,
|
|
1957
|
+
string | TransactionArgument,
|
|
1958
|
+
string | TransactionArgument
|
|
1959
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1960
|
+
TransactionArgument,
|
|
1961
|
+
TransactionArgument,
|
|
1962
|
+
TransactionArgument,
|
|
1963
|
+
TransactionArgument
|
|
1964
|
+
];
|
|
1965
|
+
function share<T0 = any>(tx: Transaction, args: [display_registry.Display<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1966
|
+
function systemMigration<T0 = any>(tx: Transaction, args: [
|
|
1967
|
+
string | TransactionObjectArgument,
|
|
1968
|
+
string | TransactionObjectArgument,
|
|
1969
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1970
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1971
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1972
|
+
TransactionArgument,
|
|
1973
|
+
TransactionArgument,
|
|
1974
|
+
TransactionArgument,
|
|
1975
|
+
TransactionArgument
|
|
1976
|
+
];
|
|
1977
|
+
function transferMigrationCap(tx: Transaction, args: [
|
|
1978
|
+
display_registry.SystemMigrationCap | TransactionArgument,
|
|
1979
|
+
string | TransactionArgument
|
|
1980
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1981
|
+
function unset<T0 = any>(tx: Transaction, args: [
|
|
1982
|
+
string | TransactionObjectArgument,
|
|
1983
|
+
string | TransactionObjectArgument,
|
|
1984
|
+
string | TransactionArgument
|
|
1985
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1986
|
+
TransactionArgument,
|
|
1987
|
+
TransactionArgument,
|
|
1988
|
+
TransactionArgument
|
|
1989
|
+
];
|
|
1990
|
+
}
|
|
1991
|
+
namespace view {
|
|
1992
|
+
function capId<T0 = any>(client: SuiJsonRpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
|
1993
|
+
function claim<T0 = any>(client: SuiJsonRpcClient, args: [string, display.Display<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display_registry.DisplayCap<T0>]>>;
|
|
1994
|
+
function claimWithPublisher<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display_registry.DisplayCap<T0>]>>;
|
|
1995
|
+
function clear<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1996
|
+
function deleteLegacy<T0 = any>(client: SuiJsonRpcClient, args: [string, display.Display<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1997
|
+
function fields<T0 = any>(client: SuiJsonRpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1998
|
+
function migrateV1ToV2<T0 = any>(client: SuiJsonRpcClient, args: [string, display.Display<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
1999
|
+
display_registry.Display<T0>,
|
|
2000
|
+
display_registry.DisplayCap<T0>
|
|
2001
|
+
]>>;
|
|
2002
|
+
function migrationCapReceiver(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
|
2003
|
+
function new$<T0 = any>(client: SuiJsonRpcClient, args: [string, _0x1.internal.Permit<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
2004
|
+
display_registry.Display<T0>,
|
|
2005
|
+
display_registry.DisplayCap<T0>
|
|
2006
|
+
]>>;
|
|
2007
|
+
function newWithPublisher<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
2008
|
+
display_registry.Display<T0>,
|
|
2009
|
+
display_registry.DisplayCap<T0>
|
|
2010
|
+
]>>;
|
|
2011
|
+
function set<T0 = any>(client: SuiJsonRpcClient, args: [string, string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2012
|
+
function share<T0 = any>(client: SuiJsonRpcClient, args: [display_registry.Display<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2013
|
+
function systemMigration<T0 = any>(client: SuiJsonRpcClient, args: [string, string, string[], string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2014
|
+
function unset<T0 = any>(client: SuiJsonRpcClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
1877
2017
|
export declare namespace dynamic_field {
|
|
1878
2018
|
interface Field<T0, T1> {
|
|
1879
2019
|
id: object$.UID;
|
|
@@ -1899,6 +2039,7 @@ export declare namespace dynamic_field {
|
|
|
1899
2039
|
function borrowChildObject<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1900
2040
|
function borrowChildObjectMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1901
2041
|
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2042
|
+
function exists<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1902
2043
|
function exists_<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1903
2044
|
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1904
2045
|
function fieldInfo<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
@@ -1909,6 +2050,20 @@ export declare namespace dynamic_field {
|
|
|
1909
2050
|
function remove<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1910
2051
|
function removeChildObject<T0 = any>(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1911
2052
|
function removeIfExists<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2053
|
+
function removeOpt<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2054
|
+
function replace<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
|
2055
|
+
string | TransactionObjectArgument,
|
|
2056
|
+
T0 | TransactionArgument,
|
|
2057
|
+
T1 | TransactionArgument
|
|
2058
|
+
], typeArguments: [
|
|
2059
|
+
TypeDescriptor<T0> | string,
|
|
2060
|
+
TypeDescriptor<T1> | string,
|
|
2061
|
+
TypeDescriptor<T2> | string
|
|
2062
|
+
]): TransactionArgument & [
|
|
2063
|
+
TransactionArgument,
|
|
2064
|
+
TransactionArgument,
|
|
2065
|
+
TransactionArgument
|
|
2066
|
+
];
|
|
1912
2067
|
}
|
|
1913
2068
|
namespace view {
|
|
1914
2069
|
function add<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
@@ -1917,6 +2072,7 @@ export declare namespace dynamic_field {
|
|
|
1917
2072
|
function borrowChildObject<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1918
2073
|
function borrowChildObjectMut<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1919
2074
|
function borrowMut<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2075
|
+
function exists<T0 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1920
2076
|
function exists_<T0 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1921
2077
|
function existsWithType<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1922
2078
|
function fieldInfo<T0 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
@@ -1927,6 +2083,12 @@ export declare namespace dynamic_field {
|
|
|
1927
2083
|
function remove<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1928
2084
|
function removeChildObject<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
1929
2085
|
function removeIfExists<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
2086
|
+
function removeOpt<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
2087
|
+
function replace<T0 = any, T1 = any, T2 = any>(client: SuiJsonRpcClient, args: [string, T0, T1], typeArguments: [
|
|
2088
|
+
TypeDescriptor<T0> | string,
|
|
2089
|
+
TypeDescriptor<T1> | string,
|
|
2090
|
+
TypeDescriptor<T2> | string
|
|
2091
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
|
1930
2092
|
}
|
|
1931
2093
|
}
|
|
1932
2094
|
export declare namespace dynamic_object_field {
|
|
@@ -1953,6 +2115,7 @@ export declare namespace dynamic_object_field {
|
|
|
1953
2115
|
];
|
|
1954
2116
|
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1955
2117
|
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2118
|
+
function exists<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1956
2119
|
function exists_<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1957
2120
|
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1958
2121
|
function id<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
@@ -1970,11 +2133,26 @@ export declare namespace dynamic_object_field {
|
|
|
1970
2133
|
function internalExistsWithType<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1971
2134
|
function internalRemove<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1972
2135
|
function remove<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2136
|
+
function removeOpt<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2137
|
+
function replace<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
|
2138
|
+
string | TransactionObjectArgument,
|
|
2139
|
+
T0 | TransactionArgument,
|
|
2140
|
+
T1 | TransactionArgument
|
|
2141
|
+
], typeArguments: [
|
|
2142
|
+
TypeDescriptor<T0> | string,
|
|
2143
|
+
TypeDescriptor<T1> | string,
|
|
2144
|
+
TypeDescriptor<T2> | string
|
|
2145
|
+
]): TransactionArgument & [
|
|
2146
|
+
TransactionArgument,
|
|
2147
|
+
TransactionArgument,
|
|
2148
|
+
TransactionArgument
|
|
2149
|
+
];
|
|
1973
2150
|
}
|
|
1974
2151
|
namespace view {
|
|
1975
2152
|
function add<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1976
2153
|
function borrow<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1977
2154
|
function borrowMut<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2155
|
+
function exists<T0 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1978
2156
|
function exists_<T0 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1979
2157
|
function existsWithType<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1980
2158
|
function id<T0 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
|
@@ -1984,6 +2162,12 @@ export declare namespace dynamic_object_field {
|
|
|
1984
2162
|
function internalExistsWithType<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1985
2163
|
function internalRemove<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1986
2164
|
function remove<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
2165
|
+
function removeOpt<T0 = any, T1 = any>(client: SuiJsonRpcClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
2166
|
+
function replace<T0 = any, T1 = any, T2 = any>(client: SuiJsonRpcClient, args: [string, T0, T1], typeArguments: [
|
|
2167
|
+
TypeDescriptor<T0> | string,
|
|
2168
|
+
TypeDescriptor<T1> | string,
|
|
2169
|
+
TypeDescriptor<T2> | string
|
|
2170
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
|
1987
2171
|
}
|
|
1988
2172
|
}
|
|
1989
2173
|
export declare namespace ecdsa_k1 {
|
|
@@ -3005,6 +3189,8 @@ export declare namespace object$ {
|
|
|
3005
3189
|
function suiCoinRegistryAddress(tx: Transaction, args: []): TransactionArgument & [];
|
|
3006
3190
|
function suiCoinRegistryObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
3007
3191
|
function suiDenyListObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
3192
|
+
function suiDisplayRegistryAddress(tx: Transaction, args: []): TransactionArgument & [];
|
|
3193
|
+
function suiDisplayRegistryObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
3008
3194
|
function uidAsInner(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3009
3195
|
function uidToAddress(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3010
3196
|
function uidToBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -3031,6 +3217,8 @@ export declare namespace object$ {
|
|
|
3031
3217
|
function suiCoinRegistryAddress(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
|
3032
3218
|
function suiCoinRegistryObjectId(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
3033
3219
|
function suiDenyListObjectId(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
3220
|
+
function suiDisplayRegistryAddress(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
|
3221
|
+
function suiDisplayRegistryObjectId(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
3034
3222
|
function uidAsInner(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3035
3223
|
function uidToAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3036
3224
|
function uidToBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
@@ -3470,6 +3658,104 @@ export declare namespace random {
|
|
|
3470
3658
|
function shuffle<T0 = any>(client: SuiJsonRpcClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3471
3659
|
}
|
|
3472
3660
|
}
|
|
3661
|
+
export declare namespace rangeproofs {
|
|
3662
|
+
namespace builder {
|
|
3663
|
+
function verifyBulletproofsRistretto255(tx: Transaction, args: [
|
|
3664
|
+
string | TransactionObjectArgument,
|
|
3665
|
+
number | TransactionArgument,
|
|
3666
|
+
string | TransactionObjectArgument,
|
|
3667
|
+
number | TransactionArgument
|
|
3668
|
+
]): TransactionArgument & [
|
|
3669
|
+
TransactionArgument,
|
|
3670
|
+
TransactionArgument,
|
|
3671
|
+
TransactionArgument,
|
|
3672
|
+
TransactionArgument
|
|
3673
|
+
];
|
|
3674
|
+
}
|
|
3675
|
+
namespace view {
|
|
3676
|
+
function verifyBulletproofsRistretto255(client: SuiJsonRpcClient, args: [string, number, string, number]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
export declare namespace ristretto255 {
|
|
3680
|
+
interface G {
|
|
3681
|
+
dummy_field: boolean;
|
|
3682
|
+
}
|
|
3683
|
+
namespace G {
|
|
3684
|
+
const TYPE_QNAME = "0x2::ristretto255::G";
|
|
3685
|
+
function type(): TypeDescriptor<G>;
|
|
3686
|
+
}
|
|
3687
|
+
interface Scalar {
|
|
3688
|
+
dummy_field: boolean;
|
|
3689
|
+
}
|
|
3690
|
+
namespace Scalar {
|
|
3691
|
+
const TYPE_QNAME = "0x2::ristretto255::Scalar";
|
|
3692
|
+
function type(): TypeDescriptor<Scalar>;
|
|
3693
|
+
}
|
|
3694
|
+
namespace builder {
|
|
3695
|
+
function gAdd(tx: Transaction, args: [
|
|
3696
|
+
string | TransactionObjectArgument,
|
|
3697
|
+
string | TransactionObjectArgument
|
|
3698
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3699
|
+
function gDiv(tx: Transaction, args: [
|
|
3700
|
+
string | TransactionObjectArgument,
|
|
3701
|
+
string | TransactionObjectArgument
|
|
3702
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3703
|
+
function gFromBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3704
|
+
function gGenerator(tx: Transaction, args: []): TransactionArgument & [];
|
|
3705
|
+
function gIdentity(tx: Transaction, args: []): TransactionArgument & [];
|
|
3706
|
+
function gMul(tx: Transaction, args: [
|
|
3707
|
+
string | TransactionObjectArgument,
|
|
3708
|
+
string | TransactionObjectArgument
|
|
3709
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3710
|
+
function gNeg(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3711
|
+
function gSub(tx: Transaction, args: [
|
|
3712
|
+
string | TransactionObjectArgument,
|
|
3713
|
+
string | TransactionObjectArgument
|
|
3714
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3715
|
+
function scalarAdd(tx: Transaction, args: [
|
|
3716
|
+
string | TransactionObjectArgument,
|
|
3717
|
+
string | TransactionObjectArgument
|
|
3718
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3719
|
+
function scalarDiv(tx: Transaction, args: [
|
|
3720
|
+
string | TransactionObjectArgument,
|
|
3721
|
+
string | TransactionObjectArgument
|
|
3722
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3723
|
+
function scalarFromBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3724
|
+
function scalarFromU64(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3725
|
+
function scalarInv(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3726
|
+
function scalarMul(tx: Transaction, args: [
|
|
3727
|
+
string | TransactionObjectArgument,
|
|
3728
|
+
string | TransactionObjectArgument
|
|
3729
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3730
|
+
function scalarNeg(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3731
|
+
function scalarOne(tx: Transaction, args: []): TransactionArgument & [];
|
|
3732
|
+
function scalarSub(tx: Transaction, args: [
|
|
3733
|
+
string | TransactionObjectArgument,
|
|
3734
|
+
string | TransactionObjectArgument
|
|
3735
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3736
|
+
function scalarZero(tx: Transaction, args: []): TransactionArgument & [];
|
|
3737
|
+
}
|
|
3738
|
+
namespace view {
|
|
3739
|
+
function gAdd(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3740
|
+
function gDiv(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3741
|
+
function gFromBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3742
|
+
function gGenerator(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3743
|
+
function gIdentity(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3744
|
+
function gMul(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3745
|
+
function gNeg(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3746
|
+
function gSub(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.G>]>>;
|
|
3747
|
+
function scalarAdd(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3748
|
+
function scalarDiv(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3749
|
+
function scalarFromBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3750
|
+
function scalarFromU64(client: SuiJsonRpcClient, args: [bigint]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3751
|
+
function scalarInv(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3752
|
+
function scalarMul(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3753
|
+
function scalarNeg(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3754
|
+
function scalarOne(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3755
|
+
function scalarSub(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3756
|
+
function scalarZero(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3473
3759
|
export declare namespace sui {
|
|
3474
3760
|
interface SUI {
|
|
3475
3761
|
dummy_field: boolean;
|