@sentio/sdk 4.5.0 → 4.5.1-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/aptos/builtin/0x1.d.ts +11 -0
- package/dist/aptos/builtin/0x1.d.ts.map +1 -1
- package/dist/aptos/builtin/0x1.js +10 -1
- package/dist/aptos/builtin/0x1.js.map +1 -1
- package/dist/iota/builtin/0x2.d.ts +241 -2
- package/dist/iota/builtin/0x2.d.ts.map +1 -1
- package/dist/iota/builtin/0x2.js +766 -17
- package/dist/iota/builtin/0x2.js.map +1 -1
- package/dist/iota/builtin/0x3.d.ts +34 -64
- package/dist/iota/builtin/0x3.d.ts.map +1 -1
- package/dist/iota/builtin/0x3.js +210 -163
- package/dist/iota/builtin/0x3.js.map +1 -1
- package/dist/sui/builtin/0x2.d.ts +201 -2
- package/dist/sui/builtin/0x2.d.ts.map +1 -1
- package/dist/sui/builtin/0x2.js +574 -1
- package/dist/sui/builtin/0x2.js.map +1 -1
- package/package.json +7 -7
- package/src/aptos/abis/0x1.json +51 -1
- package/src/aptos/builtin/0x1.ts +21 -1
- package/src/iota/abis/0x2.json +2292 -1083
- package/src/iota/abis/0x3.json +229 -264
- package/src/iota/builtin/0x2.ts +1323 -78
- package/src/iota/builtin/0x3.ts +281 -258
- package/src/sui/abis/0x2.json +1216 -3
- package/src/sui/builtin/0x2.ts +918 -4
|
@@ -2453,6 +2453,17 @@ export declare namespace event {
|
|
|
2453
2453
|
function emitAuthenticated<T0 = any>(client: SuiGrpcClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[]>>;
|
|
2454
2454
|
}
|
|
2455
2455
|
}
|
|
2456
|
+
export declare namespace forwarding_address {
|
|
2457
|
+
interface ForwardingAddressRegistry {
|
|
2458
|
+
id: object$.UID;
|
|
2459
|
+
}
|
|
2460
|
+
namespace ForwardingAddressRegistry {
|
|
2461
|
+
const TYPE_QNAME = "0x2::forwarding_address::ForwardingAddressRegistry";
|
|
2462
|
+
function type(): TypeDescriptor<ForwardingAddressRegistry>;
|
|
2463
|
+
}
|
|
2464
|
+
namespace builder { }
|
|
2465
|
+
namespace view { }
|
|
2466
|
+
}
|
|
2456
2467
|
export declare namespace funds_accumulator {
|
|
2457
2468
|
interface Withdrawal<T0> {
|
|
2458
2469
|
owner: string;
|
|
@@ -3257,6 +3268,28 @@ export declare namespace linked_table {
|
|
|
3257
3268
|
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3258
3269
|
function drop<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3259
3270
|
function front<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3271
|
+
function insertAfter<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
3272
|
+
string | TransactionObjectArgument,
|
|
3273
|
+
T0 | TransactionArgument,
|
|
3274
|
+
T0 | TransactionArgument,
|
|
3275
|
+
T1 | TransactionArgument
|
|
3276
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
3277
|
+
TransactionArgument,
|
|
3278
|
+
TransactionArgument,
|
|
3279
|
+
TransactionArgument,
|
|
3280
|
+
TransactionArgument
|
|
3281
|
+
];
|
|
3282
|
+
function insertBefore<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
3283
|
+
string | TransactionObjectArgument,
|
|
3284
|
+
T0 | TransactionArgument,
|
|
3285
|
+
T0 | TransactionArgument,
|
|
3286
|
+
T1 | TransactionArgument
|
|
3287
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
3288
|
+
TransactionArgument,
|
|
3289
|
+
TransactionArgument,
|
|
3290
|
+
TransactionArgument,
|
|
3291
|
+
TransactionArgument
|
|
3292
|
+
];
|
|
3260
3293
|
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3261
3294
|
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3262
3295
|
function new$<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
|
@@ -3292,6 +3325,8 @@ export declare namespace linked_table {
|
|
|
3292
3325
|
function destroyEmpty<T0 = any, T1 = any>(client: SuiGrpcClient, args: [linked_table.LinkedTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3293
3326
|
function drop<T0 = any, T1 = any>(client: SuiGrpcClient, args: [linked_table.LinkedTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3294
3327
|
function front<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
3328
|
+
function insertAfter<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, T0, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3329
|
+
function insertBefore<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, T0, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3295
3330
|
function isEmpty<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[boolean]>>;
|
|
3296
3331
|
function length<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[bigint]>>;
|
|
3297
3332
|
function new$<T0 = any, T1 = any>(client: SuiGrpcClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[linked_table.LinkedTable<T0, T1>]>>;
|
|
@@ -3402,6 +3437,7 @@ export declare namespace object$ {
|
|
|
3402
3437
|
function borrowId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3403
3438
|
function clock(tx: Transaction, args: []): TransactionArgument & [];
|
|
3404
3439
|
function delete$(tx: Transaction, args: [object$.UID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3440
|
+
function forwardingAddressRegistry(tx: Transaction, args: []): TransactionArgument & [];
|
|
3405
3441
|
function id<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3406
3442
|
function idAddress<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3407
3443
|
function idBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
@@ -3410,7 +3446,7 @@ export declare namespace object$ {
|
|
|
3410
3446
|
function idToAddress(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3411
3447
|
function idToBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3412
3448
|
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
|
3413
|
-
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3449
|
+
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3414
3450
|
function randomnessState(tx: Transaction, args: []): TransactionArgument & [];
|
|
3415
3451
|
function suiAccumulatorRootAddress(tx: Transaction, args: []): TransactionArgument & [];
|
|
3416
3452
|
function suiAccumulatorRootObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
@@ -3430,6 +3466,7 @@ export declare namespace object$ {
|
|
|
3430
3466
|
function borrowId<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
3431
3467
|
function clock(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3432
3468
|
function delete$(client: SuiGrpcClient, args: [object$.UID]): Promise<TypedSimulateResults<[]>>;
|
|
3469
|
+
function forwardingAddressRegistry(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3433
3470
|
function id<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
3434
3471
|
function idAddress<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
3435
3472
|
function idBytes<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[number[]]>>;
|
|
@@ -3438,7 +3475,7 @@ export declare namespace object$ {
|
|
|
3438
3475
|
function idToAddress(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
3439
3476
|
function idToBytes(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[number[]]>>;
|
|
3440
3477
|
function new$(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3441
|
-
function newUidFromHash(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3478
|
+
function newUidFromHash(client: SuiGrpcClient, args: [string, string]): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3442
3479
|
function randomnessState(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3443
3480
|
function suiAccumulatorRootAddress(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[string]>>;
|
|
3444
3481
|
function suiAccumulatorRootObjectId(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
@@ -3610,6 +3647,7 @@ export declare namespace package$ {
|
|
|
3610
3647
|
function makeImmutable(tx: Transaction, args: [package$.UpgradeCap | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3611
3648
|
function onlyAdditiveUpgrades(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3612
3649
|
function onlyDepUpgrades(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3650
|
+
function originalPackageId(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3613
3651
|
function publishedModule(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3614
3652
|
function publishedPackage(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3615
3653
|
function receiptCap(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -3635,6 +3673,7 @@ export declare namespace package$ {
|
|
|
3635
3673
|
function makeImmutable(client: SuiGrpcClient, args: [package$.UpgradeCap]): Promise<TypedSimulateResults<[]>>;
|
|
3636
3674
|
function onlyAdditiveUpgrades(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[]>>;
|
|
3637
3675
|
function onlyDepUpgrades(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[]>>;
|
|
3676
|
+
function originalPackageId(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
3638
3677
|
function publishedModule(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
3639
3678
|
function publishedPackage(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
3640
3679
|
function receiptCap(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
@@ -4065,6 +4104,166 @@ export declare namespace ristretto255 {
|
|
|
4065
4104
|
function scalarZero(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
4066
4105
|
}
|
|
4067
4106
|
}
|
|
4107
|
+
export declare class scratch extends SuiBaseProcessor {
|
|
4108
|
+
constructor(options: SuiBindOptions);
|
|
4109
|
+
static DEFAULT_OPTIONS: SuiBindOptions;
|
|
4110
|
+
static bind(options?: Partial<SuiBindOptions>): scratch;
|
|
4111
|
+
onEventBorrowMarkerKey(func: (event: scratch.BorrowMarkerKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, scratch.BorrowMarkerKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): scratch;
|
|
4112
|
+
onEventPermit(func: (event: scratch.PermitInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, scratch.PermitInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): scratch;
|
|
4113
|
+
}
|
|
4114
|
+
export declare namespace scratch {
|
|
4115
|
+
interface BorrowMarker<T0> {
|
|
4116
|
+
pos0: bigint;
|
|
4117
|
+
}
|
|
4118
|
+
namespace BorrowMarker {
|
|
4119
|
+
const TYPE_QNAME = "0x2::scratch::BorrowMarker";
|
|
4120
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<BorrowMarker<T0>>;
|
|
4121
|
+
}
|
|
4122
|
+
interface BorrowMarkerKey {
|
|
4123
|
+
dummy_field: boolean;
|
|
4124
|
+
}
|
|
4125
|
+
namespace BorrowMarkerKey {
|
|
4126
|
+
const TYPE_QNAME = "0x2::scratch::BorrowMarkerKey";
|
|
4127
|
+
function type(): TypeDescriptor<BorrowMarkerKey>;
|
|
4128
|
+
}
|
|
4129
|
+
type BorrowMarkerKeyInstance = TypedEventInstance<BorrowMarkerKey> & {
|
|
4130
|
+
data_decoded: BorrowMarkerKey;
|
|
4131
|
+
type_arguments: [];
|
|
4132
|
+
};
|
|
4133
|
+
interface Permit<T0> {
|
|
4134
|
+
dummy_field: boolean;
|
|
4135
|
+
}
|
|
4136
|
+
namespace Permit {
|
|
4137
|
+
const TYPE_QNAME = "0x2::scratch::Permit";
|
|
4138
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Permit<T0>>;
|
|
4139
|
+
}
|
|
4140
|
+
type PermitInstance = TypedEventInstance<Permit<any>> & {
|
|
4141
|
+
data_decoded: Permit<any>;
|
|
4142
|
+
type_arguments: [string];
|
|
4143
|
+
};
|
|
4144
|
+
namespace builder {
|
|
4145
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4146
|
+
string | TransactionObjectArgument,
|
|
4147
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4148
|
+
T0 | TransactionArgument,
|
|
4149
|
+
T1 | TransactionArgument
|
|
4150
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4151
|
+
TransactionArgument,
|
|
4152
|
+
TransactionArgument,
|
|
4153
|
+
TransactionArgument,
|
|
4154
|
+
TransactionArgument
|
|
4155
|
+
];
|
|
4156
|
+
function beginBorrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4157
|
+
string | TransactionObjectArgument,
|
|
4158
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4159
|
+
T0 | TransactionArgument
|
|
4160
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4161
|
+
TransactionArgument,
|
|
4162
|
+
TransactionArgument,
|
|
4163
|
+
TransactionArgument
|
|
4164
|
+
];
|
|
4165
|
+
function endBorrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4166
|
+
string | TransactionObjectArgument,
|
|
4167
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4168
|
+
T0 | TransactionArgument,
|
|
4169
|
+
T1 | TransactionArgument,
|
|
4170
|
+
scratch.BorrowMarker<T1> | TransactionArgument
|
|
4171
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4172
|
+
TransactionArgument,
|
|
4173
|
+
TransactionArgument,
|
|
4174
|
+
TransactionArgument,
|
|
4175
|
+
TransactionArgument,
|
|
4176
|
+
TransactionArgument
|
|
4177
|
+
];
|
|
4178
|
+
function exists<T0 = any>(tx: Transaction, args: [
|
|
4179
|
+
string | TransactionObjectArgument,
|
|
4180
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4181
|
+
T0 | TransactionArgument
|
|
4182
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
4183
|
+
TransactionArgument,
|
|
4184
|
+
TransactionArgument,
|
|
4185
|
+
TransactionArgument
|
|
4186
|
+
];
|
|
4187
|
+
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4188
|
+
string | TransactionObjectArgument,
|
|
4189
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4190
|
+
T0 | TransactionArgument
|
|
4191
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4192
|
+
TransactionArgument,
|
|
4193
|
+
TransactionArgument,
|
|
4194
|
+
TransactionArgument
|
|
4195
|
+
];
|
|
4196
|
+
function permit<T0 = any>(tx: Transaction, args: [_0x1.internal.Permit<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
4197
|
+
function read<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4198
|
+
string | TransactionObjectArgument,
|
|
4199
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4200
|
+
T0 | TransactionArgument
|
|
4201
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4202
|
+
TransactionArgument,
|
|
4203
|
+
TransactionArgument,
|
|
4204
|
+
TransactionArgument
|
|
4205
|
+
];
|
|
4206
|
+
function readOpt<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4207
|
+
string | TransactionObjectArgument,
|
|
4208
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4209
|
+
T0 | TransactionArgument
|
|
4210
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4211
|
+
TransactionArgument,
|
|
4212
|
+
TransactionArgument,
|
|
4213
|
+
TransactionArgument
|
|
4214
|
+
];
|
|
4215
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4216
|
+
string | TransactionObjectArgument,
|
|
4217
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4218
|
+
T0 | TransactionArgument
|
|
4219
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4220
|
+
TransactionArgument,
|
|
4221
|
+
TransactionArgument,
|
|
4222
|
+
TransactionArgument
|
|
4223
|
+
];
|
|
4224
|
+
function removeOpt<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4225
|
+
string | TransactionObjectArgument,
|
|
4226
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4227
|
+
T0 | TransactionArgument
|
|
4228
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4229
|
+
TransactionArgument,
|
|
4230
|
+
TransactionArgument,
|
|
4231
|
+
TransactionArgument
|
|
4232
|
+
];
|
|
4233
|
+
function replace<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
|
4234
|
+
string | TransactionObjectArgument,
|
|
4235
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4236
|
+
T0 | TransactionArgument,
|
|
4237
|
+
T1 | TransactionArgument
|
|
4238
|
+
], typeArguments: [
|
|
4239
|
+
TypeDescriptor<T0> | string,
|
|
4240
|
+
TypeDescriptor<T1> | string,
|
|
4241
|
+
TypeDescriptor<T2> | string
|
|
4242
|
+
]): TransactionArgument & [
|
|
4243
|
+
TransactionArgument,
|
|
4244
|
+
TransactionArgument,
|
|
4245
|
+
TransactionArgument,
|
|
4246
|
+
TransactionArgument
|
|
4247
|
+
];
|
|
4248
|
+
}
|
|
4249
|
+
namespace view {
|
|
4250
|
+
function add<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
4251
|
+
function beginBorrow<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[T1, scratch.BorrowMarker<T1>]>>;
|
|
4252
|
+
function endBorrow<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0, T1, scratch.BorrowMarker<T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
4253
|
+
function exists<T0 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[boolean]>>;
|
|
4254
|
+
function existsWithType<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[boolean]>>;
|
|
4255
|
+
function permit<T0 = any>(client: SuiGrpcClient, args: [_0x1.internal.Permit<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[scratch.Permit<T0>]>>;
|
|
4256
|
+
function read<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[T1]>>;
|
|
4257
|
+
function readOpt<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[_0x1.option.Option<T1>]>>;
|
|
4258
|
+
function remove<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[T1]>>;
|
|
4259
|
+
function removeOpt<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[_0x1.option.Option<T1>]>>;
|
|
4260
|
+
function replace<T0 = any, T1 = any, T2 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0, T1], typeArguments: [
|
|
4261
|
+
TypeDescriptor<T0> | string,
|
|
4262
|
+
TypeDescriptor<T1> | string,
|
|
4263
|
+
TypeDescriptor<T2> | string
|
|
4264
|
+
]): Promise<TypedSimulateResults<[_0x1.option.Option<T2>]>>;
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
4068
4267
|
export declare class sui extends SuiBaseProcessor {
|
|
4069
4268
|
constructor(options: SuiBindOptions);
|
|
4070
4269
|
static DEFAULT_OPTIONS: SuiBindOptions;
|