@metoncash/sdk-v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -0
- package/dist/constants.d.ts +13 -0
- package/dist/constants.js +128 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +41 -0
- package/dist/jubjub.d.ts +25 -0
- package/dist/jubjub.js +121 -0
- package/dist/mimc.d.ts +4 -0
- package/dist/mimc.js +21 -0
- package/dist/note.d.ts +38 -0
- package/dist/note.js +55 -0
- package/dist/prover.d.ts +79 -0
- package/dist/prover.js +144 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +10 -0
- package/dist/utils/keys.d.ts +23 -0
- package/dist/utils/keys.js +28 -0
- package/dist/utils/note.d.ts +30 -0
- package/dist/utils/note.js +27 -0
- package/dist/wrappers/Account.gen.d.ts +542 -0
- package/dist/wrappers/Account.gen.js +677 -0
- package/dist/wrappers/Factory.gen.d.ts +265 -0
- package/dist/wrappers/Factory.gen.js +401 -0
- package/dist/wrappers/JettonMinter.gen.d.ts +288 -0
- package/dist/wrappers/JettonMinter.gen.js +432 -0
- package/dist/wrappers/JettonWallet.gen.d.ts +308 -0
- package/dist/wrappers/JettonWallet.gen.js +429 -0
- package/dist/wrappers/Minter.gen.d.ts +511 -0
- package/dist/wrappers/Minter.gen.js +700 -0
- package/dist/wrappers/Wallet.gen.d.ts +588 -0
- package/dist/wrappers/Wallet.gen.js +720 -0
- package/dist/wrappers/index.d.ts +15 -0
- package/dist/wrappers/index.js +21 -0
- package/package.json +26 -0
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
import * as c from '@ton/core';
|
|
2
|
+
import { ContractProvider, Sender, SendMode } from '@ton/core';
|
|
3
|
+
type RemainingBitsAndRefs = c.Slice;
|
|
4
|
+
export type any_address = c.Address | c.ExternalAddress | 'none';
|
|
5
|
+
export type CellRef<T> = {
|
|
6
|
+
ref: T;
|
|
7
|
+
};
|
|
8
|
+
type coins = bigint;
|
|
9
|
+
type uint32 = bigint;
|
|
10
|
+
type uint64 = bigint;
|
|
11
|
+
type uint256 = bigint;
|
|
12
|
+
/**
|
|
13
|
+
> struct (0x0f8a7ea5) JettonTransfer {
|
|
14
|
+
> queryId: uint64
|
|
15
|
+
> jettonAmount: coins
|
|
16
|
+
> transferRecipient: address
|
|
17
|
+
> sendExcessesTo: address?
|
|
18
|
+
> customPayload: cell?
|
|
19
|
+
> forwardTonAmount: coins
|
|
20
|
+
> forwardPayload: RemainingBitsAndRefs
|
|
21
|
+
> }
|
|
22
|
+
*/
|
|
23
|
+
export interface JettonTransfer {
|
|
24
|
+
readonly $: 'JettonTransfer';
|
|
25
|
+
queryId: uint64;
|
|
26
|
+
jettonAmount: coins;
|
|
27
|
+
transferRecipient: c.Address;
|
|
28
|
+
sendExcessesTo: c.Address | null;
|
|
29
|
+
customPayload: c.Cell | null;
|
|
30
|
+
forwardTonAmount: coins;
|
|
31
|
+
forwardPayload: RemainingBitsAndRefs;
|
|
32
|
+
}
|
|
33
|
+
export declare const JettonTransfer: {
|
|
34
|
+
PREFIX: number;
|
|
35
|
+
create(args: {
|
|
36
|
+
queryId: uint64;
|
|
37
|
+
jettonAmount: coins;
|
|
38
|
+
transferRecipient: c.Address;
|
|
39
|
+
sendExcessesTo: c.Address | null;
|
|
40
|
+
customPayload: c.Cell | null;
|
|
41
|
+
forwardTonAmount: coins;
|
|
42
|
+
forwardPayload: RemainingBitsAndRefs;
|
|
43
|
+
}): JettonTransfer;
|
|
44
|
+
fromSlice(s: c.Slice): JettonTransfer;
|
|
45
|
+
store(self: JettonTransfer, b: c.Builder): void;
|
|
46
|
+
toCell(self: JettonTransfer): c.Cell;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
> struct (0x7362d09c) JettonTransferNotification {
|
|
50
|
+
> queryId: uint64
|
|
51
|
+
> jettonAmount: coins
|
|
52
|
+
> from: address
|
|
53
|
+
> forwardPayload: RemainingBitsAndRefs
|
|
54
|
+
> }
|
|
55
|
+
*/
|
|
56
|
+
export interface JettonTransferNotification {
|
|
57
|
+
readonly $: 'JettonTransferNotification';
|
|
58
|
+
queryId: uint64;
|
|
59
|
+
jettonAmount: coins;
|
|
60
|
+
from: c.Address;
|
|
61
|
+
forwardPayload: RemainingBitsAndRefs;
|
|
62
|
+
}
|
|
63
|
+
export declare const JettonTransferNotification: {
|
|
64
|
+
PREFIX: number;
|
|
65
|
+
create(args: {
|
|
66
|
+
queryId: uint64;
|
|
67
|
+
jettonAmount: coins;
|
|
68
|
+
from: c.Address;
|
|
69
|
+
forwardPayload: RemainingBitsAndRefs;
|
|
70
|
+
}): JettonTransferNotification;
|
|
71
|
+
fromSlice(s: c.Slice): JettonTransferNotification;
|
|
72
|
+
store(self: JettonTransferNotification, b: c.Builder): void;
|
|
73
|
+
toCell(self: JettonTransferNotification): c.Cell;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
> struct (0xd53276db) ExcessMessage {
|
|
77
|
+
> queryId: uint64
|
|
78
|
+
> }
|
|
79
|
+
*/
|
|
80
|
+
export interface ExcessMessage {
|
|
81
|
+
readonly $: 'ExcessMessage';
|
|
82
|
+
queryId: uint64;
|
|
83
|
+
}
|
|
84
|
+
export declare const ExcessMessage: {
|
|
85
|
+
PREFIX: number;
|
|
86
|
+
create(args: {
|
|
87
|
+
queryId: uint64;
|
|
88
|
+
}): ExcessMessage;
|
|
89
|
+
fromSlice(s: c.Slice): ExcessMessage;
|
|
90
|
+
store(self: ExcessMessage, b: c.Builder): void;
|
|
91
|
+
toCell(self: ExcessMessage): c.Cell;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
> struct MinterRuntimeStorage {
|
|
95
|
+
> id: uint32
|
|
96
|
+
> factory: address
|
|
97
|
+
> manager: address
|
|
98
|
+
> jettonMinter: address
|
|
99
|
+
> jettonBalace: coins
|
|
100
|
+
> jettonWallet: address?
|
|
101
|
+
> walletCode: cell
|
|
102
|
+
> }
|
|
103
|
+
*/
|
|
104
|
+
export interface MinterRuntimeStorage {
|
|
105
|
+
readonly $: 'MinterRuntimeStorage';
|
|
106
|
+
id: uint32;
|
|
107
|
+
factory: c.Address;
|
|
108
|
+
manager: c.Address;
|
|
109
|
+
jettonMinter: c.Address;
|
|
110
|
+
jettonBalace: coins;
|
|
111
|
+
jettonWallet: c.Address | null;
|
|
112
|
+
walletCode: c.Cell;
|
|
113
|
+
}
|
|
114
|
+
export declare const MinterRuntimeStorage: {
|
|
115
|
+
create(args: {
|
|
116
|
+
id: uint32;
|
|
117
|
+
factory: c.Address;
|
|
118
|
+
manager: c.Address;
|
|
119
|
+
jettonMinter: c.Address;
|
|
120
|
+
jettonBalace: coins;
|
|
121
|
+
jettonWallet: c.Address | null;
|
|
122
|
+
walletCode: c.Cell;
|
|
123
|
+
}): MinterRuntimeStorage;
|
|
124
|
+
fromSlice(s: c.Slice): MinterRuntimeStorage;
|
|
125
|
+
store(self: MinterRuntimeStorage, b: c.Builder): void;
|
|
126
|
+
toCell(self: MinterRuntimeStorage): c.Cell;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
> struct MinterStorageAdditionalData {
|
|
130
|
+
> jettonBalace: coins
|
|
131
|
+
> jettonWallet: address?
|
|
132
|
+
> }
|
|
133
|
+
*/
|
|
134
|
+
export interface MinterStorageAdditionalData {
|
|
135
|
+
readonly $: 'MinterStorageAdditionalData';
|
|
136
|
+
jettonBalace: coins;
|
|
137
|
+
jettonWallet: c.Address | null;
|
|
138
|
+
}
|
|
139
|
+
export declare const MinterStorageAdditionalData: {
|
|
140
|
+
create(args: {
|
|
141
|
+
jettonBalace?: coins;
|
|
142
|
+
jettonWallet?: c.Address | null;
|
|
143
|
+
}): MinterStorageAdditionalData;
|
|
144
|
+
fromSlice(s: c.Slice): MinterStorageAdditionalData;
|
|
145
|
+
store(self: MinterStorageAdditionalData, b: c.Builder): void;
|
|
146
|
+
toCell(self: MinterStorageAdditionalData): c.Cell;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
> struct MinterStorage {
|
|
150
|
+
> id: uint32
|
|
151
|
+
> factory: address
|
|
152
|
+
> manager: address
|
|
153
|
+
> jettonMinter: address
|
|
154
|
+
> additionalData: Cell<MinterStorageAdditionalData>
|
|
155
|
+
> walletCode: cell
|
|
156
|
+
> }
|
|
157
|
+
*/
|
|
158
|
+
export interface MinterStorage {
|
|
159
|
+
readonly $: 'MinterStorage';
|
|
160
|
+
id: uint32;
|
|
161
|
+
factory: c.Address;
|
|
162
|
+
manager: c.Address;
|
|
163
|
+
jettonMinter: c.Address;
|
|
164
|
+
additionalData: CellRef<MinterStorageAdditionalData>;
|
|
165
|
+
walletCode: c.Cell;
|
|
166
|
+
}
|
|
167
|
+
export declare const MinterStorage: {
|
|
168
|
+
create(args: {
|
|
169
|
+
id: uint32;
|
|
170
|
+
factory: c.Address;
|
|
171
|
+
manager: c.Address;
|
|
172
|
+
jettonMinter: c.Address;
|
|
173
|
+
additionalData: CellRef<MinterStorageAdditionalData>;
|
|
174
|
+
walletCode: c.Cell;
|
|
175
|
+
}): MinterStorage;
|
|
176
|
+
fromSlice(s: c.Slice): MinterStorage;
|
|
177
|
+
store(self: MinterStorage, b: c.Builder): void;
|
|
178
|
+
toCell(self: MinterStorage): c.Cell;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
> struct (0x537e7304) InternalInitMinter {
|
|
182
|
+
> queryId: uint64
|
|
183
|
+
> jettonWallet: address
|
|
184
|
+
> excesses: address
|
|
185
|
+
> }
|
|
186
|
+
*/
|
|
187
|
+
export interface InternalInitMinter {
|
|
188
|
+
readonly $: 'InternalInitMinter';
|
|
189
|
+
queryId: uint64;
|
|
190
|
+
jettonWallet: c.Address;
|
|
191
|
+
excesses: c.Address;
|
|
192
|
+
}
|
|
193
|
+
export declare const InternalInitMinter: {
|
|
194
|
+
PREFIX: number;
|
|
195
|
+
create(args: {
|
|
196
|
+
queryId: uint64;
|
|
197
|
+
jettonWallet: c.Address;
|
|
198
|
+
excesses: c.Address;
|
|
199
|
+
}): InternalInitMinter;
|
|
200
|
+
fromSlice(s: c.Slice): InternalInitMinter;
|
|
201
|
+
store(self: InternalInitMinter, b: c.Builder): void;
|
|
202
|
+
toCell(self: InternalInitMinter): c.Cell;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
> struct (0xa68f2242) Register {
|
|
206
|
+
> queryId: uint64
|
|
207
|
+
> publicViewKey: Point
|
|
208
|
+
> }
|
|
209
|
+
*/
|
|
210
|
+
export interface Register {
|
|
211
|
+
readonly $: 'Register';
|
|
212
|
+
queryId: uint64;
|
|
213
|
+
publicViewKey: Point;
|
|
214
|
+
}
|
|
215
|
+
export declare const Register: {
|
|
216
|
+
PREFIX: number;
|
|
217
|
+
create(args: {
|
|
218
|
+
queryId: uint64;
|
|
219
|
+
publicViewKey: Point;
|
|
220
|
+
}): Register;
|
|
221
|
+
fromSlice(s: c.Slice): Register;
|
|
222
|
+
store(self: Register, b: c.Builder): void;
|
|
223
|
+
toCell(self: Register): c.Cell;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
> struct (0x37c7e6fe) InternalWithdraw {
|
|
227
|
+
> queryId: uint64
|
|
228
|
+
> from: address
|
|
229
|
+
> amount: coins
|
|
230
|
+
> }
|
|
231
|
+
*/
|
|
232
|
+
export interface InternalWithdraw {
|
|
233
|
+
readonly $: 'InternalWithdraw';
|
|
234
|
+
queryId: uint64;
|
|
235
|
+
from: c.Address;
|
|
236
|
+
amount: coins;
|
|
237
|
+
}
|
|
238
|
+
export declare const InternalWithdraw: {
|
|
239
|
+
PREFIX: number;
|
|
240
|
+
create(args: {
|
|
241
|
+
queryId: uint64;
|
|
242
|
+
from: c.Address;
|
|
243
|
+
amount: coins;
|
|
244
|
+
}): InternalWithdraw;
|
|
245
|
+
fromSlice(s: c.Slice): InternalWithdraw;
|
|
246
|
+
store(self: InternalWithdraw, b: c.Builder): void;
|
|
247
|
+
toCell(self: InternalWithdraw): c.Cell;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
> struct (0x0fccc477) FlipWalletStatus {
|
|
251
|
+
> queryId: uint64
|
|
252
|
+
> owner: address
|
|
253
|
+
> }
|
|
254
|
+
*/
|
|
255
|
+
export interface FlipWalletStatus {
|
|
256
|
+
readonly $: 'FlipWalletStatus';
|
|
257
|
+
queryId: uint64;
|
|
258
|
+
owner: c.Address;
|
|
259
|
+
}
|
|
260
|
+
export declare const FlipWalletStatus: {
|
|
261
|
+
PREFIX: number;
|
|
262
|
+
create(args: {
|
|
263
|
+
queryId: uint64;
|
|
264
|
+
owner: c.Address;
|
|
265
|
+
}): FlipWalletStatus;
|
|
266
|
+
fromSlice(s: c.Slice): FlipWalletStatus;
|
|
267
|
+
store(self: FlipWalletStatus, b: c.Builder): void;
|
|
268
|
+
toCell(self: FlipWalletStatus): c.Cell;
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
> struct (0x28c6c21a) InternalResetGas {
|
|
272
|
+
> queryId: uint64
|
|
273
|
+
> excess: address
|
|
274
|
+
> }
|
|
275
|
+
*/
|
|
276
|
+
export interface InternalResetGas {
|
|
277
|
+
readonly $: 'InternalResetGas';
|
|
278
|
+
queryId: uint64;
|
|
279
|
+
excess: c.Address;
|
|
280
|
+
}
|
|
281
|
+
export declare const InternalResetGas: {
|
|
282
|
+
PREFIX: number;
|
|
283
|
+
create(args: {
|
|
284
|
+
queryId: uint64;
|
|
285
|
+
excess: c.Address;
|
|
286
|
+
}): InternalResetGas;
|
|
287
|
+
fromSlice(s: c.Slice): InternalResetGas;
|
|
288
|
+
store(self: InternalResetGas, b: c.Builder): void;
|
|
289
|
+
toCell(self: InternalResetGas): c.Cell;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
> struct (0xde913221) InternalDeposit {
|
|
293
|
+
> queryId: uint64
|
|
294
|
+
> amount: coins
|
|
295
|
+
> commitment: Point
|
|
296
|
+
> proof: Cell<Proof>
|
|
297
|
+
> }
|
|
298
|
+
*/
|
|
299
|
+
export interface InternalDeposit {
|
|
300
|
+
readonly $: 'InternalDeposit';
|
|
301
|
+
queryId: uint64;
|
|
302
|
+
amount: coins;
|
|
303
|
+
commitment: Point;
|
|
304
|
+
proof: CellRef<Proof>;
|
|
305
|
+
}
|
|
306
|
+
export declare const InternalDeposit: {
|
|
307
|
+
PREFIX: number;
|
|
308
|
+
create(args: {
|
|
309
|
+
queryId: uint64;
|
|
310
|
+
amount: coins;
|
|
311
|
+
commitment: Point;
|
|
312
|
+
proof: CellRef<Proof>;
|
|
313
|
+
}): InternalDeposit;
|
|
314
|
+
fromSlice(s: c.Slice): InternalDeposit;
|
|
315
|
+
store(self: InternalDeposit, b: c.Builder): void;
|
|
316
|
+
toCell(self: InternalDeposit): c.Cell;
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
> struct (0xdde0f974) InternalRegister {
|
|
320
|
+
> queryId: uint64
|
|
321
|
+
> publicViewKey: Point
|
|
322
|
+
> }
|
|
323
|
+
*/
|
|
324
|
+
export interface InternalRegister {
|
|
325
|
+
readonly $: 'InternalRegister';
|
|
326
|
+
queryId: uint64;
|
|
327
|
+
publicViewKey: Point;
|
|
328
|
+
}
|
|
329
|
+
export declare const InternalRegister: {
|
|
330
|
+
PREFIX: number;
|
|
331
|
+
create(args: {
|
|
332
|
+
queryId: uint64;
|
|
333
|
+
publicViewKey: Point;
|
|
334
|
+
}): InternalRegister;
|
|
335
|
+
fromSlice(s: c.Slice): InternalRegister;
|
|
336
|
+
store(self: InternalRegister, b: c.Builder): void;
|
|
337
|
+
toCell(self: InternalRegister): c.Cell;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
> struct (0x158bd66b) InternalFlipWalletStatus {
|
|
341
|
+
> queryId: uint64
|
|
342
|
+
> excess: address
|
|
343
|
+
> }
|
|
344
|
+
*/
|
|
345
|
+
export interface InternalFlipWalletStatus {
|
|
346
|
+
readonly $: 'InternalFlipWalletStatus';
|
|
347
|
+
queryId: uint64;
|
|
348
|
+
excess: c.Address;
|
|
349
|
+
}
|
|
350
|
+
export declare const InternalFlipWalletStatus: {
|
|
351
|
+
PREFIX: number;
|
|
352
|
+
create(args: {
|
|
353
|
+
queryId: uint64;
|
|
354
|
+
excess: c.Address;
|
|
355
|
+
}): InternalFlipWalletStatus;
|
|
356
|
+
fromSlice(s: c.Slice): InternalFlipWalletStatus;
|
|
357
|
+
store(self: InternalFlipWalletStatus, b: c.Builder): void;
|
|
358
|
+
toCell(self: InternalFlipWalletStatus): c.Cell;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
> struct Point {
|
|
362
|
+
> x: uint256
|
|
363
|
+
> y: uint256
|
|
364
|
+
> }
|
|
365
|
+
*/
|
|
366
|
+
export interface Point {
|
|
367
|
+
readonly $: 'Point';
|
|
368
|
+
x: uint256;
|
|
369
|
+
y: uint256;
|
|
370
|
+
}
|
|
371
|
+
export declare const Point: {
|
|
372
|
+
create(args: {
|
|
373
|
+
x: uint256;
|
|
374
|
+
y: uint256;
|
|
375
|
+
}): Point;
|
|
376
|
+
fromSlice(s: c.Slice): Point;
|
|
377
|
+
store(self: Point, b: c.Builder): void;
|
|
378
|
+
toCell(self: Point): c.Cell;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
> struct Proof {
|
|
382
|
+
> piA: cell
|
|
383
|
+
> piB: cell
|
|
384
|
+
> piC: cell
|
|
385
|
+
> }
|
|
386
|
+
*/
|
|
387
|
+
export interface Proof {
|
|
388
|
+
readonly $: 'Proof';
|
|
389
|
+
piA: c.Cell;
|
|
390
|
+
piB: c.Cell;
|
|
391
|
+
piC: c.Cell;
|
|
392
|
+
}
|
|
393
|
+
export declare const Proof: {
|
|
394
|
+
create(args: {
|
|
395
|
+
piA: c.Cell;
|
|
396
|
+
piB: c.Cell;
|
|
397
|
+
piC: c.Cell;
|
|
398
|
+
}): Proof;
|
|
399
|
+
fromSlice(s: c.Slice): Proof;
|
|
400
|
+
store(self: Proof, b: c.Builder): void;
|
|
401
|
+
toCell(self: Proof): c.Cell;
|
|
402
|
+
};
|
|
403
|
+
interface ExtraSendOptions {
|
|
404
|
+
bounce?: boolean;
|
|
405
|
+
sendMode?: SendMode;
|
|
406
|
+
extraCurrencies?: c.ExtraCurrency;
|
|
407
|
+
}
|
|
408
|
+
interface DeployedAddrOptions {
|
|
409
|
+
workchain?: number;
|
|
410
|
+
toShard?: {
|
|
411
|
+
fixedPrefixLength: number;
|
|
412
|
+
closeTo: c.Address;
|
|
413
|
+
};
|
|
414
|
+
overrideContractCode?: c.Cell;
|
|
415
|
+
}
|
|
416
|
+
export declare class Minter implements c.Contract {
|
|
417
|
+
static Errors: {
|
|
418
|
+
'Errors.InvalidEitherBit': number;
|
|
419
|
+
'Errors.InvalidAmount': number;
|
|
420
|
+
'Errors.AlreadyInitialized': number;
|
|
421
|
+
'Errors.NotAlreadyInitialized': number;
|
|
422
|
+
'Errors.NotEnoughGas': number;
|
|
423
|
+
'Errors.InvalidPoint': number;
|
|
424
|
+
'Errors.InvalidWorkchain': number;
|
|
425
|
+
'Errors.WrongSender': number;
|
|
426
|
+
'Errors.WrongOp': number;
|
|
427
|
+
};
|
|
428
|
+
readonly address: c.Address;
|
|
429
|
+
readonly init: {
|
|
430
|
+
code: c.Cell;
|
|
431
|
+
data: c.Cell;
|
|
432
|
+
} | undefined;
|
|
433
|
+
protected constructor(address: c.Address, init?: {
|
|
434
|
+
code: c.Cell;
|
|
435
|
+
data: c.Cell;
|
|
436
|
+
});
|
|
437
|
+
static fromAddress(address: c.Address): Minter;
|
|
438
|
+
static createCellOfInternalInitMinter(body: {
|
|
439
|
+
queryId: uint64;
|
|
440
|
+
jettonWallet: c.Address;
|
|
441
|
+
excesses: c.Address;
|
|
442
|
+
}): c.Cell;
|
|
443
|
+
static createCellOfJettonTransferNotification(body: {
|
|
444
|
+
queryId: uint64;
|
|
445
|
+
jettonAmount: coins;
|
|
446
|
+
from: c.Address;
|
|
447
|
+
forwardPayload: RemainingBitsAndRefs;
|
|
448
|
+
}): c.Cell;
|
|
449
|
+
static createCellOfRegister(body: {
|
|
450
|
+
queryId: uint64;
|
|
451
|
+
publicViewKey: Point;
|
|
452
|
+
}): c.Cell;
|
|
453
|
+
static createCellOfInternalWithdraw(body: {
|
|
454
|
+
queryId: uint64;
|
|
455
|
+
from: c.Address;
|
|
456
|
+
amount: coins;
|
|
457
|
+
}): c.Cell;
|
|
458
|
+
static createCellOfFlipWalletStatus(body: {
|
|
459
|
+
queryId: uint64;
|
|
460
|
+
owner: c.Address;
|
|
461
|
+
}): c.Cell;
|
|
462
|
+
static createCellOfInternalResetGas(body: {
|
|
463
|
+
queryId: uint64;
|
|
464
|
+
excess: c.Address;
|
|
465
|
+
}): c.Cell;
|
|
466
|
+
static createCellOfExcessMessage(body: {
|
|
467
|
+
queryId: uint64;
|
|
468
|
+
}): c.Cell;
|
|
469
|
+
sendDeploy(provider: ContractProvider, via: Sender, msgValue: coins, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
470
|
+
sendInternalInitMinter(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
471
|
+
queryId: uint64;
|
|
472
|
+
jettonWallet: c.Address;
|
|
473
|
+
excesses: c.Address;
|
|
474
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
475
|
+
sendJettonTransferNotification(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
476
|
+
queryId: uint64;
|
|
477
|
+
jettonAmount: coins;
|
|
478
|
+
from: c.Address;
|
|
479
|
+
forwardPayload: RemainingBitsAndRefs;
|
|
480
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
481
|
+
sendRegister(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
482
|
+
queryId: uint64;
|
|
483
|
+
publicViewKey: Point;
|
|
484
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
485
|
+
sendInternalWithdraw(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
486
|
+
queryId: uint64;
|
|
487
|
+
from: c.Address;
|
|
488
|
+
amount: coins;
|
|
489
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
490
|
+
sendFlipWalletStatus(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
491
|
+
queryId: uint64;
|
|
492
|
+
owner: c.Address;
|
|
493
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
494
|
+
sendInternalResetGas(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
495
|
+
queryId: uint64;
|
|
496
|
+
excess: c.Address;
|
|
497
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
498
|
+
sendExcessMessage(provider: ContractProvider, via: Sender, msgValue: coins, body: {
|
|
499
|
+
queryId: uint64;
|
|
500
|
+
}, extraOptions?: ExtraSendOptions): Promise<void>;
|
|
501
|
+
getMinterData(provider: ContractProvider): Promise<MinterRuntimeStorage>;
|
|
502
|
+
getWalletAddress(provider: ContractProvider, owner: c.Address): Promise<c.Address>;
|
|
503
|
+
getJettonData(provider: ContractProvider): Promise<[
|
|
504
|
+
bigint,
|
|
505
|
+
bigint,
|
|
506
|
+
any_address,
|
|
507
|
+
c.Cell,
|
|
508
|
+
c.Cell
|
|
509
|
+
]>;
|
|
510
|
+
}
|
|
511
|
+
export {};
|