stable-layer-sdk 0.0.3 → 1.0.0
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/client.test.d.ts +1 -0
- package/dist/client.test.js +146 -0
- package/dist/generated/stable_layer/deps/bucket_v2_framework/liability.d.ts +11 -0
- package/dist/generated/stable_layer/deps/bucket_v2_framework/liability.js +13 -0
- package/dist/generated/stable_layer/deps/bucket_v2_framework/sheet.d.ts +57 -0
- package/dist/generated/stable_layer/deps/bucket_v2_framework/sheet.js +16 -0
- package/dist/generated/stable_layer/deps/std/type_name.d.ts +17 -0
- package/dist/generated/stable_layer/deps/std/type_name.js +19 -0
- package/dist/generated/stable_layer/deps/sui/balance.d.ts +12 -0
- package/dist/generated/stable_layer/deps/sui/balance.js +14 -0
- package/dist/generated/stable_layer/deps/sui/coin.d.ts +16 -0
- package/dist/generated/stable_layer/deps/sui/coin.js +15 -0
- package/dist/generated/stable_layer/deps/sui/object.d.ts +8 -0
- package/dist/generated/stable_layer/deps/sui/object.js +10 -0
- package/dist/generated/stable_layer/deps/sui/vec_map.d.ts +36 -0
- package/dist/generated/stable_layer/deps/sui/vec_map.js +27 -0
- package/dist/generated/stable_layer/deps/sui/vec_set.d.ts +20 -0
- package/dist/generated/stable_layer/deps/sui/vec_set.js +19 -0
- package/dist/generated/stable_layer/stable_layer.d.ts +427 -0
- package/dist/generated/stable_layer/stable_layer.js +365 -0
- package/dist/generated/stable_vault_farm/deps/bucket_v2_framework/liability.d.ts +11 -0
- package/dist/generated/stable_vault_farm/deps/bucket_v2_framework/liability.js +13 -0
- package/dist/generated/stable_vault_farm/deps/bucket_v2_framework/sheet.d.ts +57 -0
- package/dist/generated/stable_vault_farm/deps/bucket_v2_framework/sheet.js +16 -0
- package/dist/generated/stable_vault_farm/deps/std/type_name.d.ts +17 -0
- package/dist/generated/stable_vault_farm/deps/std/type_name.js +19 -0
- package/dist/generated/stable_vault_farm/deps/sui/balance.d.ts +12 -0
- package/dist/generated/stable_vault_farm/deps/sui/balance.js +14 -0
- package/dist/generated/stable_vault_farm/deps/sui/object.d.ts +8 -0
- package/dist/generated/stable_vault_farm/deps/sui/object.js +10 -0
- package/dist/generated/stable_vault_farm/deps/sui/table.d.ts +31 -0
- package/dist/generated/stable_vault_farm/deps/sui/table.js +32 -0
- package/dist/generated/stable_vault_farm/deps/sui/vec_map.d.ts +36 -0
- package/dist/generated/stable_vault_farm/deps/sui/vec_map.js +27 -0
- package/dist/generated/stable_vault_farm/deps/sui/vec_set.d.ts +20 -0
- package/dist/generated/stable_vault_farm/deps/sui/vec_set.js +19 -0
- package/dist/generated/stable_vault_farm/stable_vault_farm.d.ts +242 -0
- package/dist/generated/stable_vault_farm/stable_vault_farm.js +163 -0
- package/dist/generated/utils/index.d.ts +11 -0
- package/dist/generated/utils/index.js +131 -0
- package/dist/generated/yield_usdb/buffer.d.ts +137 -0
- package/dist/generated/yield_usdb/buffer.js +157 -0
- package/dist/generated/yield_usdb/deps/bucket_v2_framework/account.d.ts +11 -0
- package/dist/generated/yield_usdb/deps/bucket_v2_framework/account.js +12 -0
- package/dist/generated/yield_usdb/deps/bucket_v2_framework/double.d.ts +8 -0
- package/dist/generated/yield_usdb/deps/bucket_v2_framework/double.js +10 -0
- package/dist/generated/yield_usdb/deps/sui/balance.d.ts +15 -0
- package/dist/generated/yield_usdb/deps/sui/balance.js +17 -0
- package/dist/generated/yield_usdb/deps/sui/coin.d.ts +16 -0
- package/dist/generated/yield_usdb/deps/sui/coin.js +15 -0
- package/dist/generated/yield_usdb/deps/sui/object.d.ts +8 -0
- package/dist/generated/yield_usdb/deps/sui/object.js +10 -0
- package/dist/generated/yield_usdb/deps/sui/vec_set.d.ts +20 -0
- package/dist/generated/yield_usdb/deps/sui/vec_set.js +19 -0
- package/dist/generated/yield_usdb/yield_usdb.d.ts +475 -0
- package/dist/generated/yield_usdb/yield_usdb.js +444 -0
- package/dist/index.d.ts +16 -19
- package/dist/index.js +235 -30
- package/dist/interface.d.ts +25 -0
- package/dist/interface.js +1 -0
- package/dist/libs/constants.d.ts +15 -0
- package/dist/libs/constants.js +18 -0
- package/package.json +15 -4
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
/**************************************************************
|
|
2
|
+
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
+
**************************************************************/
|
|
4
|
+
import { MoveStruct, type RawTransactionArgument } from '../utils/index.js';
|
|
5
|
+
import { type Transaction } from '@mysten/sui/transactions';
|
|
6
|
+
export declare const NewStable: MoveStruct<{
|
|
7
|
+
u_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
8
|
+
stable_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
9
|
+
factory_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
10
|
+
factory_cap_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
11
|
+
}, "@local-pkg/stable_factory.move::stable_layer::NewStable">;
|
|
12
|
+
export declare const Mint: MoveStruct<{
|
|
13
|
+
u_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
14
|
+
stable_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
15
|
+
mint_amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
16
|
+
farm_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
17
|
+
}, "@local-pkg/stable_factory.move::stable_layer::Mint">;
|
|
18
|
+
export declare const Burn: MoveStruct<{
|
|
19
|
+
u_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
20
|
+
stable_type: import("@mysten/bcs").BcsType<string, string, "string">;
|
|
21
|
+
burn_amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
22
|
+
farm_types: import("@mysten/bcs").BcsType<{
|
|
23
|
+
name: string;
|
|
24
|
+
}[][], Iterable<{
|
|
25
|
+
name: string;
|
|
26
|
+
}[]> & {
|
|
27
|
+
length: number;
|
|
28
|
+
}, string>;
|
|
29
|
+
repayment_amounts: import("@mysten/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
30
|
+
length: number;
|
|
31
|
+
}, string>;
|
|
32
|
+
}, "@local-pkg/stable_factory.move::stable_layer::Burn">;
|
|
33
|
+
export declare const StableFactoryEntity: MoveStruct<{
|
|
34
|
+
dummy_field: import("@mysten/bcs").BcsType<boolean, boolean, "bool">;
|
|
35
|
+
}, "@local-pkg/stable_factory.move::stable_layer::StableFactoryEntity">;
|
|
36
|
+
export declare const StableRegistry: MoveStruct<{
|
|
37
|
+
id: MoveStruct<{
|
|
38
|
+
id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
39
|
+
}, "0x2::object::UID">;
|
|
40
|
+
versions: MoveStruct<{
|
|
41
|
+
contents: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
|
|
42
|
+
length: number;
|
|
43
|
+
}, string>;
|
|
44
|
+
}, "0x2::vec_set::VecSet<u16>">;
|
|
45
|
+
total_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
46
|
+
}, "@local-pkg/stable_factory.move::stable_layer::StableRegistry">;
|
|
47
|
+
export declare const AdminCap: MoveStruct<{
|
|
48
|
+
id: MoveStruct<{
|
|
49
|
+
id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
50
|
+
}, "0x2::object::UID">;
|
|
51
|
+
}, "@local-pkg/stable_factory.move::stable_layer::AdminCap">;
|
|
52
|
+
export declare const StableFactory: MoveStruct<{
|
|
53
|
+
id: MoveStruct<{
|
|
54
|
+
id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
55
|
+
}, "0x2::object::UID">;
|
|
56
|
+
treasury_cap: MoveStruct<{
|
|
57
|
+
id: MoveStruct<{
|
|
58
|
+
id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
59
|
+
}, "0x2::object::UID">;
|
|
60
|
+
total_supply: MoveStruct<{
|
|
61
|
+
value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
62
|
+
}, "0x2::balance::Supply">;
|
|
63
|
+
}, "0x2::coin::TreasuryCap">;
|
|
64
|
+
max_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
65
|
+
sheet: MoveStruct<{
|
|
66
|
+
credits: MoveStruct<{
|
|
67
|
+
contents: import("@mysten/bcs").BcsType<{
|
|
68
|
+
key: {
|
|
69
|
+
name: string;
|
|
70
|
+
}[];
|
|
71
|
+
value: {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
}[], Iterable<{
|
|
75
|
+
key: {
|
|
76
|
+
name: string;
|
|
77
|
+
}[];
|
|
78
|
+
value: {
|
|
79
|
+
value: string | number | bigint;
|
|
80
|
+
};
|
|
81
|
+
}> & {
|
|
82
|
+
length: number;
|
|
83
|
+
}, string>;
|
|
84
|
+
}, "0x2::vec_map::VecMap<bucket_v2_framework::sheet::Entity, bucket_v2_framework::liability::Credit>">;
|
|
85
|
+
debts: MoveStruct<{
|
|
86
|
+
contents: import("@mysten/bcs").BcsType<{
|
|
87
|
+
key: {
|
|
88
|
+
name: string;
|
|
89
|
+
}[];
|
|
90
|
+
value: {
|
|
91
|
+
value: string;
|
|
92
|
+
};
|
|
93
|
+
}[], Iterable<{
|
|
94
|
+
key: {
|
|
95
|
+
name: string;
|
|
96
|
+
}[];
|
|
97
|
+
value: {
|
|
98
|
+
value: string | number | bigint;
|
|
99
|
+
};
|
|
100
|
+
}> & {
|
|
101
|
+
length: number;
|
|
102
|
+
}, string>;
|
|
103
|
+
}, "0x2::vec_map::VecMap<bucket_v2_framework::sheet::Entity, bucket_v2_framework::liability::Debt>">;
|
|
104
|
+
blacklist: MoveStruct<{
|
|
105
|
+
contents: import("@mysten/bcs").BcsType<{
|
|
106
|
+
name: string;
|
|
107
|
+
}[][], Iterable<{
|
|
108
|
+
name: string;
|
|
109
|
+
}[]> & {
|
|
110
|
+
length: number;
|
|
111
|
+
}, string>;
|
|
112
|
+
}, "0x2::vec_set::VecSet<bucket_v2_framework::sheet::Entity>">;
|
|
113
|
+
}, "bucket_v2_framework::sheet::Sheet">;
|
|
114
|
+
managers: MoveStruct<{
|
|
115
|
+
contents: import("@mysten/bcs").BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
116
|
+
length: number;
|
|
117
|
+
}, string>;
|
|
118
|
+
}, "0x2::vec_set::VecSet<bytes[32]>">;
|
|
119
|
+
}, "@local-pkg/stable_factory.move::stable_layer::StableFactory">;
|
|
120
|
+
export declare const FactoryCap: MoveStruct<{
|
|
121
|
+
id: MoveStruct<{
|
|
122
|
+
id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
123
|
+
}, "0x2::object::UID">;
|
|
124
|
+
factory_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
125
|
+
}, "@local-pkg/stable_factory.move::stable_layer::FactoryCap">;
|
|
126
|
+
export interface PackageVersionOptions {
|
|
127
|
+
package?: string;
|
|
128
|
+
arguments?: [
|
|
129
|
+
];
|
|
130
|
+
}
|
|
131
|
+
export declare function packageVersion(options?: PackageVersionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
132
|
+
export interface NewArguments {
|
|
133
|
+
registry: RawTransactionArgument<string>;
|
|
134
|
+
treasuryCap: RawTransactionArgument<string>;
|
|
135
|
+
maxSupply: RawTransactionArgument<number | bigint>;
|
|
136
|
+
}
|
|
137
|
+
export interface NewOptions {
|
|
138
|
+
package?: string;
|
|
139
|
+
arguments: NewArguments | [
|
|
140
|
+
registry: RawTransactionArgument<string>,
|
|
141
|
+
treasuryCap: RawTransactionArgument<string>,
|
|
142
|
+
maxSupply: RawTransactionArgument<number | bigint>
|
|
143
|
+
];
|
|
144
|
+
typeArguments: [
|
|
145
|
+
string,
|
|
146
|
+
string
|
|
147
|
+
];
|
|
148
|
+
}
|
|
149
|
+
/** Admin Funs */
|
|
150
|
+
export declare function _new(options: NewOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
151
|
+
export interface DefaultArguments {
|
|
152
|
+
registry: RawTransactionArgument<string>;
|
|
153
|
+
treasuryCap: RawTransactionArgument<string>;
|
|
154
|
+
maxSupply: RawTransactionArgument<number | bigint>;
|
|
155
|
+
}
|
|
156
|
+
export interface DefaultOptions {
|
|
157
|
+
package?: string;
|
|
158
|
+
arguments: DefaultArguments | [
|
|
159
|
+
registry: RawTransactionArgument<string>,
|
|
160
|
+
treasuryCap: RawTransactionArgument<string>,
|
|
161
|
+
maxSupply: RawTransactionArgument<number | bigint>
|
|
162
|
+
];
|
|
163
|
+
typeArguments: [
|
|
164
|
+
string,
|
|
165
|
+
string
|
|
166
|
+
];
|
|
167
|
+
}
|
|
168
|
+
export declare function _default(options: DefaultOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
169
|
+
export interface AddVersionArguments {
|
|
170
|
+
AdminCap: RawTransactionArgument<string>;
|
|
171
|
+
registry: RawTransactionArgument<string>;
|
|
172
|
+
version: RawTransactionArgument<number>;
|
|
173
|
+
}
|
|
174
|
+
export interface AddVersionOptions {
|
|
175
|
+
package?: string;
|
|
176
|
+
arguments: AddVersionArguments | [
|
|
177
|
+
AdminCap: RawTransactionArgument<string>,
|
|
178
|
+
registry: RawTransactionArgument<string>,
|
|
179
|
+
version: RawTransactionArgument<number>
|
|
180
|
+
];
|
|
181
|
+
}
|
|
182
|
+
/** Admin Funs */
|
|
183
|
+
export declare function addVersion(options: AddVersionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
184
|
+
export interface RemoveVersionArguments {
|
|
185
|
+
AdminCap: RawTransactionArgument<string>;
|
|
186
|
+
registry: RawTransactionArgument<string>;
|
|
187
|
+
version: RawTransactionArgument<number>;
|
|
188
|
+
}
|
|
189
|
+
export interface RemoveVersionOptions {
|
|
190
|
+
package?: string;
|
|
191
|
+
arguments: RemoveVersionArguments | [
|
|
192
|
+
AdminCap: RawTransactionArgument<string>,
|
|
193
|
+
registry: RawTransactionArgument<string>,
|
|
194
|
+
version: RawTransactionArgument<number>
|
|
195
|
+
];
|
|
196
|
+
}
|
|
197
|
+
export declare function removeVersion(options: RemoveVersionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
198
|
+
export interface AddEntityArguments {
|
|
199
|
+
registry: RawTransactionArgument<string>;
|
|
200
|
+
FactoryCap: RawTransactionArgument<string>;
|
|
201
|
+
}
|
|
202
|
+
export interface AddEntityOptions {
|
|
203
|
+
package?: string;
|
|
204
|
+
arguments: AddEntityArguments | [
|
|
205
|
+
registry: RawTransactionArgument<string>,
|
|
206
|
+
FactoryCap: RawTransactionArgument<string>
|
|
207
|
+
];
|
|
208
|
+
typeArguments: [
|
|
209
|
+
string,
|
|
210
|
+
string,
|
|
211
|
+
string
|
|
212
|
+
];
|
|
213
|
+
}
|
|
214
|
+
/** Factory Cap Funs */
|
|
215
|
+
export declare function addEntity(options: AddEntityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
216
|
+
export interface BanEntityArguments {
|
|
217
|
+
registry: RawTransactionArgument<string>;
|
|
218
|
+
FactoryCap: RawTransactionArgument<string>;
|
|
219
|
+
}
|
|
220
|
+
export interface BanEntityOptions {
|
|
221
|
+
package?: string;
|
|
222
|
+
arguments: BanEntityArguments | [
|
|
223
|
+
registry: RawTransactionArgument<string>,
|
|
224
|
+
FactoryCap: RawTransactionArgument<string>
|
|
225
|
+
];
|
|
226
|
+
typeArguments: [
|
|
227
|
+
string,
|
|
228
|
+
string,
|
|
229
|
+
string
|
|
230
|
+
];
|
|
231
|
+
}
|
|
232
|
+
export declare function banEntity(options: BanEntityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
233
|
+
export interface AddManagerArguments {
|
|
234
|
+
registry: RawTransactionArgument<string>;
|
|
235
|
+
FactoryCap: RawTransactionArgument<string>;
|
|
236
|
+
manager: RawTransactionArgument<string>;
|
|
237
|
+
}
|
|
238
|
+
export interface AddManagerOptions {
|
|
239
|
+
package?: string;
|
|
240
|
+
arguments: AddManagerArguments | [
|
|
241
|
+
registry: RawTransactionArgument<string>,
|
|
242
|
+
FactoryCap: RawTransactionArgument<string>,
|
|
243
|
+
manager: RawTransactionArgument<string>
|
|
244
|
+
];
|
|
245
|
+
typeArguments: [
|
|
246
|
+
string,
|
|
247
|
+
string
|
|
248
|
+
];
|
|
249
|
+
}
|
|
250
|
+
export declare function addManager(options: AddManagerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
251
|
+
export interface RemoveManagerArguments {
|
|
252
|
+
registry: RawTransactionArgument<string>;
|
|
253
|
+
FactoryCap: RawTransactionArgument<string>;
|
|
254
|
+
manager: RawTransactionArgument<string>;
|
|
255
|
+
}
|
|
256
|
+
export interface RemoveManagerOptions {
|
|
257
|
+
package?: string;
|
|
258
|
+
arguments: RemoveManagerArguments | [
|
|
259
|
+
registry: RawTransactionArgument<string>,
|
|
260
|
+
FactoryCap: RawTransactionArgument<string>,
|
|
261
|
+
manager: RawTransactionArgument<string>
|
|
262
|
+
];
|
|
263
|
+
typeArguments: [
|
|
264
|
+
string,
|
|
265
|
+
string
|
|
266
|
+
];
|
|
267
|
+
}
|
|
268
|
+
export declare function removeManager(options: RemoveManagerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
269
|
+
export interface SetMaxSupplyArguments {
|
|
270
|
+
registry: RawTransactionArgument<string>;
|
|
271
|
+
FactoryCap: RawTransactionArgument<string>;
|
|
272
|
+
maxSupply: RawTransactionArgument<number | bigint>;
|
|
273
|
+
}
|
|
274
|
+
export interface SetMaxSupplyOptions {
|
|
275
|
+
package?: string;
|
|
276
|
+
arguments: SetMaxSupplyArguments | [
|
|
277
|
+
registry: RawTransactionArgument<string>,
|
|
278
|
+
FactoryCap: RawTransactionArgument<string>,
|
|
279
|
+
maxSupply: RawTransactionArgument<number | bigint>
|
|
280
|
+
];
|
|
281
|
+
typeArguments: [
|
|
282
|
+
string,
|
|
283
|
+
string
|
|
284
|
+
];
|
|
285
|
+
}
|
|
286
|
+
export declare function setMaxSupply(options: SetMaxSupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
287
|
+
export interface MintArguments {
|
|
288
|
+
registry: RawTransactionArgument<string>;
|
|
289
|
+
uCoin: RawTransactionArgument<string>;
|
|
290
|
+
}
|
|
291
|
+
export interface MintOptions {
|
|
292
|
+
package?: string;
|
|
293
|
+
arguments: MintArguments | [
|
|
294
|
+
registry: RawTransactionArgument<string>,
|
|
295
|
+
uCoin: RawTransactionArgument<string>
|
|
296
|
+
];
|
|
297
|
+
typeArguments: [
|
|
298
|
+
string,
|
|
299
|
+
string,
|
|
300
|
+
string
|
|
301
|
+
];
|
|
302
|
+
}
|
|
303
|
+
/** Public Funs */
|
|
304
|
+
export declare function mint(options: MintOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
305
|
+
export interface RequestBurnArguments {
|
|
306
|
+
registry: RawTransactionArgument<string>;
|
|
307
|
+
stableCoin: RawTransactionArgument<string>;
|
|
308
|
+
}
|
|
309
|
+
export interface RequestBurnOptions {
|
|
310
|
+
package?: string;
|
|
311
|
+
arguments: RequestBurnArguments | [
|
|
312
|
+
registry: RawTransactionArgument<string>,
|
|
313
|
+
stableCoin: RawTransactionArgument<string>
|
|
314
|
+
];
|
|
315
|
+
typeArguments: [
|
|
316
|
+
string,
|
|
317
|
+
string
|
|
318
|
+
];
|
|
319
|
+
}
|
|
320
|
+
export declare function requestBurn(options: RequestBurnOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
321
|
+
export interface FulfillBurnArguments {
|
|
322
|
+
registry: RawTransactionArgument<string>;
|
|
323
|
+
burnRequest: RawTransactionArgument<string>;
|
|
324
|
+
}
|
|
325
|
+
export interface FulfillBurnOptions {
|
|
326
|
+
package?: string;
|
|
327
|
+
arguments: FulfillBurnArguments | [
|
|
328
|
+
registry: RawTransactionArgument<string>,
|
|
329
|
+
burnRequest: RawTransactionArgument<string>
|
|
330
|
+
];
|
|
331
|
+
typeArguments: [
|
|
332
|
+
string,
|
|
333
|
+
string
|
|
334
|
+
];
|
|
335
|
+
}
|
|
336
|
+
export declare function fulfillBurn(options: FulfillBurnOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
337
|
+
export interface VersionsArguments {
|
|
338
|
+
registry: RawTransactionArgument<string>;
|
|
339
|
+
}
|
|
340
|
+
export interface VersionsOptions {
|
|
341
|
+
package?: string;
|
|
342
|
+
arguments: VersionsArguments | [
|
|
343
|
+
registry: RawTransactionArgument<string>
|
|
344
|
+
];
|
|
345
|
+
}
|
|
346
|
+
/** Getter Fun */
|
|
347
|
+
export declare function versions(options: VersionsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
348
|
+
export interface TotalSupplyArguments {
|
|
349
|
+
registry: RawTransactionArgument<string>;
|
|
350
|
+
}
|
|
351
|
+
export interface TotalSupplyOptions {
|
|
352
|
+
package?: string;
|
|
353
|
+
arguments: TotalSupplyArguments | [
|
|
354
|
+
registry: RawTransactionArgument<string>
|
|
355
|
+
];
|
|
356
|
+
}
|
|
357
|
+
export declare function totalSupply(options: TotalSupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
358
|
+
export interface BorrowFactoryArguments {
|
|
359
|
+
registry: RawTransactionArgument<string>;
|
|
360
|
+
}
|
|
361
|
+
export interface BorrowFactoryOptions {
|
|
362
|
+
package?: string;
|
|
363
|
+
arguments: BorrowFactoryArguments | [
|
|
364
|
+
registry: RawTransactionArgument<string>
|
|
365
|
+
];
|
|
366
|
+
typeArguments: [
|
|
367
|
+
string,
|
|
368
|
+
string
|
|
369
|
+
];
|
|
370
|
+
}
|
|
371
|
+
export declare function borrowFactory(options: BorrowFactoryOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
372
|
+
export interface SheetArguments {
|
|
373
|
+
factory: RawTransactionArgument<string>;
|
|
374
|
+
}
|
|
375
|
+
export interface SheetOptions {
|
|
376
|
+
package?: string;
|
|
377
|
+
arguments: SheetArguments | [
|
|
378
|
+
factory: RawTransactionArgument<string>
|
|
379
|
+
];
|
|
380
|
+
typeArguments: [
|
|
381
|
+
string,
|
|
382
|
+
string
|
|
383
|
+
];
|
|
384
|
+
}
|
|
385
|
+
export declare function sheet(options: SheetOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
386
|
+
export interface StableSupplyArguments {
|
|
387
|
+
factory: RawTransactionArgument<string>;
|
|
388
|
+
}
|
|
389
|
+
export interface StableSupplyOptions {
|
|
390
|
+
package?: string;
|
|
391
|
+
arguments: StableSupplyArguments | [
|
|
392
|
+
factory: RawTransactionArgument<string>
|
|
393
|
+
];
|
|
394
|
+
typeArguments: [
|
|
395
|
+
string,
|
|
396
|
+
string
|
|
397
|
+
];
|
|
398
|
+
}
|
|
399
|
+
export declare function stableSupply(options: StableSupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
400
|
+
export interface MaxSupplyArguments {
|
|
401
|
+
factory: RawTransactionArgument<string>;
|
|
402
|
+
}
|
|
403
|
+
export interface MaxSupplyOptions {
|
|
404
|
+
package?: string;
|
|
405
|
+
arguments: MaxSupplyArguments | [
|
|
406
|
+
factory: RawTransactionArgument<string>
|
|
407
|
+
];
|
|
408
|
+
typeArguments: [
|
|
409
|
+
string,
|
|
410
|
+
string
|
|
411
|
+
];
|
|
412
|
+
}
|
|
413
|
+
export declare function maxSupply(options: MaxSupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
414
|
+
export interface ManagersArguments {
|
|
415
|
+
factory: RawTransactionArgument<string>;
|
|
416
|
+
}
|
|
417
|
+
export interface ManagersOptions {
|
|
418
|
+
package?: string;
|
|
419
|
+
arguments: ManagersArguments | [
|
|
420
|
+
factory: RawTransactionArgument<string>
|
|
421
|
+
];
|
|
422
|
+
typeArguments: [
|
|
423
|
+
string,
|
|
424
|
+
string
|
|
425
|
+
];
|
|
426
|
+
}
|
|
427
|
+
export declare function managers(options: ManagersOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|