@sentio/sdk 2.60.0-rc.4 → 2.60.0-rc.6
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/eth/base-processor.d.ts +3 -1
- package/lib/eth/base-processor.d.ts.map +1 -1
- package/lib/eth/base-processor.js +26 -0
- package/lib/eth/base-processor.js.map +1 -1
- package/lib/eth/eth-plugin.d.ts.map +1 -1
- package/lib/eth/eth-plugin.js +37 -3
- package/lib/eth/eth-plugin.js.map +1 -1
- 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/eth/base-processor.ts +43 -1
- package/src/eth/eth-plugin.ts +41 -3
- 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,817 @@
|
|
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 { MoveFetchConfig, EventFilter } from "@sentio/sdk/move";
|
7
|
+
import { HandlerOptions } from "@sentio/sdk";
|
8
|
+
import { IotaBindOptions, IotaBaseProcessor, IotaContext } from "@sentio/sdk/iota";
|
9
|
+
export declare namespace address {
|
10
|
+
namespace builder {
|
11
|
+
function length(tx: Transaction, args: []): TransactionArgument & [];
|
12
|
+
}
|
13
|
+
namespace view {
|
14
|
+
function length(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
export declare namespace ascii {
|
18
|
+
type Char = string;
|
19
|
+
namespace Char {
|
20
|
+
const TYPE_QNAME = "0x1::ascii::Char";
|
21
|
+
function type(): TypeDescriptor<Char>;
|
22
|
+
}
|
23
|
+
type String = string;
|
24
|
+
namespace String {
|
25
|
+
const TYPE_QNAME = "0x1::ascii::String";
|
26
|
+
function type(): TypeDescriptor<String>;
|
27
|
+
}
|
28
|
+
namespace builder {
|
29
|
+
function allCharactersPrintable(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
30
|
+
function append(tx: Transaction, args: [
|
31
|
+
string | TransactionObjectArgument | TransactionArgument,
|
32
|
+
ascii.String | TransactionArgument
|
33
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
34
|
+
function asBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
35
|
+
function byte(tx: Transaction, args: [ascii.Char | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
36
|
+
function char(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
37
|
+
function indexOf(tx: Transaction, args: [
|
38
|
+
string | TransactionObjectArgument | TransactionArgument,
|
39
|
+
string | TransactionObjectArgument | TransactionArgument
|
40
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
41
|
+
function insert(tx: Transaction, args: [
|
42
|
+
string | TransactionObjectArgument | TransactionArgument,
|
43
|
+
bigint | TransactionArgument,
|
44
|
+
ascii.String | TransactionArgument
|
45
|
+
]): TransactionArgument & [
|
46
|
+
TransactionArgument,
|
47
|
+
TransactionArgument,
|
48
|
+
TransactionArgument
|
49
|
+
];
|
50
|
+
function intoBytes(tx: Transaction, args: [ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
51
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
52
|
+
function isPrintableChar(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
53
|
+
function isValidChar(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
54
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
55
|
+
function popChar(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
56
|
+
function pushChar(tx: Transaction, args: [
|
57
|
+
string | TransactionObjectArgument | TransactionArgument,
|
58
|
+
ascii.Char | TransactionArgument
|
59
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
60
|
+
function string$(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
61
|
+
function substring(tx: Transaction, args: [
|
62
|
+
string | TransactionObjectArgument | TransactionArgument,
|
63
|
+
bigint | TransactionArgument,
|
64
|
+
bigint | TransactionArgument
|
65
|
+
]): TransactionArgument & [
|
66
|
+
TransactionArgument,
|
67
|
+
TransactionArgument,
|
68
|
+
TransactionArgument
|
69
|
+
];
|
70
|
+
function toLowercase(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
71
|
+
function toUppercase(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
72
|
+
function tryString(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
73
|
+
}
|
74
|
+
namespace view {
|
75
|
+
function allCharactersPrintable(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
76
|
+
function append(client: IotaClient, args: [string, ascii.String]): Promise<TypedDevInspectResults<[]>>;
|
77
|
+
function asBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
78
|
+
function byte(client: IotaClient, args: [ascii.Char]): Promise<TypedDevInspectResults<[number]>>;
|
79
|
+
function char(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[ascii.Char]>>;
|
80
|
+
function indexOf(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
81
|
+
function insert(client: IotaClient, args: [string, bigint, ascii.String]): Promise<TypedDevInspectResults<[]>>;
|
82
|
+
function intoBytes(client: IotaClient, args: [ascii.String]): Promise<TypedDevInspectResults<[number[]]>>;
|
83
|
+
function isEmpty(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
84
|
+
function isPrintableChar(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[boolean]>>;
|
85
|
+
function isValidChar(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[boolean]>>;
|
86
|
+
function length(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
87
|
+
function popChar(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[ascii.Char]>>;
|
88
|
+
function pushChar(client: IotaClient, args: [string, ascii.Char]): Promise<TypedDevInspectResults<[]>>;
|
89
|
+
function string$(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
90
|
+
function substring(client: IotaClient, args: [string, bigint, bigint]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
91
|
+
function toLowercase(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
92
|
+
function toUppercase(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
93
|
+
function tryString(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[option.Option<ascii.String>]>>;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
export declare namespace bcs {
|
97
|
+
namespace builder {
|
98
|
+
function toBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
99
|
+
}
|
100
|
+
namespace view {
|
101
|
+
function toBytes<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
export declare class bit_vector extends IotaBaseProcessor {
|
105
|
+
constructor(options: IotaBindOptions);
|
106
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
107
|
+
static bind(options?: Partial<IotaBindOptions>): bit_vector;
|
108
|
+
onEventBitVector(func: (event: bit_vector.BitVectorInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, bit_vector.BitVectorInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): bit_vector;
|
109
|
+
}
|
110
|
+
export declare namespace bit_vector {
|
111
|
+
interface BitVector {
|
112
|
+
length: bigint;
|
113
|
+
bit_field: boolean[];
|
114
|
+
}
|
115
|
+
namespace BitVector {
|
116
|
+
const TYPE_QNAME = "0x1::bit_vector::BitVector";
|
117
|
+
function type(): TypeDescriptor<BitVector>;
|
118
|
+
}
|
119
|
+
type BitVectorInstance = TypedEventInstance<BitVector> & {
|
120
|
+
data_decoded: BitVector;
|
121
|
+
type_arguments: [];
|
122
|
+
};
|
123
|
+
namespace builder {
|
124
|
+
function isIndexSet(tx: Transaction, args: [
|
125
|
+
string | TransactionObjectArgument | TransactionArgument,
|
126
|
+
bigint | TransactionArgument
|
127
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
128
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
129
|
+
function longestSetSequenceStartingAt(tx: Transaction, args: [
|
130
|
+
string | TransactionObjectArgument | TransactionArgument,
|
131
|
+
bigint | TransactionArgument
|
132
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
133
|
+
function new$(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
134
|
+
function set(tx: Transaction, args: [
|
135
|
+
string | TransactionObjectArgument | TransactionArgument,
|
136
|
+
bigint | TransactionArgument
|
137
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
138
|
+
function shiftLeft(tx: Transaction, args: [
|
139
|
+
string | TransactionObjectArgument | TransactionArgument,
|
140
|
+
bigint | TransactionArgument
|
141
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
142
|
+
function unset(tx: Transaction, args: [
|
143
|
+
string | TransactionObjectArgument | TransactionArgument,
|
144
|
+
bigint | TransactionArgument
|
145
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
146
|
+
}
|
147
|
+
namespace view {
|
148
|
+
function isIndexSet(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[boolean]>>;
|
149
|
+
function length(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
150
|
+
function longestSetSequenceStartingAt(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
151
|
+
function new$(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[bit_vector.BitVector]>>;
|
152
|
+
function set(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
153
|
+
function shiftLeft(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
154
|
+
function unset(client: IotaClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
export declare namespace debug {
|
158
|
+
namespace builder {
|
159
|
+
function print<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
160
|
+
function printStackTrace(tx: Transaction, args: []): TransactionArgument & [];
|
161
|
+
}
|
162
|
+
namespace view {
|
163
|
+
function print<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
164
|
+
function printStackTrace(client: IotaClient, args: []): Promise<TypedDevInspectResults<[]>>;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
export declare class fixed_point32 extends IotaBaseProcessor {
|
168
|
+
constructor(options: IotaBindOptions);
|
169
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
170
|
+
static bind(options?: Partial<IotaBindOptions>): fixed_point32;
|
171
|
+
onEventFixedPoint32(func: (event: fixed_point32.FixedPoint32Instance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, fixed_point32.FixedPoint32Instance>, eventFilter?: Omit<EventFilter, "type" | "account">): fixed_point32;
|
172
|
+
}
|
173
|
+
export declare namespace fixed_point32 {
|
174
|
+
interface FixedPoint32 {
|
175
|
+
value: bigint;
|
176
|
+
}
|
177
|
+
namespace FixedPoint32 {
|
178
|
+
const TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
|
179
|
+
function type(): TypeDescriptor<FixedPoint32>;
|
180
|
+
}
|
181
|
+
type FixedPoint32Instance = TypedEventInstance<FixedPoint32> & {
|
182
|
+
data_decoded: FixedPoint32;
|
183
|
+
type_arguments: [];
|
184
|
+
};
|
185
|
+
namespace builder {
|
186
|
+
function createFromRational(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
187
|
+
function createFromRawValue(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
188
|
+
function divideU64(tx: Transaction, args: [
|
189
|
+
bigint | TransactionArgument,
|
190
|
+
fixed_point32.FixedPoint32 | TransactionArgument
|
191
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
192
|
+
function getRawValue(tx: Transaction, args: [fixed_point32.FixedPoint32 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
193
|
+
function isZero(tx: Transaction, args: [fixed_point32.FixedPoint32 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
194
|
+
function multiplyU64(tx: Transaction, args: [
|
195
|
+
bigint | TransactionArgument,
|
196
|
+
fixed_point32.FixedPoint32 | TransactionArgument
|
197
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
198
|
+
}
|
199
|
+
namespace view {
|
200
|
+
function createFromRational(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>>;
|
201
|
+
function createFromRawValue(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>>;
|
202
|
+
function divideU64(client: IotaClient, args: [bigint, fixed_point32.FixedPoint32]): Promise<TypedDevInspectResults<[bigint]>>;
|
203
|
+
function getRawValue(client: IotaClient, args: [fixed_point32.FixedPoint32]): Promise<TypedDevInspectResults<[bigint]>>;
|
204
|
+
function isZero(client: IotaClient, args: [fixed_point32.FixedPoint32]): Promise<TypedDevInspectResults<[boolean]>>;
|
205
|
+
function multiplyU64(client: IotaClient, args: [bigint, fixed_point32.FixedPoint32]): Promise<TypedDevInspectResults<[bigint]>>;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
export declare namespace hash {
|
209
|
+
namespace builder {
|
210
|
+
function sha2256(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
211
|
+
function sha3256(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
212
|
+
}
|
213
|
+
namespace view {
|
214
|
+
function sha2256(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[number[]]>>;
|
215
|
+
function sha3256(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[number[]]>>;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
export declare namespace macros {
|
219
|
+
namespace builder { }
|
220
|
+
namespace view { }
|
221
|
+
}
|
222
|
+
export declare namespace option {
|
223
|
+
type Option<T> = T | undefined;
|
224
|
+
namespace Option {
|
225
|
+
const TYPE_QNAME = "0x1::option::Option";
|
226
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Option<T0>>;
|
227
|
+
}
|
228
|
+
namespace builder {
|
229
|
+
function borrow<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
230
|
+
function borrowMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
231
|
+
function borrowWithDefault<T0 = any>(tx: Transaction, args: [
|
232
|
+
string | TransactionObjectArgument | TransactionArgument,
|
233
|
+
string | TransactionObjectArgument | TransactionArgument
|
234
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
235
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
236
|
+
string | TransactionObjectArgument | TransactionArgument,
|
237
|
+
string | TransactionObjectArgument | TransactionArgument
|
238
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
239
|
+
function destroyNone<T0 = any>(tx: Transaction, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
240
|
+
function destroySome<T0 = any>(tx: Transaction, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
241
|
+
function destroyWithDefault<T0 = any>(tx: Transaction, args: [option.Option<T0> | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
242
|
+
function extract<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
243
|
+
function fill<T0 = any>(tx: Transaction, args: [
|
244
|
+
string | TransactionObjectArgument | TransactionArgument,
|
245
|
+
T0 | TransactionArgument
|
246
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
247
|
+
function getWithDefault<T0 = any>(tx: Transaction, args: [
|
248
|
+
string | TransactionObjectArgument | TransactionArgument,
|
249
|
+
T0 | TransactionArgument
|
250
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
251
|
+
function isNone<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
252
|
+
function isSome<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
253
|
+
function none<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
254
|
+
function some<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
255
|
+
function swap<T0 = any>(tx: Transaction, args: [
|
256
|
+
string | TransactionObjectArgument | TransactionArgument,
|
257
|
+
T0 | TransactionArgument
|
258
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
259
|
+
function swapOrFill<T0 = any>(tx: Transaction, args: [
|
260
|
+
string | TransactionObjectArgument | TransactionArgument,
|
261
|
+
T0 | TransactionArgument
|
262
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
263
|
+
function toVec<T0 = any>(tx: Transaction, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
264
|
+
}
|
265
|
+
namespace view {
|
266
|
+
function borrow<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
267
|
+
function borrowMut<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
268
|
+
function borrowWithDefault<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
269
|
+
function contains<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
270
|
+
function destroyNone<T0 = any>(client: IotaClient, args: [option.Option<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
271
|
+
function destroySome<T0 = any>(client: IotaClient, args: [option.Option<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
272
|
+
function destroyWithDefault<T0 = any>(client: IotaClient, args: [option.Option<T0>, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
273
|
+
function extract<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
274
|
+
function fill<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
275
|
+
function getWithDefault<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
276
|
+
function isNone<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
277
|
+
function isSome<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
278
|
+
function none<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[option.Option<T0>]>>;
|
279
|
+
function some<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[option.Option<T0>]>>;
|
280
|
+
function swap<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
281
|
+
function swapOrFill<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[option.Option<T0>]>>;
|
282
|
+
function toVec<T0 = any>(client: IotaClient, args: [option.Option<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
export declare class string$ extends IotaBaseProcessor {
|
286
|
+
constructor(options: IotaBindOptions);
|
287
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
288
|
+
static bind(options?: Partial<IotaBindOptions>): string$;
|
289
|
+
onEventString(func: (event: string$.StringInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, string$.StringInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): string$;
|
290
|
+
}
|
291
|
+
export declare namespace string$ {
|
292
|
+
interface String {
|
293
|
+
bytes: number[];
|
294
|
+
}
|
295
|
+
namespace String {
|
296
|
+
const TYPE_QNAME = "0x1::string::String";
|
297
|
+
function type(): TypeDescriptor<String>;
|
298
|
+
}
|
299
|
+
type StringInstance = TypedEventInstance<String> & {
|
300
|
+
data_decoded: String;
|
301
|
+
type_arguments: [];
|
302
|
+
};
|
303
|
+
namespace builder {
|
304
|
+
function append(tx: Transaction, args: [
|
305
|
+
string | TransactionObjectArgument | TransactionArgument,
|
306
|
+
string | TransactionArgument
|
307
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
308
|
+
function appendUtf8(tx: Transaction, args: [
|
309
|
+
string | TransactionObjectArgument | TransactionArgument,
|
310
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
311
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
312
|
+
function asBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
313
|
+
function bytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
314
|
+
function fromAscii(tx: Transaction, args: [ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
315
|
+
function indexOf(tx: Transaction, args: [
|
316
|
+
string | TransactionObjectArgument | TransactionArgument,
|
317
|
+
string | TransactionObjectArgument | TransactionArgument
|
318
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
319
|
+
function insert(tx: Transaction, args: [
|
320
|
+
string | TransactionObjectArgument | TransactionArgument,
|
321
|
+
bigint | TransactionArgument,
|
322
|
+
string | TransactionArgument
|
323
|
+
]): TransactionArgument & [
|
324
|
+
TransactionArgument,
|
325
|
+
TransactionArgument,
|
326
|
+
TransactionArgument
|
327
|
+
];
|
328
|
+
function intoBytes(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
329
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
330
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
331
|
+
function subString(tx: Transaction, args: [
|
332
|
+
string | TransactionObjectArgument | TransactionArgument,
|
333
|
+
bigint | TransactionArgument,
|
334
|
+
bigint | TransactionArgument
|
335
|
+
]): TransactionArgument & [
|
336
|
+
TransactionArgument,
|
337
|
+
TransactionArgument,
|
338
|
+
TransactionArgument
|
339
|
+
];
|
340
|
+
function substring(tx: Transaction, args: [
|
341
|
+
string | TransactionObjectArgument | TransactionArgument,
|
342
|
+
bigint | TransactionArgument,
|
343
|
+
bigint | TransactionArgument
|
344
|
+
]): TransactionArgument & [
|
345
|
+
TransactionArgument,
|
346
|
+
TransactionArgument,
|
347
|
+
TransactionArgument
|
348
|
+
];
|
349
|
+
function toAscii(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
350
|
+
function tryUtf8(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
351
|
+
function utf8(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
352
|
+
}
|
353
|
+
namespace view {
|
354
|
+
function append(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[]>>;
|
355
|
+
function appendUtf8(client: IotaClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
356
|
+
function asBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
357
|
+
function bytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
358
|
+
function fromAscii(client: IotaClient, args: [ascii.String]): Promise<TypedDevInspectResults<[string]>>;
|
359
|
+
function indexOf(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
360
|
+
function insert(client: IotaClient, args: [string, bigint, string]): Promise<TypedDevInspectResults<[]>>;
|
361
|
+
function intoBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
|
362
|
+
function isEmpty(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
363
|
+
function length(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
364
|
+
function subString(client: IotaClient, args: [string, bigint, bigint]): Promise<TypedDevInspectResults<[string]>>;
|
365
|
+
function substring(client: IotaClient, args: [string, bigint, bigint]): Promise<TypedDevInspectResults<[string]>>;
|
366
|
+
function toAscii(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
367
|
+
function tryUtf8(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[option.Option<string>]>>;
|
368
|
+
function utf8(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[string]>>;
|
369
|
+
}
|
370
|
+
}
|
371
|
+
export declare class type_name extends IotaBaseProcessor {
|
372
|
+
constructor(options: IotaBindOptions);
|
373
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
374
|
+
static bind(options?: Partial<IotaBindOptions>): type_name;
|
375
|
+
onEventTypeName(func: (event: type_name.TypeNameInstance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, type_name.TypeNameInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): type_name;
|
376
|
+
}
|
377
|
+
export declare namespace type_name {
|
378
|
+
interface TypeName {
|
379
|
+
name: ascii.String;
|
380
|
+
}
|
381
|
+
namespace TypeName {
|
382
|
+
const TYPE_QNAME = "0x1::type_name::TypeName";
|
383
|
+
function type(): TypeDescriptor<TypeName>;
|
384
|
+
}
|
385
|
+
type TypeNameInstance = TypedEventInstance<TypeName> & {
|
386
|
+
data_decoded: TypeName;
|
387
|
+
type_arguments: [];
|
388
|
+
};
|
389
|
+
namespace builder {
|
390
|
+
function borrowString(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
391
|
+
function get<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
392
|
+
function getAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
393
|
+
function getModule(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
394
|
+
function getWithOriginalIds<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
395
|
+
function intoString(tx: Transaction, args: [type_name.TypeName | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
396
|
+
function isPrimitive(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
397
|
+
}
|
398
|
+
namespace view {
|
399
|
+
function borrowString(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
400
|
+
function get<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[type_name.TypeName]>>;
|
401
|
+
function getAddress(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
402
|
+
function getModule(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
403
|
+
function getWithOriginalIds<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[type_name.TypeName]>>;
|
404
|
+
function intoString(client: IotaClient, args: [type_name.TypeName]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
405
|
+
function isPrimitive(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
export declare namespace u128 {
|
409
|
+
namespace builder {
|
410
|
+
function bitwiseNot(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
411
|
+
function diff(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
412
|
+
function divideAndRoundUp(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
413
|
+
function max(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
414
|
+
function min(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
415
|
+
function pow(tx: Transaction, args: [bigint | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
416
|
+
function sqrt(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
417
|
+
function toString(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
418
|
+
function tryAsU16(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
419
|
+
function tryAsU32(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
420
|
+
function tryAsU64(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
421
|
+
function tryAsU8(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
422
|
+
}
|
423
|
+
namespace view {
|
424
|
+
function bitwiseNot(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
425
|
+
function diff(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
426
|
+
function divideAndRoundUp(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
427
|
+
function max(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
428
|
+
function min(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
429
|
+
function pow(client: IotaClient, args: [bigint, number]): Promise<TypedDevInspectResults<[bigint]>>;
|
430
|
+
function sqrt(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
431
|
+
function toString(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[string]>>;
|
432
|
+
function tryAsU16(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
433
|
+
function tryAsU32(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
434
|
+
function tryAsU64(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<bigint>]>>;
|
435
|
+
function tryAsU8(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
436
|
+
}
|
437
|
+
}
|
438
|
+
export declare namespace u16 {
|
439
|
+
namespace builder {
|
440
|
+
function bitwiseNot(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
441
|
+
function diff(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
442
|
+
function divideAndRoundUp(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
443
|
+
function max(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
444
|
+
function min(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
445
|
+
function pow(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
446
|
+
function sqrt(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
447
|
+
function toString(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
448
|
+
function tryAsU8(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
449
|
+
}
|
450
|
+
namespace view {
|
451
|
+
function bitwiseNot(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[number]>>;
|
452
|
+
function diff(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
453
|
+
function divideAndRoundUp(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
454
|
+
function max(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
455
|
+
function min(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
456
|
+
function pow(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
457
|
+
function sqrt(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[number]>>;
|
458
|
+
function toString(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[string]>>;
|
459
|
+
function tryAsU8(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
460
|
+
}
|
461
|
+
}
|
462
|
+
export declare namespace u256 {
|
463
|
+
namespace builder {
|
464
|
+
function bitwiseNot(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
465
|
+
function diff(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
466
|
+
function divideAndRoundUp(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
467
|
+
function max(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
468
|
+
function min(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
469
|
+
function pow(tx: Transaction, args: [bigint | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
470
|
+
function toString(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
471
|
+
function tryAsU128(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
472
|
+
function tryAsU16(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
473
|
+
function tryAsU32(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
474
|
+
function tryAsU64(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
475
|
+
function tryAsU8(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
476
|
+
}
|
477
|
+
namespace view {
|
478
|
+
function bitwiseNot(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
479
|
+
function diff(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
480
|
+
function divideAndRoundUp(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
481
|
+
function max(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
482
|
+
function min(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
483
|
+
function pow(client: IotaClient, args: [bigint, number]): Promise<TypedDevInspectResults<[bigint]>>;
|
484
|
+
function toString(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[string]>>;
|
485
|
+
function tryAsU128(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<bigint>]>>;
|
486
|
+
function tryAsU16(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
487
|
+
function tryAsU32(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
488
|
+
function tryAsU64(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<bigint>]>>;
|
489
|
+
function tryAsU8(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
490
|
+
}
|
491
|
+
}
|
492
|
+
export declare namespace u32 {
|
493
|
+
namespace builder {
|
494
|
+
function bitwiseNot(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
495
|
+
function diff(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
496
|
+
function divideAndRoundUp(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
497
|
+
function max(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
498
|
+
function min(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
499
|
+
function pow(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
500
|
+
function sqrt(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
501
|
+
function toString(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
502
|
+
function tryAsU16(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
503
|
+
function tryAsU8(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
504
|
+
}
|
505
|
+
namespace view {
|
506
|
+
function bitwiseNot(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[number]>>;
|
507
|
+
function diff(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
508
|
+
function divideAndRoundUp(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
509
|
+
function max(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
510
|
+
function min(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
511
|
+
function pow(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
512
|
+
function sqrt(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[number]>>;
|
513
|
+
function toString(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[string]>>;
|
514
|
+
function tryAsU16(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
515
|
+
function tryAsU8(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
516
|
+
}
|
517
|
+
}
|
518
|
+
export declare namespace u64 {
|
519
|
+
namespace builder {
|
520
|
+
function bitwiseNot(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
521
|
+
function diff(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
522
|
+
function divideAndRoundUp(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
523
|
+
function max(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
524
|
+
function min(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
525
|
+
function pow(tx: Transaction, args: [bigint | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
526
|
+
function sqrt(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
527
|
+
function toString(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
528
|
+
function tryAsU16(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
529
|
+
function tryAsU32(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
530
|
+
function tryAsU8(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
531
|
+
}
|
532
|
+
namespace view {
|
533
|
+
function bitwiseNot(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
534
|
+
function diff(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
535
|
+
function divideAndRoundUp(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
536
|
+
function max(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
537
|
+
function min(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
538
|
+
function pow(client: IotaClient, args: [bigint, number]): Promise<TypedDevInspectResults<[bigint]>>;
|
539
|
+
function sqrt(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
540
|
+
function toString(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[string]>>;
|
541
|
+
function tryAsU16(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
542
|
+
function tryAsU32(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
543
|
+
function tryAsU8(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[option.Option<number>]>>;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
export declare namespace u8 {
|
547
|
+
namespace builder {
|
548
|
+
function bitwiseNot(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
549
|
+
function diff(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
550
|
+
function divideAndRoundUp(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
551
|
+
function max(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
552
|
+
function min(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
553
|
+
function pow(tx: Transaction, args: [number | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
554
|
+
function sqrt(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
555
|
+
function toString(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
556
|
+
}
|
557
|
+
namespace view {
|
558
|
+
function bitwiseNot(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[number]>>;
|
559
|
+
function diff(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
560
|
+
function divideAndRoundUp(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
561
|
+
function max(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
562
|
+
function min(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
563
|
+
function pow(client: IotaClient, args: [number, number]): Promise<TypedDevInspectResults<[number]>>;
|
564
|
+
function sqrt(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[number]>>;
|
565
|
+
function toString(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[string]>>;
|
566
|
+
}
|
567
|
+
}
|
568
|
+
export declare class uq32_32 extends IotaBaseProcessor {
|
569
|
+
constructor(options: IotaBindOptions);
|
570
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
571
|
+
static bind(options?: Partial<IotaBindOptions>): uq32_32;
|
572
|
+
onEventUQ32_32(func: (event: uq32_32.UQ32_32Instance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, uq32_32.UQ32_32Instance>, eventFilter?: Omit<EventFilter, "type" | "account">): uq32_32;
|
573
|
+
}
|
574
|
+
export declare namespace uq32_32 {
|
575
|
+
interface UQ32_32 {
|
576
|
+
pos0: bigint;
|
577
|
+
}
|
578
|
+
namespace UQ32_32 {
|
579
|
+
const TYPE_QNAME = "0x1::uq32_32::UQ32_32";
|
580
|
+
function type(): TypeDescriptor<UQ32_32>;
|
581
|
+
}
|
582
|
+
type UQ32_32Instance = TypedEventInstance<UQ32_32> & {
|
583
|
+
data_decoded: UQ32_32;
|
584
|
+
type_arguments: [];
|
585
|
+
};
|
586
|
+
namespace builder {
|
587
|
+
function add(tx: Transaction, args: [
|
588
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
589
|
+
uq32_32.UQ32_32 | TransactionArgument
|
590
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
591
|
+
function div(tx: Transaction, args: [
|
592
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
593
|
+
uq32_32.UQ32_32 | TransactionArgument
|
594
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
595
|
+
function fromInt(tx: Transaction, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
596
|
+
function fromQuotient(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
597
|
+
function fromRaw(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
598
|
+
function ge(tx: Transaction, args: [
|
599
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
600
|
+
uq32_32.UQ32_32 | TransactionArgument
|
601
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
602
|
+
function gt(tx: Transaction, args: [
|
603
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
604
|
+
uq32_32.UQ32_32 | TransactionArgument
|
605
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
606
|
+
function intDiv(tx: Transaction, args: [
|
607
|
+
bigint | TransactionArgument,
|
608
|
+
uq32_32.UQ32_32 | TransactionArgument
|
609
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
610
|
+
function intMul(tx: Transaction, args: [
|
611
|
+
bigint | TransactionArgument,
|
612
|
+
uq32_32.UQ32_32 | TransactionArgument
|
613
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
614
|
+
function le(tx: Transaction, args: [
|
615
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
616
|
+
uq32_32.UQ32_32 | TransactionArgument
|
617
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
618
|
+
function lt(tx: Transaction, args: [
|
619
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
620
|
+
uq32_32.UQ32_32 | TransactionArgument
|
621
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
622
|
+
function mul(tx: Transaction, args: [
|
623
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
624
|
+
uq32_32.UQ32_32 | TransactionArgument
|
625
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
626
|
+
function sub(tx: Transaction, args: [
|
627
|
+
uq32_32.UQ32_32 | TransactionArgument,
|
628
|
+
uq32_32.UQ32_32 | TransactionArgument
|
629
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
630
|
+
function toInt(tx: Transaction, args: [uq32_32.UQ32_32 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
631
|
+
function toRaw(tx: Transaction, args: [uq32_32.UQ32_32 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
632
|
+
}
|
633
|
+
namespace view {
|
634
|
+
function add(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
635
|
+
function div(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
636
|
+
function fromInt(client: IotaClient, args: [number]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
637
|
+
function fromQuotient(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
638
|
+
function fromRaw(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
639
|
+
function ge(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[boolean]>>;
|
640
|
+
function gt(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[boolean]>>;
|
641
|
+
function intDiv(client: IotaClient, args: [bigint, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[bigint]>>;
|
642
|
+
function intMul(client: IotaClient, args: [bigint, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[bigint]>>;
|
643
|
+
function le(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[boolean]>>;
|
644
|
+
function lt(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[boolean]>>;
|
645
|
+
function mul(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
646
|
+
function sub(client: IotaClient, args: [uq32_32.UQ32_32, uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>>;
|
647
|
+
function toInt(client: IotaClient, args: [uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[number]>>;
|
648
|
+
function toRaw(client: IotaClient, args: [uq32_32.UQ32_32]): Promise<TypedDevInspectResults<[bigint]>>;
|
649
|
+
}
|
650
|
+
}
|
651
|
+
export declare class uq64_64 extends IotaBaseProcessor {
|
652
|
+
constructor(options: IotaBindOptions);
|
653
|
+
static DEFAULT_OPTIONS: IotaBindOptions;
|
654
|
+
static bind(options?: Partial<IotaBindOptions>): uq64_64;
|
655
|
+
onEventUQ64_64(func: (event: uq64_64.UQ64_64Instance, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, uq64_64.UQ64_64Instance>, eventFilter?: Omit<EventFilter, "type" | "account">): uq64_64;
|
656
|
+
}
|
657
|
+
export declare namespace uq64_64 {
|
658
|
+
interface UQ64_64 {
|
659
|
+
pos0: bigint;
|
660
|
+
}
|
661
|
+
namespace UQ64_64 {
|
662
|
+
const TYPE_QNAME = "0x1::uq64_64::UQ64_64";
|
663
|
+
function type(): TypeDescriptor<UQ64_64>;
|
664
|
+
}
|
665
|
+
type UQ64_64Instance = TypedEventInstance<UQ64_64> & {
|
666
|
+
data_decoded: UQ64_64;
|
667
|
+
type_arguments: [];
|
668
|
+
};
|
669
|
+
namespace builder {
|
670
|
+
function add(tx: Transaction, args: [
|
671
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
672
|
+
uq64_64.UQ64_64 | TransactionArgument
|
673
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
674
|
+
function div(tx: Transaction, args: [
|
675
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
676
|
+
uq64_64.UQ64_64 | TransactionArgument
|
677
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
678
|
+
function fromInt(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
679
|
+
function fromQuotient(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
680
|
+
function fromRaw(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
681
|
+
function ge(tx: Transaction, args: [
|
682
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
683
|
+
uq64_64.UQ64_64 | TransactionArgument
|
684
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
685
|
+
function gt(tx: Transaction, args: [
|
686
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
687
|
+
uq64_64.UQ64_64 | TransactionArgument
|
688
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
689
|
+
function intDiv(tx: Transaction, args: [
|
690
|
+
bigint | TransactionArgument,
|
691
|
+
uq64_64.UQ64_64 | TransactionArgument
|
692
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
693
|
+
function intMul(tx: Transaction, args: [
|
694
|
+
bigint | TransactionArgument,
|
695
|
+
uq64_64.UQ64_64 | TransactionArgument
|
696
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
697
|
+
function le(tx: Transaction, args: [
|
698
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
699
|
+
uq64_64.UQ64_64 | TransactionArgument
|
700
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
701
|
+
function lt(tx: Transaction, args: [
|
702
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
703
|
+
uq64_64.UQ64_64 | TransactionArgument
|
704
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
705
|
+
function mul(tx: Transaction, args: [
|
706
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
707
|
+
uq64_64.UQ64_64 | TransactionArgument
|
708
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
709
|
+
function sub(tx: Transaction, args: [
|
710
|
+
uq64_64.UQ64_64 | TransactionArgument,
|
711
|
+
uq64_64.UQ64_64 | TransactionArgument
|
712
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
713
|
+
function toInt(tx: Transaction, args: [uq64_64.UQ64_64 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
714
|
+
function toRaw(tx: Transaction, args: [uq64_64.UQ64_64 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
715
|
+
}
|
716
|
+
namespace view {
|
717
|
+
function add(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
718
|
+
function div(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
719
|
+
function fromInt(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
720
|
+
function fromQuotient(client: IotaClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
721
|
+
function fromRaw(client: IotaClient, args: [bigint]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
722
|
+
function ge(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[boolean]>>;
|
723
|
+
function gt(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[boolean]>>;
|
724
|
+
function intDiv(client: IotaClient, args: [bigint, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[bigint]>>;
|
725
|
+
function intMul(client: IotaClient, args: [bigint, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[bigint]>>;
|
726
|
+
function le(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[boolean]>>;
|
727
|
+
function lt(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[boolean]>>;
|
728
|
+
function mul(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
729
|
+
function sub(client: IotaClient, args: [uq64_64.UQ64_64, uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[uq64_64.UQ64_64]>>;
|
730
|
+
function toInt(client: IotaClient, args: [uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[bigint]>>;
|
731
|
+
function toRaw(client: IotaClient, args: [uq64_64.UQ64_64]): Promise<TypedDevInspectResults<[bigint]>>;
|
732
|
+
}
|
733
|
+
}
|
734
|
+
export declare namespace vector {
|
735
|
+
namespace builder {
|
736
|
+
function append<T0 = any>(tx: Transaction, args: [
|
737
|
+
string | TransactionObjectArgument | TransactionArgument,
|
738
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
739
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
740
|
+
function borrow<T0 = any>(tx: Transaction, args: [
|
741
|
+
string | TransactionObjectArgument | TransactionArgument,
|
742
|
+
bigint | TransactionArgument
|
743
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
744
|
+
function borrowMut<T0 = any>(tx: Transaction, args: [
|
745
|
+
string | TransactionObjectArgument | TransactionArgument,
|
746
|
+
bigint | TransactionArgument
|
747
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
748
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
749
|
+
string | TransactionObjectArgument | TransactionArgument,
|
750
|
+
string | TransactionObjectArgument | TransactionArgument
|
751
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
752
|
+
function destroyEmpty<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
753
|
+
function empty<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
754
|
+
function flatten<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
755
|
+
function indexOf<T0 = any>(tx: Transaction, args: [
|
756
|
+
string | TransactionObjectArgument | TransactionArgument,
|
757
|
+
string | TransactionObjectArgument | TransactionArgument
|
758
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
759
|
+
function insert<T0 = any>(tx: Transaction, args: [
|
760
|
+
string | TransactionObjectArgument | TransactionArgument,
|
761
|
+
T0 | TransactionArgument,
|
762
|
+
bigint | TransactionArgument
|
763
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
764
|
+
TransactionArgument,
|
765
|
+
TransactionArgument,
|
766
|
+
TransactionArgument
|
767
|
+
];
|
768
|
+
function isEmpty<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
769
|
+
function length<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
770
|
+
function popBack<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
771
|
+
function pushBack<T0 = any>(tx: Transaction, args: [
|
772
|
+
string | TransactionObjectArgument | TransactionArgument,
|
773
|
+
T0 | TransactionArgument
|
774
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
775
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
776
|
+
string | TransactionObjectArgument | TransactionArgument,
|
777
|
+
bigint | TransactionArgument
|
778
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
779
|
+
function reverse<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
780
|
+
function singleton<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
781
|
+
function swap<T0 = any>(tx: Transaction, args: [
|
782
|
+
string | TransactionObjectArgument | TransactionArgument,
|
783
|
+
bigint | TransactionArgument,
|
784
|
+
bigint | TransactionArgument
|
785
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
786
|
+
TransactionArgument,
|
787
|
+
TransactionArgument,
|
788
|
+
TransactionArgument
|
789
|
+
];
|
790
|
+
function swapRemove<T0 = any>(tx: Transaction, args: [
|
791
|
+
string | TransactionObjectArgument | TransactionArgument,
|
792
|
+
bigint | TransactionArgument
|
793
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
794
|
+
}
|
795
|
+
namespace view {
|
796
|
+
function append<T0 = any>(client: IotaClient, args: [string, string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
797
|
+
function borrow<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
798
|
+
function borrowMut<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
799
|
+
function contains<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
800
|
+
function destroyEmpty<T0 = any>(client: IotaClient, args: [string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
801
|
+
function empty<T0 = any>(client: IotaClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
802
|
+
function flatten<T0 = any>(client: IotaClient, args: [string[]], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
803
|
+
function indexOf<T0 = any>(client: IotaClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean, bigint]>>;
|
804
|
+
function insert<T0 = any>(client: IotaClient, args: [string, T0, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
805
|
+
function isEmpty<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
806
|
+
function length<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
807
|
+
function popBack<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
808
|
+
function pushBack<T0 = any>(client: IotaClient, args: [string, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
809
|
+
function remove<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
810
|
+
function reverse<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
811
|
+
function singleton<T0 = any>(client: IotaClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
812
|
+
function swap<T0 = any>(client: IotaClient, args: [string, bigint, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
813
|
+
function swapRemove<T0 = any>(client: IotaClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
814
|
+
}
|
815
|
+
}
|
816
|
+
export declare function loadAllTypes(coder: MoveCoder): void;
|
817
|
+
//# sourceMappingURL=0x1.d.ts.map
|