@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
|
@@ -1600,8 +1600,12 @@ export declare namespace derived_object {
|
|
|
1600
1600
|
data_decoded: DerivedObjectKey<any>;
|
|
1601
1601
|
type_arguments: [string];
|
|
1602
1602
|
};
|
|
1603
|
-
namespace builder {
|
|
1604
|
-
|
|
1603
|
+
namespace builder {
|
|
1604
|
+
function deriveAddress<T0 = any>(tx: Transaction, args: [object$.ID | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1605
|
+
}
|
|
1606
|
+
namespace view {
|
|
1607
|
+
function deriveAddress<T0 = any>(client: IotaClient, args: [object$.ID, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1608
|
+
}
|
|
1605
1609
|
}
|
|
1606
1610
|
export declare class display extends IotaBaseProcessor {
|
|
1607
1611
|
constructor(options: IotaBindOptions);
|
|
@@ -2894,6 +2898,92 @@ export declare namespace linked_table {
|
|
|
2894
2898
|
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
2895
2899
|
}
|
|
2896
2900
|
}
|
|
2901
|
+
export declare class module_metadata extends IotaBaseProcessor {
|
|
2902
|
+
constructor(options: IotaBindOptions);
|
|
2903
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
|
2904
|
+
static bind(options?: Partial<IotaBindOptions>): module_metadata;
|
|
2905
|
+
onEventModuleMetadataKey(func: (event: module_metadata.ModuleMetadataKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, module_metadata.ModuleMetadataKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): module_metadata;
|
|
2906
|
+
onEventViewFunctionMetadataV1FieldName(func: (event: module_metadata.ViewFunctionMetadataV1FieldNameInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, module_metadata.ViewFunctionMetadataV1FieldNameInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): module_metadata;
|
|
2907
|
+
}
|
|
2908
|
+
export declare namespace module_metadata {
|
|
2909
|
+
interface ModuleMetadata {
|
|
2910
|
+
id: object$.UID;
|
|
2911
|
+
size: bigint;
|
|
2912
|
+
}
|
|
2913
|
+
namespace ModuleMetadata {
|
|
2914
|
+
const TYPE_QNAME = "0x2::module_metadata::ModuleMetadata";
|
|
2915
|
+
function type(): TypeDescriptor<ModuleMetadata>;
|
|
2916
|
+
}
|
|
2917
|
+
interface ModuleMetadataKey {
|
|
2918
|
+
pos0: _0x1.ascii.String;
|
|
2919
|
+
}
|
|
2920
|
+
namespace ModuleMetadataKey {
|
|
2921
|
+
const TYPE_QNAME = "0x2::module_metadata::ModuleMetadataKey";
|
|
2922
|
+
function type(): TypeDescriptor<ModuleMetadataKey>;
|
|
2923
|
+
}
|
|
2924
|
+
type ModuleMetadataKeyInstance = TypedEventInstance<ModuleMetadataKey> & {
|
|
2925
|
+
data_decoded: ModuleMetadataKey;
|
|
2926
|
+
type_arguments: [];
|
|
2927
|
+
};
|
|
2928
|
+
interface ViewFunctionMetadataV1FieldName {
|
|
2929
|
+
dummy_field: boolean;
|
|
2930
|
+
}
|
|
2931
|
+
namespace ViewFunctionMetadataV1FieldName {
|
|
2932
|
+
const TYPE_QNAME = "0x2::module_metadata::ViewFunctionMetadataV1FieldName";
|
|
2933
|
+
function type(): TypeDescriptor<ViewFunctionMetadataV1FieldName>;
|
|
2934
|
+
}
|
|
2935
|
+
type ViewFunctionMetadataV1FieldNameInstance = TypedEventInstance<ViewFunctionMetadataV1FieldName> & {
|
|
2936
|
+
data_decoded: ViewFunctionMetadataV1FieldName;
|
|
2937
|
+
type_arguments: [];
|
|
2938
|
+
};
|
|
2939
|
+
namespace builder {
|
|
2940
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
2941
|
+
string | TransactionObjectArgument,
|
|
2942
|
+
T0 | TransactionArgument,
|
|
2943
|
+
T1 | TransactionArgument
|
|
2944
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
2945
|
+
TransactionArgument,
|
|
2946
|
+
TransactionArgument,
|
|
2947
|
+
TransactionArgument
|
|
2948
|
+
];
|
|
2949
|
+
function addViewFunctionMetadataV1(tx: Transaction, args: [
|
|
2950
|
+
string | TransactionObjectArgument,
|
|
2951
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
2952
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2953
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2954
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2955
|
+
function borrowViewFunctionsMetadataV1(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2956
|
+
function contains<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2957
|
+
function containsViewFunctionsMetadataV1(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2958
|
+
function containsWithType<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2959
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2960
|
+
function isViewFunctionV1(tx: Transaction, args: [
|
|
2961
|
+
string | TransactionObjectArgument,
|
|
2962
|
+
string | TransactionObjectArgument
|
|
2963
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2964
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2965
|
+
function new$(tx: Transaction, args: [
|
|
2966
|
+
object$.ID | TransactionArgument,
|
|
2967
|
+
_0x1.ascii.String | TransactionArgument
|
|
2968
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2969
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2970
|
+
}
|
|
2971
|
+
namespace view {
|
|
2972
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2973
|
+
function addViewFunctionMetadataV1(client: IotaClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
2974
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2975
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2976
|
+
function borrowViewFunctionsMetadataV1(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2977
|
+
function contains<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2978
|
+
function containsViewFunctionsMetadataV1(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2979
|
+
function containsWithType<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2980
|
+
function isEmpty(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2981
|
+
function isViewFunctionV1(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2982
|
+
function length(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2983
|
+
function new$(client: IotaClient, args: [object$.ID, _0x1.ascii.String]): Promise<TypedDevInspectResults<[module_metadata.ModuleMetadata]>>;
|
|
2984
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2897
2987
|
export declare namespace object$ {
|
|
2898
2988
|
type ID = string;
|
|
2899
2989
|
namespace ID {
|
|
@@ -2923,6 +3013,7 @@ export declare namespace object$ {
|
|
|
2923
3013
|
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
|
2924
3014
|
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2925
3015
|
function randomnessState(tx: Transaction, args: []): TransactionArgument & [];
|
|
3016
|
+
function transactionDenyRules(tx: Transaction, args: []): TransactionArgument & [];
|
|
2926
3017
|
function uidAsInner(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2927
3018
|
function uidToAddress(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2928
3019
|
function uidToBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -2944,6 +3035,7 @@ export declare namespace object$ {
|
|
|
2944
3035
|
function new$(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2945
3036
|
function newUidFromHash(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2946
3037
|
function randomnessState(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
3038
|
+
function transactionDenyRules(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2947
3039
|
function uidAsInner(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2948
3040
|
function uidToAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2949
3041
|
function uidToBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
@@ -3162,7 +3254,11 @@ export declare class package_metadata extends IotaBaseProcessor {
|
|
|
3162
3254
|
static bind(options?: Partial<IotaBindOptions>): package_metadata;
|
|
3163
3255
|
onEventAuthenticatorMetadataV1(func: (event: package_metadata.AuthenticatorMetadataV1Instance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.AuthenticatorMetadataV1Instance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3164
3256
|
onEventModuleMetadataV1(func: (event: package_metadata.ModuleMetadataV1Instance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.ModuleMetadataV1Instance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3257
|
+
onEventModuleMetadataV1FieldName(func: (event: package_metadata.ModuleMetadataV1FieldNameInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.ModuleMetadataV1FieldNameInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3258
|
+
onEventModuleName(func: (event: package_metadata.ModuleNameInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.ModuleNameInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3259
|
+
onEventModulesMetadataFieldName(func: (event: package_metadata.ModulesMetadataFieldNameInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.ModulesMetadataFieldNameInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3165
3260
|
onEventPackageMetadataKey(func: (event: package_metadata.PackageMetadataKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.PackageMetadataKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3261
|
+
onEventPackageMetadataVersionFieldName(func: (event: package_metadata.PackageMetadataVersionFieldNameInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, package_metadata.PackageMetadataVersionFieldNameInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): package_metadata;
|
|
3166
3262
|
}
|
|
3167
3263
|
export declare namespace package_metadata {
|
|
3168
3264
|
interface AuthenticatorMetadataV1 {
|
|
@@ -3188,6 +3284,39 @@ export declare namespace package_metadata {
|
|
|
3188
3284
|
data_decoded: ModuleMetadataV1;
|
|
3189
3285
|
type_arguments: [];
|
|
3190
3286
|
};
|
|
3287
|
+
interface ModuleMetadataV1FieldName {
|
|
3288
|
+
dummy_field: boolean;
|
|
3289
|
+
}
|
|
3290
|
+
namespace ModuleMetadataV1FieldName {
|
|
3291
|
+
const TYPE_QNAME = "0x2::package_metadata::ModuleMetadataV1FieldName";
|
|
3292
|
+
function type(): TypeDescriptor<ModuleMetadataV1FieldName>;
|
|
3293
|
+
}
|
|
3294
|
+
type ModuleMetadataV1FieldNameInstance = TypedEventInstance<ModuleMetadataV1FieldName> & {
|
|
3295
|
+
data_decoded: ModuleMetadataV1FieldName;
|
|
3296
|
+
type_arguments: [];
|
|
3297
|
+
};
|
|
3298
|
+
interface ModuleName {
|
|
3299
|
+
pos0: _0x1.ascii.String;
|
|
3300
|
+
}
|
|
3301
|
+
namespace ModuleName {
|
|
3302
|
+
const TYPE_QNAME = "0x2::package_metadata::ModuleName";
|
|
3303
|
+
function type(): TypeDescriptor<ModuleName>;
|
|
3304
|
+
}
|
|
3305
|
+
type ModuleNameInstance = TypedEventInstance<ModuleName> & {
|
|
3306
|
+
data_decoded: ModuleName;
|
|
3307
|
+
type_arguments: [];
|
|
3308
|
+
};
|
|
3309
|
+
interface ModulesMetadataFieldName {
|
|
3310
|
+
dummy_field: boolean;
|
|
3311
|
+
}
|
|
3312
|
+
namespace ModulesMetadataFieldName {
|
|
3313
|
+
const TYPE_QNAME = "0x2::package_metadata::ModulesMetadataFieldName";
|
|
3314
|
+
function type(): TypeDescriptor<ModulesMetadataFieldName>;
|
|
3315
|
+
}
|
|
3316
|
+
type ModulesMetadataFieldNameInstance = TypedEventInstance<ModulesMetadataFieldName> & {
|
|
3317
|
+
data_decoded: ModulesMetadataFieldName;
|
|
3318
|
+
type_arguments: [];
|
|
3319
|
+
};
|
|
3191
3320
|
interface PackageMetadataKey {
|
|
3192
3321
|
dummy_field: boolean;
|
|
3193
3322
|
}
|
|
@@ -3210,12 +3339,45 @@ export declare namespace package_metadata {
|
|
|
3210
3339
|
const TYPE_QNAME = "0x2::package_metadata::PackageMetadataV1";
|
|
3211
3340
|
function type(): TypeDescriptor<PackageMetadataV1>;
|
|
3212
3341
|
}
|
|
3342
|
+
interface PackageMetadataVersionFieldName {
|
|
3343
|
+
dummy_field: boolean;
|
|
3344
|
+
}
|
|
3345
|
+
namespace PackageMetadataVersionFieldName {
|
|
3346
|
+
const TYPE_QNAME = "0x2::package_metadata::PackageMetadataVersionFieldName";
|
|
3347
|
+
function type(): TypeDescriptor<PackageMetadataVersionFieldName>;
|
|
3348
|
+
}
|
|
3349
|
+
type PackageMetadataVersionFieldNameInstance = TypedEventInstance<PackageMetadataVersionFieldName> & {
|
|
3350
|
+
data_decoded: PackageMetadataVersionFieldName;
|
|
3351
|
+
type_arguments: [];
|
|
3352
|
+
};
|
|
3213
3353
|
namespace builder {
|
|
3214
3354
|
function accountType(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3355
|
+
function authenticatorFunctionMetadataV1(tx: Transaction, args: [
|
|
3356
|
+
string | TransactionObjectArgument,
|
|
3357
|
+
string | TransactionObjectArgument
|
|
3358
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3215
3359
|
function authenticatorMetadataV1(tx: Transaction, args: [
|
|
3216
3360
|
string | TransactionObjectArgument,
|
|
3217
3361
|
string | TransactionObjectArgument
|
|
3218
3362
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3363
|
+
function borrowModulesMetadata(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3364
|
+
function borrowPackageMetadataVersionField(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3365
|
+
function functionName(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3366
|
+
function hasPackageMetadataVersionField(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3367
|
+
function moduleAuthenticatorFunctionMetadataV1(tx: Transaction, args: [
|
|
3368
|
+
string | TransactionObjectArgument,
|
|
3369
|
+
string | TransactionObjectArgument,
|
|
3370
|
+
string | TransactionObjectArgument
|
|
3371
|
+
]): TransactionArgument & [
|
|
3372
|
+
TransactionArgument,
|
|
3373
|
+
TransactionArgument,
|
|
3374
|
+
TransactionArgument
|
|
3375
|
+
];
|
|
3376
|
+
function moduleMetadata(tx: Transaction, args: [
|
|
3377
|
+
string | TransactionObjectArgument,
|
|
3378
|
+
string | TransactionObjectArgument
|
|
3379
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3380
|
+
function moduleName(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3219
3381
|
function modulesMetadataV1(tx: Transaction, args: [
|
|
3220
3382
|
string | TransactionObjectArgument,
|
|
3221
3383
|
string | TransactionObjectArgument
|
|
@@ -3223,6 +3385,10 @@ export declare namespace package_metadata {
|
|
|
3223
3385
|
function packageVersion(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3224
3386
|
function runtimeId(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3225
3387
|
function storageId(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3388
|
+
function tryGetAuthenticatorFunctionMetadataV1(tx: Transaction, args: [
|
|
3389
|
+
string | TransactionObjectArgument,
|
|
3390
|
+
string | TransactionObjectArgument
|
|
3391
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3226
3392
|
function tryGetAuthenticatorMetadataV1(tx: Transaction, args: [
|
|
3227
3393
|
string | TransactionObjectArgument,
|
|
3228
3394
|
string | TransactionObjectArgument
|
|
@@ -3234,11 +3400,22 @@ export declare namespace package_metadata {
|
|
|
3234
3400
|
}
|
|
3235
3401
|
namespace view {
|
|
3236
3402
|
function accountType(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.type_name.TypeName]>>;
|
|
3403
|
+
function authenticatorFunctionMetadataV1(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3237
3404
|
function authenticatorMetadataV1(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3405
|
+
function borrowModulesMetadata(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3406
|
+
function borrowPackageMetadataVersionField(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3407
|
+
function functionName(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3408
|
+
function hasPackageMetadataVersionField(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
3409
|
+
function moduleAuthenticatorFunctionMetadataV1(client: IotaClient, args: [string, string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3410
|
+
function moduleMetadata(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3411
|
+
function moduleName(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3238
3412
|
function modulesMetadataV1(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3239
3413
|
function packageVersion(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
3240
3414
|
function runtimeId(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
|
3241
3415
|
function storageId(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
|
3416
|
+
function tryGetAuthenticatorFunctionMetadataV1(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[
|
|
3417
|
+
_0x1.option.Option<package_metadata.AuthenticatorMetadataV1>
|
|
3418
|
+
]>>;
|
|
3242
3419
|
function tryGetAuthenticatorMetadataV1(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[
|
|
3243
3420
|
_0x1.option.Option<package_metadata.AuthenticatorMetadataV1>
|
|
3244
3421
|
]>>;
|
|
@@ -3373,9 +3550,11 @@ export declare namespace priority_queue {
|
|
|
3373
3550
|
}
|
|
3374
3551
|
export declare namespace protocol_config {
|
|
3375
3552
|
namespace builder {
|
|
3553
|
+
function getAttr<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3376
3554
|
function isFeatureEnabled(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3377
3555
|
}
|
|
3378
3556
|
namespace view {
|
|
3557
|
+
function getAttr<T0 = any>(client: IotaClient, args: [string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
3379
3558
|
function isFeatureEnabled(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
3380
3559
|
}
|
|
3381
3560
|
}
|
|
@@ -4343,6 +4522,66 @@ export declare namespace token {
|
|
|
4343
4522
|
function zero<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
|
4344
4523
|
}
|
|
4345
4524
|
}
|
|
4525
|
+
export declare class transaction_deny_rules extends IotaBaseProcessor {
|
|
4526
|
+
constructor(options: IotaBindOptions);
|
|
4527
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
|
4528
|
+
static bind(options?: Partial<IotaBindOptions>): transaction_deny_rules;
|
|
4529
|
+
onEventTransactionDenyRulesUpdated(func: (event: transaction_deny_rules.TransactionDenyRulesUpdatedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transaction_deny_rules.TransactionDenyRulesUpdatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transaction_deny_rules;
|
|
4530
|
+
}
|
|
4531
|
+
export declare namespace transaction_deny_rules {
|
|
4532
|
+
interface TransactionDenyRules {
|
|
4533
|
+
id: object$.UID;
|
|
4534
|
+
inner: versioned.Versioned;
|
|
4535
|
+
}
|
|
4536
|
+
namespace TransactionDenyRules {
|
|
4537
|
+
const TYPE_QNAME = "0x2::transaction_deny_rules::TransactionDenyRules";
|
|
4538
|
+
function type(): TypeDescriptor<TransactionDenyRules>;
|
|
4539
|
+
}
|
|
4540
|
+
interface TransactionDenyRulesInnerV1 {
|
|
4541
|
+
version: bigint;
|
|
4542
|
+
denied_addresses: linked_table.LinkedTable<string, boolean>;
|
|
4543
|
+
denied_objects: linked_table.LinkedTable<object$.ID, boolean>;
|
|
4544
|
+
denied_packages: linked_table.LinkedTable<object$.ID, boolean>;
|
|
4545
|
+
package_publish_disabled: boolean;
|
|
4546
|
+
package_upgrade_disabled: boolean;
|
|
4547
|
+
shared_object_disabled: boolean;
|
|
4548
|
+
user_transaction_disabled: boolean;
|
|
4549
|
+
receiving_objects_disabled: boolean;
|
|
4550
|
+
move_authenticator_disabled: boolean;
|
|
4551
|
+
}
|
|
4552
|
+
namespace TransactionDenyRulesInnerV1 {
|
|
4553
|
+
const TYPE_QNAME = "0x2::transaction_deny_rules::TransactionDenyRulesInnerV1";
|
|
4554
|
+
function type(): TypeDescriptor<TransactionDenyRulesInnerV1>;
|
|
4555
|
+
}
|
|
4556
|
+
interface TransactionDenyRulesUpdated {
|
|
4557
|
+
epoch: bigint;
|
|
4558
|
+
added_addresses: string[];
|
|
4559
|
+
removed_addresses: string[];
|
|
4560
|
+
added_objects: object$.ID[];
|
|
4561
|
+
removed_objects: object$.ID[];
|
|
4562
|
+
added_packages: object$.ID[];
|
|
4563
|
+
removed_packages: object$.ID[];
|
|
4564
|
+
package_publish_disabled: boolean;
|
|
4565
|
+
package_upgrade_disabled: boolean;
|
|
4566
|
+
shared_object_disabled: boolean;
|
|
4567
|
+
user_transaction_disabled: boolean;
|
|
4568
|
+
receiving_objects_disabled: boolean;
|
|
4569
|
+
move_authenticator_disabled: boolean;
|
|
4570
|
+
denied_addresses_len: bigint;
|
|
4571
|
+
denied_objects_len: bigint;
|
|
4572
|
+
denied_packages_len: bigint;
|
|
4573
|
+
}
|
|
4574
|
+
namespace TransactionDenyRulesUpdated {
|
|
4575
|
+
const TYPE_QNAME = "0x2::transaction_deny_rules::TransactionDenyRulesUpdated";
|
|
4576
|
+
function type(): TypeDescriptor<TransactionDenyRulesUpdated>;
|
|
4577
|
+
}
|
|
4578
|
+
type TransactionDenyRulesUpdatedInstance = TypedEventInstance<TransactionDenyRulesUpdated> & {
|
|
4579
|
+
data_decoded: TransactionDenyRulesUpdated;
|
|
4580
|
+
type_arguments: [];
|
|
4581
|
+
};
|
|
4582
|
+
namespace builder { }
|
|
4583
|
+
namespace view { }
|
|
4584
|
+
}
|
|
4346
4585
|
export declare namespace transfer {
|
|
4347
4586
|
interface Receiving<T0> {
|
|
4348
4587
|
id: object$.ID;
|