@sentio/sdk 2.60.0-rc.4 → 2.60.0-rc.5
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/lib/iota/builtin/0x1.d.ts +817 -0
- package/lib/iota/builtin/0x1.d.ts.map +1 -0
- package/lib/iota/builtin/0x1.js +4385 -0
- package/lib/iota/builtin/0x1.js.map +1 -0
- package/lib/iota/builtin/0x2.d.ts +4529 -0
- package/lib/iota/builtin/0x2.d.ts.map +1 -0
- package/lib/iota/builtin/0x2.js +17109 -0
- package/lib/iota/builtin/0x2.js.map +1 -0
- package/lib/iota/builtin/0x3.d.ts +2293 -0
- package/lib/iota/builtin/0x3.d.ts.map +1 -0
- package/lib/iota/builtin/0x3.js +6522 -0
- package/lib/iota/builtin/0x3.js.map +1 -0
- package/lib/iota/builtin/index.d.ts +4 -0
- package/lib/iota/builtin/index.d.ts.map +1 -0
- package/lib/iota/builtin/index.js +7 -0
- package/lib/iota/builtin/index.js.map +1 -0
- package/lib/iota/codegen/codegen.d.ts +2 -0
- package/lib/iota/codegen/codegen.d.ts.map +1 -0
- package/lib/iota/codegen/codegen.js +94 -0
- package/lib/iota/codegen/codegen.js.map +1 -0
- package/lib/iota/codegen/index.d.ts +2 -0
- package/lib/iota/codegen/index.d.ts.map +1 -0
- package/lib/iota/codegen/index.js +2 -0
- package/lib/iota/codegen/index.js.map +1 -0
- package/lib/iota/codegen/run.d.ts +2 -0
- package/lib/iota/codegen/run.d.ts.map +1 -0
- package/lib/iota/codegen/run.js +12 -0
- package/lib/iota/codegen/run.js.map +1 -0
- package/lib/iota/context.d.ts +50 -0
- package/lib/iota/context.d.ts.map +1 -0
- package/lib/iota/context.js +134 -0
- package/lib/iota/context.js.map +1 -0
- package/lib/iota/ext/coin.d.ts +17 -0
- package/lib/iota/ext/coin.d.ts.map +1 -0
- package/lib/iota/ext/coin.js +532 -0
- package/lib/iota/ext/coin.js.map +1 -0
- package/lib/iota/ext/index.d.ts +3 -0
- package/lib/iota/ext/index.d.ts.map +1 -0
- package/lib/iota/ext/index.js +3 -0
- package/lib/iota/ext/index.js.map +1 -0
- package/lib/iota/ext/move-dex.d.ts +19 -0
- package/lib/iota/ext/move-dex.d.ts.map +1 -0
- package/lib/iota/ext/move-dex.js +24 -0
- package/lib/iota/ext/move-dex.js.map +1 -0
- package/lib/iota/index.d.ts +11 -0
- package/lib/iota/index.d.ts.map +1 -0
- package/lib/iota/index.js +12 -0
- package/lib/iota/index.js.map +1 -0
- package/lib/iota/iota-object-processor-template.d.ts +44 -0
- package/lib/iota/iota-object-processor-template.d.ts.map +1 -0
- package/lib/iota/iota-object-processor-template.js +171 -0
- package/lib/iota/iota-object-processor-template.js.map +1 -0
- package/lib/iota/iota-object-processor.d.ts +83 -0
- package/lib/iota/iota-object-processor.d.ts.map +1 -0
- package/lib/iota/iota-object-processor.js +193 -0
- package/lib/iota/iota-object-processor.js.map +1 -0
- package/lib/iota/iota-plugin-part.d.ts +12 -0
- package/lib/iota/iota-plugin-part.d.ts.map +1 -0
- package/lib/iota/iota-plugin-part.js +178 -0
- package/lib/iota/iota-plugin-part.js.map +1 -0
- package/lib/iota/iota-plugin.d.ts +3 -0
- package/lib/iota/iota-plugin.d.ts.map +1 -0
- package/lib/iota/iota-plugin.js +4 -0
- package/lib/iota/iota-plugin.js.map +1 -0
- package/lib/iota/iota-processor.d.ts +47 -0
- package/lib/iota/iota-processor.d.ts.map +1 -0
- package/lib/iota/iota-processor.js +223 -0
- package/lib/iota/iota-processor.js.map +1 -0
- package/lib/iota/models.d.ts +12 -0
- package/lib/iota/models.d.ts.map +1 -0
- package/lib/iota/models.js +2 -0
- package/lib/iota/models.js.map +1 -0
- package/lib/iota/move-coder.d.ts +4 -0
- package/lib/iota/move-coder.d.ts.map +1 -0
- package/lib/iota/move-coder.js +12 -0
- package/lib/iota/move-coder.js.map +1 -0
- package/lib/iota/network.d.ts +10 -0
- package/lib/iota/network.d.ts.map +1 -0
- package/lib/iota/network.js +24 -0
- package/lib/iota/network.js.map +1 -0
- package/lib/iota/utils.d.ts +3 -0
- package/lib/iota/utils.d.ts.map +1 -0
- package/lib/iota/utils.js +41 -0
- package/lib/iota/utils.js.map +1 -0
- package/lib/sui/network.d.ts.map +1 -1
- package/lib/sui/network.js +0 -3
- package/lib/sui/network.js.map +1 -1
- package/lib/sui/sui-plugin-part.d.ts +12 -0
- package/lib/sui/sui-plugin-part.d.ts.map +1 -0
- package/lib/sui/sui-plugin-part.js +178 -0
- package/lib/sui/sui-plugin-part.js.map +1 -0
- package/lib/sui/sui-plugin.d.ts +4 -0
- package/lib/sui/sui-plugin.d.ts.map +1 -1
- package/lib/sui/sui-plugin.js +12 -159
- package/lib/sui/sui-plugin.js.map +1 -1
- package/lib/testing/iota-facet.d.ts +14 -0
- package/lib/testing/iota-facet.d.ts.map +1 -0
- package/lib/testing/iota-facet.js +124 -0
- package/lib/testing/iota-facet.js.map +1 -0
- package/lib/testing/test-processor-server.d.ts +2 -0
- package/lib/testing/test-processor-server.d.ts.map +1 -1
- package/lib/testing/test-processor-server.js +3 -0
- package/lib/testing/test-processor-server.js.map +1 -1
- package/package.json +20 -8
- package/src/iota/abis/0x1.json +4213 -0
- package/src/iota/abis/0x2.json +26692 -0
- package/src/iota/abis/0x3.json +10598 -0
- package/src/iota/builtin/0x1.ts +6292 -0
- package/src/iota/builtin/0x2.ts +26198 -0
- package/src/iota/builtin/0x3.ts +11144 -0
- package/src/iota/builtin/index.ts +6 -0
- package/src/iota/codegen/codegen.ts +118 -0
- package/src/iota/codegen/index.ts +1 -0
- package/src/iota/codegen/run.ts +13 -0
- package/src/iota/context.ts +200 -0
- package/src/iota/ext/coin.ts +565 -0
- package/src/iota/ext/index.ts +2 -0
- package/src/iota/ext/move-dex.ts +52 -0
- package/src/iota/index.ts +29 -0
- package/src/iota/iota-object-processor-template.ts +277 -0
- package/src/iota/iota-object-processor.ts +386 -0
- package/src/iota/iota-plugin-part.ts +211 -0
- package/src/iota/iota-plugin.ts +2 -0
- package/src/iota/iota-processor.ts +339 -0
- package/src/iota/models.ts +14 -0
- package/src/iota/move-coder.ts +15 -0
- package/src/iota/network.ts +27 -0
- package/src/iota/utils.ts +52 -0
- package/src/sui/network.ts +0 -3
- package/src/sui/sui-plugin-part.ts +211 -0
- package/src/sui/sui-plugin.ts +12 -178
- package/src/testing/iota-facet.ts +143 -0
- package/src/testing/test-processor-server.ts +3 -0
@@ -0,0 +1,4529 @@
|
|
1
|
+
import { TypeDescriptor } from "@typemove/move";
|
2
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/iota";
|
3
|
+
import { TypedDevInspectResults } from "@typemove/iota";
|
4
|
+
import { Transaction, TransactionArgument, TransactionObjectArgument } from "@iota/iota-sdk/transactions";
|
5
|
+
import { IotaClient } from "@iota/iota-sdk/client";
|
6
|
+
import { CallFilter, MoveFetchConfig, EventFilter } from "@sentio/sdk/move";
|
7
|
+
import { HandlerOptions } from "@sentio/sdk";
|
8
|
+
import { IotaBindOptions, IotaBaseProcessor, TypedFunctionPayload, IotaContext } from "@sentio/sdk/iota";
|
9
|
+
import * as _0x1 from "./0x1.js";
|
10
|
+
export declare namespace address {
|
11
|
+
namespace builder {
|
12
|
+
function fromAsciiBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
13
|
+
function fromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
14
|
+
function fromU256(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
15
|
+
function length(tx: Transaction, args: []): TransactionArgument & [];
|
16
|
+
function max(tx: Transaction, args: []): TransactionArgument & [];
|
17
|
+
function toAsciiString(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
18
|
+
function toBytes(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
19
|
+
function toString(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
20
|
+
function toU256(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
21
|
+
}
|
22
|
+
namespace view {
|
23
|
+
function fromAsciiBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
24
|
+
function fromBytes(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[string]>>;
|
25
|
+
function fromU256(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[string]>>;
|
26
|
+
function length(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
27
|
+
function max(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
28
|
+
function toAsciiString(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
29
|
+
function toBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
30
|
+
function toString(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
31
|
+
function toU256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
export declare class authenticator_state extends IotaBaseProcessor {
|
35
|
+
constructor(options: IotaBindOptions);
|
36
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
37
|
+
static bind(options?: Partial<IotaBindOptions>): authenticator_state;
|
38
|
+
onEventActiveJwk(func: (event: authenticator_state.ActiveJwkInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, authenticator_state.ActiveJwkInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): authenticator_state;
|
39
|
+
onEventJWK(func: (event: authenticator_state.JWKInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, authenticator_state.JWKInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): authenticator_state;
|
40
|
+
onEventJwkId(func: (event: authenticator_state.JwkIdInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, authenticator_state.JwkIdInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): authenticator_state;
|
41
|
+
}
|
42
|
+
export declare namespace authenticator_state {
|
43
|
+
interface ActiveJwk {
|
44
|
+
jwk_id: authenticator_state.JwkId;
|
45
|
+
jwk: authenticator_state.JWK;
|
46
|
+
epoch: bigint;
|
47
|
+
}
|
48
|
+
namespace ActiveJwk {
|
49
|
+
const TYPE_QNAME = "0x2::authenticator_state::ActiveJwk";
|
50
|
+
function type(): TypeDescriptor<ActiveJwk>;
|
51
|
+
}
|
52
|
+
type ActiveJwkInstance = TypedEventInstance<ActiveJwk> & {
|
53
|
+
data_decoded: ActiveJwk;
|
54
|
+
type_arguments: [];
|
55
|
+
};
|
56
|
+
interface AuthenticatorState {
|
57
|
+
id: object$.UID;
|
58
|
+
version: bigint;
|
59
|
+
}
|
60
|
+
namespace AuthenticatorState {
|
61
|
+
const TYPE_QNAME = "0x2::authenticator_state::AuthenticatorState";
|
62
|
+
function type(): TypeDescriptor<AuthenticatorState>;
|
63
|
+
}
|
64
|
+
interface AuthenticatorStateInner {
|
65
|
+
version: bigint;
|
66
|
+
active_jwks: authenticator_state.ActiveJwk[];
|
67
|
+
}
|
68
|
+
namespace AuthenticatorStateInner {
|
69
|
+
const TYPE_QNAME = "0x2::authenticator_state::AuthenticatorStateInner";
|
70
|
+
function type(): TypeDescriptor<AuthenticatorStateInner>;
|
71
|
+
}
|
72
|
+
interface JWK {
|
73
|
+
kty: string;
|
74
|
+
e: string;
|
75
|
+
n: string;
|
76
|
+
alg: string;
|
77
|
+
}
|
78
|
+
namespace JWK {
|
79
|
+
const TYPE_QNAME = "0x2::authenticator_state::JWK";
|
80
|
+
function type(): TypeDescriptor<JWK>;
|
81
|
+
}
|
82
|
+
type JWKInstance = TypedEventInstance<JWK> & {
|
83
|
+
data_decoded: JWK;
|
84
|
+
type_arguments: [];
|
85
|
+
};
|
86
|
+
interface JwkId {
|
87
|
+
iss: string;
|
88
|
+
kid: string;
|
89
|
+
}
|
90
|
+
namespace JwkId {
|
91
|
+
const TYPE_QNAME = "0x2::authenticator_state::JwkId";
|
92
|
+
function type(): TypeDescriptor<JwkId>;
|
93
|
+
}
|
94
|
+
type JwkIdInstance = TypedEventInstance<JwkId> & {
|
95
|
+
data_decoded: JwkId;
|
96
|
+
type_arguments: [];
|
97
|
+
};
|
98
|
+
namespace builder { }
|
99
|
+
namespace view { }
|
100
|
+
}
|
101
|
+
export declare namespace bag {
|
102
|
+
interface Bag {
|
103
|
+
id: object$.UID;
|
104
|
+
size: bigint;
|
105
|
+
}
|
106
|
+
namespace Bag {
|
107
|
+
const TYPE_QNAME = "0x2::bag::Bag";
|
108
|
+
function type(): TypeDescriptor<Bag>;
|
109
|
+
}
|
110
|
+
namespace builder {
|
111
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
112
|
+
string | TransactionObjectArgument | TransactionArgument,
|
113
|
+
T0 | TransactionArgument,
|
114
|
+
T1 | TransactionArgument
|
115
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
116
|
+
TransactionArgument,
|
117
|
+
TransactionArgument,
|
118
|
+
TransactionArgument
|
119
|
+
];
|
120
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
121
|
+
string | TransactionObjectArgument | TransactionArgument,
|
122
|
+
T0 | TransactionArgument
|
123
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
124
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
125
|
+
string | TransactionObjectArgument | TransactionArgument,
|
126
|
+
T0 | TransactionArgument
|
127
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
128
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
129
|
+
string | TransactionObjectArgument | TransactionArgument,
|
130
|
+
T0 | TransactionArgument
|
131
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
132
|
+
function containsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
133
|
+
string | TransactionObjectArgument | TransactionArgument,
|
134
|
+
T0 | TransactionArgument
|
135
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
136
|
+
function destroyEmpty(tx: Transaction, args: [bag.Bag | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
137
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
138
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
139
|
+
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
140
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
141
|
+
string | TransactionObjectArgument | TransactionArgument,
|
142
|
+
T0 | TransactionArgument
|
143
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
144
|
+
}
|
145
|
+
namespace view {
|
146
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
147
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
148
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
149
|
+
function contains<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
150
|
+
function containsWithType<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
151
|
+
function destroyEmpty(client: IotaClient, args: [bag.Bag]): Promise<TypedDevInspectResults<[]>>;
|
152
|
+
function isEmpty(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
153
|
+
function length(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
154
|
+
function new$(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bag.Bag]>>;
|
155
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
export declare namespace balance {
|
159
|
+
type Balance<T> = bigint;
|
160
|
+
namespace Balance {
|
161
|
+
const TYPE_QNAME = "0x2::balance::Balance";
|
162
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Balance<T0>>;
|
163
|
+
}
|
164
|
+
interface Supply<T0> {
|
165
|
+
value: bigint;
|
166
|
+
}
|
167
|
+
namespace Supply {
|
168
|
+
const TYPE_QNAME = "0x2::balance::Supply";
|
169
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Supply<T0>>;
|
170
|
+
}
|
171
|
+
namespace builder {
|
172
|
+
function createSupply<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
173
|
+
function decreaseSupply<T0 = any>(tx: Transaction, args: [
|
174
|
+
string | TransactionObjectArgument | TransactionArgument,
|
175
|
+
balance.Balance<T0> | TransactionArgument
|
176
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
177
|
+
function destroySupply<T0 = any>(tx: Transaction, args: [balance.Supply<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
178
|
+
function destroyZero<T0 = any>(tx: Transaction, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
179
|
+
function increaseSupply<T0 = any>(tx: Transaction, args: [
|
180
|
+
string | TransactionObjectArgument | TransactionArgument,
|
181
|
+
bigint | TransactionArgument
|
182
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
183
|
+
function join<T0 = any>(tx: Transaction, args: [
|
184
|
+
string | TransactionObjectArgument | TransactionArgument,
|
185
|
+
balance.Balance<T0> | TransactionArgument
|
186
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
187
|
+
function split<T0 = any>(tx: Transaction, args: [
|
188
|
+
string | TransactionObjectArgument | TransactionArgument,
|
189
|
+
bigint | TransactionArgument
|
190
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
191
|
+
function supplyValue<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
192
|
+
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
193
|
+
function withdrawAll<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
194
|
+
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
195
|
+
}
|
196
|
+
namespace view {
|
197
|
+
function createSupply<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
198
|
+
function decreaseSupply<T0 = any>(client: IotaClient, args: [string, balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
199
|
+
function destroySupply<T0 = any>(client: IotaClient, args: [balance.Supply<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
200
|
+
function destroyZero<T0 = any>(client: IotaClient, args: [balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
201
|
+
function increaseSupply<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
202
|
+
function join<T0 = any>(client: IotaClient, args: [string, balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
203
|
+
function split<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
204
|
+
function supplyValue<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
205
|
+
function value<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
206
|
+
function withdrawAll<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
207
|
+
function zero<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
export declare class bcs extends IotaBaseProcessor {
|
211
|
+
constructor(options: IotaBindOptions);
|
212
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
213
|
+
static bind(options?: Partial<IotaBindOptions>): bcs;
|
214
|
+
onEventBCS(func: (event: bcs.BCSInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, bcs.BCSInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): bcs;
|
215
|
+
}
|
216
|
+
export declare namespace bcs {
|
217
|
+
interface BCS {
|
218
|
+
bytes: number[];
|
219
|
+
}
|
220
|
+
namespace BCS {
|
221
|
+
const TYPE_QNAME = "0x2::bcs::BCS";
|
222
|
+
function type(): TypeDescriptor<BCS>;
|
223
|
+
}
|
224
|
+
type BCSInstance = TypedEventInstance<BCS> & {
|
225
|
+
data_decoded: BCS;
|
226
|
+
type_arguments: [];
|
227
|
+
};
|
228
|
+
namespace builder {
|
229
|
+
function intoRemainderBytes(tx: Transaction, args: [bcs.BCS | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
230
|
+
function new$(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
231
|
+
function peelAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
232
|
+
function peelBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
233
|
+
function peelEnumTag(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
234
|
+
function peelOptionAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
235
|
+
function peelOptionBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
236
|
+
function peelOptionU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
237
|
+
function peelOptionU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
238
|
+
function peelOptionU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
239
|
+
function peelOptionU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
240
|
+
function peelOptionU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
241
|
+
function peelOptionU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
242
|
+
function peelU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
243
|
+
function peelU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
244
|
+
function peelU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
245
|
+
function peelU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
246
|
+
function peelU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
247
|
+
function peelU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
248
|
+
function peelVecAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
249
|
+
function peelVecBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
250
|
+
function peelVecLength(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
251
|
+
function peelVecU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
252
|
+
function peelVecU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
253
|
+
function peelVecU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
254
|
+
function peelVecU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
255
|
+
function peelVecU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
256
|
+
function peelVecU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
257
|
+
function peelVecVecU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
258
|
+
function toBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
259
|
+
}
|
260
|
+
namespace view {
|
261
|
+
function intoRemainderBytes(client: IotaClient, args: [bcs.BCS]): Promise<TypedDevInspectResults<[number[]]>>;
|
262
|
+
function new$(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[bcs.BCS]>>;
|
263
|
+
function peelAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
264
|
+
function peelBool(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
265
|
+
function peelEnumTag(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
266
|
+
function peelOptionAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
267
|
+
function peelOptionBool(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<boolean>]>>;
|
268
|
+
function peelOptionU128(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
269
|
+
function peelOptionU16(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
270
|
+
function peelOptionU256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
271
|
+
function peelOptionU32(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
272
|
+
function peelOptionU64(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
273
|
+
function peelOptionU8(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
274
|
+
function peelU128(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
275
|
+
function peelU16(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
276
|
+
function peelU256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
277
|
+
function peelU32(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
278
|
+
function peelU64(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
279
|
+
function peelU8(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
280
|
+
function peelVecAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string[]]>>;
|
281
|
+
function peelVecBool(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean[]]>>;
|
282
|
+
function peelVecLength(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
283
|
+
function peelVecU128(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
284
|
+
function peelVecU16(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
285
|
+
function peelVecU256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
286
|
+
function peelVecU32(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
287
|
+
function peelVecU64(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
288
|
+
function peelVecU8(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
289
|
+
function peelVecVecU8(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[][]]>>;
|
290
|
+
function toBytes<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
export declare namespace bls12381 {
|
294
|
+
interface G1 {
|
295
|
+
dummy_field: boolean;
|
296
|
+
}
|
297
|
+
namespace G1 {
|
298
|
+
const TYPE_QNAME = "0x2::bls12381::G1";
|
299
|
+
function type(): TypeDescriptor<G1>;
|
300
|
+
}
|
301
|
+
interface G2 {
|
302
|
+
dummy_field: boolean;
|
303
|
+
}
|
304
|
+
namespace G2 {
|
305
|
+
const TYPE_QNAME = "0x2::bls12381::G2";
|
306
|
+
function type(): TypeDescriptor<G2>;
|
307
|
+
}
|
308
|
+
interface GT {
|
309
|
+
dummy_field: boolean;
|
310
|
+
}
|
311
|
+
namespace GT {
|
312
|
+
const TYPE_QNAME = "0x2::bls12381::GT";
|
313
|
+
function type(): TypeDescriptor<GT>;
|
314
|
+
}
|
315
|
+
interface Scalar {
|
316
|
+
dummy_field: boolean;
|
317
|
+
}
|
318
|
+
namespace Scalar {
|
319
|
+
const TYPE_QNAME = "0x2::bls12381::Scalar";
|
320
|
+
function type(): TypeDescriptor<Scalar>;
|
321
|
+
}
|
322
|
+
interface UncompressedG1 {
|
323
|
+
dummy_field: boolean;
|
324
|
+
}
|
325
|
+
namespace UncompressedG1 {
|
326
|
+
const TYPE_QNAME = "0x2::bls12381::UncompressedG1";
|
327
|
+
function type(): TypeDescriptor<UncompressedG1>;
|
328
|
+
}
|
329
|
+
namespace builder {
|
330
|
+
function bls12381MinPkVerify(tx: Transaction, args: [
|
331
|
+
string | TransactionObjectArgument | TransactionArgument,
|
332
|
+
string | TransactionObjectArgument | TransactionArgument,
|
333
|
+
string | TransactionObjectArgument | TransactionArgument
|
334
|
+
]): TransactionArgument & [
|
335
|
+
TransactionArgument,
|
336
|
+
TransactionArgument,
|
337
|
+
TransactionArgument
|
338
|
+
];
|
339
|
+
function bls12381MinSigVerify(tx: Transaction, args: [
|
340
|
+
string | TransactionObjectArgument | TransactionArgument,
|
341
|
+
string | TransactionObjectArgument | TransactionArgument,
|
342
|
+
string | TransactionObjectArgument | TransactionArgument
|
343
|
+
]): TransactionArgument & [
|
344
|
+
TransactionArgument,
|
345
|
+
TransactionArgument,
|
346
|
+
TransactionArgument
|
347
|
+
];
|
348
|
+
function g1Add(tx: Transaction, args: [
|
349
|
+
string | TransactionObjectArgument | TransactionArgument,
|
350
|
+
string | TransactionObjectArgument | TransactionArgument
|
351
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
352
|
+
function g1Div(tx: Transaction, args: [
|
353
|
+
string | TransactionObjectArgument | TransactionArgument,
|
354
|
+
string | TransactionObjectArgument | TransactionArgument
|
355
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
356
|
+
function g1FromBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
357
|
+
function g1Generator(tx: Transaction, args: []): TransactionArgument & [];
|
358
|
+
function g1Identity(tx: Transaction, args: []): TransactionArgument & [];
|
359
|
+
function g1Mul(tx: Transaction, args: [
|
360
|
+
string | TransactionObjectArgument | TransactionArgument,
|
361
|
+
string | TransactionObjectArgument | TransactionArgument
|
362
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
363
|
+
function g1MultiScalarMultiplication(tx: Transaction, args: [
|
364
|
+
string | TransactionObjectArgument | TransactionArgument,
|
365
|
+
string | TransactionObjectArgument | TransactionArgument
|
366
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
367
|
+
function g1Neg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
368
|
+
function g1Sub(tx: Transaction, args: [
|
369
|
+
string | TransactionObjectArgument | TransactionArgument,
|
370
|
+
string | TransactionObjectArgument | TransactionArgument
|
371
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
372
|
+
function g1ToUncompressedG1(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
373
|
+
function g2Add(tx: Transaction, args: [
|
374
|
+
string | TransactionObjectArgument | TransactionArgument,
|
375
|
+
string | TransactionObjectArgument | TransactionArgument
|
376
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
377
|
+
function g2Div(tx: Transaction, args: [
|
378
|
+
string | TransactionObjectArgument | TransactionArgument,
|
379
|
+
string | TransactionObjectArgument | TransactionArgument
|
380
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
381
|
+
function g2FromBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
382
|
+
function g2Generator(tx: Transaction, args: []): TransactionArgument & [];
|
383
|
+
function g2Identity(tx: Transaction, args: []): TransactionArgument & [];
|
384
|
+
function g2Mul(tx: Transaction, args: [
|
385
|
+
string | TransactionObjectArgument | TransactionArgument,
|
386
|
+
string | TransactionObjectArgument | TransactionArgument
|
387
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
388
|
+
function g2MultiScalarMultiplication(tx: Transaction, args: [
|
389
|
+
string | TransactionObjectArgument | TransactionArgument,
|
390
|
+
string | TransactionObjectArgument | TransactionArgument
|
391
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
392
|
+
function g2Neg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
393
|
+
function g2Sub(tx: Transaction, args: [
|
394
|
+
string | TransactionObjectArgument | TransactionArgument,
|
395
|
+
string | TransactionObjectArgument | TransactionArgument
|
396
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
397
|
+
function gtAdd(tx: Transaction, args: [
|
398
|
+
string | TransactionObjectArgument | TransactionArgument,
|
399
|
+
string | TransactionObjectArgument | TransactionArgument
|
400
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
401
|
+
function gtDiv(tx: Transaction, args: [
|
402
|
+
string | TransactionObjectArgument | TransactionArgument,
|
403
|
+
string | TransactionObjectArgument | TransactionArgument
|
404
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
405
|
+
function gtGenerator(tx: Transaction, args: []): TransactionArgument & [];
|
406
|
+
function gtIdentity(tx: Transaction, args: []): TransactionArgument & [];
|
407
|
+
function gtMul(tx: Transaction, args: [
|
408
|
+
string | TransactionObjectArgument | TransactionArgument,
|
409
|
+
string | TransactionObjectArgument | TransactionArgument
|
410
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
411
|
+
function gtNeg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
412
|
+
function gtSub(tx: Transaction, args: [
|
413
|
+
string | TransactionObjectArgument | TransactionArgument,
|
414
|
+
string | TransactionObjectArgument | TransactionArgument
|
415
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
416
|
+
function hashToG1(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
417
|
+
function hashToG2(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
418
|
+
function pairing(tx: Transaction, args: [
|
419
|
+
string | TransactionObjectArgument | TransactionArgument,
|
420
|
+
string | TransactionObjectArgument | TransactionArgument
|
421
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
422
|
+
function scalarAdd(tx: Transaction, args: [
|
423
|
+
string | TransactionObjectArgument | TransactionArgument,
|
424
|
+
string | TransactionObjectArgument | TransactionArgument
|
425
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
426
|
+
function scalarDiv(tx: Transaction, args: [
|
427
|
+
string | TransactionObjectArgument | TransactionArgument,
|
428
|
+
string | TransactionObjectArgument | TransactionArgument
|
429
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
430
|
+
function scalarFromBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
431
|
+
function scalarFromU64(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
432
|
+
function scalarInv(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
433
|
+
function scalarMul(tx: Transaction, args: [
|
434
|
+
string | TransactionObjectArgument | TransactionArgument,
|
435
|
+
string | TransactionObjectArgument | TransactionArgument
|
436
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
437
|
+
function scalarNeg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
438
|
+
function scalarOne(tx: Transaction, args: []): TransactionArgument & [];
|
439
|
+
function scalarSub(tx: Transaction, args: [
|
440
|
+
string | TransactionObjectArgument | TransactionArgument,
|
441
|
+
string | TransactionObjectArgument | TransactionArgument
|
442
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
443
|
+
function scalarZero(tx: Transaction, args: []): TransactionArgument & [];
|
444
|
+
function uncompressedG1Sum(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
445
|
+
function uncompressedG1ToG1(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
446
|
+
}
|
447
|
+
namespace view {
|
448
|
+
function bls12381MinPkVerify(client: IotaClient, args: [string, string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
449
|
+
function bls12381MinSigVerify(client: IotaClient, args: [string, string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
450
|
+
function g1Add(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
451
|
+
function g1Div(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
452
|
+
function g1FromBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
453
|
+
function g1Generator(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
454
|
+
function g1Identity(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
455
|
+
function g1Mul(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
456
|
+
function g1MultiScalarMultiplication(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
457
|
+
function g1Neg(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
458
|
+
function g1Sub(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
459
|
+
function g1ToUncompressedG1(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.UncompressedG1>]>>;
|
460
|
+
function g2Add(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
461
|
+
function g2Div(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
462
|
+
function g2FromBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
463
|
+
function g2Generator(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
464
|
+
function g2Identity(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
465
|
+
function g2Mul(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
466
|
+
function g2MultiScalarMultiplication(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
467
|
+
function g2Neg(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
468
|
+
function g2Sub(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
469
|
+
function gtAdd(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
470
|
+
function gtDiv(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
471
|
+
function gtGenerator(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
472
|
+
function gtIdentity(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
473
|
+
function gtMul(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
474
|
+
function gtNeg(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
475
|
+
function gtSub(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
476
|
+
function hashToG1(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
477
|
+
function hashToG2(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
478
|
+
function pairing(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
479
|
+
function scalarAdd(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
480
|
+
function scalarDiv(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
481
|
+
function scalarFromBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
482
|
+
function scalarFromU64(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
483
|
+
function scalarInv(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
484
|
+
function scalarMul(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
485
|
+
function scalarNeg(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
486
|
+
function scalarOne(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
487
|
+
function scalarSub(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
488
|
+
function scalarZero(client: IotaClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
489
|
+
function uncompressedG1Sum(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.UncompressedG1>]>>;
|
490
|
+
function uncompressedG1ToG1(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
export declare namespace borrow {
|
494
|
+
interface Borrow {
|
495
|
+
ref: string;
|
496
|
+
obj: object$.ID;
|
497
|
+
}
|
498
|
+
namespace Borrow {
|
499
|
+
const TYPE_QNAME = "0x2::borrow::Borrow";
|
500
|
+
function type(): TypeDescriptor<Borrow>;
|
501
|
+
}
|
502
|
+
interface Referent<T0> {
|
503
|
+
id: string;
|
504
|
+
value: _0x1.option.Option<T0>;
|
505
|
+
}
|
506
|
+
namespace Referent {
|
507
|
+
const TYPE_QNAME = "0x2::borrow::Referent";
|
508
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Referent<T0>>;
|
509
|
+
}
|
510
|
+
namespace builder {
|
511
|
+
function borrow<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
512
|
+
function destroy<T0 = any>(tx: Transaction, args: [borrow.Referent<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
513
|
+
function new$<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
514
|
+
function putBack<T0 = any>(tx: Transaction, args: [
|
515
|
+
string | TransactionObjectArgument | TransactionArgument,
|
516
|
+
T0 | TransactionArgument,
|
517
|
+
borrow.Borrow | TransactionArgument
|
518
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
519
|
+
TransactionArgument,
|
520
|
+
TransactionArgument,
|
521
|
+
TransactionArgument
|
522
|
+
];
|
523
|
+
}
|
524
|
+
namespace view {
|
525
|
+
function borrow<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, borrow.Borrow]>>;
|
526
|
+
function destroy<T0 = any>(client: IotaClient, args: [borrow.Referent<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
527
|
+
function new$<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[borrow.Referent<T0>]>>;
|
528
|
+
function putBack<T0 = any>(client: IotaClient, args: [string, T0, borrow.Borrow], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
529
|
+
}
|
530
|
+
}
|
531
|
+
export declare namespace clock {
|
532
|
+
interface Clock {
|
533
|
+
id: object$.UID;
|
534
|
+
timestamp_ms: bigint;
|
535
|
+
}
|
536
|
+
namespace Clock {
|
537
|
+
const TYPE_QNAME = "0x2::clock::Clock";
|
538
|
+
function type(): TypeDescriptor<Clock>;
|
539
|
+
}
|
540
|
+
namespace builder {
|
541
|
+
function timestampMs(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
542
|
+
}
|
543
|
+
namespace view {
|
544
|
+
function timestampMs(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
545
|
+
}
|
546
|
+
}
|
547
|
+
export declare class coin extends IotaBaseProcessor {
|
548
|
+
constructor(options: IotaBindOptions);
|
549
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
550
|
+
static bind(options?: Partial<IotaBindOptions>): coin;
|
551
|
+
onEntryBurn(func: (call: coin.BurnPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.BurnPayload>): coin;
|
552
|
+
onEntryJoin(func: (call: coin.JoinPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.JoinPayload>): coin;
|
553
|
+
onEntryMintAndTransfer(func: (call: coin.MintAndTransferPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.MintAndTransferPayload>): coin;
|
554
|
+
onEntryUpdateDescription(func: (call: coin.UpdateDescriptionPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateDescriptionPayload>): coin;
|
555
|
+
onEntryUpdateIconUrl(func: (call: coin.UpdateIconUrlPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateIconUrlPayload>): coin;
|
556
|
+
onEntryUpdateName(func: (call: coin.UpdateNamePayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateNamePayload>): coin;
|
557
|
+
onEntryUpdateSymbol(func: (call: coin.UpdateSymbolPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateSymbolPayload>): coin;
|
558
|
+
}
|
559
|
+
export declare namespace coin {
|
560
|
+
type Coin<T> = string;
|
561
|
+
namespace Coin {
|
562
|
+
const TYPE_QNAME = "0x2::coin::Coin";
|
563
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Coin<T0>>;
|
564
|
+
}
|
565
|
+
interface CoinMetadata<T0> {
|
566
|
+
id: object$.UID;
|
567
|
+
decimals: number;
|
568
|
+
name: string;
|
569
|
+
symbol: _0x1.ascii.String;
|
570
|
+
description: string;
|
571
|
+
icon_url: _0x1.option.Option<url.Url>;
|
572
|
+
}
|
573
|
+
namespace CoinMetadata {
|
574
|
+
const TYPE_QNAME = "0x2::coin::CoinMetadata";
|
575
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinMetadata<T0>>;
|
576
|
+
}
|
577
|
+
interface DenyCapV1<T0> {
|
578
|
+
id: object$.UID;
|
579
|
+
allow_global_pause: boolean;
|
580
|
+
}
|
581
|
+
namespace DenyCapV1 {
|
582
|
+
const TYPE_QNAME = "0x2::coin::DenyCapV1";
|
583
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DenyCapV1<T0>>;
|
584
|
+
}
|
585
|
+
interface RegulatedCoinMetadata<T0> {
|
586
|
+
id: object$.UID;
|
587
|
+
coin_metadata_object: object$.ID;
|
588
|
+
deny_cap_object: object$.ID;
|
589
|
+
}
|
590
|
+
namespace RegulatedCoinMetadata {
|
591
|
+
const TYPE_QNAME = "0x2::coin::RegulatedCoinMetadata";
|
592
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RegulatedCoinMetadata<T0>>;
|
593
|
+
}
|
594
|
+
interface TreasuryCap<T0> {
|
595
|
+
id: object$.UID;
|
596
|
+
total_supply: balance.Supply<T0>;
|
597
|
+
}
|
598
|
+
namespace TreasuryCap {
|
599
|
+
const TYPE_QNAME = "0x2::coin::TreasuryCap";
|
600
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TreasuryCap<T0>>;
|
601
|
+
}
|
602
|
+
namespace builder {
|
603
|
+
function balance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
604
|
+
function balanceMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
605
|
+
function burn<T0 = any>(tx: Transaction, args: [
|
606
|
+
string | TransactionObjectArgument | TransactionArgument,
|
607
|
+
coin.Coin<T0> | TransactionArgument
|
608
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
609
|
+
function createCurrency<T0 = any>(tx: Transaction, args: [
|
610
|
+
T0 | TransactionArgument,
|
611
|
+
number | TransactionArgument,
|
612
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
613
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
614
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
615
|
+
_0x1.option.Option<url.Url> | TransactionArgument
|
616
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
617
|
+
TransactionArgument,
|
618
|
+
TransactionArgument,
|
619
|
+
TransactionArgument,
|
620
|
+
TransactionArgument,
|
621
|
+
TransactionArgument,
|
622
|
+
TransactionArgument
|
623
|
+
];
|
624
|
+
function createRegulatedCurrencyV1<T0 = any>(tx: Transaction, args: [
|
625
|
+
T0 | TransactionArgument,
|
626
|
+
number | TransactionArgument,
|
627
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
628
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
629
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
630
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
631
|
+
boolean | TransactionArgument
|
632
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
633
|
+
TransactionArgument,
|
634
|
+
TransactionArgument,
|
635
|
+
TransactionArgument,
|
636
|
+
TransactionArgument,
|
637
|
+
TransactionArgument,
|
638
|
+
TransactionArgument,
|
639
|
+
TransactionArgument
|
640
|
+
];
|
641
|
+
function denyListV1Add<T0 = any>(tx: Transaction, args: [
|
642
|
+
string | TransactionObjectArgument | TransactionArgument,
|
643
|
+
string | TransactionObjectArgument | TransactionArgument,
|
644
|
+
string | TransactionArgument
|
645
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
646
|
+
TransactionArgument,
|
647
|
+
TransactionArgument,
|
648
|
+
TransactionArgument
|
649
|
+
];
|
650
|
+
function denyListV1ContainsCurrentEpoch<T0 = any>(tx: Transaction, args: [
|
651
|
+
string | TransactionObjectArgument | TransactionArgument,
|
652
|
+
string | TransactionArgument
|
653
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
654
|
+
function denyListV1ContainsNextEpoch<T0 = any>(tx: Transaction, args: [
|
655
|
+
string | TransactionObjectArgument | TransactionArgument,
|
656
|
+
string | TransactionArgument
|
657
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
658
|
+
function denyListV1DisableGlobalPause<T0 = any>(tx: Transaction, args: [
|
659
|
+
string | TransactionObjectArgument | TransactionArgument,
|
660
|
+
string | TransactionObjectArgument | TransactionArgument
|
661
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
662
|
+
function denyListV1EnableGlobalPause<T0 = any>(tx: Transaction, args: [
|
663
|
+
string | TransactionObjectArgument | TransactionArgument,
|
664
|
+
string | TransactionObjectArgument | TransactionArgument
|
665
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
666
|
+
function denyListV1IsGlobalPauseEnabledCurrentEpoch<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
667
|
+
function denyListV1IsGlobalPauseEnabledNextEpoch<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
668
|
+
function denyListV1Remove<T0 = any>(tx: Transaction, args: [
|
669
|
+
string | TransactionObjectArgument | TransactionArgument,
|
670
|
+
string | TransactionObjectArgument | TransactionArgument,
|
671
|
+
string | TransactionArgument
|
672
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
673
|
+
TransactionArgument,
|
674
|
+
TransactionArgument,
|
675
|
+
TransactionArgument
|
676
|
+
];
|
677
|
+
function destroyZero<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
678
|
+
function divideIntoN<T0 = any>(tx: Transaction, args: [
|
679
|
+
string | TransactionObjectArgument | TransactionArgument,
|
680
|
+
bigint | TransactionArgument
|
681
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
682
|
+
function fromBalance<T0 = any>(tx: Transaction, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
683
|
+
function getDecimals<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
684
|
+
function getDescription<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
685
|
+
function getIconUrl<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
686
|
+
function getName<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
687
|
+
function getSymbol<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
688
|
+
function intoBalance<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
689
|
+
function join<T0 = any>(tx: Transaction, args: [
|
690
|
+
string | TransactionObjectArgument | TransactionArgument,
|
691
|
+
coin.Coin<T0> | TransactionArgument
|
692
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
693
|
+
function mint<T0 = any>(tx: Transaction, args: [
|
694
|
+
string | TransactionObjectArgument | TransactionArgument,
|
695
|
+
bigint | TransactionArgument
|
696
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
697
|
+
function mintAndTransfer<T0 = any>(tx: Transaction, args: [
|
698
|
+
string | TransactionObjectArgument | TransactionArgument,
|
699
|
+
bigint | TransactionArgument,
|
700
|
+
string | TransactionArgument
|
701
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
702
|
+
TransactionArgument,
|
703
|
+
TransactionArgument,
|
704
|
+
TransactionArgument
|
705
|
+
];
|
706
|
+
function mintBalance<T0 = any>(tx: Transaction, args: [
|
707
|
+
string | TransactionObjectArgument | TransactionArgument,
|
708
|
+
bigint | TransactionArgument
|
709
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
710
|
+
function put<T0 = any>(tx: Transaction, args: [
|
711
|
+
string | TransactionObjectArgument | TransactionArgument,
|
712
|
+
coin.Coin<T0> | TransactionArgument
|
713
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
714
|
+
function split<T0 = any>(tx: Transaction, args: [
|
715
|
+
string | TransactionObjectArgument | TransactionArgument,
|
716
|
+
bigint | TransactionArgument
|
717
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
718
|
+
function supplyImmut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
719
|
+
function supplyMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
720
|
+
function take<T0 = any>(tx: Transaction, args: [
|
721
|
+
string | TransactionObjectArgument | TransactionArgument,
|
722
|
+
bigint | TransactionArgument
|
723
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
724
|
+
function totalSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
725
|
+
function treasuryIntoSupply<T0 = any>(tx: Transaction, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
726
|
+
function updateDescription<T0 = any>(tx: Transaction, args: [
|
727
|
+
string | TransactionObjectArgument | TransactionArgument,
|
728
|
+
string | TransactionObjectArgument | TransactionArgument,
|
729
|
+
string | TransactionArgument
|
730
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
731
|
+
TransactionArgument,
|
732
|
+
TransactionArgument,
|
733
|
+
TransactionArgument
|
734
|
+
];
|
735
|
+
function updateIconUrl<T0 = any>(tx: Transaction, args: [
|
736
|
+
string | TransactionObjectArgument | TransactionArgument,
|
737
|
+
string | TransactionObjectArgument | TransactionArgument,
|
738
|
+
_0x1.ascii.String | TransactionArgument
|
739
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
740
|
+
TransactionArgument,
|
741
|
+
TransactionArgument,
|
742
|
+
TransactionArgument
|
743
|
+
];
|
744
|
+
function updateName<T0 = any>(tx: Transaction, args: [
|
745
|
+
string | TransactionObjectArgument | TransactionArgument,
|
746
|
+
string | TransactionObjectArgument | TransactionArgument,
|
747
|
+
string | TransactionArgument
|
748
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
749
|
+
TransactionArgument,
|
750
|
+
TransactionArgument,
|
751
|
+
TransactionArgument
|
752
|
+
];
|
753
|
+
function updateSymbol<T0 = any>(tx: Transaction, args: [
|
754
|
+
string | TransactionObjectArgument | TransactionArgument,
|
755
|
+
string | TransactionObjectArgument | TransactionArgument,
|
756
|
+
_0x1.ascii.String | TransactionArgument
|
757
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
758
|
+
TransactionArgument,
|
759
|
+
TransactionArgument,
|
760
|
+
TransactionArgument
|
761
|
+
];
|
762
|
+
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
763
|
+
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
764
|
+
}
|
765
|
+
namespace view {
|
766
|
+
function balance<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
767
|
+
function balanceMut<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
768
|
+
function burn<T0 = any>(client: IotaClient, args: [string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
769
|
+
function createCurrency<T0 = any>(client: IotaClient, args: [
|
770
|
+
T0,
|
771
|
+
number,
|
772
|
+
string[],
|
773
|
+
string[],
|
774
|
+
string[],
|
775
|
+
_0x1.option.Option<url.Url>
|
776
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.TreasuryCap<T0>, coin.CoinMetadata<T0>]>>;
|
777
|
+
function createRegulatedCurrencyV1<T0 = any>(client: IotaClient, args: [
|
778
|
+
T0,
|
779
|
+
number,
|
780
|
+
string[],
|
781
|
+
string[],
|
782
|
+
string[],
|
783
|
+
_0x1.option.Option<url.Url>,
|
784
|
+
boolean
|
785
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
786
|
+
coin.TreasuryCap<T0>,
|
787
|
+
coin.DenyCapV1<T0>,
|
788
|
+
coin.CoinMetadata<T0>
|
789
|
+
]>>;
|
790
|
+
function denyListV1Add<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
791
|
+
function denyListV1ContainsCurrentEpoch<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
792
|
+
function denyListV1ContainsNextEpoch<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
793
|
+
function denyListV1DisableGlobalPause<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
794
|
+
function denyListV1EnableGlobalPause<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
795
|
+
function denyListV1IsGlobalPauseEnabledCurrentEpoch<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
796
|
+
function denyListV1IsGlobalPauseEnabledNextEpoch<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
797
|
+
function denyListV1Remove<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
798
|
+
function destroyZero<T0 = any>(client: IotaClient, args: [coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
799
|
+
function divideIntoN<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>[]]>>;
|
800
|
+
function fromBalance<T0 = any>(client: IotaClient, args: [balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
801
|
+
function getDecimals<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
802
|
+
function getDescription<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
803
|
+
function getIconUrl<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<url.Url>]>>;
|
804
|
+
function getName<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
805
|
+
function getSymbol<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
806
|
+
function intoBalance<T0 = any>(client: IotaClient, args: [coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
807
|
+
function join<T0 = any>(client: IotaClient, args: [string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
808
|
+
function mint<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
809
|
+
function mintAndTransfer<T0 = any>(client: IotaClient, args: [string, bigint, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
810
|
+
function mintBalance<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
811
|
+
function put<T0 = any>(client: IotaClient, args: [string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
812
|
+
function split<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
813
|
+
function supplyImmut<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
814
|
+
function supplyMut<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
815
|
+
function take<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
816
|
+
function totalSupply<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
817
|
+
function treasuryIntoSupply<T0 = any>(client: IotaClient, args: [coin.TreasuryCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
818
|
+
function updateDescription<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
819
|
+
function updateIconUrl<T0 = any>(client: IotaClient, args: [string, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
820
|
+
function updateName<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
821
|
+
function updateSymbol<T0 = any>(client: IotaClient, args: [string, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
822
|
+
function value<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
823
|
+
function zero<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
824
|
+
}
|
825
|
+
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[string, coin.Coin<T0>]> {
|
826
|
+
arguments_decoded: [string, coin.Coin<T0>];
|
827
|
+
type_arguments: [string];
|
828
|
+
}
|
829
|
+
interface JoinPayload<T0 = any> extends TypedFunctionPayload<[string, coin.Coin<T0>]> {
|
830
|
+
arguments_decoded: [string, coin.Coin<T0>];
|
831
|
+
type_arguments: [string];
|
832
|
+
}
|
833
|
+
interface MintAndTransferPayload<T0 = any> extends TypedFunctionPayload<[string, bigint, string, string]> {
|
834
|
+
arguments_decoded: [string, bigint, string, string];
|
835
|
+
type_arguments: [string];
|
836
|
+
}
|
837
|
+
interface UpdateDescriptionPayload<T0 = any> extends TypedFunctionPayload<[string, string, string]> {
|
838
|
+
arguments_decoded: [string, string, string];
|
839
|
+
type_arguments: [string];
|
840
|
+
}
|
841
|
+
interface UpdateIconUrlPayload<T0 = any> extends TypedFunctionPayload<[string, string, _0x1.ascii.String]> {
|
842
|
+
arguments_decoded: [string, string, _0x1.ascii.String];
|
843
|
+
type_arguments: [string];
|
844
|
+
}
|
845
|
+
interface UpdateNamePayload<T0 = any> extends TypedFunctionPayload<[string, string, string]> {
|
846
|
+
arguments_decoded: [string, string, string];
|
847
|
+
type_arguments: [string];
|
848
|
+
}
|
849
|
+
interface UpdateSymbolPayload<T0 = any> extends TypedFunctionPayload<[string, string, _0x1.ascii.String]> {
|
850
|
+
arguments_decoded: [string, string, _0x1.ascii.String];
|
851
|
+
type_arguments: [string];
|
852
|
+
}
|
853
|
+
}
|
854
|
+
export declare class coin_manager extends IotaBaseProcessor {
|
855
|
+
constructor(options: IotaBindOptions);
|
856
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
857
|
+
static bind(options?: Partial<IotaBindOptions>): coin_manager;
|
858
|
+
onEntryBurn(func: (call: coin_manager.BurnPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin_manager.BurnPayload>): coin_manager;
|
859
|
+
onEventCoinManaged(func: (event: coin_manager.CoinManagedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, coin_manager.CoinManagedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): coin_manager;
|
860
|
+
onEventMetadataOwnershipRenounced(func: (event: coin_manager.MetadataOwnershipRenouncedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, coin_manager.MetadataOwnershipRenouncedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): coin_manager;
|
861
|
+
onEventTreasuryOwnershipRenounced(func: (event: coin_manager.TreasuryOwnershipRenouncedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, coin_manager.TreasuryOwnershipRenouncedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): coin_manager;
|
862
|
+
}
|
863
|
+
export declare namespace coin_manager {
|
864
|
+
interface CoinManaged {
|
865
|
+
coin_name: _0x1.ascii.String;
|
866
|
+
}
|
867
|
+
namespace CoinManaged {
|
868
|
+
const TYPE_QNAME = "0x2::coin_manager::CoinManaged";
|
869
|
+
function type(): TypeDescriptor<CoinManaged>;
|
870
|
+
}
|
871
|
+
type CoinManagedInstance = TypedEventInstance<CoinManaged> & {
|
872
|
+
data_decoded: CoinManaged;
|
873
|
+
type_arguments: [];
|
874
|
+
};
|
875
|
+
interface CoinManager<T0> {
|
876
|
+
id: object$.UID;
|
877
|
+
treasury_cap: coin.TreasuryCap<T0>;
|
878
|
+
metadata: _0x1.option.Option<coin.CoinMetadata<T0>>;
|
879
|
+
immutable_metadata: _0x1.option.Option<coin_manager.ImmutableCoinMetadata<T0>>;
|
880
|
+
maximum_supply: _0x1.option.Option<bigint>;
|
881
|
+
supply_immutable: boolean;
|
882
|
+
metadata_immutable: boolean;
|
883
|
+
}
|
884
|
+
namespace CoinManager {
|
885
|
+
const TYPE_QNAME = "0x2::coin_manager::CoinManager";
|
886
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinManager<T0>>;
|
887
|
+
}
|
888
|
+
interface CoinManagerMetadataCap<T0> {
|
889
|
+
id: object$.UID;
|
890
|
+
}
|
891
|
+
namespace CoinManagerMetadataCap {
|
892
|
+
const TYPE_QNAME = "0x2::coin_manager::CoinManagerMetadataCap";
|
893
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinManagerMetadataCap<T0>>;
|
894
|
+
}
|
895
|
+
interface CoinManagerTreasuryCap<T0> {
|
896
|
+
id: object$.UID;
|
897
|
+
}
|
898
|
+
namespace CoinManagerTreasuryCap {
|
899
|
+
const TYPE_QNAME = "0x2::coin_manager::CoinManagerTreasuryCap";
|
900
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinManagerTreasuryCap<T0>>;
|
901
|
+
}
|
902
|
+
interface ImmutableCoinMetadata<T0> {
|
903
|
+
decimals: number;
|
904
|
+
name: string;
|
905
|
+
symbol: _0x1.ascii.String;
|
906
|
+
description: string;
|
907
|
+
icon_url: _0x1.option.Option<url.Url>;
|
908
|
+
}
|
909
|
+
namespace ImmutableCoinMetadata {
|
910
|
+
const TYPE_QNAME = "0x2::coin_manager::ImmutableCoinMetadata";
|
911
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ImmutableCoinMetadata<T0>>;
|
912
|
+
}
|
913
|
+
interface MetadataOwnershipRenounced {
|
914
|
+
coin_name: _0x1.ascii.String;
|
915
|
+
}
|
916
|
+
namespace MetadataOwnershipRenounced {
|
917
|
+
const TYPE_QNAME = "0x2::coin_manager::MetadataOwnershipRenounced";
|
918
|
+
function type(): TypeDescriptor<MetadataOwnershipRenounced>;
|
919
|
+
}
|
920
|
+
type MetadataOwnershipRenouncedInstance = TypedEventInstance<MetadataOwnershipRenounced> & {
|
921
|
+
data_decoded: MetadataOwnershipRenounced;
|
922
|
+
type_arguments: [];
|
923
|
+
};
|
924
|
+
interface TreasuryOwnershipRenounced {
|
925
|
+
coin_name: _0x1.ascii.String;
|
926
|
+
}
|
927
|
+
namespace TreasuryOwnershipRenounced {
|
928
|
+
const TYPE_QNAME = "0x2::coin_manager::TreasuryOwnershipRenounced";
|
929
|
+
function type(): TypeDescriptor<TreasuryOwnershipRenounced>;
|
930
|
+
}
|
931
|
+
type TreasuryOwnershipRenouncedInstance = TypedEventInstance<TreasuryOwnershipRenounced> & {
|
932
|
+
data_decoded: TreasuryOwnershipRenounced;
|
933
|
+
type_arguments: [];
|
934
|
+
};
|
935
|
+
namespace builder {
|
936
|
+
function addAdditionalMetadata<T0 = any, T1 = any>(tx: Transaction, args: [
|
937
|
+
string | TransactionObjectArgument | TransactionArgument,
|
938
|
+
string | TransactionObjectArgument | TransactionArgument,
|
939
|
+
T1 | TransactionArgument
|
940
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
941
|
+
TransactionArgument,
|
942
|
+
TransactionArgument,
|
943
|
+
TransactionArgument
|
944
|
+
];
|
945
|
+
function additionalMetadata<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
946
|
+
function availableSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
947
|
+
function burn<T0 = any>(tx: Transaction, args: [
|
948
|
+
string | TransactionObjectArgument | TransactionArgument,
|
949
|
+
string | TransactionObjectArgument | TransactionArgument,
|
950
|
+
coin.Coin<T0> | TransactionArgument
|
951
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
952
|
+
TransactionArgument,
|
953
|
+
TransactionArgument,
|
954
|
+
TransactionArgument
|
955
|
+
];
|
956
|
+
function create<T0 = any>(tx: Transaction, args: [
|
957
|
+
T0 | TransactionArgument,
|
958
|
+
number | TransactionArgument,
|
959
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
960
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
961
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
962
|
+
_0x1.option.Option<url.Url> | TransactionArgument
|
963
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
964
|
+
TransactionArgument,
|
965
|
+
TransactionArgument,
|
966
|
+
TransactionArgument,
|
967
|
+
TransactionArgument,
|
968
|
+
TransactionArgument,
|
969
|
+
TransactionArgument
|
970
|
+
];
|
971
|
+
function decimals<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
972
|
+
function description<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
973
|
+
function enforceMaximumSupply<T0 = any>(tx: Transaction, args: [
|
974
|
+
string | TransactionObjectArgument | TransactionArgument,
|
975
|
+
string | TransactionObjectArgument | TransactionArgument,
|
976
|
+
bigint | TransactionArgument
|
977
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
978
|
+
TransactionArgument,
|
979
|
+
TransactionArgument,
|
980
|
+
TransactionArgument
|
981
|
+
];
|
982
|
+
function getAdditionalMetadata<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
983
|
+
function hasMaximumSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
984
|
+
function iconUrl<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
985
|
+
function immutableMetadata<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
986
|
+
function maximumSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
987
|
+
function metadata<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
988
|
+
function metadataIsImmutable<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
989
|
+
function mint<T0 = any>(tx: Transaction, args: [
|
990
|
+
string | TransactionObjectArgument | TransactionArgument,
|
991
|
+
string | TransactionObjectArgument | TransactionArgument,
|
992
|
+
bigint | TransactionArgument
|
993
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
994
|
+
TransactionArgument,
|
995
|
+
TransactionArgument,
|
996
|
+
TransactionArgument
|
997
|
+
];
|
998
|
+
function mintAndTransfer<T0 = any>(tx: Transaction, args: [
|
999
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1000
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1001
|
+
bigint | TransactionArgument,
|
1002
|
+
string | TransactionArgument
|
1003
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1004
|
+
TransactionArgument,
|
1005
|
+
TransactionArgument,
|
1006
|
+
TransactionArgument,
|
1007
|
+
TransactionArgument
|
1008
|
+
];
|
1009
|
+
function mintBalance<T0 = any>(tx: Transaction, args: [
|
1010
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1011
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1012
|
+
bigint | TransactionArgument
|
1013
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1014
|
+
TransactionArgument,
|
1015
|
+
TransactionArgument,
|
1016
|
+
TransactionArgument
|
1017
|
+
];
|
1018
|
+
function name<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1019
|
+
function new$<T0 = any>(tx: Transaction, args: [
|
1020
|
+
coin.TreasuryCap<T0> | TransactionArgument,
|
1021
|
+
coin.CoinMetadata<T0> | TransactionArgument
|
1022
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1023
|
+
function newWithImmutableMetadata<T0 = any>(tx: Transaction, args: [
|
1024
|
+
coin.TreasuryCap<T0> | TransactionArgument,
|
1025
|
+
string | TransactionObjectArgument | TransactionArgument
|
1026
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1027
|
+
function renounceMetadataOwnership<T0 = any>(tx: Transaction, args: [
|
1028
|
+
coin_manager.CoinManagerMetadataCap<T0> | TransactionArgument,
|
1029
|
+
string | TransactionObjectArgument | TransactionArgument
|
1030
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1031
|
+
function renounceTreasuryOwnership<T0 = any>(tx: Transaction, args: [
|
1032
|
+
coin_manager.CoinManagerTreasuryCap<T0> | TransactionArgument,
|
1033
|
+
string | TransactionObjectArgument | TransactionArgument
|
1034
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1035
|
+
function replaceAdditionalMetadata<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1036
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1037
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1038
|
+
T1 | TransactionArgument
|
1039
|
+
], typeArguments: [
|
1040
|
+
TypeDescriptor<T0> | string,
|
1041
|
+
TypeDescriptor<T1> | string,
|
1042
|
+
TypeDescriptor<T2> | string
|
1043
|
+
]): TransactionArgument & [
|
1044
|
+
TransactionArgument,
|
1045
|
+
TransactionArgument,
|
1046
|
+
TransactionArgument
|
1047
|
+
];
|
1048
|
+
function supplyImmut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1049
|
+
function supplyIsImmutable<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1050
|
+
function symbol$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1051
|
+
function totalSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1052
|
+
function updateDescription<T0 = any>(tx: Transaction, args: [
|
1053
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1054
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1055
|
+
string | TransactionArgument
|
1056
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1057
|
+
TransactionArgument,
|
1058
|
+
TransactionArgument,
|
1059
|
+
TransactionArgument
|
1060
|
+
];
|
1061
|
+
function updateIconUrl<T0 = any>(tx: Transaction, args: [
|
1062
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1063
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1064
|
+
_0x1.ascii.String | TransactionArgument
|
1065
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1066
|
+
TransactionArgument,
|
1067
|
+
TransactionArgument,
|
1068
|
+
TransactionArgument
|
1069
|
+
];
|
1070
|
+
function updateName<T0 = any>(tx: Transaction, args: [
|
1071
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1072
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1073
|
+
string | TransactionArgument
|
1074
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1075
|
+
TransactionArgument,
|
1076
|
+
TransactionArgument,
|
1077
|
+
TransactionArgument
|
1078
|
+
];
|
1079
|
+
function updateSymbol<T0 = any>(tx: Transaction, args: [
|
1080
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1081
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1082
|
+
_0x1.ascii.String | TransactionArgument
|
1083
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1084
|
+
TransactionArgument,
|
1085
|
+
TransactionArgument,
|
1086
|
+
TransactionArgument
|
1087
|
+
];
|
1088
|
+
}
|
1089
|
+
namespace view {
|
1090
|
+
function addAdditionalMetadata<T0 = any, T1 = any>(client: IotaClient, args: [string, string, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1091
|
+
function additionalMetadata<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1092
|
+
function availableSupply<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
1093
|
+
function burn<T0 = any>(client: IotaClient, args: [string, string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
1094
|
+
function create<T0 = any>(client: IotaClient, args: [
|
1095
|
+
T0,
|
1096
|
+
number,
|
1097
|
+
string[],
|
1098
|
+
string[],
|
1099
|
+
string[],
|
1100
|
+
_0x1.option.Option<url.Url>
|
1101
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
1102
|
+
coin_manager.CoinManagerTreasuryCap<T0>,
|
1103
|
+
coin_manager.CoinManagerMetadataCap<T0>,
|
1104
|
+
coin_manager.CoinManager<T0>
|
1105
|
+
]>>;
|
1106
|
+
function decimals<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
1107
|
+
function description<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1108
|
+
function enforceMaximumSupply<T0 = any>(client: IotaClient, args: [string, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1109
|
+
function getAdditionalMetadata<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1110
|
+
function hasMaximumSupply<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1111
|
+
function iconUrl<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<url.Url>]>>;
|
1112
|
+
function immutableMetadata<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1113
|
+
function maximumSupply<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
1114
|
+
function metadata<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1115
|
+
function metadataIsImmutable<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1116
|
+
function mint<T0 = any>(client: IotaClient, args: [string, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
1117
|
+
function mintAndTransfer<T0 = any>(client: IotaClient, args: [string, string, bigint, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1118
|
+
function mintBalance<T0 = any>(client: IotaClient, args: [string, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
1119
|
+
function name<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1120
|
+
function new$<T0 = any>(client: IotaClient, args: [coin.TreasuryCap<T0>, coin.CoinMetadata<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
1121
|
+
coin_manager.CoinManagerTreasuryCap<T0>,
|
1122
|
+
coin_manager.CoinManagerMetadataCap<T0>,
|
1123
|
+
coin_manager.CoinManager<T0>
|
1124
|
+
]>>;
|
1125
|
+
function newWithImmutableMetadata<T0 = any>(client: IotaClient, args: [coin.TreasuryCap<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
1126
|
+
coin_manager.CoinManagerTreasuryCap<T0>,
|
1127
|
+
coin_manager.CoinManager<T0>
|
1128
|
+
]>>;
|
1129
|
+
function renounceMetadataOwnership<T0 = any>(client: IotaClient, args: [coin_manager.CoinManagerMetadataCap<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1130
|
+
function renounceTreasuryOwnership<T0 = any>(client: IotaClient, args: [coin_manager.CoinManagerTreasuryCap<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1131
|
+
function replaceAdditionalMetadata<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, string, T1], typeArguments: [
|
1132
|
+
TypeDescriptor<T0> | string,
|
1133
|
+
TypeDescriptor<T1> | string,
|
1134
|
+
TypeDescriptor<T2> | string
|
1135
|
+
]): Promise<TypedDevInspectResults<[T2]>>;
|
1136
|
+
function supplyImmut<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1137
|
+
function supplyIsImmutable<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1138
|
+
function symbol$<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
1139
|
+
function totalSupply<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
1140
|
+
function updateDescription<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1141
|
+
function updateIconUrl<T0 = any>(client: IotaClient, args: [string, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1142
|
+
function updateName<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1143
|
+
function updateSymbol<T0 = any>(client: IotaClient, args: [string, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1144
|
+
}
|
1145
|
+
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[string, string, coin.Coin<T0>]> {
|
1146
|
+
arguments_decoded: [string, string, coin.Coin<T0>];
|
1147
|
+
type_arguments: [string];
|
1148
|
+
}
|
1149
|
+
}
|
1150
|
+
export declare namespace config {
|
1151
|
+
interface Config<T0> {
|
1152
|
+
id: object$.UID;
|
1153
|
+
}
|
1154
|
+
namespace Config {
|
1155
|
+
const TYPE_QNAME = "0x2::config::Config";
|
1156
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Config<T0>>;
|
1157
|
+
}
|
1158
|
+
interface Setting<T0> {
|
1159
|
+
data: _0x1.option.Option<config.SettingData<T0>>;
|
1160
|
+
}
|
1161
|
+
namespace Setting {
|
1162
|
+
const TYPE_QNAME = "0x2::config::Setting";
|
1163
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Setting<T0>>;
|
1164
|
+
}
|
1165
|
+
interface SettingData<T0> {
|
1166
|
+
newer_value_epoch: bigint;
|
1167
|
+
newer_value: _0x1.option.Option<T0>;
|
1168
|
+
older_value_opt: _0x1.option.Option<T0>;
|
1169
|
+
}
|
1170
|
+
namespace SettingData {
|
1171
|
+
const TYPE_QNAME = "0x2::config::SettingData";
|
1172
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SettingData<T0>>;
|
1173
|
+
}
|
1174
|
+
namespace builder {
|
1175
|
+
function addForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1176
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1177
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1178
|
+
T1 | TransactionArgument,
|
1179
|
+
T2 | TransactionArgument
|
1180
|
+
], typeArguments: [
|
1181
|
+
TypeDescriptor<T0> | string,
|
1182
|
+
TypeDescriptor<T1> | string,
|
1183
|
+
TypeDescriptor<T2> | string
|
1184
|
+
]): TransactionArgument & [
|
1185
|
+
TransactionArgument,
|
1186
|
+
TransactionArgument,
|
1187
|
+
TransactionArgument,
|
1188
|
+
TransactionArgument
|
1189
|
+
];
|
1190
|
+
function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1191
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1192
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1193
|
+
T1 | TransactionArgument
|
1194
|
+
], typeArguments: [
|
1195
|
+
TypeDescriptor<T0> | string,
|
1196
|
+
TypeDescriptor<T1> | string,
|
1197
|
+
TypeDescriptor<T2> | string
|
1198
|
+
]): TransactionArgument & [
|
1199
|
+
TransactionArgument,
|
1200
|
+
TransactionArgument,
|
1201
|
+
TransactionArgument
|
1202
|
+
];
|
1203
|
+
function existsWithType<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1204
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1205
|
+
T1 | TransactionArgument
|
1206
|
+
], typeArguments: [
|
1207
|
+
TypeDescriptor<T0> | string,
|
1208
|
+
TypeDescriptor<T1> | string,
|
1209
|
+
TypeDescriptor<T2> | string
|
1210
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1211
|
+
function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1212
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1213
|
+
T1 | TransactionArgument
|
1214
|
+
], typeArguments: [
|
1215
|
+
TypeDescriptor<T0> | string,
|
1216
|
+
TypeDescriptor<T1> | string,
|
1217
|
+
TypeDescriptor<T2> | string
|
1218
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1219
|
+
function new$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1220
|
+
function readSetting<T0 = any, T1 = any>(tx: Transaction, args: [object$.ID | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1221
|
+
function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1222
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1223
|
+
T1 | TransactionArgument
|
1224
|
+
], typeArguments: [
|
1225
|
+
TypeDescriptor<T0> | string,
|
1226
|
+
TypeDescriptor<T1> | string,
|
1227
|
+
TypeDescriptor<T2> | string
|
1228
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1229
|
+
function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1230
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1231
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1232
|
+
T1 | TransactionArgument
|
1233
|
+
], typeArguments: [
|
1234
|
+
TypeDescriptor<T0> | string,
|
1235
|
+
TypeDescriptor<T1> | string,
|
1236
|
+
TypeDescriptor<T2> | string
|
1237
|
+
]): TransactionArgument & [
|
1238
|
+
TransactionArgument,
|
1239
|
+
TransactionArgument,
|
1240
|
+
TransactionArgument
|
1241
|
+
];
|
1242
|
+
function share<T0 = any>(tx: Transaction, args: [config.Config<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1243
|
+
function transfer<T0 = any>(tx: Transaction, args: [
|
1244
|
+
config.Config<T0> | TransactionArgument,
|
1245
|
+
string | TransactionArgument
|
1246
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1247
|
+
}
|
1248
|
+
namespace view {
|
1249
|
+
function addForNextEpoch<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, string, T1, T2], typeArguments: [
|
1250
|
+
TypeDescriptor<T0> | string,
|
1251
|
+
TypeDescriptor<T1> | string,
|
1252
|
+
TypeDescriptor<T2> | string
|
1253
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
1254
|
+
function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, string, T1], typeArguments: [
|
1255
|
+
TypeDescriptor<T0> | string,
|
1256
|
+
TypeDescriptor<T1> | string,
|
1257
|
+
TypeDescriptor<T2> | string
|
1258
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
1259
|
+
function existsWithType<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, T1], typeArguments: [
|
1260
|
+
TypeDescriptor<T0> | string,
|
1261
|
+
TypeDescriptor<T1> | string,
|
1262
|
+
TypeDescriptor<T2> | string
|
1263
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1264
|
+
function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, T1], typeArguments: [
|
1265
|
+
TypeDescriptor<T0> | string,
|
1266
|
+
TypeDescriptor<T1> | string,
|
1267
|
+
TypeDescriptor<T2> | string
|
1268
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1269
|
+
function new$<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[config.Config<T0>]>>;
|
1270
|
+
function readSetting<T0 = any, T1 = any>(client: IotaClient, args: [object$.ID, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
1271
|
+
function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, T1], typeArguments: [
|
1272
|
+
TypeDescriptor<T0> | string,
|
1273
|
+
TypeDescriptor<T1> | string,
|
1274
|
+
TypeDescriptor<T2> | string
|
1275
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
1276
|
+
function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, string, T1], typeArguments: [
|
1277
|
+
TypeDescriptor<T0> | string,
|
1278
|
+
TypeDescriptor<T1> | string,
|
1279
|
+
TypeDescriptor<T2> | string
|
1280
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
1281
|
+
function share<T0 = any>(client: IotaClient, args: [config.Config<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1282
|
+
function transfer<T0 = any>(client: IotaClient, args: [config.Config<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
export declare class deny_list extends IotaBaseProcessor {
|
1286
|
+
constructor(options: IotaBindOptions);
|
1287
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
1288
|
+
static bind(options?: Partial<IotaBindOptions>): deny_list;
|
1289
|
+
onEventAddressKey(func: (event: deny_list.AddressKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.AddressKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1290
|
+
onEventConfigKey(func: (event: deny_list.ConfigKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.ConfigKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1291
|
+
onEventGlobalPauseKey(func: (event: deny_list.GlobalPauseKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.GlobalPauseKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1292
|
+
onEventPerTypeConfigCreated(func: (event: deny_list.PerTypeConfigCreatedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.PerTypeConfigCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1293
|
+
}
|
1294
|
+
export declare namespace deny_list {
|
1295
|
+
interface AddressKey {
|
1296
|
+
pos0: string;
|
1297
|
+
}
|
1298
|
+
namespace AddressKey {
|
1299
|
+
const TYPE_QNAME = "0x2::deny_list::AddressKey";
|
1300
|
+
function type(): TypeDescriptor<AddressKey>;
|
1301
|
+
}
|
1302
|
+
type AddressKeyInstance = TypedEventInstance<AddressKey> & {
|
1303
|
+
data_decoded: AddressKey;
|
1304
|
+
type_arguments: [];
|
1305
|
+
};
|
1306
|
+
interface ConfigKey {
|
1307
|
+
per_type_index: bigint;
|
1308
|
+
per_type_key: number[];
|
1309
|
+
}
|
1310
|
+
namespace ConfigKey {
|
1311
|
+
const TYPE_QNAME = "0x2::deny_list::ConfigKey";
|
1312
|
+
function type(): TypeDescriptor<ConfigKey>;
|
1313
|
+
}
|
1314
|
+
type ConfigKeyInstance = TypedEventInstance<ConfigKey> & {
|
1315
|
+
data_decoded: ConfigKey;
|
1316
|
+
type_arguments: [];
|
1317
|
+
};
|
1318
|
+
interface ConfigWriteCap {
|
1319
|
+
dummy_field: boolean;
|
1320
|
+
}
|
1321
|
+
namespace ConfigWriteCap {
|
1322
|
+
const TYPE_QNAME = "0x2::deny_list::ConfigWriteCap";
|
1323
|
+
function type(): TypeDescriptor<ConfigWriteCap>;
|
1324
|
+
}
|
1325
|
+
interface DenyList {
|
1326
|
+
id: object$.UID;
|
1327
|
+
lists: bag.Bag;
|
1328
|
+
}
|
1329
|
+
namespace DenyList {
|
1330
|
+
const TYPE_QNAME = "0x2::deny_list::DenyList";
|
1331
|
+
function type(): TypeDescriptor<DenyList>;
|
1332
|
+
}
|
1333
|
+
interface GlobalPauseKey {
|
1334
|
+
dummy_field: boolean;
|
1335
|
+
}
|
1336
|
+
namespace GlobalPauseKey {
|
1337
|
+
const TYPE_QNAME = "0x2::deny_list::GlobalPauseKey";
|
1338
|
+
function type(): TypeDescriptor<GlobalPauseKey>;
|
1339
|
+
}
|
1340
|
+
type GlobalPauseKeyInstance = TypedEventInstance<GlobalPauseKey> & {
|
1341
|
+
data_decoded: GlobalPauseKey;
|
1342
|
+
type_arguments: [];
|
1343
|
+
};
|
1344
|
+
interface PerTypeConfigCreated {
|
1345
|
+
key: deny_list.ConfigKey;
|
1346
|
+
config_id: object$.ID;
|
1347
|
+
}
|
1348
|
+
namespace PerTypeConfigCreated {
|
1349
|
+
const TYPE_QNAME = "0x2::deny_list::PerTypeConfigCreated";
|
1350
|
+
function type(): TypeDescriptor<PerTypeConfigCreated>;
|
1351
|
+
}
|
1352
|
+
type PerTypeConfigCreatedInstance = TypedEventInstance<PerTypeConfigCreated> & {
|
1353
|
+
data_decoded: PerTypeConfigCreated;
|
1354
|
+
type_arguments: [];
|
1355
|
+
};
|
1356
|
+
namespace builder {
|
1357
|
+
function add(tx: Transaction, args: [
|
1358
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1359
|
+
bigint | TransactionArgument,
|
1360
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1361
|
+
string | TransactionArgument
|
1362
|
+
]): TransactionArgument & [
|
1363
|
+
TransactionArgument,
|
1364
|
+
TransactionArgument,
|
1365
|
+
TransactionArgument,
|
1366
|
+
TransactionArgument
|
1367
|
+
];
|
1368
|
+
function containsCurrentEpoch(tx: Transaction, args: [
|
1369
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1370
|
+
bigint | TransactionArgument,
|
1371
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1372
|
+
string | TransactionArgument
|
1373
|
+
]): TransactionArgument & [
|
1374
|
+
TransactionArgument,
|
1375
|
+
TransactionArgument,
|
1376
|
+
TransactionArgument,
|
1377
|
+
TransactionArgument
|
1378
|
+
];
|
1379
|
+
function containsNextEpoch(tx: Transaction, args: [
|
1380
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1381
|
+
bigint | TransactionArgument,
|
1382
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1383
|
+
string | TransactionArgument
|
1384
|
+
]): TransactionArgument & [
|
1385
|
+
TransactionArgument,
|
1386
|
+
TransactionArgument,
|
1387
|
+
TransactionArgument,
|
1388
|
+
TransactionArgument
|
1389
|
+
];
|
1390
|
+
function disableGlobalPause(tx: Transaction, args: [
|
1391
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1392
|
+
bigint | TransactionArgument,
|
1393
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1394
|
+
]): TransactionArgument & [
|
1395
|
+
TransactionArgument,
|
1396
|
+
TransactionArgument,
|
1397
|
+
TransactionArgument
|
1398
|
+
];
|
1399
|
+
function enableGlobalPause(tx: Transaction, args: [
|
1400
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1401
|
+
bigint | TransactionArgument,
|
1402
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1403
|
+
]): TransactionArgument & [
|
1404
|
+
TransactionArgument,
|
1405
|
+
TransactionArgument,
|
1406
|
+
TransactionArgument
|
1407
|
+
];
|
1408
|
+
function isGlobalPauseEnabledCurrentEpoch(tx: Transaction, args: [
|
1409
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1410
|
+
bigint | TransactionArgument,
|
1411
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1412
|
+
]): TransactionArgument & [
|
1413
|
+
TransactionArgument,
|
1414
|
+
TransactionArgument,
|
1415
|
+
TransactionArgument
|
1416
|
+
];
|
1417
|
+
function isGlobalPauseEnabledNextEpoch(tx: Transaction, args: [
|
1418
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1419
|
+
bigint | TransactionArgument,
|
1420
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1421
|
+
]): TransactionArgument & [
|
1422
|
+
TransactionArgument,
|
1423
|
+
TransactionArgument,
|
1424
|
+
TransactionArgument
|
1425
|
+
];
|
1426
|
+
function remove(tx: Transaction, args: [
|
1427
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1428
|
+
bigint | TransactionArgument,
|
1429
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1430
|
+
string | TransactionArgument
|
1431
|
+
]): TransactionArgument & [
|
1432
|
+
TransactionArgument,
|
1433
|
+
TransactionArgument,
|
1434
|
+
TransactionArgument,
|
1435
|
+
TransactionArgument
|
1436
|
+
];
|
1437
|
+
}
|
1438
|
+
namespace view {
|
1439
|
+
function add(client: IotaClient, args: [string, bigint, string[], string]): Promise<TypedDevInspectResults<[]>>;
|
1440
|
+
function containsCurrentEpoch(client: IotaClient, args: [string, bigint, string[], string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1441
|
+
function containsNextEpoch(client: IotaClient, args: [string, bigint, string[], string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1442
|
+
function disableGlobalPause(client: IotaClient, args: [string, bigint, string[]]): Promise<TypedDevInspectResults<[]>>;
|
1443
|
+
function enableGlobalPause(client: IotaClient, args: [string, bigint, string[]]): Promise<TypedDevInspectResults<[]>>;
|
1444
|
+
function isGlobalPauseEnabledCurrentEpoch(client: IotaClient, args: [string, bigint, string[]]): Promise<TypedDevInspectResults<[boolean]>>;
|
1445
|
+
function isGlobalPauseEnabledNextEpoch(client: IotaClient, args: [string, bigint, string[]]): Promise<TypedDevInspectResults<[boolean]>>;
|
1446
|
+
function remove(client: IotaClient, args: [string, bigint, string[], string]): Promise<TypedDevInspectResults<[]>>;
|
1447
|
+
}
|
1448
|
+
}
|
1449
|
+
export declare class display extends IotaBaseProcessor {
|
1450
|
+
constructor(options: IotaBindOptions);
|
1451
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
1452
|
+
static bind(options?: Partial<IotaBindOptions>): display;
|
1453
|
+
onEntryAdd(func: (call: display.AddPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.AddPayload>): display;
|
1454
|
+
onEntryAddMultiple(func: (call: display.AddMultiplePayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.AddMultiplePayload>): display;
|
1455
|
+
onEntryCreateAndKeep(func: (call: display.CreateAndKeepPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.CreateAndKeepPayload>): display;
|
1456
|
+
onEntryEdit(func: (call: display.EditPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.EditPayload>): display;
|
1457
|
+
onEntryRemove(func: (call: display.RemovePayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.RemovePayload>): display;
|
1458
|
+
onEntryUpdateVersion(func: (call: display.UpdateVersionPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.UpdateVersionPayload>): display;
|
1459
|
+
onEventDisplayCreated(func: (event: display.DisplayCreatedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, display.DisplayCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): display;
|
1460
|
+
onEventVersionUpdated(func: (event: display.VersionUpdatedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, display.VersionUpdatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): display;
|
1461
|
+
}
|
1462
|
+
export declare namespace display {
|
1463
|
+
interface Display<T0> {
|
1464
|
+
id: object$.UID;
|
1465
|
+
fields: vec_map.VecMap<string, string>;
|
1466
|
+
version: number;
|
1467
|
+
}
|
1468
|
+
namespace Display {
|
1469
|
+
const TYPE_QNAME = "0x2::display::Display";
|
1470
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Display<T0>>;
|
1471
|
+
}
|
1472
|
+
interface DisplayCreated<T0> {
|
1473
|
+
id: object$.ID;
|
1474
|
+
}
|
1475
|
+
namespace DisplayCreated {
|
1476
|
+
const TYPE_QNAME = "0x2::display::DisplayCreated";
|
1477
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DisplayCreated<T0>>;
|
1478
|
+
}
|
1479
|
+
type DisplayCreatedInstance = TypedEventInstance<DisplayCreated<any>> & {
|
1480
|
+
data_decoded: DisplayCreated<any>;
|
1481
|
+
type_arguments: [string];
|
1482
|
+
};
|
1483
|
+
interface VersionUpdated<T0> {
|
1484
|
+
id: object$.ID;
|
1485
|
+
version: number;
|
1486
|
+
fields: vec_map.VecMap<string, string>;
|
1487
|
+
}
|
1488
|
+
namespace VersionUpdated {
|
1489
|
+
const TYPE_QNAME = "0x2::display::VersionUpdated";
|
1490
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VersionUpdated<T0>>;
|
1491
|
+
}
|
1492
|
+
type VersionUpdatedInstance = TypedEventInstance<VersionUpdated<any>> & {
|
1493
|
+
data_decoded: VersionUpdated<any>;
|
1494
|
+
type_arguments: [string];
|
1495
|
+
};
|
1496
|
+
namespace builder {
|
1497
|
+
function add<T0 = any>(tx: Transaction, args: [
|
1498
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1499
|
+
string | TransactionArgument,
|
1500
|
+
string | TransactionArgument
|
1501
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1502
|
+
TransactionArgument,
|
1503
|
+
TransactionArgument,
|
1504
|
+
TransactionArgument
|
1505
|
+
];
|
1506
|
+
function addMultiple<T0 = any>(tx: Transaction, args: [
|
1507
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1508
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1509
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1510
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1511
|
+
TransactionArgument,
|
1512
|
+
TransactionArgument,
|
1513
|
+
TransactionArgument
|
1514
|
+
];
|
1515
|
+
function createAndKeep<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1516
|
+
function edit<T0 = any>(tx: Transaction, args: [
|
1517
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1518
|
+
string | TransactionArgument,
|
1519
|
+
string | TransactionArgument
|
1520
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1521
|
+
TransactionArgument,
|
1522
|
+
TransactionArgument,
|
1523
|
+
TransactionArgument
|
1524
|
+
];
|
1525
|
+
function fields<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1526
|
+
function isAuthorized<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1527
|
+
function new$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1528
|
+
function newWithFields<T0 = any>(tx: Transaction, args: [
|
1529
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1530
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1531
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1532
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1533
|
+
TransactionArgument,
|
1534
|
+
TransactionArgument,
|
1535
|
+
TransactionArgument
|
1536
|
+
];
|
1537
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
1538
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1539
|
+
string | TransactionArgument
|
1540
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1541
|
+
function updateVersion<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1542
|
+
function version<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1543
|
+
}
|
1544
|
+
namespace view {
|
1545
|
+
function add<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1546
|
+
function addMultiple<T0 = any>(client: IotaClient, args: [string, string[], string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1547
|
+
function createAndKeep<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1548
|
+
function edit<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1549
|
+
function fields<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1550
|
+
function isAuthorized<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1551
|
+
function new$<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
1552
|
+
function newWithFields<T0 = any>(client: IotaClient, args: [string, string[], string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
1553
|
+
function remove<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1554
|
+
function updateVersion<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1555
|
+
function version<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
1556
|
+
}
|
1557
|
+
interface AddPayload<T0 = any> extends TypedFunctionPayload<[string, string, string]> {
|
1558
|
+
arguments_decoded: [string, string, string];
|
1559
|
+
type_arguments: [string];
|
1560
|
+
}
|
1561
|
+
interface AddMultiplePayload<T0 = any> extends TypedFunctionPayload<[string, string[], string[]]> {
|
1562
|
+
arguments_decoded: [string, string[], string[]];
|
1563
|
+
type_arguments: [string];
|
1564
|
+
}
|
1565
|
+
interface CreateAndKeepPayload<T0 = any> extends TypedFunctionPayload<[string, string]> {
|
1566
|
+
arguments_decoded: [string, string];
|
1567
|
+
type_arguments: [string];
|
1568
|
+
}
|
1569
|
+
interface EditPayload<T0 = any> extends TypedFunctionPayload<[string, string, string]> {
|
1570
|
+
arguments_decoded: [string, string, string];
|
1571
|
+
type_arguments: [string];
|
1572
|
+
}
|
1573
|
+
interface RemovePayload<T0 = any> extends TypedFunctionPayload<[string, string]> {
|
1574
|
+
arguments_decoded: [string, string];
|
1575
|
+
type_arguments: [string];
|
1576
|
+
}
|
1577
|
+
interface UpdateVersionPayload<T0 = any> extends TypedFunctionPayload<[string]> {
|
1578
|
+
arguments_decoded: [string];
|
1579
|
+
type_arguments: [string];
|
1580
|
+
}
|
1581
|
+
}
|
1582
|
+
export declare namespace dynamic_field {
|
1583
|
+
interface Field<T0, T1> {
|
1584
|
+
id: object$.UID;
|
1585
|
+
name: T0;
|
1586
|
+
value: T1;
|
1587
|
+
}
|
1588
|
+
namespace Field {
|
1589
|
+
const TYPE_QNAME = "0x2::dynamic_field::Field";
|
1590
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Field<T0, T1>>;
|
1591
|
+
}
|
1592
|
+
namespace builder {
|
1593
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
1594
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1595
|
+
T0 | TransactionArgument,
|
1596
|
+
T1 | TransactionArgument
|
1597
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1598
|
+
TransactionArgument,
|
1599
|
+
TransactionArgument,
|
1600
|
+
TransactionArgument
|
1601
|
+
];
|
1602
|
+
function addChildObject<T0 = any>(tx: Transaction, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1603
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
1604
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1605
|
+
T0 | TransactionArgument
|
1606
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1607
|
+
function borrowChildObject<T0 = any>(tx: Transaction, args: [
|
1608
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1609
|
+
string | TransactionArgument
|
1610
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1611
|
+
function borrowChildObjectMut<T0 = any>(tx: Transaction, args: [
|
1612
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1613
|
+
string | TransactionArgument
|
1614
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1615
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
1616
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1617
|
+
T0 | TransactionArgument
|
1618
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1619
|
+
function exists_<T0 = any>(tx: Transaction, args: [
|
1620
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1621
|
+
T0 | TransactionArgument
|
1622
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1623
|
+
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
1624
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1625
|
+
T0 | TransactionArgument
|
1626
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1627
|
+
function fieldInfo<T0 = any>(tx: Transaction, args: [
|
1628
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1629
|
+
T0 | TransactionArgument
|
1630
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1631
|
+
function fieldInfoMut<T0 = any>(tx: Transaction, args: [
|
1632
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1633
|
+
T0 | TransactionArgument
|
1634
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1635
|
+
function hasChildObject(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1636
|
+
function hasChildObjectWithTy<T0 = any>(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1637
|
+
function hashTypeAndKey<T0 = any>(tx: Transaction, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1638
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
1639
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1640
|
+
T0 | TransactionArgument
|
1641
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1642
|
+
function removeChildObject<T0 = any>(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1643
|
+
function removeIfExists<T0 = any, T1 = any>(tx: Transaction, args: [
|
1644
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1645
|
+
T0 | TransactionArgument
|
1646
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1647
|
+
}
|
1648
|
+
namespace view {
|
1649
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1650
|
+
function addChildObject<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1651
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1652
|
+
function borrowChildObject<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1653
|
+
function borrowChildObjectMut<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1654
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1655
|
+
function exists_<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1656
|
+
function existsWithType<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1657
|
+
function fieldInfo<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
1658
|
+
function fieldInfoMut<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
1659
|
+
function hasChildObject(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1660
|
+
function hasChildObjectWithTy<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1661
|
+
function hashTypeAndKey<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1662
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
1663
|
+
function removeChildObject<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
1664
|
+
function removeIfExists<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
1665
|
+
}
|
1666
|
+
}
|
1667
|
+
export declare class dynamic_object_field extends IotaBaseProcessor {
|
1668
|
+
constructor(options: IotaBindOptions);
|
1669
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
1670
|
+
static bind(options?: Partial<IotaBindOptions>): dynamic_object_field;
|
1671
|
+
onEventWrapper(func: (event: dynamic_object_field.WrapperInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, dynamic_object_field.WrapperInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): dynamic_object_field;
|
1672
|
+
}
|
1673
|
+
export declare namespace dynamic_object_field {
|
1674
|
+
interface Wrapper<T0> {
|
1675
|
+
name: T0;
|
1676
|
+
}
|
1677
|
+
namespace Wrapper {
|
1678
|
+
const TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
|
1679
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Wrapper<T0>>;
|
1680
|
+
}
|
1681
|
+
type WrapperInstance = TypedEventInstance<Wrapper<any>> & {
|
1682
|
+
data_decoded: Wrapper<any>;
|
1683
|
+
type_arguments: [string];
|
1684
|
+
};
|
1685
|
+
namespace builder {
|
1686
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
1687
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1688
|
+
T0 | TransactionArgument,
|
1689
|
+
T1 | TransactionArgument
|
1690
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1691
|
+
TransactionArgument,
|
1692
|
+
TransactionArgument,
|
1693
|
+
TransactionArgument
|
1694
|
+
];
|
1695
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
1696
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1697
|
+
T0 | TransactionArgument
|
1698
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1699
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
1700
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1701
|
+
T0 | TransactionArgument
|
1702
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1703
|
+
function exists_<T0 = any>(tx: Transaction, args: [
|
1704
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1705
|
+
T0 | TransactionArgument
|
1706
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1707
|
+
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
1708
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1709
|
+
T0 | TransactionArgument
|
1710
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1711
|
+
function id<T0 = any>(tx: Transaction, args: [
|
1712
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1713
|
+
T0 | TransactionArgument
|
1714
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1715
|
+
function internalAdd<T0 = any, T1 = any>(tx: Transaction, args: [
|
1716
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1717
|
+
T0 | TransactionArgument,
|
1718
|
+
T1 | TransactionArgument
|
1719
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1720
|
+
TransactionArgument,
|
1721
|
+
TransactionArgument,
|
1722
|
+
TransactionArgument
|
1723
|
+
];
|
1724
|
+
function internalBorrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
1725
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1726
|
+
T0 | TransactionArgument
|
1727
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1728
|
+
function internalBorrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
1729
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1730
|
+
T0 | TransactionArgument
|
1731
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1732
|
+
function internalExistsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
1733
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1734
|
+
T0 | TransactionArgument
|
1735
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1736
|
+
function internalRemove<T0 = any, T1 = any>(tx: Transaction, args: [
|
1737
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1738
|
+
T0 | TransactionArgument
|
1739
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1740
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
1741
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1742
|
+
T0 | TransactionArgument
|
1743
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1744
|
+
}
|
1745
|
+
namespace view {
|
1746
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1747
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1748
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1749
|
+
function exists_<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1750
|
+
function existsWithType<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1751
|
+
function id<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
1752
|
+
function internalAdd<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1753
|
+
function internalBorrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1754
|
+
function internalBorrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1755
|
+
function internalExistsWithType<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1756
|
+
function internalRemove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
1757
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
1758
|
+
}
|
1759
|
+
}
|
1760
|
+
export declare namespace ecdsa_k1 {
|
1761
|
+
namespace builder {
|
1762
|
+
function decompressPubkey(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
1763
|
+
function secp256k1Ecrecover(tx: Transaction, args: [
|
1764
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1765
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1766
|
+
number | TransactionArgument
|
1767
|
+
]): TransactionArgument & [
|
1768
|
+
TransactionArgument,
|
1769
|
+
TransactionArgument,
|
1770
|
+
TransactionArgument
|
1771
|
+
];
|
1772
|
+
function secp256k1Verify(tx: Transaction, args: [
|
1773
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1774
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1775
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1776
|
+
number | TransactionArgument
|
1777
|
+
]): TransactionArgument & [
|
1778
|
+
TransactionArgument,
|
1779
|
+
TransactionArgument,
|
1780
|
+
TransactionArgument,
|
1781
|
+
TransactionArgument
|
1782
|
+
];
|
1783
|
+
}
|
1784
|
+
namespace view {
|
1785
|
+
function decompressPubkey(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
1786
|
+
function secp256k1Ecrecover(client: IotaClient, args: [string, string, number]): Promise<TypedDevInspectResults<[number[]]>>;
|
1787
|
+
function secp256k1Verify(client: IotaClient, args: [string, string, string, number]): Promise<TypedDevInspectResults<[boolean]>>;
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
export declare namespace ecdsa_r1 {
|
1791
|
+
namespace builder {
|
1792
|
+
function secp256r1Ecrecover(tx: Transaction, args: [
|
1793
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1794
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1795
|
+
number | TransactionArgument
|
1796
|
+
]): TransactionArgument & [
|
1797
|
+
TransactionArgument,
|
1798
|
+
TransactionArgument,
|
1799
|
+
TransactionArgument
|
1800
|
+
];
|
1801
|
+
function secp256r1Verify(tx: Transaction, args: [
|
1802
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1803
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1804
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1805
|
+
number | TransactionArgument
|
1806
|
+
]): TransactionArgument & [
|
1807
|
+
TransactionArgument,
|
1808
|
+
TransactionArgument,
|
1809
|
+
TransactionArgument,
|
1810
|
+
TransactionArgument
|
1811
|
+
];
|
1812
|
+
}
|
1813
|
+
namespace view {
|
1814
|
+
function secp256r1Ecrecover(client: IotaClient, args: [string, string, number]): Promise<TypedDevInspectResults<[number[]]>>;
|
1815
|
+
function secp256r1Verify(client: IotaClient, args: [string, string, string, number]): Promise<TypedDevInspectResults<[boolean]>>;
|
1816
|
+
}
|
1817
|
+
}
|
1818
|
+
export declare namespace ecvrf {
|
1819
|
+
namespace builder {
|
1820
|
+
function ecvrfVerify(tx: Transaction, args: [
|
1821
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1822
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1823
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1824
|
+
string | TransactionObjectArgument | TransactionArgument
|
1825
|
+
]): TransactionArgument & [
|
1826
|
+
TransactionArgument,
|
1827
|
+
TransactionArgument,
|
1828
|
+
TransactionArgument,
|
1829
|
+
TransactionArgument
|
1830
|
+
];
|
1831
|
+
}
|
1832
|
+
namespace view {
|
1833
|
+
function ecvrfVerify(client: IotaClient, args: [string, string, string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1834
|
+
}
|
1835
|
+
}
|
1836
|
+
export declare namespace ed25519 {
|
1837
|
+
namespace builder {
|
1838
|
+
function ed25519Verify(tx: Transaction, args: [
|
1839
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1840
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1841
|
+
string | TransactionObjectArgument | TransactionArgument
|
1842
|
+
]): TransactionArgument & [
|
1843
|
+
TransactionArgument,
|
1844
|
+
TransactionArgument,
|
1845
|
+
TransactionArgument
|
1846
|
+
];
|
1847
|
+
}
|
1848
|
+
namespace view {
|
1849
|
+
function ed25519Verify(client: IotaClient, args: [string, string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
export declare namespace event {
|
1853
|
+
namespace builder {
|
1854
|
+
function emit<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1855
|
+
}
|
1856
|
+
namespace view {
|
1857
|
+
function emit<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1858
|
+
}
|
1859
|
+
}
|
1860
|
+
export declare class groth16 extends IotaBaseProcessor {
|
1861
|
+
constructor(options: IotaBindOptions);
|
1862
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
1863
|
+
static bind(options?: Partial<IotaBindOptions>): groth16;
|
1864
|
+
onEventCurve(func: (event: groth16.CurveInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.CurveInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1865
|
+
onEventPreparedVerifyingKey(func: (event: groth16.PreparedVerifyingKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.PreparedVerifyingKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1866
|
+
onEventProofPoints(func: (event: groth16.ProofPointsInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.ProofPointsInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1867
|
+
onEventPublicProofInputs(func: (event: groth16.PublicProofInputsInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.PublicProofInputsInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1868
|
+
}
|
1869
|
+
export declare namespace groth16 {
|
1870
|
+
interface Curve {
|
1871
|
+
id: number;
|
1872
|
+
}
|
1873
|
+
namespace Curve {
|
1874
|
+
const TYPE_QNAME = "0x2::groth16::Curve";
|
1875
|
+
function type(): TypeDescriptor<Curve>;
|
1876
|
+
}
|
1877
|
+
type CurveInstance = TypedEventInstance<Curve> & {
|
1878
|
+
data_decoded: Curve;
|
1879
|
+
type_arguments: [];
|
1880
|
+
};
|
1881
|
+
interface PreparedVerifyingKey {
|
1882
|
+
vk_gamma_abc_g1_bytes: number[];
|
1883
|
+
alpha_g1_beta_g2_bytes: number[];
|
1884
|
+
gamma_g2_neg_pc_bytes: number[];
|
1885
|
+
delta_g2_neg_pc_bytes: number[];
|
1886
|
+
}
|
1887
|
+
namespace PreparedVerifyingKey {
|
1888
|
+
const TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
|
1889
|
+
function type(): TypeDescriptor<PreparedVerifyingKey>;
|
1890
|
+
}
|
1891
|
+
type PreparedVerifyingKeyInstance = TypedEventInstance<PreparedVerifyingKey> & {
|
1892
|
+
data_decoded: PreparedVerifyingKey;
|
1893
|
+
type_arguments: [];
|
1894
|
+
};
|
1895
|
+
interface ProofPoints {
|
1896
|
+
bytes: number[];
|
1897
|
+
}
|
1898
|
+
namespace ProofPoints {
|
1899
|
+
const TYPE_QNAME = "0x2::groth16::ProofPoints";
|
1900
|
+
function type(): TypeDescriptor<ProofPoints>;
|
1901
|
+
}
|
1902
|
+
type ProofPointsInstance = TypedEventInstance<ProofPoints> & {
|
1903
|
+
data_decoded: ProofPoints;
|
1904
|
+
type_arguments: [];
|
1905
|
+
};
|
1906
|
+
interface PublicProofInputs {
|
1907
|
+
bytes: number[];
|
1908
|
+
}
|
1909
|
+
namespace PublicProofInputs {
|
1910
|
+
const TYPE_QNAME = "0x2::groth16::PublicProofInputs";
|
1911
|
+
function type(): TypeDescriptor<PublicProofInputs>;
|
1912
|
+
}
|
1913
|
+
type PublicProofInputsInstance = TypedEventInstance<PublicProofInputs> & {
|
1914
|
+
data_decoded: PublicProofInputs;
|
1915
|
+
type_arguments: [];
|
1916
|
+
};
|
1917
|
+
namespace builder {
|
1918
|
+
function bls12381(tx: Transaction, args: []): TransactionArgument & [];
|
1919
|
+
function bn254(tx: Transaction, args: []): TransactionArgument & [];
|
1920
|
+
function prepareVerifyingKey(tx: Transaction, args: [
|
1921
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1922
|
+
string | TransactionObjectArgument | TransactionArgument
|
1923
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1924
|
+
function proofPointsFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
1925
|
+
function publicProofInputsFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
1926
|
+
function pvkFromBytes(tx: Transaction, args: [
|
1927
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1928
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1929
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1930
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1931
|
+
]): TransactionArgument & [
|
1932
|
+
TransactionArgument,
|
1933
|
+
TransactionArgument,
|
1934
|
+
TransactionArgument,
|
1935
|
+
TransactionArgument
|
1936
|
+
];
|
1937
|
+
function pvkToBytes(tx: Transaction, args: [groth16.PreparedVerifyingKey | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
1938
|
+
function verifyGroth16Proof(tx: Transaction, args: [
|
1939
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1940
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1941
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1942
|
+
string | TransactionObjectArgument | TransactionArgument
|
1943
|
+
]): TransactionArgument & [
|
1944
|
+
TransactionArgument,
|
1945
|
+
TransactionArgument,
|
1946
|
+
TransactionArgument,
|
1947
|
+
TransactionArgument
|
1948
|
+
];
|
1949
|
+
}
|
1950
|
+
namespace view {
|
1951
|
+
function bls12381(client: IotaClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
1952
|
+
function bn254(client: IotaClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
1953
|
+
function prepareVerifyingKey(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
1954
|
+
function proofPointsFromBytes(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[groth16.ProofPoints]>>;
|
1955
|
+
function publicProofInputsFromBytes(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[groth16.PublicProofInputs]>>;
|
1956
|
+
function pvkFromBytes(client: IotaClient, args: [string[], string[], string[], string[]]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
1957
|
+
function pvkToBytes(client: IotaClient, args: [groth16.PreparedVerifyingKey]): Promise<TypedDevInspectResults<[number[][]]>>;
|
1958
|
+
function verifyGroth16Proof(client: IotaClient, args: [string, string, string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1959
|
+
}
|
1960
|
+
}
|
1961
|
+
export declare class group_ops extends IotaBaseProcessor {
|
1962
|
+
constructor(options: IotaBindOptions);
|
1963
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
1964
|
+
static bind(options?: Partial<IotaBindOptions>): group_ops;
|
1965
|
+
onEventElement(func: (event: group_ops.ElementInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, group_ops.ElementInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): group_ops;
|
1966
|
+
}
|
1967
|
+
export declare namespace group_ops {
|
1968
|
+
interface Element<T0> {
|
1969
|
+
bytes: number[];
|
1970
|
+
}
|
1971
|
+
namespace Element {
|
1972
|
+
const TYPE_QNAME = "0x2::group_ops::Element";
|
1973
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Element<T0>>;
|
1974
|
+
}
|
1975
|
+
type ElementInstance = TypedEventInstance<Element<any>> & {
|
1976
|
+
data_decoded: Element<any>;
|
1977
|
+
type_arguments: [string];
|
1978
|
+
};
|
1979
|
+
namespace builder {
|
1980
|
+
function add<T0 = any>(tx: Transaction, args: [
|
1981
|
+
number | TransactionArgument,
|
1982
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1983
|
+
string | TransactionObjectArgument | TransactionArgument
|
1984
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1985
|
+
TransactionArgument,
|
1986
|
+
TransactionArgument,
|
1987
|
+
TransactionArgument
|
1988
|
+
];
|
1989
|
+
function bytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1990
|
+
function convert<T0 = any, T1 = any>(tx: Transaction, args: [
|
1991
|
+
number | TransactionArgument,
|
1992
|
+
number | TransactionArgument,
|
1993
|
+
string | TransactionObjectArgument | TransactionArgument
|
1994
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1995
|
+
TransactionArgument,
|
1996
|
+
TransactionArgument,
|
1997
|
+
TransactionArgument
|
1998
|
+
];
|
1999
|
+
function div<T0 = any, T1 = any>(tx: Transaction, args: [
|
2000
|
+
number | TransactionArgument,
|
2001
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2002
|
+
string | TransactionObjectArgument | TransactionArgument
|
2003
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2004
|
+
TransactionArgument,
|
2005
|
+
TransactionArgument,
|
2006
|
+
TransactionArgument
|
2007
|
+
];
|
2008
|
+
function equal<T0 = any>(tx: Transaction, args: [
|
2009
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2010
|
+
string | TransactionObjectArgument | TransactionArgument
|
2011
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2012
|
+
function fromBytes<T0 = any>(tx: Transaction, args: [
|
2013
|
+
number | TransactionArgument,
|
2014
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2015
|
+
boolean | TransactionArgument
|
2016
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2017
|
+
TransactionArgument,
|
2018
|
+
TransactionArgument,
|
2019
|
+
TransactionArgument
|
2020
|
+
];
|
2021
|
+
function hashTo<T0 = any>(tx: Transaction, args: [
|
2022
|
+
number | TransactionArgument,
|
2023
|
+
string | TransactionObjectArgument | TransactionArgument
|
2024
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2025
|
+
function mul<T0 = any, T1 = any>(tx: Transaction, args: [
|
2026
|
+
number | TransactionArgument,
|
2027
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2028
|
+
string | TransactionObjectArgument | TransactionArgument
|
2029
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2030
|
+
TransactionArgument,
|
2031
|
+
TransactionArgument,
|
2032
|
+
TransactionArgument
|
2033
|
+
];
|
2034
|
+
function multiScalarMultiplication<T0 = any, T1 = any>(tx: Transaction, args: [
|
2035
|
+
number | TransactionArgument,
|
2036
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2037
|
+
string | TransactionObjectArgument | TransactionArgument
|
2038
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2039
|
+
TransactionArgument,
|
2040
|
+
TransactionArgument,
|
2041
|
+
TransactionArgument
|
2042
|
+
];
|
2043
|
+
function pairing<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
2044
|
+
number | TransactionArgument,
|
2045
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2046
|
+
string | TransactionObjectArgument | TransactionArgument
|
2047
|
+
], typeArguments: [
|
2048
|
+
TypeDescriptor<T0> | string,
|
2049
|
+
TypeDescriptor<T1> | string,
|
2050
|
+
TypeDescriptor<T2> | string
|
2051
|
+
]): TransactionArgument & [
|
2052
|
+
TransactionArgument,
|
2053
|
+
TransactionArgument,
|
2054
|
+
TransactionArgument
|
2055
|
+
];
|
2056
|
+
function setAsPrefix(tx: Transaction, args: [
|
2057
|
+
bigint | TransactionArgument,
|
2058
|
+
boolean | TransactionArgument,
|
2059
|
+
string | TransactionObjectArgument | TransactionArgument
|
2060
|
+
]): TransactionArgument & [
|
2061
|
+
TransactionArgument,
|
2062
|
+
TransactionArgument,
|
2063
|
+
TransactionArgument
|
2064
|
+
];
|
2065
|
+
function sub<T0 = any>(tx: Transaction, args: [
|
2066
|
+
number | TransactionArgument,
|
2067
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2068
|
+
string | TransactionObjectArgument | TransactionArgument
|
2069
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2070
|
+
TransactionArgument,
|
2071
|
+
TransactionArgument,
|
2072
|
+
TransactionArgument
|
2073
|
+
];
|
2074
|
+
function sum<T0 = any>(tx: Transaction, args: [
|
2075
|
+
number | TransactionArgument,
|
2076
|
+
string | TransactionObjectArgument | TransactionArgument
|
2077
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2078
|
+
}
|
2079
|
+
namespace view {
|
2080
|
+
function add<T0 = any>(client: IotaClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2081
|
+
function bytes<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2082
|
+
function convert<T0 = any, T1 = any>(client: IotaClient, args: [number, number, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2083
|
+
function div<T0 = any, T1 = any>(client: IotaClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2084
|
+
function equal<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2085
|
+
function fromBytes<T0 = any>(client: IotaClient, args: [number, string, boolean], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2086
|
+
function hashTo<T0 = any>(client: IotaClient, args: [number, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2087
|
+
function mul<T0 = any, T1 = any>(client: IotaClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2088
|
+
function multiScalarMultiplication<T0 = any, T1 = any>(client: IotaClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2089
|
+
function pairing<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [number, string, string], typeArguments: [
|
2090
|
+
TypeDescriptor<T0> | string,
|
2091
|
+
TypeDescriptor<T1> | string,
|
2092
|
+
TypeDescriptor<T2> | string
|
2093
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<T2>]>>;
|
2094
|
+
function setAsPrefix(client: IotaClient, args: [bigint, boolean, string]): Promise<TypedDevInspectResults<[]>>;
|
2095
|
+
function sub<T0 = any>(client: IotaClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2096
|
+
function sum<T0 = any>(client: IotaClient, args: [number, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2097
|
+
}
|
2098
|
+
}
|
2099
|
+
export declare namespace hash {
|
2100
|
+
namespace builder {
|
2101
|
+
function blake2b256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2102
|
+
function keccak256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2103
|
+
}
|
2104
|
+
namespace view {
|
2105
|
+
function blake2b256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
2106
|
+
function keccak256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
2107
|
+
}
|
2108
|
+
}
|
2109
|
+
export declare namespace hex {
|
2110
|
+
namespace builder {
|
2111
|
+
function decode(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2112
|
+
function encode(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2113
|
+
}
|
2114
|
+
namespace view {
|
2115
|
+
function decode(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[number[]]>>;
|
2116
|
+
function encode(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[number[]]>>;
|
2117
|
+
}
|
2118
|
+
}
|
2119
|
+
export declare namespace hmac {
|
2120
|
+
namespace builder {
|
2121
|
+
function hmacSha3256(tx: Transaction, args: [
|
2122
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2123
|
+
string | TransactionObjectArgument | TransactionArgument
|
2124
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2125
|
+
}
|
2126
|
+
namespace view {
|
2127
|
+
function hmacSha3256(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[number[]]>>;
|
2128
|
+
}
|
2129
|
+
}
|
2130
|
+
export declare class iota extends IotaBaseProcessor {
|
2131
|
+
constructor(options: IotaBindOptions);
|
2132
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
2133
|
+
static bind(options?: Partial<IotaBindOptions>): iota;
|
2134
|
+
onEntryTransfer(func: (call: iota.TransferPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, iota.TransferPayload>): iota;
|
2135
|
+
}
|
2136
|
+
export declare namespace iota {
|
2137
|
+
interface IOTA {
|
2138
|
+
dummy_field: boolean;
|
2139
|
+
}
|
2140
|
+
namespace IOTA {
|
2141
|
+
const TYPE_QNAME = "0x2::iota::IOTA";
|
2142
|
+
function type(): TypeDescriptor<IOTA>;
|
2143
|
+
}
|
2144
|
+
interface IotaTreasuryCap {
|
2145
|
+
inner: coin.TreasuryCap<iota.IOTA>;
|
2146
|
+
}
|
2147
|
+
namespace IotaTreasuryCap {
|
2148
|
+
const TYPE_QNAME = "0x2::iota::IotaTreasuryCap";
|
2149
|
+
function type(): TypeDescriptor<IotaTreasuryCap>;
|
2150
|
+
}
|
2151
|
+
namespace builder {
|
2152
|
+
function burn(tx: Transaction, args: [
|
2153
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2154
|
+
coin.Coin<iota.IOTA> | TransactionArgument
|
2155
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2156
|
+
function burnBalance(tx: Transaction, args: [
|
2157
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2158
|
+
balance.Balance<iota.IOTA> | TransactionArgument
|
2159
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2160
|
+
function mint(tx: Transaction, args: [
|
2161
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2162
|
+
bigint | TransactionArgument
|
2163
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2164
|
+
function mintBalance(tx: Transaction, args: [
|
2165
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2166
|
+
bigint | TransactionArgument
|
2167
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2168
|
+
function totalSupply(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2169
|
+
function transfer(tx: Transaction, args: [
|
2170
|
+
coin.Coin<iota.IOTA> | TransactionArgument,
|
2171
|
+
string | TransactionArgument
|
2172
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2173
|
+
}
|
2174
|
+
namespace view {
|
2175
|
+
function burn(client: IotaClient, args: [string, coin.Coin<iota.IOTA>]): Promise<TypedDevInspectResults<[bigint]>>;
|
2176
|
+
function burnBalance(client: IotaClient, args: [string, balance.Balance<iota.IOTA>]): Promise<TypedDevInspectResults<[bigint]>>;
|
2177
|
+
function mint(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[coin.Coin<iota.IOTA>]>>;
|
2178
|
+
function mintBalance(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[balance.Balance<iota.IOTA>]>>;
|
2179
|
+
function totalSupply(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2180
|
+
function transfer(client: IotaClient, args: [coin.Coin<iota.IOTA>, string]): Promise<TypedDevInspectResults<[]>>;
|
2181
|
+
}
|
2182
|
+
interface TransferPayload extends TypedFunctionPayload<[coin.Coin<iota.IOTA>, string]> {
|
2183
|
+
arguments_decoded: [coin.Coin<iota.IOTA>, string];
|
2184
|
+
type_arguments: [];
|
2185
|
+
}
|
2186
|
+
}
|
2187
|
+
export declare class kiosk extends IotaBaseProcessor {
|
2188
|
+
constructor(options: IotaBindOptions);
|
2189
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
2190
|
+
static bind(options?: Partial<IotaBindOptions>): kiosk;
|
2191
|
+
onEntryDefault(func: (call: kiosk.DefaultPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.DefaultPayload>): kiosk;
|
2192
|
+
onEventItem(func: (event: kiosk.ItemInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
2193
|
+
onEventItemDelisted(func: (event: kiosk.ItemDelistedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemDelistedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
2194
|
+
onEventItemListed(func: (event: kiosk.ItemListedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemListedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
2195
|
+
onEventItemPurchased(func: (event: kiosk.ItemPurchasedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemPurchasedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
2196
|
+
onEventListing(func: (event: kiosk.ListingInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ListingInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
2197
|
+
onEventLock(func: (event: kiosk.LockInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.LockInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
2198
|
+
}
|
2199
|
+
export declare namespace kiosk {
|
2200
|
+
interface Borrow {
|
2201
|
+
kiosk_id: object$.ID;
|
2202
|
+
item_id: object$.ID;
|
2203
|
+
}
|
2204
|
+
namespace Borrow {
|
2205
|
+
const TYPE_QNAME = "0x2::kiosk::Borrow";
|
2206
|
+
function type(): TypeDescriptor<Borrow>;
|
2207
|
+
}
|
2208
|
+
interface Item {
|
2209
|
+
id: object$.ID;
|
2210
|
+
}
|
2211
|
+
namespace Item {
|
2212
|
+
const TYPE_QNAME = "0x2::kiosk::Item";
|
2213
|
+
function type(): TypeDescriptor<Item>;
|
2214
|
+
}
|
2215
|
+
type ItemInstance = TypedEventInstance<Item> & {
|
2216
|
+
data_decoded: Item;
|
2217
|
+
type_arguments: [];
|
2218
|
+
};
|
2219
|
+
interface ItemDelisted<T0> {
|
2220
|
+
kiosk: object$.ID;
|
2221
|
+
id: object$.ID;
|
2222
|
+
}
|
2223
|
+
namespace ItemDelisted {
|
2224
|
+
const TYPE_QNAME = "0x2::kiosk::ItemDelisted";
|
2225
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemDelisted<T0>>;
|
2226
|
+
}
|
2227
|
+
type ItemDelistedInstance = TypedEventInstance<ItemDelisted<any>> & {
|
2228
|
+
data_decoded: ItemDelisted<any>;
|
2229
|
+
type_arguments: [string];
|
2230
|
+
};
|
2231
|
+
interface ItemListed<T0> {
|
2232
|
+
kiosk: object$.ID;
|
2233
|
+
id: object$.ID;
|
2234
|
+
price: bigint;
|
2235
|
+
}
|
2236
|
+
namespace ItemListed {
|
2237
|
+
const TYPE_QNAME = "0x2::kiosk::ItemListed";
|
2238
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemListed<T0>>;
|
2239
|
+
}
|
2240
|
+
type ItemListedInstance = TypedEventInstance<ItemListed<any>> & {
|
2241
|
+
data_decoded: ItemListed<any>;
|
2242
|
+
type_arguments: [string];
|
2243
|
+
};
|
2244
|
+
interface ItemPurchased<T0> {
|
2245
|
+
kiosk: object$.ID;
|
2246
|
+
id: object$.ID;
|
2247
|
+
price: bigint;
|
2248
|
+
}
|
2249
|
+
namespace ItemPurchased {
|
2250
|
+
const TYPE_QNAME = "0x2::kiosk::ItemPurchased";
|
2251
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemPurchased<T0>>;
|
2252
|
+
}
|
2253
|
+
type ItemPurchasedInstance = TypedEventInstance<ItemPurchased<any>> & {
|
2254
|
+
data_decoded: ItemPurchased<any>;
|
2255
|
+
type_arguments: [string];
|
2256
|
+
};
|
2257
|
+
interface Kiosk {
|
2258
|
+
id: object$.UID;
|
2259
|
+
profits: balance.Balance<iota.IOTA>;
|
2260
|
+
owner: string;
|
2261
|
+
item_count: number;
|
2262
|
+
}
|
2263
|
+
namespace Kiosk {
|
2264
|
+
const TYPE_QNAME = "0x2::kiosk::Kiosk";
|
2265
|
+
function type(): TypeDescriptor<Kiosk>;
|
2266
|
+
}
|
2267
|
+
interface KioskOwnerCap {
|
2268
|
+
id: object$.UID;
|
2269
|
+
for: object$.ID;
|
2270
|
+
}
|
2271
|
+
namespace KioskOwnerCap {
|
2272
|
+
const TYPE_QNAME = "0x2::kiosk::KioskOwnerCap";
|
2273
|
+
function type(): TypeDescriptor<KioskOwnerCap>;
|
2274
|
+
}
|
2275
|
+
interface Listing {
|
2276
|
+
id: object$.ID;
|
2277
|
+
is_exclusive: boolean;
|
2278
|
+
}
|
2279
|
+
namespace Listing {
|
2280
|
+
const TYPE_QNAME = "0x2::kiosk::Listing";
|
2281
|
+
function type(): TypeDescriptor<Listing>;
|
2282
|
+
}
|
2283
|
+
type ListingInstance = TypedEventInstance<Listing> & {
|
2284
|
+
data_decoded: Listing;
|
2285
|
+
type_arguments: [];
|
2286
|
+
};
|
2287
|
+
interface Lock {
|
2288
|
+
id: object$.ID;
|
2289
|
+
}
|
2290
|
+
namespace Lock {
|
2291
|
+
const TYPE_QNAME = "0x2::kiosk::Lock";
|
2292
|
+
function type(): TypeDescriptor<Lock>;
|
2293
|
+
}
|
2294
|
+
type LockInstance = TypedEventInstance<Lock> & {
|
2295
|
+
data_decoded: Lock;
|
2296
|
+
type_arguments: [];
|
2297
|
+
};
|
2298
|
+
interface PurchaseCap<T0> {
|
2299
|
+
id: object$.UID;
|
2300
|
+
kiosk_id: object$.ID;
|
2301
|
+
item_id: object$.ID;
|
2302
|
+
min_price: bigint;
|
2303
|
+
}
|
2304
|
+
namespace PurchaseCap {
|
2305
|
+
const TYPE_QNAME = "0x2::kiosk::PurchaseCap";
|
2306
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<PurchaseCap<T0>>;
|
2307
|
+
}
|
2308
|
+
namespace builder {
|
2309
|
+
function borrow<T0 = any>(tx: Transaction, args: [
|
2310
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2311
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2312
|
+
object$.ID | TransactionArgument
|
2313
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2314
|
+
TransactionArgument,
|
2315
|
+
TransactionArgument,
|
2316
|
+
TransactionArgument
|
2317
|
+
];
|
2318
|
+
function borrowMut<T0 = any>(tx: Transaction, args: [
|
2319
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2320
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2321
|
+
object$.ID | TransactionArgument
|
2322
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2323
|
+
TransactionArgument,
|
2324
|
+
TransactionArgument,
|
2325
|
+
TransactionArgument
|
2326
|
+
];
|
2327
|
+
function borrowVal<T0 = any>(tx: Transaction, args: [
|
2328
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2329
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2330
|
+
object$.ID | TransactionArgument
|
2331
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2332
|
+
TransactionArgument,
|
2333
|
+
TransactionArgument,
|
2334
|
+
TransactionArgument
|
2335
|
+
];
|
2336
|
+
function closeAndWithdraw(tx: Transaction, args: [
|
2337
|
+
kiosk.Kiosk | TransactionArgument,
|
2338
|
+
kiosk.KioskOwnerCap | TransactionArgument
|
2339
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2340
|
+
function default$(tx: Transaction, args: []): TransactionArgument & [];
|
2341
|
+
function delist<T0 = any>(tx: Transaction, args: [
|
2342
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2343
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2344
|
+
object$.ID | TransactionArgument
|
2345
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2346
|
+
TransactionArgument,
|
2347
|
+
TransactionArgument,
|
2348
|
+
TransactionArgument
|
2349
|
+
];
|
2350
|
+
function hasAccess(tx: Transaction, args: [
|
2351
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2352
|
+
string | TransactionObjectArgument | TransactionArgument
|
2353
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2354
|
+
function hasItem(tx: Transaction, args: [
|
2355
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2356
|
+
object$.ID | TransactionArgument
|
2357
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2358
|
+
function hasItemWithType<T0 = any>(tx: Transaction, args: [
|
2359
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2360
|
+
object$.ID | TransactionArgument
|
2361
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2362
|
+
function isListed(tx: Transaction, args: [
|
2363
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2364
|
+
object$.ID | TransactionArgument
|
2365
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2366
|
+
function isListedExclusively(tx: Transaction, args: [
|
2367
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2368
|
+
object$.ID | TransactionArgument
|
2369
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2370
|
+
function isLocked(tx: Transaction, args: [
|
2371
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2372
|
+
object$.ID | TransactionArgument
|
2373
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2374
|
+
function itemCount(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2375
|
+
function kioskOwnerCapFor(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2376
|
+
function list<T0 = any>(tx: Transaction, args: [
|
2377
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2378
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2379
|
+
object$.ID | TransactionArgument,
|
2380
|
+
bigint | TransactionArgument
|
2381
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2382
|
+
TransactionArgument,
|
2383
|
+
TransactionArgument,
|
2384
|
+
TransactionArgument,
|
2385
|
+
TransactionArgument
|
2386
|
+
];
|
2387
|
+
function listWithPurchaseCap<T0 = any>(tx: Transaction, args: [
|
2388
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2389
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2390
|
+
object$.ID | TransactionArgument,
|
2391
|
+
bigint | TransactionArgument
|
2392
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2393
|
+
TransactionArgument,
|
2394
|
+
TransactionArgument,
|
2395
|
+
TransactionArgument,
|
2396
|
+
TransactionArgument
|
2397
|
+
];
|
2398
|
+
function lock<T0 = any>(tx: Transaction, args: [
|
2399
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2400
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2401
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2402
|
+
T0 | TransactionArgument
|
2403
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2404
|
+
TransactionArgument,
|
2405
|
+
TransactionArgument,
|
2406
|
+
TransactionArgument,
|
2407
|
+
TransactionArgument
|
2408
|
+
];
|
2409
|
+
function lockInternal<T0 = any>(tx: Transaction, args: [
|
2410
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2411
|
+
T0 | TransactionArgument
|
2412
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2413
|
+
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
2414
|
+
function owner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2415
|
+
function place<T0 = any>(tx: Transaction, args: [
|
2416
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2417
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2418
|
+
T0 | TransactionArgument
|
2419
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2420
|
+
TransactionArgument,
|
2421
|
+
TransactionArgument,
|
2422
|
+
TransactionArgument
|
2423
|
+
];
|
2424
|
+
function placeAndList<T0 = any>(tx: Transaction, args: [
|
2425
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2426
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2427
|
+
T0 | TransactionArgument,
|
2428
|
+
bigint | TransactionArgument
|
2429
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2430
|
+
TransactionArgument,
|
2431
|
+
TransactionArgument,
|
2432
|
+
TransactionArgument,
|
2433
|
+
TransactionArgument
|
2434
|
+
];
|
2435
|
+
function placeInternal<T0 = any>(tx: Transaction, args: [
|
2436
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2437
|
+
T0 | TransactionArgument
|
2438
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2439
|
+
function profitsAmount(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2440
|
+
function profitsMut(tx: Transaction, args: [
|
2441
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2442
|
+
string | TransactionObjectArgument | TransactionArgument
|
2443
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2444
|
+
function purchase<T0 = any>(tx: Transaction, args: [
|
2445
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2446
|
+
object$.ID | TransactionArgument,
|
2447
|
+
coin.Coin<iota.IOTA> | TransactionArgument
|
2448
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2449
|
+
TransactionArgument,
|
2450
|
+
TransactionArgument,
|
2451
|
+
TransactionArgument
|
2452
|
+
];
|
2453
|
+
function purchaseCapItem<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2454
|
+
function purchaseCapKiosk<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2455
|
+
function purchaseCapMinPrice<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2456
|
+
function purchaseWithCap<T0 = any>(tx: Transaction, args: [
|
2457
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2458
|
+
kiosk.PurchaseCap<T0> | TransactionArgument,
|
2459
|
+
coin.Coin<iota.IOTA> | TransactionArgument
|
2460
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2461
|
+
TransactionArgument,
|
2462
|
+
TransactionArgument,
|
2463
|
+
TransactionArgument
|
2464
|
+
];
|
2465
|
+
function returnPurchaseCap<T0 = any>(tx: Transaction, args: [
|
2466
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2467
|
+
kiosk.PurchaseCap<T0> | TransactionArgument
|
2468
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2469
|
+
function returnVal<T0 = any>(tx: Transaction, args: [
|
2470
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2471
|
+
T0 | TransactionArgument,
|
2472
|
+
kiosk.Borrow | TransactionArgument
|
2473
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2474
|
+
TransactionArgument,
|
2475
|
+
TransactionArgument,
|
2476
|
+
TransactionArgument
|
2477
|
+
];
|
2478
|
+
function setOwner(tx: Transaction, args: [
|
2479
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2480
|
+
string | TransactionObjectArgument | TransactionArgument
|
2481
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2482
|
+
function setOwnerCustom(tx: Transaction, args: [
|
2483
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2484
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2485
|
+
string | TransactionArgument
|
2486
|
+
]): TransactionArgument & [
|
2487
|
+
TransactionArgument,
|
2488
|
+
TransactionArgument,
|
2489
|
+
TransactionArgument
|
2490
|
+
];
|
2491
|
+
function take<T0 = any>(tx: Transaction, args: [
|
2492
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2493
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2494
|
+
object$.ID | TransactionArgument
|
2495
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2496
|
+
TransactionArgument,
|
2497
|
+
TransactionArgument,
|
2498
|
+
TransactionArgument
|
2499
|
+
];
|
2500
|
+
function uid(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2501
|
+
function uidMutAsOwner(tx: Transaction, args: [
|
2502
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2503
|
+
string | TransactionObjectArgument | TransactionArgument
|
2504
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2505
|
+
function uidMutInternal(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2506
|
+
function withdraw(tx: Transaction, args: [
|
2507
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2508
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2509
|
+
_0x1.option.Option<bigint> | TransactionArgument
|
2510
|
+
]): TransactionArgument & [
|
2511
|
+
TransactionArgument,
|
2512
|
+
TransactionArgument,
|
2513
|
+
TransactionArgument
|
2514
|
+
];
|
2515
|
+
}
|
2516
|
+
namespace view {
|
2517
|
+
function borrow<T0 = any>(client: IotaClient, args: [string, string, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2518
|
+
function borrowMut<T0 = any>(client: IotaClient, args: [string, string, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2519
|
+
function borrowVal<T0 = any>(client: IotaClient, args: [string, string, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, kiosk.Borrow]>>;
|
2520
|
+
function closeAndWithdraw(client: IotaClient, args: [kiosk.Kiosk, kiosk.KioskOwnerCap]): Promise<TypedDevInspectResults<[coin.Coin<iota.IOTA>]>>;
|
2521
|
+
function delist<T0 = any>(client: IotaClient, args: [string, string, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2522
|
+
function hasAccess(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2523
|
+
function hasItem(client: IotaClient, args: [string, object$.ID]): Promise<TypedDevInspectResults<[boolean]>>;
|
2524
|
+
function hasItemWithType<T0 = any>(client: IotaClient, args: [string, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2525
|
+
function isListed(client: IotaClient, args: [string, object$.ID]): Promise<TypedDevInspectResults<[boolean]>>;
|
2526
|
+
function isListedExclusively(client: IotaClient, args: [string, object$.ID]): Promise<TypedDevInspectResults<[boolean]>>;
|
2527
|
+
function isLocked(client: IotaClient, args: [string, object$.ID]): Promise<TypedDevInspectResults<[boolean]>>;
|
2528
|
+
function itemCount(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
2529
|
+
function kioskOwnerCapFor(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2530
|
+
function list<T0 = any>(client: IotaClient, args: [string, string, object$.ID, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2531
|
+
function listWithPurchaseCap<T0 = any>(client: IotaClient, args: [string, string, object$.ID, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[kiosk.PurchaseCap<T0>]>>;
|
2532
|
+
function lock<T0 = any>(client: IotaClient, args: [string, string, string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2533
|
+
function lockInternal<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2534
|
+
function new$(client: IotaClient, args: []): Promise<TypedDevInspectResults<[kiosk.Kiosk, kiosk.KioskOwnerCap]>>;
|
2535
|
+
function owner(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2536
|
+
function place<T0 = any>(client: IotaClient, args: [string, string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2537
|
+
function placeAndList<T0 = any>(client: IotaClient, args: [string, string, T0, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2538
|
+
function placeInternal<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2539
|
+
function profitsAmount(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2540
|
+
function profitsMut(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
2541
|
+
function purchase<T0 = any>(client: IotaClient, args: [string, object$.ID, coin.Coin<iota.IOTA>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
2542
|
+
function purchaseCapItem<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2543
|
+
function purchaseCapKiosk<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2544
|
+
function purchaseCapMinPrice<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2545
|
+
function purchaseWithCap<T0 = any>(client: IotaClient, args: [string, kiosk.PurchaseCap<T0>, coin.Coin<iota.IOTA>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
2546
|
+
function returnPurchaseCap<T0 = any>(client: IotaClient, args: [string, kiosk.PurchaseCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2547
|
+
function returnVal<T0 = any>(client: IotaClient, args: [string, T0, kiosk.Borrow], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2548
|
+
function setOwner(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[]>>;
|
2549
|
+
function setOwnerCustom(client: IotaClient, args: [string, string, string]): Promise<TypedDevInspectResults<[]>>;
|
2550
|
+
function take<T0 = any>(client: IotaClient, args: [string, string, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
2551
|
+
function uid(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2552
|
+
function uidMutAsOwner(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
2553
|
+
function uidMutInternal(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2554
|
+
function withdraw(client: IotaClient, args: [string, string, _0x1.option.Option<bigint>]): Promise<TypedDevInspectResults<[coin.Coin<iota.IOTA>]>>;
|
2555
|
+
}
|
2556
|
+
interface DefaultPayload extends TypedFunctionPayload<[string]> {
|
2557
|
+
arguments_decoded: [string];
|
2558
|
+
type_arguments: [];
|
2559
|
+
}
|
2560
|
+
}
|
2561
|
+
export declare class kiosk_extension extends IotaBaseProcessor {
|
2562
|
+
constructor(options: IotaBindOptions);
|
2563
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
2564
|
+
static bind(options?: Partial<IotaBindOptions>): kiosk_extension;
|
2565
|
+
onEventExtensionKey(func: (event: kiosk_extension.ExtensionKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk_extension.ExtensionKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk_extension;
|
2566
|
+
}
|
2567
|
+
export declare namespace kiosk_extension {
|
2568
|
+
interface Extension {
|
2569
|
+
storage: bag.Bag;
|
2570
|
+
permissions: bigint;
|
2571
|
+
is_enabled: boolean;
|
2572
|
+
}
|
2573
|
+
namespace Extension {
|
2574
|
+
const TYPE_QNAME = "0x2::kiosk_extension::Extension";
|
2575
|
+
function type(): TypeDescriptor<Extension>;
|
2576
|
+
}
|
2577
|
+
interface ExtensionKey<T0> {
|
2578
|
+
dummy_field: boolean;
|
2579
|
+
}
|
2580
|
+
namespace ExtensionKey {
|
2581
|
+
const TYPE_QNAME = "0x2::kiosk_extension::ExtensionKey";
|
2582
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ExtensionKey<T0>>;
|
2583
|
+
}
|
2584
|
+
type ExtensionKeyInstance = TypedEventInstance<ExtensionKey<any>> & {
|
2585
|
+
data_decoded: ExtensionKey<any>;
|
2586
|
+
type_arguments: [string];
|
2587
|
+
};
|
2588
|
+
namespace builder {
|
2589
|
+
function add<T0 = any>(tx: Transaction, args: [
|
2590
|
+
T0 | TransactionArgument,
|
2591
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2592
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2593
|
+
bigint | TransactionArgument
|
2594
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2595
|
+
TransactionArgument,
|
2596
|
+
TransactionArgument,
|
2597
|
+
TransactionArgument,
|
2598
|
+
TransactionArgument
|
2599
|
+
];
|
2600
|
+
function canLock<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2601
|
+
function canPlace<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2602
|
+
function disable<T0 = any>(tx: Transaction, args: [
|
2603
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2604
|
+
string | TransactionObjectArgument | TransactionArgument
|
2605
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2606
|
+
function enable<T0 = any>(tx: Transaction, args: [
|
2607
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2608
|
+
string | TransactionObjectArgument | TransactionArgument
|
2609
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2610
|
+
function isEnabled<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2611
|
+
function isInstalled<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2612
|
+
function lock<T0 = any, T1 = any>(tx: Transaction, args: [
|
2613
|
+
T0 | TransactionArgument,
|
2614
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2615
|
+
T1 | TransactionArgument,
|
2616
|
+
string | TransactionObjectArgument | TransactionArgument
|
2617
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2618
|
+
TransactionArgument,
|
2619
|
+
TransactionArgument,
|
2620
|
+
TransactionArgument,
|
2621
|
+
TransactionArgument
|
2622
|
+
];
|
2623
|
+
function place<T0 = any, T1 = any>(tx: Transaction, args: [
|
2624
|
+
T0 | TransactionArgument,
|
2625
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2626
|
+
T1 | TransactionArgument,
|
2627
|
+
string | TransactionObjectArgument | TransactionArgument
|
2628
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2629
|
+
TransactionArgument,
|
2630
|
+
TransactionArgument,
|
2631
|
+
TransactionArgument,
|
2632
|
+
TransactionArgument
|
2633
|
+
];
|
2634
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
2635
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2636
|
+
string | TransactionObjectArgument | TransactionArgument
|
2637
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2638
|
+
function storage<T0 = any>(tx: Transaction, args: [
|
2639
|
+
T0 | TransactionArgument,
|
2640
|
+
string | TransactionObjectArgument | TransactionArgument
|
2641
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2642
|
+
function storageMut<T0 = any>(tx: Transaction, args: [
|
2643
|
+
T0 | TransactionArgument,
|
2644
|
+
string | TransactionObjectArgument | TransactionArgument
|
2645
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2646
|
+
}
|
2647
|
+
namespace view {
|
2648
|
+
function add<T0 = any>(client: IotaClient, args: [T0, string, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2649
|
+
function canLock<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2650
|
+
function canPlace<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2651
|
+
function disable<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2652
|
+
function enable<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2653
|
+
function isEnabled<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2654
|
+
function isInstalled<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2655
|
+
function lock<T0 = any, T1 = any>(client: IotaClient, args: [T0, string, T1, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2656
|
+
function place<T0 = any, T1 = any>(client: IotaClient, args: [T0, string, T1, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2657
|
+
function remove<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2658
|
+
function storage<T0 = any>(client: IotaClient, args: [T0, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2659
|
+
function storageMut<T0 = any>(client: IotaClient, args: [T0, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2660
|
+
}
|
2661
|
+
}
|
2662
|
+
export declare namespace labeler {
|
2663
|
+
interface LabelerCap<T0> {
|
2664
|
+
id: object$.UID;
|
2665
|
+
}
|
2666
|
+
namespace LabelerCap {
|
2667
|
+
const TYPE_QNAME = "0x2::labeler::LabelerCap";
|
2668
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<LabelerCap<T0>>;
|
2669
|
+
}
|
2670
|
+
namespace builder {
|
2671
|
+
function createLabelerCap<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2672
|
+
function destroyLabelerCap<T0 = any>(tx: Transaction, args: [labeler.LabelerCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2673
|
+
}
|
2674
|
+
namespace view {
|
2675
|
+
function createLabelerCap<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[labeler.LabelerCap<T0>]>>;
|
2676
|
+
function destroyLabelerCap<T0 = any>(client: IotaClient, args: [labeler.LabelerCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2677
|
+
}
|
2678
|
+
}
|
2679
|
+
export declare namespace linked_table {
|
2680
|
+
interface LinkedTable<T0, T1> {
|
2681
|
+
id: object$.UID;
|
2682
|
+
size: bigint;
|
2683
|
+
head: _0x1.option.Option<T0>;
|
2684
|
+
tail: _0x1.option.Option<T0>;
|
2685
|
+
}
|
2686
|
+
namespace LinkedTable {
|
2687
|
+
const TYPE_QNAME = "0x2::linked_table::LinkedTable";
|
2688
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<LinkedTable<T0, T1>>;
|
2689
|
+
}
|
2690
|
+
interface Node<T0, T1> {
|
2691
|
+
prev: _0x1.option.Option<T0>;
|
2692
|
+
next: _0x1.option.Option<T0>;
|
2693
|
+
value: T1;
|
2694
|
+
}
|
2695
|
+
namespace Node {
|
2696
|
+
const TYPE_QNAME = "0x2::linked_table::Node";
|
2697
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Node<T0, T1>>;
|
2698
|
+
}
|
2699
|
+
namespace builder {
|
2700
|
+
function back<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2701
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
2702
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2703
|
+
T0 | TransactionArgument
|
2704
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2705
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
2706
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2707
|
+
T0 | TransactionArgument
|
2708
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2709
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
2710
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2711
|
+
T0 | TransactionArgument
|
2712
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2713
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2714
|
+
function drop<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2715
|
+
function front<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2716
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2717
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2718
|
+
function new$<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
2719
|
+
function next<T0 = any, T1 = any>(tx: Transaction, args: [
|
2720
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2721
|
+
T0 | TransactionArgument
|
2722
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2723
|
+
function popBack<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2724
|
+
function popFront<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2725
|
+
function prev<T0 = any, T1 = any>(tx: Transaction, args: [
|
2726
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2727
|
+
T0 | TransactionArgument
|
2728
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2729
|
+
function pushBack<T0 = any, T1 = any>(tx: Transaction, args: [
|
2730
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2731
|
+
T0 | TransactionArgument,
|
2732
|
+
T1 | TransactionArgument
|
2733
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2734
|
+
TransactionArgument,
|
2735
|
+
TransactionArgument,
|
2736
|
+
TransactionArgument
|
2737
|
+
];
|
2738
|
+
function pushFront<T0 = any, T1 = any>(tx: Transaction, args: [
|
2739
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2740
|
+
T0 | TransactionArgument,
|
2741
|
+
T1 | TransactionArgument
|
2742
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2743
|
+
TransactionArgument,
|
2744
|
+
TransactionArgument,
|
2745
|
+
TransactionArgument
|
2746
|
+
];
|
2747
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
2748
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2749
|
+
T0 | TransactionArgument
|
2750
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2751
|
+
}
|
2752
|
+
namespace view {
|
2753
|
+
function back<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2754
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2755
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2756
|
+
function contains<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2757
|
+
function destroyEmpty<T0 = any, T1 = any>(client: IotaClient, args: [linked_table.LinkedTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2758
|
+
function drop<T0 = any, T1 = any>(client: IotaClient, args: [linked_table.LinkedTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2759
|
+
function front<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2760
|
+
function isEmpty<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2761
|
+
function length<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2762
|
+
function new$<T0 = any, T1 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[linked_table.LinkedTable<T0, T1>]>>;
|
2763
|
+
function next<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2764
|
+
function popBack<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
2765
|
+
function popFront<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
2766
|
+
function prev<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2767
|
+
function pushBack<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2768
|
+
function pushFront<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2769
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
2770
|
+
}
|
2771
|
+
}
|
2772
|
+
export declare namespace object$ {
|
2773
|
+
type ID = string;
|
2774
|
+
namespace ID {
|
2775
|
+
const TYPE_QNAME = "0x2::object::ID";
|
2776
|
+
function type(): TypeDescriptor<ID>;
|
2777
|
+
}
|
2778
|
+
interface UID {
|
2779
|
+
id: object$.ID;
|
2780
|
+
}
|
2781
|
+
namespace UID {
|
2782
|
+
const TYPE_QNAME = "0x2::object::UID";
|
2783
|
+
function type(): TypeDescriptor<UID>;
|
2784
|
+
}
|
2785
|
+
namespace builder {
|
2786
|
+
function authenticatorState(tx: Transaction, args: []): TransactionArgument & [];
|
2787
|
+
function borrowId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2788
|
+
function clock(tx: Transaction, args: []): TransactionArgument & [];
|
2789
|
+
function delete$(tx: Transaction, args: [object$.UID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2790
|
+
function id<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2791
|
+
function idAddress<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2792
|
+
function idBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2793
|
+
function idFromAddress(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2794
|
+
function idFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2795
|
+
function idToAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2796
|
+
function idToBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2797
|
+
function iotaDenyListObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
2798
|
+
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
2799
|
+
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2800
|
+
function randomnessState(tx: Transaction, args: []): TransactionArgument & [];
|
2801
|
+
function uidAsInner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2802
|
+
function uidToAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2803
|
+
function uidToBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2804
|
+
function uidToInner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2805
|
+
}
|
2806
|
+
namespace view {
|
2807
|
+
function authenticatorState(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
2808
|
+
function borrowId<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2809
|
+
function clock(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
2810
|
+
function delete$(client: IotaClient, args: [object$.UID]): Promise<TypedDevInspectResults<[]>>;
|
2811
|
+
function id<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2812
|
+
function idAddress<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2813
|
+
function idBytes<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
2814
|
+
function idFromAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2815
|
+
function idFromBytes(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2816
|
+
function idToAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2817
|
+
function idToBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
2818
|
+
function iotaDenyListObjectId(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
2819
|
+
function new$(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
2820
|
+
function newUidFromHash(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.UID]>>;
|
2821
|
+
function randomnessState(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
2822
|
+
function uidAsInner(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2823
|
+
function uidToAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2824
|
+
function uidToBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
2825
|
+
function uidToInner(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
2826
|
+
}
|
2827
|
+
}
|
2828
|
+
export declare namespace object_bag {
|
2829
|
+
interface ObjectBag {
|
2830
|
+
id: object$.UID;
|
2831
|
+
size: bigint;
|
2832
|
+
}
|
2833
|
+
namespace ObjectBag {
|
2834
|
+
const TYPE_QNAME = "0x2::object_bag::ObjectBag";
|
2835
|
+
function type(): TypeDescriptor<ObjectBag>;
|
2836
|
+
}
|
2837
|
+
namespace builder {
|
2838
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
2839
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2840
|
+
T0 | TransactionArgument,
|
2841
|
+
T1 | TransactionArgument
|
2842
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2843
|
+
TransactionArgument,
|
2844
|
+
TransactionArgument,
|
2845
|
+
TransactionArgument
|
2846
|
+
];
|
2847
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
2848
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2849
|
+
T0 | TransactionArgument
|
2850
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2851
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
2852
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2853
|
+
T0 | TransactionArgument
|
2854
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2855
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
2856
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2857
|
+
T0 | TransactionArgument
|
2858
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2859
|
+
function containsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
2860
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2861
|
+
T0 | TransactionArgument
|
2862
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2863
|
+
function destroyEmpty(tx: Transaction, args: [object_bag.ObjectBag | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2864
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2865
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2866
|
+
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
2867
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
2868
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2869
|
+
T0 | TransactionArgument
|
2870
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2871
|
+
function valueId<T0 = any>(tx: Transaction, args: [
|
2872
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2873
|
+
T0 | TransactionArgument
|
2874
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2875
|
+
}
|
2876
|
+
namespace view {
|
2877
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2878
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2879
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2880
|
+
function contains<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2881
|
+
function containsWithType<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2882
|
+
function destroyEmpty(client: IotaClient, args: [object_bag.ObjectBag]): Promise<TypedDevInspectResults<[]>>;
|
2883
|
+
function isEmpty(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2884
|
+
function length(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2885
|
+
function new$(client: IotaClient, args: []): Promise<TypedDevInspectResults<[object_bag.ObjectBag]>>;
|
2886
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
2887
|
+
function valueId<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
2888
|
+
}
|
2889
|
+
}
|
2890
|
+
export declare namespace object_table {
|
2891
|
+
interface ObjectTable<T0, T1> {
|
2892
|
+
id: object$.UID;
|
2893
|
+
size: bigint;
|
2894
|
+
}
|
2895
|
+
namespace ObjectTable {
|
2896
|
+
const TYPE_QNAME = "0x2::object_table::ObjectTable";
|
2897
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<ObjectTable<T0, T1>>;
|
2898
|
+
}
|
2899
|
+
namespace builder {
|
2900
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
2901
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2902
|
+
T0 | TransactionArgument,
|
2903
|
+
T1 | TransactionArgument
|
2904
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2905
|
+
TransactionArgument,
|
2906
|
+
TransactionArgument,
|
2907
|
+
TransactionArgument
|
2908
|
+
];
|
2909
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
2910
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2911
|
+
T0 | TransactionArgument
|
2912
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2913
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
2914
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2915
|
+
T0 | TransactionArgument
|
2916
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2917
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
2918
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2919
|
+
T0 | TransactionArgument
|
2920
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2921
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [object_table.ObjectTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2922
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2923
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
2924
|
+
function new$<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
2925
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
2926
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2927
|
+
T0 | TransactionArgument
|
2928
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2929
|
+
function valueId<T0 = any, T1 = any>(tx: Transaction, args: [
|
2930
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2931
|
+
T0 | TransactionArgument
|
2932
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2933
|
+
}
|
2934
|
+
namespace view {
|
2935
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2936
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2937
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2938
|
+
function contains<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2939
|
+
function destroyEmpty<T0 = any, T1 = any>(client: IotaClient, args: [object_table.ObjectTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2940
|
+
function isEmpty<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2941
|
+
function length<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2942
|
+
function new$<T0 = any, T1 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[object_table.ObjectTable<T0, T1>]>>;
|
2943
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
2944
|
+
function valueId<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
2945
|
+
}
|
2946
|
+
}
|
2947
|
+
export declare class package$ extends IotaBaseProcessor {
|
2948
|
+
constructor(options: IotaBindOptions);
|
2949
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
2950
|
+
static bind(options?: Partial<IotaBindOptions>): package$;
|
2951
|
+
onEntryMakeImmutable(func: (call: package$.MakeImmutablePayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, package$.MakeImmutablePayload>): package$;
|
2952
|
+
onEntryOnlyAdditiveUpgrades(func: (call: package$.OnlyAdditiveUpgradesPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, package$.OnlyAdditiveUpgradesPayload>): package$;
|
2953
|
+
onEntryOnlyDepUpgrades(func: (call: package$.OnlyDepUpgradesPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, package$.OnlyDepUpgradesPayload>): package$;
|
2954
|
+
}
|
2955
|
+
export declare namespace package$ {
|
2956
|
+
interface Publisher {
|
2957
|
+
id: object$.UID;
|
2958
|
+
package: _0x1.ascii.String;
|
2959
|
+
module_name: _0x1.ascii.String;
|
2960
|
+
}
|
2961
|
+
namespace Publisher {
|
2962
|
+
const TYPE_QNAME = "0x2::package::Publisher";
|
2963
|
+
function type(): TypeDescriptor<Publisher>;
|
2964
|
+
}
|
2965
|
+
interface UpgradeCap {
|
2966
|
+
id: object$.UID;
|
2967
|
+
package: object$.ID;
|
2968
|
+
version: bigint;
|
2969
|
+
policy: number;
|
2970
|
+
}
|
2971
|
+
namespace UpgradeCap {
|
2972
|
+
const TYPE_QNAME = "0x2::package::UpgradeCap";
|
2973
|
+
function type(): TypeDescriptor<UpgradeCap>;
|
2974
|
+
}
|
2975
|
+
interface UpgradeReceipt {
|
2976
|
+
cap: object$.ID;
|
2977
|
+
package: object$.ID;
|
2978
|
+
}
|
2979
|
+
namespace UpgradeReceipt {
|
2980
|
+
const TYPE_QNAME = "0x2::package::UpgradeReceipt";
|
2981
|
+
function type(): TypeDescriptor<UpgradeReceipt>;
|
2982
|
+
}
|
2983
|
+
interface UpgradeTicket {
|
2984
|
+
cap: object$.ID;
|
2985
|
+
package: object$.ID;
|
2986
|
+
policy: number;
|
2987
|
+
digest: number[];
|
2988
|
+
}
|
2989
|
+
namespace UpgradeTicket {
|
2990
|
+
const TYPE_QNAME = "0x2::package::UpgradeTicket";
|
2991
|
+
function type(): TypeDescriptor<UpgradeTicket>;
|
2992
|
+
}
|
2993
|
+
namespace builder {
|
2994
|
+
function additivePolicy(tx: Transaction, args: []): TransactionArgument & [];
|
2995
|
+
function authorizeUpgrade(tx: Transaction, args: [
|
2996
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2997
|
+
number | TransactionArgument,
|
2998
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
2999
|
+
]): TransactionArgument & [
|
3000
|
+
TransactionArgument,
|
3001
|
+
TransactionArgument,
|
3002
|
+
TransactionArgument
|
3003
|
+
];
|
3004
|
+
function burnPublisher(tx: Transaction, args: [package$.Publisher | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3005
|
+
function claim<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3006
|
+
function claimAndKeep<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3007
|
+
function commitUpgrade(tx: Transaction, args: [
|
3008
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3009
|
+
package$.UpgradeReceipt | TransactionArgument
|
3010
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3011
|
+
function compatiblePolicy(tx: Transaction, args: []): TransactionArgument & [];
|
3012
|
+
function depOnlyPolicy(tx: Transaction, args: []): TransactionArgument & [];
|
3013
|
+
function fromModule<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3014
|
+
function fromPackage<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3015
|
+
function makeImmutable(tx: Transaction, args: [package$.UpgradeCap | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3016
|
+
function onlyAdditiveUpgrades(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3017
|
+
function onlyDepUpgrades(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3018
|
+
function publishedModule(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3019
|
+
function publishedPackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3020
|
+
function receiptCap(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3021
|
+
function receiptPackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3022
|
+
function ticketDigest(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3023
|
+
function ticketPackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3024
|
+
function ticketPolicy(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3025
|
+
function upgradePackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3026
|
+
function upgradePolicy(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3027
|
+
function version(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3028
|
+
}
|
3029
|
+
namespace view {
|
3030
|
+
function additivePolicy(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
3031
|
+
function authorizeUpgrade(client: IotaClient, args: [string, number, string[]]): Promise<TypedDevInspectResults<[package$.UpgradeTicket]>>;
|
3032
|
+
function burnPublisher(client: IotaClient, args: [package$.Publisher]): Promise<TypedDevInspectResults<[]>>;
|
3033
|
+
function claim<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[package$.Publisher]>>;
|
3034
|
+
function claimAndKeep<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3035
|
+
function commitUpgrade(client: IotaClient, args: [string, package$.UpgradeReceipt]): Promise<TypedDevInspectResults<[]>>;
|
3036
|
+
function compatiblePolicy(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
3037
|
+
function depOnlyPolicy(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
3038
|
+
function fromModule<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3039
|
+
function fromPackage<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3040
|
+
function makeImmutable(client: IotaClient, args: [package$.UpgradeCap]): Promise<TypedDevInspectResults<[]>>;
|
3041
|
+
function onlyAdditiveUpgrades(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
3042
|
+
function onlyDepUpgrades(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
3043
|
+
function publishedModule(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
3044
|
+
function publishedPackage(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
3045
|
+
function receiptCap(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
3046
|
+
function receiptPackage(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
3047
|
+
function ticketDigest(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
3048
|
+
function ticketPackage(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
3049
|
+
function ticketPolicy(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
3050
|
+
function upgradePackage(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
3051
|
+
function upgradePolicy(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
3052
|
+
function version(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3053
|
+
}
|
3054
|
+
interface MakeImmutablePayload extends TypedFunctionPayload<[package$.UpgradeCap]> {
|
3055
|
+
arguments_decoded: [package$.UpgradeCap];
|
3056
|
+
type_arguments: [];
|
3057
|
+
}
|
3058
|
+
interface OnlyAdditiveUpgradesPayload extends TypedFunctionPayload<[string]> {
|
3059
|
+
arguments_decoded: [string];
|
3060
|
+
type_arguments: [];
|
3061
|
+
}
|
3062
|
+
interface OnlyDepUpgradesPayload extends TypedFunctionPayload<[string]> {
|
3063
|
+
arguments_decoded: [string];
|
3064
|
+
type_arguments: [];
|
3065
|
+
}
|
3066
|
+
}
|
3067
|
+
export declare class pay extends IotaBaseProcessor {
|
3068
|
+
constructor(options: IotaBindOptions);
|
3069
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
3070
|
+
static bind(options?: Partial<IotaBindOptions>): pay;
|
3071
|
+
onEntryDivideAndKeep(func: (call: pay.DivideAndKeepPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.DivideAndKeepPayload>): pay;
|
3072
|
+
onEntryJoinVec(func: (call: pay.JoinVecPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinVecPayload>): pay;
|
3073
|
+
onEntryJoinVecAndTransfer(func: (call: pay.JoinVecAndTransferPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinVecAndTransferPayload>): pay;
|
3074
|
+
onEntrySplit(func: (call: pay.SplitPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitPayload>): pay;
|
3075
|
+
onEntrySplitAndTransfer(func: (call: pay.SplitAndTransferPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitAndTransferPayload>): pay;
|
3076
|
+
onEntrySplitVec(func: (call: pay.SplitVecPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitVecPayload>): pay;
|
3077
|
+
}
|
3078
|
+
export declare namespace pay {
|
3079
|
+
namespace builder {
|
3080
|
+
function divideAndKeep<T0 = any>(tx: Transaction, args: [
|
3081
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3082
|
+
bigint | TransactionArgument
|
3083
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3084
|
+
function joinVec<T0 = any>(tx: Transaction, args: [
|
3085
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3086
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3087
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3088
|
+
function joinVecAndTransfer<T0 = any>(tx: Transaction, args: [
|
3089
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3090
|
+
string | TransactionArgument
|
3091
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3092
|
+
function keep<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3093
|
+
function split<T0 = any>(tx: Transaction, args: [
|
3094
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3095
|
+
bigint | TransactionArgument
|
3096
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3097
|
+
function splitAndTransfer<T0 = any>(tx: Transaction, args: [
|
3098
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3099
|
+
bigint | TransactionArgument,
|
3100
|
+
string | TransactionArgument
|
3101
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3102
|
+
TransactionArgument,
|
3103
|
+
TransactionArgument,
|
3104
|
+
TransactionArgument
|
3105
|
+
];
|
3106
|
+
function splitVec<T0 = any>(tx: Transaction, args: [
|
3107
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3108
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3109
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3110
|
+
}
|
3111
|
+
namespace view {
|
3112
|
+
function divideAndKeep<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3113
|
+
function joinVec<T0 = any>(client: IotaClient, args: [string, string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3114
|
+
function joinVecAndTransfer<T0 = any>(client: IotaClient, args: [string[], string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3115
|
+
function keep<T0 = any>(client: IotaClient, args: [coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3116
|
+
function split<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3117
|
+
function splitAndTransfer<T0 = any>(client: IotaClient, args: [string, bigint, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3118
|
+
function splitVec<T0 = any>(client: IotaClient, args: [string, string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3119
|
+
}
|
3120
|
+
interface DivideAndKeepPayload<T0 = any> extends TypedFunctionPayload<[string, bigint, string]> {
|
3121
|
+
arguments_decoded: [string, bigint, string];
|
3122
|
+
type_arguments: [string];
|
3123
|
+
}
|
3124
|
+
interface JoinVecPayload<T0 = any> extends TypedFunctionPayload<[string, coin.Coin<T0>[]]> {
|
3125
|
+
arguments_decoded: [string, coin.Coin<T0>[]];
|
3126
|
+
type_arguments: [string];
|
3127
|
+
}
|
3128
|
+
interface JoinVecAndTransferPayload<T0 = any> extends TypedFunctionPayload<[coin.Coin<T0>[], string]> {
|
3129
|
+
arguments_decoded: [coin.Coin<T0>[], string];
|
3130
|
+
type_arguments: [string];
|
3131
|
+
}
|
3132
|
+
interface SplitPayload<T0 = any> extends TypedFunctionPayload<[string, bigint, string]> {
|
3133
|
+
arguments_decoded: [string, bigint, string];
|
3134
|
+
type_arguments: [string];
|
3135
|
+
}
|
3136
|
+
interface SplitAndTransferPayload<T0 = any> extends TypedFunctionPayload<[string, bigint, string, string]> {
|
3137
|
+
arguments_decoded: [string, bigint, string, string];
|
3138
|
+
type_arguments: [string];
|
3139
|
+
}
|
3140
|
+
interface SplitVecPayload<T0 = any> extends TypedFunctionPayload<[string, bigint[], string]> {
|
3141
|
+
arguments_decoded: [string, bigint[], string];
|
3142
|
+
type_arguments: [string];
|
3143
|
+
}
|
3144
|
+
}
|
3145
|
+
export declare namespace poseidon {
|
3146
|
+
namespace builder {
|
3147
|
+
function poseidonBn254(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3148
|
+
}
|
3149
|
+
namespace view {
|
3150
|
+
function poseidonBn254(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3151
|
+
}
|
3152
|
+
}
|
3153
|
+
export declare namespace priority_queue {
|
3154
|
+
interface Entry<T0> {
|
3155
|
+
priority: bigint;
|
3156
|
+
value: T0;
|
3157
|
+
}
|
3158
|
+
namespace Entry {
|
3159
|
+
const TYPE_QNAME = "0x2::priority_queue::Entry";
|
3160
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Entry<T0>>;
|
3161
|
+
}
|
3162
|
+
interface PriorityQueue<T0> {
|
3163
|
+
entries: priority_queue.Entry<T0>[];
|
3164
|
+
}
|
3165
|
+
namespace PriorityQueue {
|
3166
|
+
const TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
|
3167
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<PriorityQueue<T0>>;
|
3168
|
+
}
|
3169
|
+
namespace builder {
|
3170
|
+
function createEntries<T0 = any>(tx: Transaction, args: [
|
3171
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3172
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3173
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3174
|
+
function insert<T0 = any>(tx: Transaction, args: [
|
3175
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3176
|
+
bigint | TransactionArgument,
|
3177
|
+
T0 | TransactionArgument
|
3178
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3179
|
+
TransactionArgument,
|
3180
|
+
TransactionArgument,
|
3181
|
+
TransactionArgument
|
3182
|
+
];
|
3183
|
+
function new$<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3184
|
+
function newEntry<T0 = any>(tx: Transaction, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3185
|
+
function popMax<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3186
|
+
function priorities<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3187
|
+
}
|
3188
|
+
namespace view {
|
3189
|
+
function createEntries<T0 = any>(client: IotaClient, args: [string[], string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>[]]>>;
|
3190
|
+
function insert<T0 = any>(client: IotaClient, args: [string, bigint, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3191
|
+
function new$<T0 = any>(client: IotaClient, args: [string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.PriorityQueue<T0>]>>;
|
3192
|
+
function newEntry<T0 = any>(client: IotaClient, args: [bigint, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>]>>;
|
3193
|
+
function popMax<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint, T0]>>;
|
3194
|
+
function priorities<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
3195
|
+
}
|
3196
|
+
}
|
3197
|
+
export declare namespace prover {
|
3198
|
+
namespace builder { }
|
3199
|
+
namespace view { }
|
3200
|
+
}
|
3201
|
+
export declare namespace random {
|
3202
|
+
interface Random {
|
3203
|
+
id: object$.UID;
|
3204
|
+
inner: versioned.Versioned;
|
3205
|
+
}
|
3206
|
+
namespace Random {
|
3207
|
+
const TYPE_QNAME = "0x2::random::Random";
|
3208
|
+
function type(): TypeDescriptor<Random>;
|
3209
|
+
}
|
3210
|
+
interface RandomGenerator {
|
3211
|
+
seed: number[];
|
3212
|
+
counter: number;
|
3213
|
+
buffer: number[];
|
3214
|
+
}
|
3215
|
+
namespace RandomGenerator {
|
3216
|
+
const TYPE_QNAME = "0x2::random::RandomGenerator";
|
3217
|
+
function type(): TypeDescriptor<RandomGenerator>;
|
3218
|
+
}
|
3219
|
+
interface RandomInner {
|
3220
|
+
version: bigint;
|
3221
|
+
epoch: bigint;
|
3222
|
+
randomness_round: bigint;
|
3223
|
+
random_bytes: number[];
|
3224
|
+
}
|
3225
|
+
namespace RandomInner {
|
3226
|
+
const TYPE_QNAME = "0x2::random::RandomInner";
|
3227
|
+
function type(): TypeDescriptor<RandomInner>;
|
3228
|
+
}
|
3229
|
+
namespace builder {
|
3230
|
+
function generateBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3231
|
+
function generateBytes(tx: Transaction, args: [
|
3232
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3233
|
+
number | TransactionArgument
|
3234
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3235
|
+
function generateU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3236
|
+
function generateU128InRange(tx: Transaction, args: [
|
3237
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3238
|
+
bigint | TransactionArgument,
|
3239
|
+
bigint | TransactionArgument
|
3240
|
+
]): TransactionArgument & [
|
3241
|
+
TransactionArgument,
|
3242
|
+
TransactionArgument,
|
3243
|
+
TransactionArgument
|
3244
|
+
];
|
3245
|
+
function generateU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3246
|
+
function generateU16InRange(tx: Transaction, args: [
|
3247
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3248
|
+
number | TransactionArgument,
|
3249
|
+
number | TransactionArgument
|
3250
|
+
]): TransactionArgument & [
|
3251
|
+
TransactionArgument,
|
3252
|
+
TransactionArgument,
|
3253
|
+
TransactionArgument
|
3254
|
+
];
|
3255
|
+
function generateU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3256
|
+
function generateU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3257
|
+
function generateU32InRange(tx: Transaction, args: [
|
3258
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3259
|
+
number | TransactionArgument,
|
3260
|
+
number | TransactionArgument
|
3261
|
+
]): TransactionArgument & [
|
3262
|
+
TransactionArgument,
|
3263
|
+
TransactionArgument,
|
3264
|
+
TransactionArgument
|
3265
|
+
];
|
3266
|
+
function generateU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3267
|
+
function generateU64InRange(tx: Transaction, args: [
|
3268
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3269
|
+
bigint | TransactionArgument,
|
3270
|
+
bigint | TransactionArgument
|
3271
|
+
]): TransactionArgument & [
|
3272
|
+
TransactionArgument,
|
3273
|
+
TransactionArgument,
|
3274
|
+
TransactionArgument
|
3275
|
+
];
|
3276
|
+
function generateU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3277
|
+
function generateU8InRange(tx: Transaction, args: [
|
3278
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3279
|
+
number | TransactionArgument,
|
3280
|
+
number | TransactionArgument
|
3281
|
+
]): TransactionArgument & [
|
3282
|
+
TransactionArgument,
|
3283
|
+
TransactionArgument,
|
3284
|
+
TransactionArgument
|
3285
|
+
];
|
3286
|
+
function newGenerator(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3287
|
+
function shuffle<T0 = any>(tx: Transaction, args: [
|
3288
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3289
|
+
string | TransactionObjectArgument | TransactionArgument
|
3290
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3291
|
+
}
|
3292
|
+
namespace view {
|
3293
|
+
function generateBool(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3294
|
+
function generateBytes(client: IotaClient, args: [string, number]): Promise<TypedDevInspectResults<[number[]]>>;
|
3295
|
+
function generateU128(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3296
|
+
function generateU128InRange(client: IotaClient, args: [string, bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
3297
|
+
function generateU16(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
3298
|
+
function generateU16InRange(client: IotaClient, args: [string, number, number]): Promise<TypedDevInspectResults<[number]>>;
|
3299
|
+
function generateU256(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3300
|
+
function generateU32(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
3301
|
+
function generateU32InRange(client: IotaClient, args: [string, number, number]): Promise<TypedDevInspectResults<[number]>>;
|
3302
|
+
function generateU64(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3303
|
+
function generateU64InRange(client: IotaClient, args: [string, bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
3304
|
+
function generateU8(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
3305
|
+
function generateU8InRange(client: IotaClient, args: [string, number, number]): Promise<TypedDevInspectResults<[number]>>;
|
3306
|
+
function newGenerator(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[random.RandomGenerator]>>;
|
3307
|
+
function shuffle<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3308
|
+
}
|
3309
|
+
}
|
3310
|
+
export declare namespace system_admin_cap {
|
3311
|
+
interface IotaSystemAdminCap {
|
3312
|
+
dummy_field: boolean;
|
3313
|
+
}
|
3314
|
+
namespace IotaSystemAdminCap {
|
3315
|
+
const TYPE_QNAME = "0x2::system_admin_cap::IotaSystemAdminCap";
|
3316
|
+
function type(): TypeDescriptor<IotaSystemAdminCap>;
|
3317
|
+
}
|
3318
|
+
namespace builder { }
|
3319
|
+
namespace view { }
|
3320
|
+
}
|
3321
|
+
export declare namespace table {
|
3322
|
+
interface Table<T0, T1> {
|
3323
|
+
id: object$.UID;
|
3324
|
+
size: bigint;
|
3325
|
+
}
|
3326
|
+
namespace Table {
|
3327
|
+
const TYPE_QNAME = "0x2::table::Table";
|
3328
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Table<T0, T1>>;
|
3329
|
+
}
|
3330
|
+
namespace builder {
|
3331
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
3332
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3333
|
+
T0 | TransactionArgument,
|
3334
|
+
T1 | TransactionArgument
|
3335
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3336
|
+
TransactionArgument,
|
3337
|
+
TransactionArgument,
|
3338
|
+
TransactionArgument
|
3339
|
+
];
|
3340
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
3341
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3342
|
+
T0 | TransactionArgument
|
3343
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3344
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
3345
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3346
|
+
T0 | TransactionArgument
|
3347
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3348
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
3349
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3350
|
+
T0 | TransactionArgument
|
3351
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3352
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3353
|
+
function drop<T0 = any, T1 = any>(tx: Transaction, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3354
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3355
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3356
|
+
function new$<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
3357
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
3358
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3359
|
+
T0 | TransactionArgument
|
3360
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3361
|
+
}
|
3362
|
+
namespace view {
|
3363
|
+
function add<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3364
|
+
function borrow<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3365
|
+
function borrowMut<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3366
|
+
function contains<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3367
|
+
function destroyEmpty<T0 = any, T1 = any>(client: IotaClient, args: [table.Table<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3368
|
+
function drop<T0 = any, T1 = any>(client: IotaClient, args: [table.Table<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3369
|
+
function isEmpty<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3370
|
+
function length<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3371
|
+
function new$<T0 = any, T1 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[table.Table<T0, T1>]>>;
|
3372
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
3373
|
+
}
|
3374
|
+
}
|
3375
|
+
export declare namespace table_vec {
|
3376
|
+
interface TableVec<T0> {
|
3377
|
+
contents: table.Table<bigint, T0>;
|
3378
|
+
}
|
3379
|
+
namespace TableVec {
|
3380
|
+
const TYPE_QNAME = "0x2::table_vec::TableVec";
|
3381
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TableVec<T0>>;
|
3382
|
+
}
|
3383
|
+
namespace builder {
|
3384
|
+
function borrow<T0 = any>(tx: Transaction, args: [
|
3385
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3386
|
+
bigint | TransactionArgument
|
3387
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3388
|
+
function borrowMut<T0 = any>(tx: Transaction, args: [
|
3389
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3390
|
+
bigint | TransactionArgument
|
3391
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3392
|
+
function destroyEmpty<T0 = any>(tx: Transaction, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3393
|
+
function drop<T0 = any>(tx: Transaction, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3394
|
+
function empty<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
3395
|
+
function isEmpty<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3396
|
+
function length<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3397
|
+
function popBack<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3398
|
+
function pushBack<T0 = any>(tx: Transaction, args: [
|
3399
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3400
|
+
T0 | TransactionArgument
|
3401
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3402
|
+
function singleton<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3403
|
+
function swap<T0 = any>(tx: Transaction, args: [
|
3404
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3405
|
+
bigint | TransactionArgument,
|
3406
|
+
bigint | TransactionArgument
|
3407
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3408
|
+
TransactionArgument,
|
3409
|
+
TransactionArgument,
|
3410
|
+
TransactionArgument
|
3411
|
+
];
|
3412
|
+
function swapRemove<T0 = any>(tx: Transaction, args: [
|
3413
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3414
|
+
bigint | TransactionArgument
|
3415
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3416
|
+
}
|
3417
|
+
namespace view {
|
3418
|
+
function borrow<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3419
|
+
function borrowMut<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3420
|
+
function destroyEmpty<T0 = any>(client: IotaClient, args: [table_vec.TableVec<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3421
|
+
function drop<T0 = any>(client: IotaClient, args: [table_vec.TableVec<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3422
|
+
function empty<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
3423
|
+
function isEmpty<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3424
|
+
function length<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3425
|
+
function popBack<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3426
|
+
function pushBack<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3427
|
+
function singleton<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
3428
|
+
function swap<T0 = any>(client: IotaClient, args: [string, bigint, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3429
|
+
function swapRemove<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3430
|
+
}
|
3431
|
+
}
|
3432
|
+
export declare class timelock extends IotaBaseProcessor {
|
3433
|
+
constructor(options: IotaBindOptions);
|
3434
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
3435
|
+
static bind(options?: Partial<IotaBindOptions>): timelock;
|
3436
|
+
onEntrySplitBalance(func: (call: timelock.SplitBalancePayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, timelock.SplitBalancePayload>): timelock;
|
3437
|
+
}
|
3438
|
+
export declare namespace timelock {
|
3439
|
+
interface TimeLock<T0> {
|
3440
|
+
id: object$.UID;
|
3441
|
+
locked: T0;
|
3442
|
+
expiration_timestamp_ms: bigint;
|
3443
|
+
label: _0x1.option.Option<string>;
|
3444
|
+
}
|
3445
|
+
namespace TimeLock {
|
3446
|
+
const TYPE_QNAME = "0x2::timelock::TimeLock";
|
3447
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TimeLock<T0>>;
|
3448
|
+
}
|
3449
|
+
namespace builder {
|
3450
|
+
function expirationTimestampMs<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3451
|
+
function isLabeledWith<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3452
|
+
function isLocked<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3453
|
+
function isLockedWithClock<T0 = any>(tx: Transaction, args: [
|
3454
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3455
|
+
string | TransactionObjectArgument | TransactionArgument
|
3456
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3457
|
+
function join<T0 = any>(tx: Transaction, args: [
|
3458
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3459
|
+
timelock.TimeLock<balance.Balance<T0>> | TransactionArgument
|
3460
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3461
|
+
function joinVec<T0 = any>(tx: Transaction, args: [
|
3462
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3463
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3464
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3465
|
+
function label<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3466
|
+
function lock<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3467
|
+
function lockAndTransfer<T0 = any>(tx: Transaction, args: [
|
3468
|
+
T0 | TransactionArgument,
|
3469
|
+
string | TransactionArgument,
|
3470
|
+
bigint | TransactionArgument
|
3471
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3472
|
+
TransactionArgument,
|
3473
|
+
TransactionArgument,
|
3474
|
+
TransactionArgument
|
3475
|
+
];
|
3476
|
+
function lockWithLabel<T0 = any, T1 = any>(tx: Transaction, args: [
|
3477
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3478
|
+
T0 | TransactionArgument,
|
3479
|
+
bigint | TransactionArgument
|
3480
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3481
|
+
TransactionArgument,
|
3482
|
+
TransactionArgument,
|
3483
|
+
TransactionArgument
|
3484
|
+
];
|
3485
|
+
function lockWithLabelAndTransfer<T0 = any, T1 = any>(tx: Transaction, args: [
|
3486
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3487
|
+
T0 | TransactionArgument,
|
3488
|
+
string | TransactionArgument,
|
3489
|
+
bigint | TransactionArgument
|
3490
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3491
|
+
TransactionArgument,
|
3492
|
+
TransactionArgument,
|
3493
|
+
TransactionArgument,
|
3494
|
+
TransactionArgument
|
3495
|
+
];
|
3496
|
+
function locked<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3497
|
+
function remainingTime<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3498
|
+
function remainingTimeWithClock<T0 = any>(tx: Transaction, args: [
|
3499
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3500
|
+
string | TransactionObjectArgument | TransactionArgument
|
3501
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3502
|
+
function split<T0 = any>(tx: Transaction, args: [
|
3503
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3504
|
+
bigint | TransactionArgument
|
3505
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3506
|
+
function splitBalance<T0 = any>(tx: Transaction, args: [
|
3507
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3508
|
+
bigint | TransactionArgument
|
3509
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3510
|
+
function systemPack<T0 = any>(tx: Transaction, args: [
|
3511
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3512
|
+
T0 | TransactionArgument,
|
3513
|
+
bigint | TransactionArgument,
|
3514
|
+
_0x1.option.Option<string> | TransactionArgument
|
3515
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3516
|
+
TransactionArgument,
|
3517
|
+
TransactionArgument,
|
3518
|
+
TransactionArgument,
|
3519
|
+
TransactionArgument
|
3520
|
+
];
|
3521
|
+
function systemUnpack<T0 = any>(tx: Transaction, args: [
|
3522
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3523
|
+
timelock.TimeLock<T0> | TransactionArgument
|
3524
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3525
|
+
function transferToSender<T0 = any>(tx: Transaction, args: [timelock.TimeLock<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3526
|
+
function typeName<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
3527
|
+
function unlock<T0 = any>(tx: Transaction, args: [timelock.TimeLock<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3528
|
+
function unlockWithClock<T0 = any>(tx: Transaction, args: [
|
3529
|
+
timelock.TimeLock<T0> | TransactionArgument,
|
3530
|
+
string | TransactionObjectArgument | TransactionArgument
|
3531
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3532
|
+
}
|
3533
|
+
namespace view {
|
3534
|
+
function expirationTimestampMs<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3535
|
+
function isLabeledWith<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3536
|
+
function isLocked<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3537
|
+
function isLockedWithClock<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3538
|
+
function join<T0 = any>(client: IotaClient, args: [string, timelock.TimeLock<balance.Balance<T0>>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3539
|
+
function joinVec<T0 = any>(client: IotaClient, args: [string, string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3540
|
+
function label<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
3541
|
+
function lock<T0 = any>(client: IotaClient, args: [T0, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[timelock.TimeLock<T0>]>>;
|
3542
|
+
function lockAndTransfer<T0 = any>(client: IotaClient, args: [T0, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3543
|
+
function lockWithLabel<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, bigint], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[timelock.TimeLock<T0>]>>;
|
3544
|
+
function lockWithLabelAndTransfer<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, string, bigint], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3545
|
+
function locked<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3546
|
+
function remainingTime<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3547
|
+
function remainingTimeWithClock<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3548
|
+
function split<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[timelock.TimeLock<balance.Balance<T0>>]>>;
|
3549
|
+
function splitBalance<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3550
|
+
function systemPack<T0 = any>(client: IotaClient, args: [string, T0, bigint, _0x1.option.Option<string>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[timelock.TimeLock<T0>]>>;
|
3551
|
+
function systemUnpack<T0 = any>(client: IotaClient, args: [string, timelock.TimeLock<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, bigint, _0x1.option.Option<string>]>>;
|
3552
|
+
function transferToSender<T0 = any>(client: IotaClient, args: [timelock.TimeLock<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3553
|
+
function typeName<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3554
|
+
function unlock<T0 = any>(client: IotaClient, args: [timelock.TimeLock<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3555
|
+
function unlockWithClock<T0 = any>(client: IotaClient, args: [timelock.TimeLock<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3556
|
+
}
|
3557
|
+
interface SplitBalancePayload<T0 = any> extends TypedFunctionPayload<[string, bigint, string]> {
|
3558
|
+
arguments_decoded: [string, bigint, string];
|
3559
|
+
type_arguments: [string];
|
3560
|
+
}
|
3561
|
+
}
|
3562
|
+
export declare class token extends IotaBaseProcessor {
|
3563
|
+
constructor(options: IotaBindOptions);
|
3564
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
3565
|
+
static bind(options?: Partial<IotaBindOptions>): token;
|
3566
|
+
onEventRuleKey(func: (event: token.RuleKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, token.RuleKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): token;
|
3567
|
+
onEventTokenPolicyCreated(func: (event: token.TokenPolicyCreatedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, token.TokenPolicyCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): token;
|
3568
|
+
}
|
3569
|
+
export declare namespace token {
|
3570
|
+
interface ActionRequest<T0> {
|
3571
|
+
name: string;
|
3572
|
+
amount: bigint;
|
3573
|
+
sender: string;
|
3574
|
+
recipient: _0x1.option.Option<string>;
|
3575
|
+
spent_balance: _0x1.option.Option<balance.Balance<T0>>;
|
3576
|
+
approvals: vec_set.VecSet<_0x1.type_name.TypeName>;
|
3577
|
+
}
|
3578
|
+
namespace ActionRequest {
|
3579
|
+
const TYPE_QNAME = "0x2::token::ActionRequest";
|
3580
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ActionRequest<T0>>;
|
3581
|
+
}
|
3582
|
+
interface RuleKey<T0> {
|
3583
|
+
is_protected: boolean;
|
3584
|
+
}
|
3585
|
+
namespace RuleKey {
|
3586
|
+
const TYPE_QNAME = "0x2::token::RuleKey";
|
3587
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RuleKey<T0>>;
|
3588
|
+
}
|
3589
|
+
type RuleKeyInstance = TypedEventInstance<RuleKey<any>> & {
|
3590
|
+
data_decoded: RuleKey<any>;
|
3591
|
+
type_arguments: [string];
|
3592
|
+
};
|
3593
|
+
interface Token<T0> {
|
3594
|
+
id: object$.UID;
|
3595
|
+
balance: balance.Balance<T0>;
|
3596
|
+
}
|
3597
|
+
namespace Token {
|
3598
|
+
const TYPE_QNAME = "0x2::token::Token";
|
3599
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Token<T0>>;
|
3600
|
+
}
|
3601
|
+
interface TokenPolicy<T0> {
|
3602
|
+
id: object$.UID;
|
3603
|
+
spent_balance: balance.Balance<T0>;
|
3604
|
+
rules: vec_map.VecMap<string, vec_set.VecSet<_0x1.type_name.TypeName>>;
|
3605
|
+
}
|
3606
|
+
namespace TokenPolicy {
|
3607
|
+
const TYPE_QNAME = "0x2::token::TokenPolicy";
|
3608
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicy<T0>>;
|
3609
|
+
}
|
3610
|
+
interface TokenPolicyCap<T0> {
|
3611
|
+
id: object$.UID;
|
3612
|
+
for: object$.ID;
|
3613
|
+
}
|
3614
|
+
namespace TokenPolicyCap {
|
3615
|
+
const TYPE_QNAME = "0x2::token::TokenPolicyCap";
|
3616
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicyCap<T0>>;
|
3617
|
+
}
|
3618
|
+
interface TokenPolicyCreated<T0> {
|
3619
|
+
id: object$.ID;
|
3620
|
+
is_mutable: boolean;
|
3621
|
+
}
|
3622
|
+
namespace TokenPolicyCreated {
|
3623
|
+
const TYPE_QNAME = "0x2::token::TokenPolicyCreated";
|
3624
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicyCreated<T0>>;
|
3625
|
+
}
|
3626
|
+
type TokenPolicyCreatedInstance = TypedEventInstance<TokenPolicyCreated<any>> & {
|
3627
|
+
data_decoded: TokenPolicyCreated<any>;
|
3628
|
+
type_arguments: [string];
|
3629
|
+
};
|
3630
|
+
namespace builder {
|
3631
|
+
function action<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3632
|
+
function addApproval<T0 = any, T1 = any>(tx: Transaction, args: [
|
3633
|
+
T1 | TransactionArgument,
|
3634
|
+
string | TransactionObjectArgument | TransactionArgument
|
3635
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3636
|
+
function addRuleConfig<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
3637
|
+
T1 | TransactionArgument,
|
3638
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3639
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3640
|
+
T2 | TransactionArgument
|
3641
|
+
], typeArguments: [
|
3642
|
+
TypeDescriptor<T0> | string,
|
3643
|
+
TypeDescriptor<T1> | string,
|
3644
|
+
TypeDescriptor<T2> | string
|
3645
|
+
]): TransactionArgument & [
|
3646
|
+
TransactionArgument,
|
3647
|
+
TransactionArgument,
|
3648
|
+
TransactionArgument,
|
3649
|
+
TransactionArgument
|
3650
|
+
];
|
3651
|
+
function addRuleForAction<T0 = any, T1 = any>(tx: Transaction, args: [
|
3652
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3653
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3654
|
+
string | TransactionArgument
|
3655
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3656
|
+
TransactionArgument,
|
3657
|
+
TransactionArgument,
|
3658
|
+
TransactionArgument
|
3659
|
+
];
|
3660
|
+
function allow<T0 = any>(tx: Transaction, args: [
|
3661
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3662
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3663
|
+
string | TransactionArgument
|
3664
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3665
|
+
TransactionArgument,
|
3666
|
+
TransactionArgument,
|
3667
|
+
TransactionArgument
|
3668
|
+
];
|
3669
|
+
function amount<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3670
|
+
function approvals<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3671
|
+
function burn<T0 = any>(tx: Transaction, args: [
|
3672
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3673
|
+
token.Token<T0> | TransactionArgument
|
3674
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3675
|
+
function confirmRequest<T0 = any>(tx: Transaction, args: [
|
3676
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3677
|
+
token.ActionRequest<T0> | TransactionArgument
|
3678
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3679
|
+
function confirmRequestMut<T0 = any>(tx: Transaction, args: [
|
3680
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3681
|
+
token.ActionRequest<T0> | TransactionArgument
|
3682
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3683
|
+
function confirmWithPolicyCap<T0 = any>(tx: Transaction, args: [
|
3684
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3685
|
+
token.ActionRequest<T0> | TransactionArgument
|
3686
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3687
|
+
function confirmWithTreasuryCap<T0 = any>(tx: Transaction, args: [
|
3688
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3689
|
+
token.ActionRequest<T0> | TransactionArgument
|
3690
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3691
|
+
function destroyZero<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3692
|
+
function disallow<T0 = any>(tx: Transaction, args: [
|
3693
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3694
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3695
|
+
string | TransactionArgument
|
3696
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3697
|
+
TransactionArgument,
|
3698
|
+
TransactionArgument,
|
3699
|
+
TransactionArgument
|
3700
|
+
];
|
3701
|
+
function flush<T0 = any>(tx: Transaction, args: [
|
3702
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3703
|
+
string | TransactionObjectArgument | TransactionArgument
|
3704
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3705
|
+
function fromCoin<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3706
|
+
function fromCoinAction(tx: Transaction, args: []): TransactionArgument & [];
|
3707
|
+
function hasRuleConfig<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3708
|
+
function hasRuleConfigWithType<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [
|
3709
|
+
TypeDescriptor<T0> | string,
|
3710
|
+
TypeDescriptor<T1> | string,
|
3711
|
+
TypeDescriptor<T2> | string
|
3712
|
+
]): TransactionArgument & [TransactionArgument];
|
3713
|
+
function isAllowed<T0 = any>(tx: Transaction, args: [
|
3714
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3715
|
+
string | TransactionObjectArgument | TransactionArgument
|
3716
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3717
|
+
function join<T0 = any>(tx: Transaction, args: [
|
3718
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3719
|
+
token.Token<T0> | TransactionArgument
|
3720
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3721
|
+
function keep<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3722
|
+
function mint<T0 = any>(tx: Transaction, args: [
|
3723
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3724
|
+
bigint | TransactionArgument
|
3725
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3726
|
+
function newPolicy<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3727
|
+
function newRequest<T0 = any>(tx: Transaction, args: [
|
3728
|
+
string | TransactionArgument,
|
3729
|
+
bigint | TransactionArgument,
|
3730
|
+
_0x1.option.Option<string> | TransactionArgument,
|
3731
|
+
_0x1.option.Option<balance.Balance<T0>> | TransactionArgument
|
3732
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3733
|
+
TransactionArgument,
|
3734
|
+
TransactionArgument,
|
3735
|
+
TransactionArgument,
|
3736
|
+
TransactionArgument
|
3737
|
+
];
|
3738
|
+
function recipient<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3739
|
+
function removeRuleConfig<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
3740
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3741
|
+
string | TransactionObjectArgument | TransactionArgument
|
3742
|
+
], typeArguments: [
|
3743
|
+
TypeDescriptor<T0> | string,
|
3744
|
+
TypeDescriptor<T1> | string,
|
3745
|
+
TypeDescriptor<T2> | string
|
3746
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3747
|
+
function removeRuleForAction<T0 = any, T1 = any>(tx: Transaction, args: [
|
3748
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3749
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3750
|
+
string | TransactionArgument
|
3751
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3752
|
+
TransactionArgument,
|
3753
|
+
TransactionArgument,
|
3754
|
+
TransactionArgument
|
3755
|
+
];
|
3756
|
+
function ruleConfig<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
3757
|
+
T1 | TransactionArgument,
|
3758
|
+
string | TransactionObjectArgument | TransactionArgument
|
3759
|
+
], typeArguments: [
|
3760
|
+
TypeDescriptor<T0> | string,
|
3761
|
+
TypeDescriptor<T1> | string,
|
3762
|
+
TypeDescriptor<T2> | string
|
3763
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3764
|
+
function ruleConfigMut<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
3765
|
+
T1 | TransactionArgument,
|
3766
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3767
|
+
string | TransactionObjectArgument | TransactionArgument
|
3768
|
+
], typeArguments: [
|
3769
|
+
TypeDescriptor<T0> | string,
|
3770
|
+
TypeDescriptor<T1> | string,
|
3771
|
+
TypeDescriptor<T2> | string
|
3772
|
+
]): TransactionArgument & [
|
3773
|
+
TransactionArgument,
|
3774
|
+
TransactionArgument,
|
3775
|
+
TransactionArgument
|
3776
|
+
];
|
3777
|
+
function rules<T0 = any>(tx: Transaction, args: [
|
3778
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3779
|
+
string | TransactionObjectArgument | TransactionArgument
|
3780
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3781
|
+
function sender<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3782
|
+
function sharePolicy<T0 = any>(tx: Transaction, args: [token.TokenPolicy<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3783
|
+
function spend<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3784
|
+
function spendAction(tx: Transaction, args: []): TransactionArgument & [];
|
3785
|
+
function spent<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3786
|
+
function spentBalance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3787
|
+
function split<T0 = any>(tx: Transaction, args: [
|
3788
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3789
|
+
bigint | TransactionArgument
|
3790
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3791
|
+
function toCoin<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3792
|
+
function toCoinAction(tx: Transaction, args: []): TransactionArgument & [];
|
3793
|
+
function transfer<T0 = any>(tx: Transaction, args: [
|
3794
|
+
token.Token<T0> | TransactionArgument,
|
3795
|
+
string | TransactionArgument
|
3796
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3797
|
+
function transferAction(tx: Transaction, args: []): TransactionArgument & [];
|
3798
|
+
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3799
|
+
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
3800
|
+
}
|
3801
|
+
namespace view {
|
3802
|
+
function action<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3803
|
+
function addApproval<T0 = any, T1 = any>(client: IotaClient, args: [T1, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3804
|
+
function addRuleConfig<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [T1, string, string, T2], typeArguments: [
|
3805
|
+
TypeDescriptor<T0> | string,
|
3806
|
+
TypeDescriptor<T1> | string,
|
3807
|
+
TypeDescriptor<T2> | string
|
3808
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
3809
|
+
function addRuleForAction<T0 = any, T1 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3810
|
+
function allow<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3811
|
+
function amount<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3812
|
+
function approvals<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<_0x1.type_name.TypeName>]>>;
|
3813
|
+
function burn<T0 = any>(client: IotaClient, args: [string, token.Token<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3814
|
+
function confirmRequest<T0 = any>(client: IotaClient, args: [string, token.ActionRequest<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
3815
|
+
string,
|
3816
|
+
bigint,
|
3817
|
+
string,
|
3818
|
+
_0x1.option.Option<string>
|
3819
|
+
]>>;
|
3820
|
+
function confirmRequestMut<T0 = any>(client: IotaClient, args: [string, token.ActionRequest<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
3821
|
+
string,
|
3822
|
+
bigint,
|
3823
|
+
string,
|
3824
|
+
_0x1.option.Option<string>
|
3825
|
+
]>>;
|
3826
|
+
function confirmWithPolicyCap<T0 = any>(client: IotaClient, args: [string, token.ActionRequest<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
3827
|
+
string,
|
3828
|
+
bigint,
|
3829
|
+
string,
|
3830
|
+
_0x1.option.Option<string>
|
3831
|
+
]>>;
|
3832
|
+
function confirmWithTreasuryCap<T0 = any>(client: IotaClient, args: [string, token.ActionRequest<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
3833
|
+
string,
|
3834
|
+
bigint,
|
3835
|
+
string,
|
3836
|
+
_0x1.option.Option<string>
|
3837
|
+
]>>;
|
3838
|
+
function destroyZero<T0 = any>(client: IotaClient, args: [token.Token<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3839
|
+
function disallow<T0 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3840
|
+
function flush<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3841
|
+
function fromCoin<T0 = any>(client: IotaClient, args: [coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>, token.ActionRequest<T0>]>>;
|
3842
|
+
function fromCoinAction(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
3843
|
+
function hasRuleConfig<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3844
|
+
function hasRuleConfigWithType<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string], typeArguments: [
|
3845
|
+
TypeDescriptor<T0> | string,
|
3846
|
+
TypeDescriptor<T1> | string,
|
3847
|
+
TypeDescriptor<T2> | string
|
3848
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
3849
|
+
function isAllowed<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3850
|
+
function join<T0 = any>(client: IotaClient, args: [string, token.Token<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3851
|
+
function keep<T0 = any>(client: IotaClient, args: [token.Token<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3852
|
+
function mint<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
3853
|
+
function newPolicy<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.TokenPolicy<T0>, token.TokenPolicyCap<T0>]>>;
|
3854
|
+
function newRequest<T0 = any>(client: IotaClient, args: [
|
3855
|
+
string,
|
3856
|
+
bigint,
|
3857
|
+
_0x1.option.Option<string>,
|
3858
|
+
_0x1.option.Option<balance.Balance<T0>>
|
3859
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
|
3860
|
+
function recipient<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
3861
|
+
function removeRuleConfig<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, string], typeArguments: [
|
3862
|
+
TypeDescriptor<T0> | string,
|
3863
|
+
TypeDescriptor<T1> | string,
|
3864
|
+
TypeDescriptor<T2> | string
|
3865
|
+
]): Promise<TypedDevInspectResults<[T2]>>;
|
3866
|
+
function removeRuleForAction<T0 = any, T1 = any>(client: IotaClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3867
|
+
function ruleConfig<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [T1, string], typeArguments: [
|
3868
|
+
TypeDescriptor<T0> | string,
|
3869
|
+
TypeDescriptor<T1> | string,
|
3870
|
+
TypeDescriptor<T2> | string
|
3871
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
3872
|
+
function ruleConfigMut<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [T1, string, string], typeArguments: [
|
3873
|
+
TypeDescriptor<T0> | string,
|
3874
|
+
TypeDescriptor<T1> | string,
|
3875
|
+
TypeDescriptor<T2> | string
|
3876
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
3877
|
+
function rules<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<_0x1.type_name.TypeName>]>>;
|
3878
|
+
function sender<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3879
|
+
function sharePolicy<T0 = any>(client: IotaClient, args: [token.TokenPolicy<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3880
|
+
function spend<T0 = any>(client: IotaClient, args: [token.Token<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
|
3881
|
+
function spendAction(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
3882
|
+
function spent<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
3883
|
+
function spentBalance<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3884
|
+
function split<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
3885
|
+
function toCoin<T0 = any>(client: IotaClient, args: [token.Token<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>, token.ActionRequest<T0>]>>;
|
3886
|
+
function toCoinAction(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
3887
|
+
function transfer<T0 = any>(client: IotaClient, args: [token.Token<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
|
3888
|
+
function transferAction(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
3889
|
+
function value<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3890
|
+
function zero<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
3891
|
+
}
|
3892
|
+
}
|
3893
|
+
export declare namespace transfer {
|
3894
|
+
interface Receiving<T0> {
|
3895
|
+
id: object$.ID;
|
3896
|
+
version: bigint;
|
3897
|
+
}
|
3898
|
+
namespace Receiving {
|
3899
|
+
const TYPE_QNAME = "0x2::transfer::Receiving";
|
3900
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Receiving<T0>>;
|
3901
|
+
}
|
3902
|
+
namespace builder {
|
3903
|
+
function freezeObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3904
|
+
function freezeObjectImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3905
|
+
function publicFreezeObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3906
|
+
function publicReceive<T0 = any>(tx: Transaction, args: [
|
3907
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3908
|
+
transfer.Receiving<T0> | TransactionArgument
|
3909
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3910
|
+
function publicShareObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3911
|
+
function publicTransfer<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3912
|
+
function receive<T0 = any>(tx: Transaction, args: [
|
3913
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3914
|
+
transfer.Receiving<T0> | TransactionArgument
|
3915
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3916
|
+
function receivingObjectId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3917
|
+
function shareObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3918
|
+
function shareObjectImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3919
|
+
function transfer<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3920
|
+
function transferImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3921
|
+
}
|
3922
|
+
namespace view {
|
3923
|
+
function freezeObject<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3924
|
+
function freezeObjectImpl<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3925
|
+
function publicFreezeObject<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3926
|
+
function publicReceive<T0 = any>(client: IotaClient, args: [string, transfer.Receiving<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3927
|
+
function publicShareObject<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3928
|
+
function publicTransfer<T0 = any>(client: IotaClient, args: [T0, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3929
|
+
function receive<T0 = any>(client: IotaClient, args: [string, transfer.Receiving<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3930
|
+
function receivingObjectId<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
3931
|
+
function shareObject<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3932
|
+
function shareObjectImpl<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3933
|
+
function transfer<T0 = any>(client: IotaClient, args: [T0, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3934
|
+
function transferImpl<T0 = any>(client: IotaClient, args: [T0, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3935
|
+
}
|
3936
|
+
}
|
3937
|
+
export declare class transfer_policy extends IotaBaseProcessor {
|
3938
|
+
constructor(options: IotaBindOptions);
|
3939
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
3940
|
+
static bind(options?: Partial<IotaBindOptions>): transfer_policy;
|
3941
|
+
onEntryDefault(func: (call: transfer_policy.DefaultPayload, ctx: IotaContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.DefaultPayload>): transfer_policy;
|
3942
|
+
onEventRuleKey(func: (event: transfer_policy.RuleKeyInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.RuleKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transfer_policy;
|
3943
|
+
onEventTransferPolicyCreated(func: (event: transfer_policy.TransferPolicyCreatedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.TransferPolicyCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transfer_policy;
|
3944
|
+
onEventTransferPolicyDestroyed(func: (event: transfer_policy.TransferPolicyDestroyedInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.TransferPolicyDestroyedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transfer_policy;
|
3945
|
+
}
|
3946
|
+
export declare namespace transfer_policy {
|
3947
|
+
interface RuleKey<T0> {
|
3948
|
+
dummy_field: boolean;
|
3949
|
+
}
|
3950
|
+
namespace RuleKey {
|
3951
|
+
const TYPE_QNAME = "0x2::transfer_policy::RuleKey";
|
3952
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RuleKey<T0>>;
|
3953
|
+
}
|
3954
|
+
type RuleKeyInstance = TypedEventInstance<RuleKey<any>> & {
|
3955
|
+
data_decoded: RuleKey<any>;
|
3956
|
+
type_arguments: [string];
|
3957
|
+
};
|
3958
|
+
interface TransferPolicy<T0> {
|
3959
|
+
id: object$.UID;
|
3960
|
+
balance: balance.Balance<iota.IOTA>;
|
3961
|
+
rules: vec_set.VecSet<_0x1.type_name.TypeName>;
|
3962
|
+
}
|
3963
|
+
namespace TransferPolicy {
|
3964
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicy";
|
3965
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicy<T0>>;
|
3966
|
+
}
|
3967
|
+
interface TransferPolicyCap<T0> {
|
3968
|
+
id: object$.UID;
|
3969
|
+
policy_id: object$.ID;
|
3970
|
+
}
|
3971
|
+
namespace TransferPolicyCap {
|
3972
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCap";
|
3973
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyCap<T0>>;
|
3974
|
+
}
|
3975
|
+
interface TransferPolicyCreated<T0> {
|
3976
|
+
id: object$.ID;
|
3977
|
+
}
|
3978
|
+
namespace TransferPolicyCreated {
|
3979
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCreated";
|
3980
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyCreated<T0>>;
|
3981
|
+
}
|
3982
|
+
type TransferPolicyCreatedInstance = TypedEventInstance<TransferPolicyCreated<any>> & {
|
3983
|
+
data_decoded: TransferPolicyCreated<any>;
|
3984
|
+
type_arguments: [string];
|
3985
|
+
};
|
3986
|
+
interface TransferPolicyDestroyed<T0> {
|
3987
|
+
id: object$.ID;
|
3988
|
+
}
|
3989
|
+
namespace TransferPolicyDestroyed {
|
3990
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyDestroyed";
|
3991
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyDestroyed<T0>>;
|
3992
|
+
}
|
3993
|
+
type TransferPolicyDestroyedInstance = TypedEventInstance<TransferPolicyDestroyed<any>> & {
|
3994
|
+
data_decoded: TransferPolicyDestroyed<any>;
|
3995
|
+
type_arguments: [string];
|
3996
|
+
};
|
3997
|
+
interface TransferRequest<T0> {
|
3998
|
+
item: object$.ID;
|
3999
|
+
paid: bigint;
|
4000
|
+
from: object$.ID;
|
4001
|
+
receipts: vec_set.VecSet<_0x1.type_name.TypeName>;
|
4002
|
+
}
|
4003
|
+
namespace TransferRequest {
|
4004
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferRequest";
|
4005
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferRequest<T0>>;
|
4006
|
+
}
|
4007
|
+
namespace builder {
|
4008
|
+
function addReceipt<T0 = any, T1 = any>(tx: Transaction, args: [
|
4009
|
+
T1 | TransactionArgument,
|
4010
|
+
string | TransactionObjectArgument | TransactionArgument
|
4011
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4012
|
+
function addRule<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4013
|
+
T1 | TransactionArgument,
|
4014
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4015
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4016
|
+
T2 | TransactionArgument
|
4017
|
+
], typeArguments: [
|
4018
|
+
TypeDescriptor<T0> | string,
|
4019
|
+
TypeDescriptor<T1> | string,
|
4020
|
+
TypeDescriptor<T2> | string
|
4021
|
+
]): TransactionArgument & [
|
4022
|
+
TransactionArgument,
|
4023
|
+
TransactionArgument,
|
4024
|
+
TransactionArgument,
|
4025
|
+
TransactionArgument
|
4026
|
+
];
|
4027
|
+
function addToBalance<T0 = any, T1 = any>(tx: Transaction, args: [
|
4028
|
+
T1 | TransactionArgument,
|
4029
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4030
|
+
coin.Coin<iota.IOTA> | TransactionArgument
|
4031
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
4032
|
+
TransactionArgument,
|
4033
|
+
TransactionArgument,
|
4034
|
+
TransactionArgument
|
4035
|
+
];
|
4036
|
+
function confirmRequest<T0 = any>(tx: Transaction, args: [
|
4037
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4038
|
+
transfer_policy.TransferRequest<T0> | TransactionArgument
|
4039
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4040
|
+
function default$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4041
|
+
function destroyAndWithdraw<T0 = any>(tx: Transaction, args: [
|
4042
|
+
transfer_policy.TransferPolicy<T0> | TransactionArgument,
|
4043
|
+
transfer_policy.TransferPolicyCap<T0> | TransactionArgument
|
4044
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4045
|
+
function from$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4046
|
+
function getRule<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4047
|
+
T1 | TransactionArgument,
|
4048
|
+
string | TransactionObjectArgument | TransactionArgument
|
4049
|
+
], typeArguments: [
|
4050
|
+
TypeDescriptor<T0> | string,
|
4051
|
+
TypeDescriptor<T1> | string,
|
4052
|
+
TypeDescriptor<T2> | string
|
4053
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4054
|
+
function hasRule<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4055
|
+
function item<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4056
|
+
function new$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4057
|
+
function newRequest<T0 = any>(tx: Transaction, args: [
|
4058
|
+
object$.ID | TransactionArgument,
|
4059
|
+
bigint | TransactionArgument,
|
4060
|
+
object$.ID | TransactionArgument
|
4061
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4062
|
+
TransactionArgument,
|
4063
|
+
TransactionArgument,
|
4064
|
+
TransactionArgument
|
4065
|
+
];
|
4066
|
+
function paid<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4067
|
+
function removeRule<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4068
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4069
|
+
string | TransactionObjectArgument | TransactionArgument
|
4070
|
+
], typeArguments: [
|
4071
|
+
TypeDescriptor<T0> | string,
|
4072
|
+
TypeDescriptor<T1> | string,
|
4073
|
+
TypeDescriptor<T2> | string
|
4074
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4075
|
+
function rules<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4076
|
+
function uid<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4077
|
+
function uidMutAsOwner<T0 = any>(tx: Transaction, args: [
|
4078
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4079
|
+
string | TransactionObjectArgument | TransactionArgument
|
4080
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4081
|
+
function withdraw<T0 = any>(tx: Transaction, args: [
|
4082
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4083
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4084
|
+
_0x1.option.Option<bigint> | TransactionArgument
|
4085
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4086
|
+
TransactionArgument,
|
4087
|
+
TransactionArgument,
|
4088
|
+
TransactionArgument
|
4089
|
+
];
|
4090
|
+
}
|
4091
|
+
namespace view {
|
4092
|
+
function addReceipt<T0 = any, T1 = any>(client: IotaClient, args: [T1, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4093
|
+
function addRule<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [T1, string, string, T2], typeArguments: [
|
4094
|
+
TypeDescriptor<T0> | string,
|
4095
|
+
TypeDescriptor<T1> | string,
|
4096
|
+
TypeDescriptor<T2> | string
|
4097
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
4098
|
+
function addToBalance<T0 = any, T1 = any>(client: IotaClient, args: [T1, string, coin.Coin<iota.IOTA>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4099
|
+
function confirmRequest<T0 = any>(client: IotaClient, args: [string, transfer_policy.TransferRequest<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID, bigint, object$.ID]>>;
|
4100
|
+
function destroyAndWithdraw<T0 = any>(client: IotaClient, args: [
|
4101
|
+
transfer_policy.TransferPolicy<T0>,
|
4102
|
+
transfer_policy.TransferPolicyCap<T0>
|
4103
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<iota.IOTA>]>>;
|
4104
|
+
function from$<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
4105
|
+
function getRule<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [T1, string], typeArguments: [
|
4106
|
+
TypeDescriptor<T0> | string,
|
4107
|
+
TypeDescriptor<T1> | string,
|
4108
|
+
TypeDescriptor<T2> | string
|
4109
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
4110
|
+
function hasRule<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4111
|
+
function item<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
4112
|
+
function new$<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
4113
|
+
transfer_policy.TransferPolicy<T0>,
|
4114
|
+
transfer_policy.TransferPolicyCap<T0>
|
4115
|
+
]>>;
|
4116
|
+
function newRequest<T0 = any>(client: IotaClient, args: [object$.ID, bigint, object$.ID], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[transfer_policy.TransferRequest<T0>]>>;
|
4117
|
+
function paid<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4118
|
+
function removeRule<T0 = any, T1 = any, T2 = any>(client: IotaClient, args: [string, string], typeArguments: [
|
4119
|
+
TypeDescriptor<T0> | string,
|
4120
|
+
TypeDescriptor<T1> | string,
|
4121
|
+
TypeDescriptor<T2> | string
|
4122
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
4123
|
+
function rules<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4124
|
+
function uid<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4125
|
+
function uidMutAsOwner<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4126
|
+
function withdraw<T0 = any>(client: IotaClient, args: [string, string, _0x1.option.Option<bigint>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<iota.IOTA>]>>;
|
4127
|
+
}
|
4128
|
+
interface DefaultPayload<T0 = any> extends TypedFunctionPayload<[string, string]> {
|
4129
|
+
arguments_decoded: [string, string];
|
4130
|
+
type_arguments: [string];
|
4131
|
+
}
|
4132
|
+
}
|
4133
|
+
export declare namespace tx_context {
|
4134
|
+
interface TxContext {
|
4135
|
+
sender: string;
|
4136
|
+
tx_hash: number[];
|
4137
|
+
epoch: bigint;
|
4138
|
+
epoch_timestamp_ms: bigint;
|
4139
|
+
ids_created: bigint;
|
4140
|
+
}
|
4141
|
+
namespace TxContext {
|
4142
|
+
const TYPE_QNAME = "0x2::tx_context::TxContext";
|
4143
|
+
function type(): TypeDescriptor<TxContext>;
|
4144
|
+
}
|
4145
|
+
namespace builder {
|
4146
|
+
function digest(tx: Transaction, args: []): TransactionArgument & [];
|
4147
|
+
function epoch(tx: Transaction, args: []): TransactionArgument & [];
|
4148
|
+
function epochTimestampMs(tx: Transaction, args: []): TransactionArgument & [];
|
4149
|
+
function freshObjectAddress(tx: Transaction, args: []): TransactionArgument & [];
|
4150
|
+
function sender(tx: Transaction, args: []): TransactionArgument & [];
|
4151
|
+
}
|
4152
|
+
namespace view {
|
4153
|
+
function digest(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4154
|
+
function epoch(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
4155
|
+
function epochTimestampMs(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
4156
|
+
function freshObjectAddress(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4157
|
+
function sender(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4158
|
+
}
|
4159
|
+
}
|
4160
|
+
export declare namespace types {
|
4161
|
+
namespace builder {
|
4162
|
+
function isOneTimeWitness<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4163
|
+
}
|
4164
|
+
namespace view {
|
4165
|
+
function isOneTimeWitness<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4166
|
+
}
|
4167
|
+
}
|
4168
|
+
export declare class url extends IotaBaseProcessor {
|
4169
|
+
constructor(options: IotaBindOptions);
|
4170
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
4171
|
+
static bind(options?: Partial<IotaBindOptions>): url;
|
4172
|
+
onEventUrl(func: (event: url.UrlInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, url.UrlInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): url;
|
4173
|
+
}
|
4174
|
+
export declare namespace url {
|
4175
|
+
interface Url {
|
4176
|
+
url: _0x1.ascii.String;
|
4177
|
+
}
|
4178
|
+
namespace Url {
|
4179
|
+
const TYPE_QNAME = "0x2::url::Url";
|
4180
|
+
function type(): TypeDescriptor<Url>;
|
4181
|
+
}
|
4182
|
+
type UrlInstance = TypedEventInstance<Url> & {
|
4183
|
+
data_decoded: Url;
|
4184
|
+
type_arguments: [];
|
4185
|
+
};
|
4186
|
+
namespace builder {
|
4187
|
+
function innerUrl(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4188
|
+
function newUnsafe(tx: Transaction, args: [_0x1.ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4189
|
+
function newUnsafeFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4190
|
+
function update(tx: Transaction, args: [
|
4191
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4192
|
+
_0x1.ascii.String | TransactionArgument
|
4193
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4194
|
+
}
|
4195
|
+
namespace view {
|
4196
|
+
function innerUrl(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
4197
|
+
function newUnsafe(client: IotaClient, args: [_0x1.ascii.String]): Promise<TypedDevInspectResults<[url.Url]>>;
|
4198
|
+
function newUnsafeFromBytes(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[url.Url]>>;
|
4199
|
+
function update(client: IotaClient, args: [string, _0x1.ascii.String]): Promise<TypedDevInspectResults<[]>>;
|
4200
|
+
}
|
4201
|
+
}
|
4202
|
+
export declare namespace vdf {
|
4203
|
+
namespace builder {
|
4204
|
+
function hashToInput(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4205
|
+
function vdfVerify(tx: Transaction, args: [
|
4206
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4207
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4208
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4209
|
+
bigint | TransactionArgument
|
4210
|
+
]): TransactionArgument & [
|
4211
|
+
TransactionArgument,
|
4212
|
+
TransactionArgument,
|
4213
|
+
TransactionArgument,
|
4214
|
+
TransactionArgument
|
4215
|
+
];
|
4216
|
+
}
|
4217
|
+
namespace view {
|
4218
|
+
function hashToInput(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
4219
|
+
function vdfVerify(client: IotaClient, args: [string, string, string, bigint]): Promise<TypedDevInspectResults<[boolean]>>;
|
4220
|
+
}
|
4221
|
+
}
|
4222
|
+
export declare class vec_map extends IotaBaseProcessor {
|
4223
|
+
constructor(options: IotaBindOptions);
|
4224
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
4225
|
+
static bind(options?: Partial<IotaBindOptions>): vec_map;
|
4226
|
+
onEventEntry(func: (event: vec_map.EntryInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, vec_map.EntryInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): vec_map;
|
4227
|
+
onEventVecMap(func: (event: vec_map.VecMapInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, vec_map.VecMapInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): vec_map;
|
4228
|
+
}
|
4229
|
+
export declare namespace vec_map {
|
4230
|
+
interface Entry<T0, T1> {
|
4231
|
+
key: T0;
|
4232
|
+
value: T1;
|
4233
|
+
}
|
4234
|
+
namespace Entry {
|
4235
|
+
const TYPE_QNAME = "0x2::vec_map::Entry";
|
4236
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
|
4237
|
+
}
|
4238
|
+
type EntryInstance = TypedEventInstance<Entry<any, any>> & {
|
4239
|
+
data_decoded: Entry<any, any>;
|
4240
|
+
type_arguments: [string, string];
|
4241
|
+
};
|
4242
|
+
interface VecMap<T0, T1> {
|
4243
|
+
contents: vec_map.Entry<T0, T1>[];
|
4244
|
+
}
|
4245
|
+
namespace VecMap {
|
4246
|
+
const TYPE_QNAME = "0x2::vec_map::VecMap";
|
4247
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<VecMap<T0, T1>>;
|
4248
|
+
}
|
4249
|
+
type VecMapInstance = TypedEventInstance<VecMap<any, any>> & {
|
4250
|
+
data_decoded: VecMap<any, any>;
|
4251
|
+
type_arguments: [string, string];
|
4252
|
+
};
|
4253
|
+
namespace builder {
|
4254
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
4255
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4256
|
+
string | TransactionObjectArgument | TransactionArgument
|
4257
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4258
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4259
|
+
function empty<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
4260
|
+
function fromKeysValues<T0 = any, T1 = any>(tx: Transaction, args: [
|
4261
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
4262
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
4263
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4264
|
+
function get<T0 = any, T1 = any>(tx: Transaction, args: [
|
4265
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4266
|
+
string | TransactionObjectArgument | TransactionArgument
|
4267
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4268
|
+
function getEntryByIdx<T0 = any, T1 = any>(tx: Transaction, args: [
|
4269
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4270
|
+
bigint | TransactionArgument
|
4271
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4272
|
+
function getEntryByIdxMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
4273
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4274
|
+
bigint | TransactionArgument
|
4275
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4276
|
+
function getIdx<T0 = any, T1 = any>(tx: Transaction, args: [
|
4277
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4278
|
+
string | TransactionObjectArgument | TransactionArgument
|
4279
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4280
|
+
function getIdxOpt<T0 = any, T1 = any>(tx: Transaction, args: [
|
4281
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4282
|
+
string | TransactionObjectArgument | TransactionArgument
|
4283
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4284
|
+
function getMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
4285
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4286
|
+
string | TransactionObjectArgument | TransactionArgument
|
4287
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4288
|
+
function insert<T0 = any, T1 = any>(tx: Transaction, args: [
|
4289
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4290
|
+
T0 | TransactionArgument,
|
4291
|
+
T1 | TransactionArgument
|
4292
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
4293
|
+
TransactionArgument,
|
4294
|
+
TransactionArgument,
|
4295
|
+
TransactionArgument
|
4296
|
+
];
|
4297
|
+
function intoKeysValues<T0 = any, T1 = any>(tx: Transaction, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4298
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4299
|
+
function keys<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4300
|
+
function pop<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4301
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
4302
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4303
|
+
string | TransactionObjectArgument | TransactionArgument
|
4304
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4305
|
+
function removeEntryByIdx<T0 = any, T1 = any>(tx: Transaction, args: [
|
4306
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4307
|
+
bigint | TransactionArgument
|
4308
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4309
|
+
function size<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4310
|
+
function tryGet<T0 = any, T1 = any>(tx: Transaction, args: [
|
4311
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4312
|
+
string | TransactionObjectArgument | TransactionArgument
|
4313
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4314
|
+
}
|
4315
|
+
namespace view {
|
4316
|
+
function contains<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4317
|
+
function destroyEmpty<T0 = any, T1 = any>(client: IotaClient, args: [vec_map.VecMap<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4318
|
+
function empty<T0 = any, T1 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
4319
|
+
function fromKeysValues<T0 = any, T1 = any>(client: IotaClient, args: [string[], string[]], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
4320
|
+
function get<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4321
|
+
function getEntryByIdx<T0 = any, T1 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
4322
|
+
function getEntryByIdxMut<T0 = any, T1 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
4323
|
+
function getIdx<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4324
|
+
function getIdxOpt<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
4325
|
+
function getMut<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4326
|
+
function insert<T0 = any, T1 = any>(client: IotaClient, args: [string, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4327
|
+
function intoKeysValues<T0 = any, T1 = any>(client: IotaClient, args: [vec_map.VecMap<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[], T1[]]>>;
|
4328
|
+
function isEmpty<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4329
|
+
function keys<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
4330
|
+
function pop<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
4331
|
+
function remove<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
4332
|
+
function removeEntryByIdx<T0 = any, T1 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
4333
|
+
function size<T0 = any, T1 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4334
|
+
function tryGet<T0 = any, T1 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
4335
|
+
}
|
4336
|
+
}
|
4337
|
+
export declare class vec_set extends IotaBaseProcessor {
|
4338
|
+
constructor(options: IotaBindOptions);
|
4339
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
4340
|
+
static bind(options?: Partial<IotaBindOptions>): vec_set;
|
4341
|
+
onEventVecSet(func: (event: vec_set.VecSetInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, vec_set.VecSetInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): vec_set;
|
4342
|
+
}
|
4343
|
+
export declare namespace vec_set {
|
4344
|
+
interface VecSet<T0> {
|
4345
|
+
contents: T0[];
|
4346
|
+
}
|
4347
|
+
namespace VecSet {
|
4348
|
+
const TYPE_QNAME = "0x2::vec_set::VecSet";
|
4349
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VecSet<T0>>;
|
4350
|
+
}
|
4351
|
+
type VecSetInstance = TypedEventInstance<VecSet<any>> & {
|
4352
|
+
data_decoded: VecSet<any>;
|
4353
|
+
type_arguments: [string];
|
4354
|
+
};
|
4355
|
+
namespace builder {
|
4356
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
4357
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4358
|
+
string | TransactionObjectArgument | TransactionArgument
|
4359
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4360
|
+
function empty<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
4361
|
+
function fromKeys<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4362
|
+
function insert<T0 = any>(tx: Transaction, args: [
|
4363
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4364
|
+
T0 | TransactionArgument
|
4365
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4366
|
+
function intoKeys<T0 = any>(tx: Transaction, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4367
|
+
function isEmpty<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4368
|
+
function keys<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4369
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
4370
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4371
|
+
string | TransactionObjectArgument | TransactionArgument
|
4372
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4373
|
+
function singleton<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4374
|
+
function size<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4375
|
+
}
|
4376
|
+
namespace view {
|
4377
|
+
function contains<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4378
|
+
function empty<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
4379
|
+
function fromKeys<T0 = any>(client: IotaClient, args: [string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
4380
|
+
function insert<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4381
|
+
function intoKeys<T0 = any>(client: IotaClient, args: [vec_set.VecSet<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
4382
|
+
function isEmpty<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4383
|
+
function keys<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4384
|
+
function remove<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4385
|
+
function singleton<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
4386
|
+
function size<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4387
|
+
}
|
4388
|
+
}
|
4389
|
+
export declare namespace versioned {
|
4390
|
+
interface VersionChangeCap {
|
4391
|
+
versioned_id: object$.ID;
|
4392
|
+
old_version: bigint;
|
4393
|
+
}
|
4394
|
+
namespace VersionChangeCap {
|
4395
|
+
const TYPE_QNAME = "0x2::versioned::VersionChangeCap";
|
4396
|
+
function type(): TypeDescriptor<VersionChangeCap>;
|
4397
|
+
}
|
4398
|
+
interface Versioned {
|
4399
|
+
id: object$.UID;
|
4400
|
+
version: bigint;
|
4401
|
+
}
|
4402
|
+
namespace Versioned {
|
4403
|
+
const TYPE_QNAME = "0x2::versioned::Versioned";
|
4404
|
+
function type(): TypeDescriptor<Versioned>;
|
4405
|
+
}
|
4406
|
+
namespace builder {
|
4407
|
+
function create<T0 = any>(tx: Transaction, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4408
|
+
function destroy<T0 = any>(tx: Transaction, args: [versioned.Versioned | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4409
|
+
function loadValue<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4410
|
+
function loadValueMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4411
|
+
function removeValueForUpgrade<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4412
|
+
function upgrade<T0 = any>(tx: Transaction, args: [
|
4413
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4414
|
+
bigint | TransactionArgument,
|
4415
|
+
T0 | TransactionArgument,
|
4416
|
+
versioned.VersionChangeCap | TransactionArgument
|
4417
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4418
|
+
TransactionArgument,
|
4419
|
+
TransactionArgument,
|
4420
|
+
TransactionArgument,
|
4421
|
+
TransactionArgument
|
4422
|
+
];
|
4423
|
+
function version(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4424
|
+
}
|
4425
|
+
namespace view {
|
4426
|
+
function create<T0 = any>(client: IotaClient, args: [bigint, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[versioned.Versioned]>>;
|
4427
|
+
function destroy<T0 = any>(client: IotaClient, args: [versioned.Versioned], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
4428
|
+
function loadValue<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4429
|
+
function loadValueMut<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4430
|
+
function removeValueForUpgrade<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, versioned.VersionChangeCap]>>;
|
4431
|
+
function upgrade<T0 = any>(client: IotaClient, args: [string, bigint, T0, versioned.VersionChangeCap], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4432
|
+
function version(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4433
|
+
}
|
4434
|
+
}
|
4435
|
+
export declare namespace zklogin_verified_id {
|
4436
|
+
interface VerifiedID {
|
4437
|
+
id: object$.UID;
|
4438
|
+
owner: string;
|
4439
|
+
key_claim_name: string;
|
4440
|
+
key_claim_value: string;
|
4441
|
+
issuer: string;
|
4442
|
+
audience: string;
|
4443
|
+
}
|
4444
|
+
namespace VerifiedID {
|
4445
|
+
const TYPE_QNAME = "0x2::zklogin_verified_id::VerifiedID";
|
4446
|
+
function type(): TypeDescriptor<VerifiedID>;
|
4447
|
+
}
|
4448
|
+
namespace builder {
|
4449
|
+
function audience(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4450
|
+
function checkZkloginId(tx: Transaction, args: [
|
4451
|
+
string | TransactionArgument,
|
4452
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4453
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4454
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4455
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4456
|
+
bigint | TransactionArgument
|
4457
|
+
]): TransactionArgument & [
|
4458
|
+
TransactionArgument,
|
4459
|
+
TransactionArgument,
|
4460
|
+
TransactionArgument,
|
4461
|
+
TransactionArgument,
|
4462
|
+
TransactionArgument,
|
4463
|
+
TransactionArgument
|
4464
|
+
];
|
4465
|
+
function delete$(tx: Transaction, args: [zklogin_verified_id.VerifiedID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4466
|
+
function issuer(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4467
|
+
function keyClaimName(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4468
|
+
function keyClaimValue(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4469
|
+
function owner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4470
|
+
function verifyZkloginId(tx: Transaction, args: [
|
4471
|
+
string | TransactionArgument,
|
4472
|
+
string | TransactionArgument,
|
4473
|
+
string | TransactionArgument,
|
4474
|
+
string | TransactionArgument,
|
4475
|
+
bigint | TransactionArgument
|
4476
|
+
]): TransactionArgument & [
|
4477
|
+
TransactionArgument,
|
4478
|
+
TransactionArgument,
|
4479
|
+
TransactionArgument,
|
4480
|
+
TransactionArgument,
|
4481
|
+
TransactionArgument
|
4482
|
+
];
|
4483
|
+
}
|
4484
|
+
namespace view {
|
4485
|
+
function audience(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4486
|
+
function checkZkloginId(client: IotaClient, args: [string, string, string, string, string, bigint]): Promise<TypedDevInspectResults<[boolean]>>;
|
4487
|
+
function delete$(client: IotaClient, args: [zklogin_verified_id.VerifiedID]): Promise<TypedDevInspectResults<[]>>;
|
4488
|
+
function issuer(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4489
|
+
function keyClaimName(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4490
|
+
function keyClaimValue(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4491
|
+
function owner(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4492
|
+
function verifyZkloginId(client: IotaClient, args: [string, string, string, string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
4493
|
+
}
|
4494
|
+
}
|
4495
|
+
export declare namespace zklogin_verified_issuer {
|
4496
|
+
interface VerifiedIssuer {
|
4497
|
+
id: object$.UID;
|
4498
|
+
owner: string;
|
4499
|
+
issuer: string;
|
4500
|
+
}
|
4501
|
+
namespace VerifiedIssuer {
|
4502
|
+
const TYPE_QNAME = "0x2::zklogin_verified_issuer::VerifiedIssuer";
|
4503
|
+
function type(): TypeDescriptor<VerifiedIssuer>;
|
4504
|
+
}
|
4505
|
+
namespace builder {
|
4506
|
+
function checkZkloginIssuer(tx: Transaction, args: [
|
4507
|
+
string | TransactionArgument,
|
4508
|
+
bigint | TransactionArgument,
|
4509
|
+
string | TransactionObjectArgument | TransactionArgument
|
4510
|
+
]): TransactionArgument & [
|
4511
|
+
TransactionArgument,
|
4512
|
+
TransactionArgument,
|
4513
|
+
TransactionArgument
|
4514
|
+
];
|
4515
|
+
function delete$(tx: Transaction, args: [zklogin_verified_issuer.VerifiedIssuer | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4516
|
+
function issuer(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4517
|
+
function owner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4518
|
+
function verifyZkloginIssuer(tx: Transaction, args: [bigint | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4519
|
+
}
|
4520
|
+
namespace view {
|
4521
|
+
function checkZkloginIssuer(client: IotaClient, args: [string, bigint, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4522
|
+
function delete$(client: IotaClient, args: [zklogin_verified_issuer.VerifiedIssuer]): Promise<TypedDevInspectResults<[]>>;
|
4523
|
+
function issuer(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4524
|
+
function owner(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
4525
|
+
function verifyZkloginIssuer(client: IotaClient, args: [bigint, string]): Promise<TypedDevInspectResults<[]>>;
|
4526
|
+
}
|
4527
|
+
}
|
4528
|
+
export declare function loadAllTypes(coder: MoveCoder): void;
|
4529
|
+
//# sourceMappingURL=0x2.d.ts.map
|