@qubic.org/contracts 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__generated__/computorcontrolledfund.d.ts +30 -30
- package/dist/__generated__/computorcontrolledfund.d.ts.map +1 -1
- package/dist/__generated__/computorcontrolledfund.js +57 -57
- package/dist/__generated__/computorcontrolledfund.js.map +1 -1
- package/dist/__generated__/escrow.d.ts +13 -13
- package/dist/__generated__/escrow.d.ts.map +1 -1
- package/dist/__generated__/escrow.js +20 -20
- package/dist/__generated__/escrow.js.map +1 -1
- package/dist/__generated__/generalquorumproposal.d.ts +21 -21
- package/dist/__generated__/generalquorumproposal.d.ts.map +1 -1
- package/dist/__generated__/generalquorumproposal.js +31 -31
- package/dist/__generated__/generalquorumproposal.js.map +1 -1
- package/dist/__generated__/msvault.d.ts +104 -104
- package/dist/__generated__/msvault.d.ts.map +1 -1
- package/dist/__generated__/msvault.js +220 -220
- package/dist/__generated__/msvault.js.map +1 -1
- package/dist/__generated__/nostromo.d.ts +43 -43
- package/dist/__generated__/nostromo.d.ts.map +1 -1
- package/dist/__generated__/nostromo.js +68 -68
- package/dist/__generated__/nostromo.js.map +1 -1
- package/dist/__generated__/pulse.d.ts +171 -171
- package/dist/__generated__/pulse.d.ts.map +1 -1
- package/dist/__generated__/pulse.js +409 -409
- package/dist/__generated__/pulse.js.map +1 -1
- package/dist/__generated__/qbay.d.ts +61 -61
- package/dist/__generated__/qbay.d.ts.map +1 -1
- package/dist/__generated__/qbay.js +103 -103
- package/dist/__generated__/qbay.js.map +1 -1
- package/dist/__generated__/qbond.d.ts +44 -44
- package/dist/__generated__/qbond.d.ts.map +1 -1
- package/dist/__generated__/qbond.js +67 -67
- package/dist/__generated__/qbond.js.map +1 -1
- package/dist/__generated__/qdraw.d.ts +4 -4
- package/dist/__generated__/qdraw.d.ts.map +1 -1
- package/dist/__generated__/qdraw.js +4 -4
- package/dist/__generated__/qdraw.js.map +1 -1
- package/dist/__generated__/qduel.d.ts +49 -49
- package/dist/__generated__/qduel.d.ts.map +1 -1
- package/dist/__generated__/qduel.js +106 -106
- package/dist/__generated__/qduel.js.map +1 -1
- package/dist/__generated__/qearn.d.ts +24 -24
- package/dist/__generated__/qearn.d.ts.map +1 -1
- package/dist/__generated__/qearn.js +38 -38
- package/dist/__generated__/qearn.js.map +1 -1
- package/dist/__generated__/qip.d.ts +10 -10
- package/dist/__generated__/qip.d.ts.map +1 -1
- package/dist/__generated__/qip.js +16 -16
- package/dist/__generated__/qip.js.map +1 -1
- package/dist/__generated__/qraffle.d.ts +51 -51
- package/dist/__generated__/qraffle.d.ts.map +1 -1
- package/dist/__generated__/qraffle.js +108 -108
- package/dist/__generated__/qraffle.js.map +1 -1
- package/dist/__generated__/qreservepool.d.ts +14 -14
- package/dist/__generated__/qreservepool.d.ts.map +1 -1
- package/dist/__generated__/qreservepool.js +22 -22
- package/dist/__generated__/qreservepool.js.map +1 -1
- package/dist/__generated__/qrwa.d.ts +71 -71
- package/dist/__generated__/qrwa.d.ts.map +1 -1
- package/dist/__generated__/qrwa.js +174 -174
- package/dist/__generated__/qrwa.js.map +1 -1
- package/dist/__generated__/qswap.d.ts +79 -79
- package/dist/__generated__/qswap.d.ts.map +1 -1
- package/dist/__generated__/qswap.js +158 -158
- package/dist/__generated__/qswap.js.map +1 -1
- package/dist/__generated__/qthirtyfour.d.ts +78 -78
- package/dist/__generated__/qthirtyfour.d.ts.map +1 -1
- package/dist/__generated__/qthirtyfour.js +161 -161
- package/dist/__generated__/qthirtyfour.js.map +1 -1
- package/dist/__generated__/quottery.d.ts +124 -124
- package/dist/__generated__/quottery.d.ts.map +1 -1
- package/dist/__generated__/quottery.js +266 -266
- package/dist/__generated__/quottery.js.map +1 -1
- package/dist/__generated__/qusino.d.ts +44 -44
- package/dist/__generated__/qusino.d.ts.map +1 -1
- package/dist/__generated__/qusino.js +88 -88
- package/dist/__generated__/qusino.js.map +1 -1
- package/dist/__generated__/qutil.d.ts +108 -108
- package/dist/__generated__/qutil.d.ts.map +1 -1
- package/dist/__generated__/qutil.js +231 -231
- package/dist/__generated__/qutil.js.map +1 -1
- package/dist/__generated__/qvault.d.ts +90 -90
- package/dist/__generated__/qvault.d.ts.map +1 -1
- package/dist/__generated__/qvault.js +146 -146
- package/dist/__generated__/qvault.js.map +1 -1
- package/dist/__generated__/qx.d.ts +36 -36
- package/dist/__generated__/qx.d.ts.map +1 -1
- package/dist/__generated__/qx.js +54 -54
- package/dist/__generated__/qx.js.map +1 -1
- package/dist/__generated__/random.d.ts +2 -1
- package/dist/__generated__/random.d.ts.map +1 -1
- package/dist/__generated__/random.js +2 -2
- package/dist/__generated__/random.js.map +1 -1
- package/dist/__generated__/randomlottery.d.ts +28 -28
- package/dist/__generated__/randomlottery.d.ts.map +1 -1
- package/dist/__generated__/randomlottery.js +41 -41
- package/dist/__generated__/randomlottery.js.map +1 -1
- package/dist/__generated__/vottunbridge.d.ts +77 -77
- package/dist/__generated__/vottunbridge.d.ts.map +1 -1
- package/dist/__generated__/vottunbridge.js +181 -181
- package/dist/__generated__/vottunbridge.js.map +1 -1
- package/dist/call-contract.d.ts +9 -3
- package/dist/call-contract.d.ts.map +1 -1
- package/dist/call-contract.js +21 -22
- package/dist/call-contract.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -10
|
@@ -225,8 +225,8 @@ const VOTTUN_BRIDGE_CREATE_ORDER_INPUT_FIELDS = [
|
|
|
225
225
|
byteLength: 1,
|
|
226
226
|
},
|
|
227
227
|
];
|
|
228
|
-
export function buildVottunBridgeCreateOrderInput(input, identityToPublicKey
|
|
229
|
-
return buildPayload(VOTTUN_BRIDGE_CREATE_ORDER_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
228
|
+
export function buildVottunBridgeCreateOrderInput(input, identityToPublicKey) {
|
|
229
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_CREATE_ORDER_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_CREATE_ORDER_INPUT_FIELDS, STRUCTS, input, identityToPublicKey) };
|
|
230
230
|
}
|
|
231
231
|
const VOTTUN_BRIDGE_CREATE_ORDER_OUTPUT_FIELDS = [
|
|
232
232
|
{
|
|
@@ -242,10 +242,10 @@ const VOTTUN_BRIDGE_CREATE_ORDER_OUTPUT_FIELDS = [
|
|
|
242
242
|
byteLength: 8,
|
|
243
243
|
},
|
|
244
244
|
];
|
|
245
|
-
export function decodeVottunBridgeCreateOrderOutput(data
|
|
246
|
-
return decodePayload(data, VOTTUN_BRIDGE_CREATE_ORDER_OUTPUT_FIELDS, STRUCTS,
|
|
245
|
+
export function decodeVottunBridgeCreateOrderOutput(data) {
|
|
246
|
+
return decodePayload(data, VOTTUN_BRIDGE_CREATE_ORDER_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
247
247
|
}
|
|
248
|
-
export const VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_TYPE =
|
|
248
|
+
export const VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_TYPE = 2;
|
|
249
249
|
const VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_FIELDS = [
|
|
250
250
|
{
|
|
251
251
|
name: 'orderId',
|
|
@@ -254,8 +254,8 @@ const VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_FIELDS = [
|
|
|
254
254
|
byteLength: 8,
|
|
255
255
|
},
|
|
256
256
|
];
|
|
257
|
-
export function buildVottunBridgeCompleteOrderInput(input
|
|
258
|
-
return buildPayload(VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_FIELDS, STRUCTS, input,
|
|
257
|
+
export function buildVottunBridgeCompleteOrderInput(input) {
|
|
258
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_COMPLETE_ORDER_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
259
259
|
}
|
|
260
260
|
const VOTTUN_BRIDGE_COMPLETE_ORDER_OUTPUT_FIELDS = [
|
|
261
261
|
{
|
|
@@ -265,10 +265,10 @@ const VOTTUN_BRIDGE_COMPLETE_ORDER_OUTPUT_FIELDS = [
|
|
|
265
265
|
byteLength: 1,
|
|
266
266
|
},
|
|
267
267
|
];
|
|
268
|
-
export function decodeVottunBridgeCompleteOrderOutput(data
|
|
269
|
-
return decodePayload(data, VOTTUN_BRIDGE_COMPLETE_ORDER_OUTPUT_FIELDS, STRUCTS,
|
|
268
|
+
export function decodeVottunBridgeCompleteOrderOutput(data) {
|
|
269
|
+
return decodePayload(data, VOTTUN_BRIDGE_COMPLETE_ORDER_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
270
270
|
}
|
|
271
|
-
export const VOTTUN_BRIDGE_REFUND_ORDER_INPUT_TYPE =
|
|
271
|
+
export const VOTTUN_BRIDGE_REFUND_ORDER_INPUT_TYPE = 3;
|
|
272
272
|
const VOTTUN_BRIDGE_REFUND_ORDER_INPUT_FIELDS = [
|
|
273
273
|
{
|
|
274
274
|
name: 'orderId',
|
|
@@ -277,8 +277,8 @@ const VOTTUN_BRIDGE_REFUND_ORDER_INPUT_FIELDS = [
|
|
|
277
277
|
byteLength: 8,
|
|
278
278
|
},
|
|
279
279
|
];
|
|
280
|
-
export function buildVottunBridgeRefundOrderInput(input
|
|
281
|
-
return buildPayload(VOTTUN_BRIDGE_REFUND_ORDER_INPUT_FIELDS, STRUCTS, input,
|
|
280
|
+
export function buildVottunBridgeRefundOrderInput(input) {
|
|
281
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_REFUND_ORDER_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_REFUND_ORDER_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
282
282
|
}
|
|
283
283
|
const VOTTUN_BRIDGE_REFUND_ORDER_OUTPUT_FIELDS = [
|
|
284
284
|
{
|
|
@@ -288,10 +288,10 @@ const VOTTUN_BRIDGE_REFUND_ORDER_OUTPUT_FIELDS = [
|
|
|
288
288
|
byteLength: 1,
|
|
289
289
|
},
|
|
290
290
|
];
|
|
291
|
-
export function decodeVottunBridgeRefundOrderOutput(data
|
|
292
|
-
return decodePayload(data, VOTTUN_BRIDGE_REFUND_ORDER_OUTPUT_FIELDS, STRUCTS,
|
|
291
|
+
export function decodeVottunBridgeRefundOrderOutput(data) {
|
|
292
|
+
return decodePayload(data, VOTTUN_BRIDGE_REFUND_ORDER_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
293
293
|
}
|
|
294
|
-
export const VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_TYPE =
|
|
294
|
+
export const VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_TYPE = 4;
|
|
295
295
|
const VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_FIELDS = [
|
|
296
296
|
{
|
|
297
297
|
name: 'amount',
|
|
@@ -306,8 +306,8 @@ const VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_FIELDS = [
|
|
|
306
306
|
byteLength: 8,
|
|
307
307
|
},
|
|
308
308
|
];
|
|
309
|
-
export function buildVottunBridgeTransferToContractInput(input
|
|
310
|
-
return buildPayload(VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_FIELDS, STRUCTS, input,
|
|
309
|
+
export function buildVottunBridgeTransferToContractInput(input) {
|
|
310
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
311
311
|
}
|
|
312
312
|
const VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_OUTPUT_FIELDS = [
|
|
313
313
|
{
|
|
@@ -317,10 +317,34 @@ const VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_OUTPUT_FIELDS = [
|
|
|
317
317
|
byteLength: 1,
|
|
318
318
|
},
|
|
319
319
|
];
|
|
320
|
-
export function decodeVottunBridgeTransferToContractOutput(data
|
|
321
|
-
return decodePayload(data, VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_OUTPUT_FIELDS, STRUCTS,
|
|
320
|
+
export function decodeVottunBridgeTransferToContractOutput(data) {
|
|
321
|
+
return decodePayload(data, VOTTUN_BRIDGE_TRANSFER_TO_CONTRACT_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
322
322
|
}
|
|
323
|
-
export const
|
|
323
|
+
export const VOTTUN_BRIDGE_ADD_LIQUIDITY_INPUT_TYPE = 5;
|
|
324
|
+
const VOTTUN_BRIDGE_ADD_LIQUIDITY_OUTPUT_FIELDS = [
|
|
325
|
+
{
|
|
326
|
+
name: 'status',
|
|
327
|
+
type: 'uint8',
|
|
328
|
+
offset: 0,
|
|
329
|
+
byteLength: 1,
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: 'addedAmount',
|
|
333
|
+
type: 'uint64',
|
|
334
|
+
offset: 1,
|
|
335
|
+
byteLength: 8,
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: 'totalLocked',
|
|
339
|
+
type: 'uint64',
|
|
340
|
+
offset: 9,
|
|
341
|
+
byteLength: 8,
|
|
342
|
+
},
|
|
343
|
+
];
|
|
344
|
+
export function decodeVottunBridgeAddLiquidityOutput(data) {
|
|
345
|
+
return decodePayload(data, VOTTUN_BRIDGE_ADD_LIQUIDITY_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
346
|
+
}
|
|
347
|
+
export const VOTTUN_BRIDGE_CREATE_PROPOSAL_INPUT_TYPE = 6;
|
|
324
348
|
const VOTTUN_BRIDGE_CREATE_PROPOSAL_INPUT_FIELDS = [
|
|
325
349
|
{
|
|
326
350
|
name: 'proposalType',
|
|
@@ -347,8 +371,8 @@ const VOTTUN_BRIDGE_CREATE_PROPOSAL_INPUT_FIELDS = [
|
|
|
347
371
|
byteLength: 8,
|
|
348
372
|
},
|
|
349
373
|
];
|
|
350
|
-
export function buildVottunBridgeCreateProposalInput(input, identityToPublicKey
|
|
351
|
-
return buildPayload(VOTTUN_BRIDGE_CREATE_PROPOSAL_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
374
|
+
export function buildVottunBridgeCreateProposalInput(input, identityToPublicKey) {
|
|
375
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_CREATE_PROPOSAL_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_CREATE_PROPOSAL_INPUT_FIELDS, STRUCTS, input, identityToPublicKey) };
|
|
352
376
|
}
|
|
353
377
|
const VOTTUN_BRIDGE_CREATE_PROPOSAL_OUTPUT_FIELDS = [
|
|
354
378
|
{
|
|
@@ -364,10 +388,10 @@ const VOTTUN_BRIDGE_CREATE_PROPOSAL_OUTPUT_FIELDS = [
|
|
|
364
388
|
byteLength: 8,
|
|
365
389
|
},
|
|
366
390
|
];
|
|
367
|
-
export function decodeVottunBridgeCreateProposalOutput(data
|
|
368
|
-
return decodePayload(data, VOTTUN_BRIDGE_CREATE_PROPOSAL_OUTPUT_FIELDS, STRUCTS,
|
|
391
|
+
export function decodeVottunBridgeCreateProposalOutput(data) {
|
|
392
|
+
return decodePayload(data, VOTTUN_BRIDGE_CREATE_PROPOSAL_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
369
393
|
}
|
|
370
|
-
export const VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_TYPE =
|
|
394
|
+
export const VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_TYPE = 7;
|
|
371
395
|
const VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_FIELDS = [
|
|
372
396
|
{
|
|
373
397
|
name: 'proposalId',
|
|
@@ -376,8 +400,8 @@ const VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_FIELDS = [
|
|
|
376
400
|
byteLength: 8,
|
|
377
401
|
},
|
|
378
402
|
];
|
|
379
|
-
export function buildVottunBridgeApproveProposalInput(input
|
|
380
|
-
return buildPayload(VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_FIELDS, STRUCTS, input,
|
|
403
|
+
export function buildVottunBridgeApproveProposalInput(input) {
|
|
404
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_APPROVE_PROPOSAL_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
381
405
|
}
|
|
382
406
|
const VOTTUN_BRIDGE_APPROVE_PROPOSAL_OUTPUT_FIELDS = [
|
|
383
407
|
{
|
|
@@ -393,10 +417,10 @@ const VOTTUN_BRIDGE_APPROVE_PROPOSAL_OUTPUT_FIELDS = [
|
|
|
393
417
|
byteLength: 1,
|
|
394
418
|
},
|
|
395
419
|
];
|
|
396
|
-
export function decodeVottunBridgeApproveProposalOutput(data
|
|
397
|
-
return decodePayload(data, VOTTUN_BRIDGE_APPROVE_PROPOSAL_OUTPUT_FIELDS, STRUCTS,
|
|
420
|
+
export function decodeVottunBridgeApproveProposalOutput(data) {
|
|
421
|
+
return decodePayload(data, VOTTUN_BRIDGE_APPROVE_PROPOSAL_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
398
422
|
}
|
|
399
|
-
export const VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_TYPE =
|
|
423
|
+
export const VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_TYPE = 8;
|
|
400
424
|
const VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_FIELDS = [
|
|
401
425
|
{
|
|
402
426
|
name: 'proposalId',
|
|
@@ -405,8 +429,8 @@ const VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_FIELDS = [
|
|
|
405
429
|
byteLength: 8,
|
|
406
430
|
},
|
|
407
431
|
];
|
|
408
|
-
export function buildVottunBridgeCancelProposalInput(input
|
|
409
|
-
return buildPayload(VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_FIELDS, STRUCTS, input,
|
|
432
|
+
export function buildVottunBridgeCancelProposalInput(input) {
|
|
433
|
+
return { contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX, inputType: VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_TYPE, payload: buildPayload(VOTTUN_BRIDGE_CANCEL_PROPOSAL_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
410
434
|
}
|
|
411
435
|
const VOTTUN_BRIDGE_CANCEL_PROPOSAL_OUTPUT_FIELDS = [
|
|
412
436
|
{
|
|
@@ -416,11 +440,23 @@ const VOTTUN_BRIDGE_CANCEL_PROPOSAL_OUTPUT_FIELDS = [
|
|
|
416
440
|
byteLength: 1,
|
|
417
441
|
},
|
|
418
442
|
];
|
|
419
|
-
export function decodeVottunBridgeCancelProposalOutput(data
|
|
420
|
-
return decodePayload(data, VOTTUN_BRIDGE_CANCEL_PROPOSAL_OUTPUT_FIELDS, STRUCTS,
|
|
443
|
+
export function decodeVottunBridgeCancelProposalOutput(data) {
|
|
444
|
+
return decodePayload(data, VOTTUN_BRIDGE_CANCEL_PROPOSAL_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
421
445
|
}
|
|
422
|
-
export const
|
|
423
|
-
const
|
|
446
|
+
export const VOTTUN_BRIDGE_GET_ORDER_INPUT_TYPE = 1;
|
|
447
|
+
export const VOTTUN_BRIDGE_GET_ORDER_INPUT_SIZE = 8;
|
|
448
|
+
const VOTTUN_BRIDGE_GET_ORDER_INPUT_FIELDS = [
|
|
449
|
+
{
|
|
450
|
+
name: 'orderId',
|
|
451
|
+
type: 'uint64',
|
|
452
|
+
offset: 0,
|
|
453
|
+
byteLength: 8,
|
|
454
|
+
},
|
|
455
|
+
];
|
|
456
|
+
export function buildVottunBridgeGetOrderInput(input) {
|
|
457
|
+
return buildPayload(VOTTUN_BRIDGE_GET_ORDER_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
|
|
458
|
+
}
|
|
459
|
+
const VOTTUN_BRIDGE_GET_ORDER_OUTPUT_FIELDS = [
|
|
424
460
|
{
|
|
425
461
|
name: 'status',
|
|
426
462
|
type: 'uint8',
|
|
@@ -428,22 +464,39 @@ const VOTTUN_BRIDGE_ADD_LIQUIDITY_OUTPUT_FIELDS = [
|
|
|
428
464
|
byteLength: 1,
|
|
429
465
|
},
|
|
430
466
|
{
|
|
431
|
-
name: '
|
|
432
|
-
type: '
|
|
467
|
+
name: 'order',
|
|
468
|
+
type: 'struct',
|
|
433
469
|
offset: 1,
|
|
434
|
-
byteLength:
|
|
470
|
+
byteLength: 213,
|
|
471
|
+
structRef: 'OrderResponse',
|
|
435
472
|
},
|
|
436
473
|
{
|
|
437
|
-
name: '
|
|
438
|
-
type: '
|
|
439
|
-
offset:
|
|
440
|
-
byteLength:
|
|
474
|
+
name: 'message',
|
|
475
|
+
type: 'array',
|
|
476
|
+
offset: 214,
|
|
477
|
+
byteLength: 32,
|
|
478
|
+
arrayLength: 32,
|
|
479
|
+
arrayItemType: 'uint8',
|
|
480
|
+
arrayItemByteLength: 1,
|
|
441
481
|
},
|
|
442
482
|
];
|
|
443
|
-
export function
|
|
444
|
-
return decodePayload(data,
|
|
483
|
+
export function decodeVottunBridgeGetOrderOutput(data) {
|
|
484
|
+
return decodePayload(data, VOTTUN_BRIDGE_GET_ORDER_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
445
485
|
}
|
|
446
|
-
export
|
|
486
|
+
export async function vottunBridgeGetOrder(live, input, options) {
|
|
487
|
+
return callContractFunction({
|
|
488
|
+
live,
|
|
489
|
+
contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX,
|
|
490
|
+
inputType: VOTTUN_BRIDGE_GET_ORDER_INPUT_TYPE,
|
|
491
|
+
inputSize: VOTTUN_BRIDGE_GET_ORDER_INPUT_SIZE,
|
|
492
|
+
inputFields: VOTTUN_BRIDGE_GET_ORDER_INPUT_FIELDS,
|
|
493
|
+
outputFields: VOTTUN_BRIDGE_GET_ORDER_OUTPUT_FIELDS,
|
|
494
|
+
structs: STRUCTS,
|
|
495
|
+
input: input,
|
|
496
|
+
...options,
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
export const VOTTUN_BRIDGE_GET_TOTAL_RECEIVED_TOKENS_INPUT_TYPE = 3;
|
|
447
500
|
export const VOTTUN_BRIDGE_GET_TOTAL_RECEIVED_TOKENS_INPUT_SIZE = 0;
|
|
448
501
|
const VOTTUN_BRIDGE_GET_TOTAL_RECEIVED_TOKENS_OUTPUT_FIELDS = [
|
|
449
502
|
{
|
|
@@ -453,8 +506,8 @@ const VOTTUN_BRIDGE_GET_TOTAL_RECEIVED_TOKENS_OUTPUT_FIELDS = [
|
|
|
453
506
|
byteLength: 8,
|
|
454
507
|
},
|
|
455
508
|
];
|
|
456
|
-
export function decodeVottunBridgeGetTotalReceivedTokensOutput(data
|
|
457
|
-
return decodePayload(data, VOTTUN_BRIDGE_GET_TOTAL_RECEIVED_TOKENS_OUTPUT_FIELDS, STRUCTS,
|
|
509
|
+
export function decodeVottunBridgeGetTotalReceivedTokensOutput(data) {
|
|
510
|
+
return decodePayload(data, VOTTUN_BRIDGE_GET_TOTAL_RECEIVED_TOKENS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
458
511
|
}
|
|
459
512
|
export async function vottunBridgeGetTotalReceivedTokens(live, options) {
|
|
460
513
|
return callContractFunction({
|
|
@@ -469,58 +522,61 @@ export async function vottunBridgeGetTotalReceivedTokens(live, options) {
|
|
|
469
522
|
...options,
|
|
470
523
|
});
|
|
471
524
|
}
|
|
472
|
-
export const
|
|
473
|
-
export const
|
|
474
|
-
const
|
|
525
|
+
export const VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_INPUT_TYPE = 4;
|
|
526
|
+
export const VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_INPUT_SIZE = 0;
|
|
527
|
+
const VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_OUTPUT_FIELDS = [
|
|
475
528
|
{
|
|
476
|
-
name: '
|
|
529
|
+
name: 'totalLockedTokens',
|
|
477
530
|
type: 'uint64',
|
|
478
531
|
offset: 0,
|
|
479
532
|
byteLength: 8,
|
|
480
533
|
},
|
|
481
|
-
{
|
|
482
|
-
name: 'totalEarnedFees',
|
|
483
|
-
type: 'uint64',
|
|
484
|
-
offset: 8,
|
|
485
|
-
byteLength: 8,
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
name: 'totalDistributedFees',
|
|
489
|
-
type: 'uint64',
|
|
490
|
-
offset: 16,
|
|
491
|
-
byteLength: 8,
|
|
492
|
-
},
|
|
493
534
|
];
|
|
494
|
-
export function
|
|
495
|
-
return decodePayload(data,
|
|
535
|
+
export function decodeVottunBridgeGetTotalLockedTokensOutput(data) {
|
|
536
|
+
return decodePayload(data, VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
496
537
|
}
|
|
497
|
-
export async function
|
|
538
|
+
export async function vottunBridgeGetTotalLockedTokens(live, options) {
|
|
498
539
|
return callContractFunction({
|
|
499
540
|
live,
|
|
500
541
|
contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX,
|
|
501
|
-
inputType:
|
|
502
|
-
inputSize:
|
|
542
|
+
inputType: VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_INPUT_TYPE,
|
|
543
|
+
inputSize: VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_INPUT_SIZE,
|
|
503
544
|
inputFields: [],
|
|
504
|
-
outputFields:
|
|
545
|
+
outputFields: VOTTUN_BRIDGE_GET_TOTAL_LOCKED_TOKENS_OUTPUT_FIELDS,
|
|
505
546
|
structs: STRUCTS,
|
|
506
547
|
input: {},
|
|
507
548
|
...options,
|
|
508
549
|
});
|
|
509
550
|
}
|
|
510
|
-
export const
|
|
511
|
-
export const
|
|
512
|
-
const
|
|
551
|
+
export const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_TYPE = 5;
|
|
552
|
+
export const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_SIZE = 73;
|
|
553
|
+
const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_FIELDS = [
|
|
513
554
|
{
|
|
514
|
-
name: '
|
|
515
|
-
type: '
|
|
555
|
+
name: 'ethAddress',
|
|
556
|
+
type: 'array',
|
|
516
557
|
offset: 0,
|
|
558
|
+
byteLength: 64,
|
|
559
|
+
arrayLength: 64,
|
|
560
|
+
arrayItemType: 'uint8',
|
|
561
|
+
arrayItemByteLength: 1,
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
name: 'amount',
|
|
565
|
+
type: 'uint64',
|
|
566
|
+
offset: 64,
|
|
517
567
|
byteLength: 8,
|
|
518
568
|
},
|
|
569
|
+
{
|
|
570
|
+
name: 'status',
|
|
571
|
+
type: 'uint8',
|
|
572
|
+
offset: 72,
|
|
573
|
+
byteLength: 1,
|
|
574
|
+
},
|
|
519
575
|
];
|
|
520
|
-
export function
|
|
521
|
-
return buildPayload(
|
|
576
|
+
export function buildVottunBridgeGetOrderByDetailsInput(input) {
|
|
577
|
+
return buildPayload(VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
|
|
522
578
|
}
|
|
523
|
-
const
|
|
579
|
+
const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_OUTPUT_FIELDS = [
|
|
524
580
|
{
|
|
525
581
|
name: 'status',
|
|
526
582
|
type: 'uint8',
|
|
@@ -528,39 +584,35 @@ const VOTTUN_BRIDGE_GET_ORDER_OUTPUT_FIELDS = [
|
|
|
528
584
|
byteLength: 1,
|
|
529
585
|
},
|
|
530
586
|
{
|
|
531
|
-
name: '
|
|
532
|
-
type: '
|
|
587
|
+
name: 'orderId',
|
|
588
|
+
type: 'uint64',
|
|
533
589
|
offset: 1,
|
|
534
|
-
byteLength:
|
|
535
|
-
structRef: 'OrderResponse',
|
|
590
|
+
byteLength: 8,
|
|
536
591
|
},
|
|
537
592
|
{
|
|
538
|
-
name: '
|
|
539
|
-
type: '
|
|
540
|
-
offset:
|
|
593
|
+
name: 'qubicDestination',
|
|
594
|
+
type: 'id',
|
|
595
|
+
offset: 9,
|
|
541
596
|
byteLength: 32,
|
|
542
|
-
arrayLength: 32,
|
|
543
|
-
arrayItemType: 'uint8',
|
|
544
|
-
arrayItemByteLength: 1,
|
|
545
597
|
},
|
|
546
598
|
];
|
|
547
|
-
export function
|
|
548
|
-
return decodePayload(data,
|
|
599
|
+
export function decodeVottunBridgeGetOrderByDetailsOutput(data, publicKeyToIdentity) {
|
|
600
|
+
return decodePayload(data, VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
|
|
549
601
|
}
|
|
550
|
-
export async function
|
|
602
|
+
export async function vottunBridgeGetOrderByDetails(live, input, options) {
|
|
551
603
|
return callContractFunction({
|
|
552
604
|
live,
|
|
553
605
|
contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX,
|
|
554
|
-
inputType:
|
|
555
|
-
inputSize:
|
|
556
|
-
inputFields:
|
|
557
|
-
outputFields:
|
|
606
|
+
inputType: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_TYPE,
|
|
607
|
+
inputSize: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_SIZE,
|
|
608
|
+
inputFields: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_FIELDS,
|
|
609
|
+
outputFields: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_OUTPUT_FIELDS,
|
|
558
610
|
structs: STRUCTS,
|
|
559
611
|
input: input,
|
|
560
612
|
...options,
|
|
561
613
|
});
|
|
562
614
|
}
|
|
563
|
-
export const VOTTUN_BRIDGE_GET_CONTRACT_INFO_INPUT_TYPE =
|
|
615
|
+
export const VOTTUN_BRIDGE_GET_CONTRACT_INFO_INPUT_TYPE = 6;
|
|
564
616
|
export const VOTTUN_BRIDGE_GET_CONTRACT_INFO_INPUT_SIZE = 0;
|
|
565
617
|
const VOTTUN_BRIDGE_GET_CONTRACT_INFO_OUTPUT_FIELDS = [
|
|
566
618
|
{
|
|
@@ -657,7 +709,7 @@ const VOTTUN_BRIDGE_GET_CONTRACT_INFO_OUTPUT_FIELDS = [
|
|
|
657
709
|
byteLength: 8,
|
|
658
710
|
},
|
|
659
711
|
];
|
|
660
|
-
export function decodeVottunBridgeGetContractInfoOutput(data, publicKeyToIdentity
|
|
712
|
+
export function decodeVottunBridgeGetContractInfoOutput(data, publicKeyToIdentity) {
|
|
661
713
|
return decodePayload(data, VOTTUN_BRIDGE_GET_CONTRACT_INFO_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
|
|
662
714
|
}
|
|
663
715
|
export async function vottunBridgeGetContractInfo(live, options) {
|
|
@@ -673,33 +725,45 @@ export async function vottunBridgeGetContractInfo(live, options) {
|
|
|
673
725
|
...options,
|
|
674
726
|
});
|
|
675
727
|
}
|
|
676
|
-
export const
|
|
677
|
-
export const
|
|
678
|
-
const
|
|
728
|
+
export const VOTTUN_BRIDGE_GET_AVAILABLE_FEES_INPUT_TYPE = 7;
|
|
729
|
+
export const VOTTUN_BRIDGE_GET_AVAILABLE_FEES_INPUT_SIZE = 0;
|
|
730
|
+
const VOTTUN_BRIDGE_GET_AVAILABLE_FEES_OUTPUT_FIELDS = [
|
|
679
731
|
{
|
|
680
|
-
name: '
|
|
732
|
+
name: 'availableFees',
|
|
681
733
|
type: 'uint64',
|
|
682
734
|
offset: 0,
|
|
683
735
|
byteLength: 8,
|
|
684
736
|
},
|
|
737
|
+
{
|
|
738
|
+
name: 'totalEarnedFees',
|
|
739
|
+
type: 'uint64',
|
|
740
|
+
offset: 8,
|
|
741
|
+
byteLength: 8,
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
name: 'totalDistributedFees',
|
|
745
|
+
type: 'uint64',
|
|
746
|
+
offset: 16,
|
|
747
|
+
byteLength: 8,
|
|
748
|
+
},
|
|
685
749
|
];
|
|
686
|
-
export function
|
|
687
|
-
return decodePayload(data,
|
|
750
|
+
export function decodeVottunBridgeGetAvailableFeesOutput(data) {
|
|
751
|
+
return decodePayload(data, VOTTUN_BRIDGE_GET_AVAILABLE_FEES_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
688
752
|
}
|
|
689
|
-
export async function
|
|
753
|
+
export async function vottunBridgeGetAvailableFees(live, options) {
|
|
690
754
|
return callContractFunction({
|
|
691
755
|
live,
|
|
692
756
|
contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX,
|
|
693
|
-
inputType:
|
|
694
|
-
inputSize:
|
|
757
|
+
inputType: VOTTUN_BRIDGE_GET_AVAILABLE_FEES_INPUT_TYPE,
|
|
758
|
+
inputSize: VOTTUN_BRIDGE_GET_AVAILABLE_FEES_INPUT_SIZE,
|
|
695
759
|
inputFields: [],
|
|
696
|
-
outputFields:
|
|
760
|
+
outputFields: VOTTUN_BRIDGE_GET_AVAILABLE_FEES_OUTPUT_FIELDS,
|
|
697
761
|
structs: STRUCTS,
|
|
698
762
|
input: {},
|
|
699
763
|
...options,
|
|
700
764
|
});
|
|
701
765
|
}
|
|
702
|
-
export const VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_TYPE =
|
|
766
|
+
export const VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_TYPE = 8;
|
|
703
767
|
export const VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_SIZE = 8;
|
|
704
768
|
const VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_FIELDS = [
|
|
705
769
|
{
|
|
@@ -709,8 +773,8 @@ const VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_FIELDS = [
|
|
|
709
773
|
byteLength: 8,
|
|
710
774
|
},
|
|
711
775
|
];
|
|
712
|
-
export function buildVottunBridgeGetProposalInput(input
|
|
713
|
-
return buildPayload(VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_FIELDS, STRUCTS, input,
|
|
776
|
+
export function buildVottunBridgeGetProposalInput(input) {
|
|
777
|
+
return buildPayload(VOTTUN_BRIDGE_GET_PROPOSAL_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
|
|
714
778
|
}
|
|
715
779
|
const VOTTUN_BRIDGE_GET_PROPOSAL_OUTPUT_FIELDS = [
|
|
716
780
|
{
|
|
@@ -727,8 +791,8 @@ const VOTTUN_BRIDGE_GET_PROPOSAL_OUTPUT_FIELDS = [
|
|
|
727
791
|
structRef: 'AdminProposal',
|
|
728
792
|
},
|
|
729
793
|
];
|
|
730
|
-
export function decodeVottunBridgeGetProposalOutput(data
|
|
731
|
-
return decodePayload(data, VOTTUN_BRIDGE_GET_PROPOSAL_OUTPUT_FIELDS, STRUCTS,
|
|
794
|
+
export function decodeVottunBridgeGetProposalOutput(data) {
|
|
795
|
+
return decodePayload(data, VOTTUN_BRIDGE_GET_PROPOSAL_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
732
796
|
}
|
|
733
797
|
export async function vottunBridgeGetProposal(live, input, options) {
|
|
734
798
|
return callContractFunction({
|
|
@@ -743,79 +807,15 @@ export async function vottunBridgeGetProposal(live, input, options) {
|
|
|
743
807
|
...options,
|
|
744
808
|
});
|
|
745
809
|
}
|
|
746
|
-
export const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_TYPE = 16;
|
|
747
|
-
export const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_SIZE = 73;
|
|
748
|
-
const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_FIELDS = [
|
|
749
|
-
{
|
|
750
|
-
name: 'ethAddress',
|
|
751
|
-
type: 'array',
|
|
752
|
-
offset: 0,
|
|
753
|
-
byteLength: 64,
|
|
754
|
-
arrayLength: 64,
|
|
755
|
-
arrayItemType: 'uint8',
|
|
756
|
-
arrayItemByteLength: 1,
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
name: 'amount',
|
|
760
|
-
type: 'uint64',
|
|
761
|
-
offset: 64,
|
|
762
|
-
byteLength: 8,
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
name: 'status',
|
|
766
|
-
type: 'uint8',
|
|
767
|
-
offset: 72,
|
|
768
|
-
byteLength: 1,
|
|
769
|
-
},
|
|
770
|
-
];
|
|
771
|
-
export function buildVottunBridgeGetOrderByDetailsInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
|
|
772
|
-
return buildPayload(VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
773
|
-
}
|
|
774
|
-
const VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_OUTPUT_FIELDS = [
|
|
775
|
-
{
|
|
776
|
-
name: 'status',
|
|
777
|
-
type: 'uint8',
|
|
778
|
-
offset: 0,
|
|
779
|
-
byteLength: 1,
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
name: 'orderId',
|
|
783
|
-
type: 'uint64',
|
|
784
|
-
offset: 1,
|
|
785
|
-
byteLength: 8,
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
name: 'qubicDestination',
|
|
789
|
-
type: 'id',
|
|
790
|
-
offset: 9,
|
|
791
|
-
byteLength: 32,
|
|
792
|
-
},
|
|
793
|
-
];
|
|
794
|
-
export function decodeVottunBridgeGetOrderByDetailsOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
|
|
795
|
-
return decodePayload(data, VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
|
|
796
|
-
}
|
|
797
|
-
export async function vottunBridgeGetOrderByDetails(live, input, options) {
|
|
798
|
-
return callContractFunction({
|
|
799
|
-
live,
|
|
800
|
-
contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX,
|
|
801
|
-
inputType: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_TYPE,
|
|
802
|
-
inputSize: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_SIZE,
|
|
803
|
-
inputFields: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_INPUT_FIELDS,
|
|
804
|
-
outputFields: VOTTUN_BRIDGE_GET_ORDER_BY_DETAILS_OUTPUT_FIELDS,
|
|
805
|
-
structs: STRUCTS,
|
|
806
|
-
input: input,
|
|
807
|
-
...options,
|
|
808
|
-
});
|
|
809
|
-
}
|
|
810
810
|
export const vottunBridge = {
|
|
811
811
|
contractIndex: VOTTUN_BRIDGE_CONTRACT_INDEX,
|
|
812
|
-
getTotalReceivedTokens: vottunBridgeGetTotalReceivedTokens,
|
|
813
|
-
getAvailableFees: vottunBridgeGetAvailableFees,
|
|
814
812
|
getOrder: vottunBridgeGetOrder,
|
|
815
|
-
|
|
813
|
+
getTotalReceivedTokens: vottunBridgeGetTotalReceivedTokens,
|
|
816
814
|
getTotalLockedTokens: vottunBridgeGetTotalLockedTokens,
|
|
817
|
-
getProposal: vottunBridgeGetProposal,
|
|
818
815
|
getOrderByDetails: vottunBridgeGetOrderByDetails,
|
|
816
|
+
getContractInfo: vottunBridgeGetContractInfo,
|
|
817
|
+
getAvailableFees: vottunBridgeGetAvailableFees,
|
|
818
|
+
getProposal: vottunBridgeGetProposal,
|
|
819
819
|
buildCreateOrderInput: buildVottunBridgeCreateOrderInput,
|
|
820
820
|
decodeCreateOrderOutput: decodeVottunBridgeCreateOrderOutput,
|
|
821
821
|
buildCompleteOrderInput: buildVottunBridgeCompleteOrderInput,
|
|
@@ -824,12 +824,12 @@ export const vottunBridge = {
|
|
|
824
824
|
decodeRefundOrderOutput: decodeVottunBridgeRefundOrderOutput,
|
|
825
825
|
buildTransferToContractInput: buildVottunBridgeTransferToContractInput,
|
|
826
826
|
decodeTransferToContractOutput: decodeVottunBridgeTransferToContractOutput,
|
|
827
|
+
decodeAddLiquidityOutput: decodeVottunBridgeAddLiquidityOutput,
|
|
827
828
|
buildCreateProposalInput: buildVottunBridgeCreateProposalInput,
|
|
828
829
|
decodeCreateProposalOutput: decodeVottunBridgeCreateProposalOutput,
|
|
829
830
|
buildApproveProposalInput: buildVottunBridgeApproveProposalInput,
|
|
830
831
|
decodeApproveProposalOutput: decodeVottunBridgeApproveProposalOutput,
|
|
831
832
|
buildCancelProposalInput: buildVottunBridgeCancelProposalInput,
|
|
832
833
|
decodeCancelProposalOutput: decodeVottunBridgeCancelProposalOutput,
|
|
833
|
-
decodeAddLiquidityOutput: decodeVottunBridgeAddLiquidityOutput,
|
|
834
834
|
};
|
|
835
835
|
//# sourceMappingURL=vottunbridge.js.map
|