@ocap/sdk 1.18.6 → 1.18.8
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/index.d.ts +431 -277
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -361,6 +361,8 @@ export declare function toStakeAddress(sender: string, receiver: string): string
|
|
|
361
361
|
* Generate an delegate address, eg: the did of the delegation
|
|
362
362
|
*/
|
|
363
363
|
export declare function toDelegateAddress(delegator: string, delegatee: string): string;
|
|
364
|
+
import type { PartialDeep } from 'type-fest';
|
|
365
|
+
import { WalletObject } from '@ocap/wallet';
|
|
364
366
|
|
|
365
367
|
/*~ This declaration specifies that the class constructor function
|
|
366
368
|
*~ is the exported object from the file
|
|
@@ -394,225 +396,389 @@ declare interface OcapSDK {
|
|
|
394
396
|
getTxMultiSignMethods(): Array<string>;
|
|
395
397
|
getType(x: string): Object;
|
|
396
398
|
decodeTx(input: string | buffer): object;
|
|
397
|
-
declare(params: object, extra
|
|
398
|
-
migrateAccount(params: object, extra
|
|
399
|
-
delegate(params: object, extra
|
|
400
|
-
revokeDelegate(params: object, extra
|
|
401
|
-
createAsset(params: object, extra
|
|
402
|
-
updateAsset(params: object, extra
|
|
403
|
-
consumeAsset(params: object, extra
|
|
404
|
-
createAssetFactory(params: object, extra
|
|
405
|
-
acquireAsset(params: object, extra
|
|
406
|
-
upgradeNode(params: object, extra
|
|
407
|
-
transfer(params: object, extra
|
|
408
|
-
prepareExchange(params: object, extra
|
|
409
|
-
finalizeExchange(params: object, extra
|
|
410
|
-
exchange(params: object, extra
|
|
399
|
+
declare(params: object, extra?: any): Promise<string>;
|
|
400
|
+
migrateAccount(params: object, extra?: any): Promise<string>;
|
|
401
|
+
delegate(params: object, extra?: any): Promise<string>;
|
|
402
|
+
revokeDelegate(params: object, extra?: any): Promise<string>;
|
|
403
|
+
createAsset(params: object, extra?: any): Promise<string>;
|
|
404
|
+
updateAsset(params: object, extra?: any): Promise<string>;
|
|
405
|
+
consumeAsset(params: object, extra?: any): Promise<string>;
|
|
406
|
+
createAssetFactory(params: object, extra?: any): Promise<string>;
|
|
407
|
+
acquireAsset(params: object, extra?: any): Promise<string>;
|
|
408
|
+
upgradeNode(params: object, extra?: any): Promise<string>;
|
|
409
|
+
transfer(params: object, extra?: any): Promise<string>;
|
|
410
|
+
prepareExchange(params: object, extra?: any): Promise<string>;
|
|
411
|
+
finalizeExchange(params: object, extra?: any): Promise<string>;
|
|
412
|
+
exchange(params: object, extra?: any): Promise<string>;
|
|
411
413
|
|
|
412
414
|
generateQueryFns(): void;
|
|
413
415
|
generateSubscriptionFns(): void;
|
|
414
416
|
generateMutationFns(): void;
|
|
415
417
|
|
|
416
418
|
sendAccountMigrateTx(
|
|
417
|
-
param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx
|
|
419
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
420
|
+
extra?: any
|
|
418
421
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
419
422
|
sendAcquireAssetV2Tx(
|
|
420
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx
|
|
423
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
424
|
+
extra?: any
|
|
421
425
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
422
426
|
sendAcquireAssetV3Tx(
|
|
423
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
427
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
428
|
+
extra?: any
|
|
424
429
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
425
430
|
sendClaimBlockRewardTx(
|
|
426
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
431
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
432
|
+
extra?: any
|
|
433
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
434
|
+
sendClaimStakeTx(
|
|
435
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
436
|
+
extra?: any
|
|
437
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
438
|
+
sendCreateAssetTx(
|
|
439
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
440
|
+
extra?: any
|
|
427
441
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
428
|
-
sendClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
429
|
-
sendCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
430
442
|
sendCreateFactoryTx(
|
|
431
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx
|
|
443
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
444
|
+
extra?: any
|
|
432
445
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
433
446
|
sendCreateRollupBlockTx(
|
|
434
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
447
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>,
|
|
448
|
+
extra?: any
|
|
449
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
450
|
+
sendCreateRollupTx(
|
|
451
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
452
|
+
extra?: any
|
|
453
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
454
|
+
sendCreateTokenTx(
|
|
455
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
456
|
+
extra?: any
|
|
457
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
458
|
+
sendDeclareTx(
|
|
459
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>,
|
|
460
|
+
extra?: any
|
|
461
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
462
|
+
sendDelegateTx(
|
|
463
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
464
|
+
extra?: any
|
|
435
465
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
436
|
-
sendCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
437
|
-
sendCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
438
|
-
sendDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
439
|
-
sendDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
440
466
|
sendDepositTokenV2Tx(
|
|
441
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
467
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
468
|
+
extra?: any
|
|
469
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
470
|
+
sendExchangeTx(
|
|
471
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
|
|
472
|
+
extra?: any
|
|
473
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
474
|
+
sendExchangeV2Tx(
|
|
475
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
476
|
+
extra?: any
|
|
477
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
478
|
+
sendJoinRollupTx(
|
|
479
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
480
|
+
extra?: any
|
|
481
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
482
|
+
sendLeaveRollupTx(
|
|
483
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
484
|
+
extra?: any
|
|
442
485
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
443
|
-
sendExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
444
|
-
sendExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
445
|
-
sendJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
446
|
-
sendLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
447
486
|
sendMigrateRollupContractTx(
|
|
448
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
487
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>,
|
|
488
|
+
extra?: any
|
|
449
489
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
450
490
|
sendMigrateRollupTokenTx(
|
|
451
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
491
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>,
|
|
492
|
+
extra?: any
|
|
493
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
494
|
+
sendMintAssetTx(
|
|
495
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
496
|
+
extra?: any
|
|
497
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
498
|
+
sendPauseRollupTx(
|
|
499
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
500
|
+
extra?: any
|
|
501
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
502
|
+
sendResumeRollupTx(
|
|
503
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
504
|
+
extra?: any
|
|
452
505
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
453
|
-
sendMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
454
|
-
sendPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
455
|
-
sendResumeRollupTx(param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
456
506
|
sendRevokeDelegateTx(
|
|
457
|
-
param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx
|
|
507
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
508
|
+
extra?: any
|
|
509
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
510
|
+
sendRevokeStakeTx(
|
|
511
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
512
|
+
extra?: any
|
|
513
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
514
|
+
sendStakeTx(
|
|
515
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
516
|
+
extra?: any
|
|
517
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
518
|
+
sendTransferTx(
|
|
519
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
520
|
+
extra?: any
|
|
521
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
522
|
+
sendTransferV2Tx(
|
|
523
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
524
|
+
extra?: any
|
|
525
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
526
|
+
sendTransferV3Tx(
|
|
527
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
528
|
+
extra?: any
|
|
529
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
530
|
+
sendUpdateAssetTx(
|
|
531
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
532
|
+
extra?: any
|
|
533
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
534
|
+
sendUpdateRollupTx(
|
|
535
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
536
|
+
extra?: any
|
|
537
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
538
|
+
sendUpgradeNodeTx(
|
|
539
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
540
|
+
extra?: any
|
|
458
541
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
459
|
-
sendRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
460
|
-
sendStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
461
|
-
sendTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
462
|
-
sendTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
463
|
-
sendTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
464
|
-
sendUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
465
|
-
sendUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
466
|
-
sendUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
467
542
|
sendWithdrawTokenV2Tx(
|
|
468
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
543
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
544
|
+
extra?: any
|
|
469
545
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
470
546
|
encodeAccountMigrateTx(
|
|
471
|
-
param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx
|
|
547
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
|
|
472
548
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
473
549
|
encodeAcquireAssetV2Tx(
|
|
474
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx
|
|
550
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
|
|
475
551
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
476
552
|
encodeAcquireAssetV3Tx(
|
|
477
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
553
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
|
|
478
554
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
479
555
|
encodeClaimBlockRewardTx(
|
|
480
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
556
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
|
|
557
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
558
|
+
encodeClaimStakeTx(
|
|
559
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
|
|
560
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
561
|
+
encodeCreateAssetTx(
|
|
562
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
481
563
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
482
|
-
encodeClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
483
|
-
encodeCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
484
564
|
encodeCreateFactoryTx(
|
|
485
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx
|
|
565
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
|
|
486
566
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
487
567
|
encodeCreateRollupBlockTx(
|
|
488
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
568
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
|
|
489
569
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
490
570
|
encodeCreateRollupTx(
|
|
491
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx
|
|
571
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
|
|
572
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
573
|
+
encodeCreateTokenTx(
|
|
574
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
|
|
575
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
576
|
+
encodeDeclareTx(
|
|
577
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>
|
|
578
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
579
|
+
encodeDelegateTx(
|
|
580
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
|
|
492
581
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
493
|
-
encodeCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
494
|
-
encodeDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
495
|
-
encodeDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
496
582
|
encodeDepositTokenV2Tx(
|
|
497
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
583
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
|
|
584
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
585
|
+
encodeExchangeTx(
|
|
586
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
|
|
587
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
588
|
+
encodeExchangeV2Tx(
|
|
589
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
|
|
590
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
591
|
+
encodeJoinRollupTx(
|
|
592
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
|
|
593
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
594
|
+
encodeLeaveRollupTx(
|
|
595
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
|
|
498
596
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
499
|
-
encodeExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
500
|
-
encodeExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
501
|
-
encodeJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
502
|
-
encodeLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
503
597
|
encodeMigrateRollupContractTx(
|
|
504
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
598
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
|
|
505
599
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
506
600
|
encodeMigrateRollupTokenTx(
|
|
507
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
601
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
|
|
602
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
603
|
+
encodeMintAssetTx(
|
|
604
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
|
|
605
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
606
|
+
encodePauseRollupTx(
|
|
607
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
|
|
508
608
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
509
|
-
encodeMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
510
|
-
encodePauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
511
609
|
encodeResumeRollupTx(
|
|
512
|
-
param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx
|
|
610
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
|
|
513
611
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
514
612
|
encodeRevokeDelegateTx(
|
|
515
|
-
param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx
|
|
613
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
|
|
614
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
615
|
+
encodeRevokeStakeTx(
|
|
616
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
|
|
617
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
618
|
+
encodeStakeTx(
|
|
619
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
|
|
620
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
621
|
+
encodeTransferTx(
|
|
622
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
|
|
623
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
624
|
+
encodeTransferV2Tx(
|
|
625
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
|
|
626
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
627
|
+
encodeTransferV3Tx(
|
|
628
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
|
|
629
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
630
|
+
encodeUpdateAssetTx(
|
|
631
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
|
|
516
632
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
517
|
-
encodeRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
518
|
-
encodeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
519
|
-
encodeTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
520
|
-
encodeTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
521
|
-
encodeTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
522
|
-
encodeUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
523
633
|
encodeUpdateRollupTx(
|
|
524
|
-
param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx
|
|
634
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
|
|
635
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
636
|
+
encodeUpgradeNodeTx(
|
|
637
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
|
|
525
638
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
526
|
-
encodeUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
527
639
|
encodeWithdrawTokenV2Tx(
|
|
528
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
640
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
|
|
529
641
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
530
642
|
signAccountMigrateTx(
|
|
531
|
-
param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx
|
|
643
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
|
|
532
644
|
): Promise<GraphQLClient.Transaction>;
|
|
533
645
|
signAcquireAssetV2Tx(
|
|
534
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx
|
|
646
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
|
|
535
647
|
): Promise<GraphQLClient.Transaction>;
|
|
536
648
|
signAcquireAssetV3Tx(
|
|
537
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
649
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
|
|
538
650
|
): Promise<GraphQLClient.Transaction>;
|
|
539
651
|
signClaimBlockRewardTx(
|
|
540
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
652
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
|
|
653
|
+
): Promise<GraphQLClient.Transaction>;
|
|
654
|
+
signClaimStakeTx(
|
|
655
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
|
|
656
|
+
): Promise<GraphQLClient.Transaction>;
|
|
657
|
+
signCreateAssetTx(
|
|
658
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
659
|
+
): Promise<GraphQLClient.Transaction>;
|
|
660
|
+
signCreateFactoryTx(
|
|
661
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
|
|
541
662
|
): Promise<GraphQLClient.Transaction>;
|
|
542
|
-
signClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.Transaction>;
|
|
543
|
-
signCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
544
|
-
signCreateFactoryTx(param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>): Promise<GraphQLClient.Transaction>;
|
|
545
663
|
signCreateRollupBlockTx(
|
|
546
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
664
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
|
|
665
|
+
): Promise<GraphQLClient.Transaction>;
|
|
666
|
+
signCreateRollupTx(
|
|
667
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
|
|
668
|
+
): Promise<GraphQLClient.Transaction>;
|
|
669
|
+
signCreateTokenTx(
|
|
670
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
|
|
671
|
+
): Promise<GraphQLClient.Transaction>;
|
|
672
|
+
signDeclareTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>): Promise<GraphQLClient.Transaction>;
|
|
673
|
+
signDelegateTx(
|
|
674
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
|
|
547
675
|
): Promise<GraphQLClient.Transaction>;
|
|
548
|
-
signCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
549
|
-
signCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.Transaction>;
|
|
550
|
-
signDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.Transaction>;
|
|
551
|
-
signDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.Transaction>;
|
|
552
676
|
signDepositTokenV2Tx(
|
|
553
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
677
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
|
|
678
|
+
): Promise<GraphQLClient.Transaction>;
|
|
679
|
+
signExchangeTx(
|
|
680
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
|
|
681
|
+
): Promise<GraphQLClient.Transaction>;
|
|
682
|
+
signExchangeV2Tx(
|
|
683
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
|
|
684
|
+
): Promise<GraphQLClient.Transaction>;
|
|
685
|
+
signJoinRollupTx(
|
|
686
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
|
|
687
|
+
): Promise<GraphQLClient.Transaction>;
|
|
688
|
+
signLeaveRollupTx(
|
|
689
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
|
|
554
690
|
): Promise<GraphQLClient.Transaction>;
|
|
555
|
-
signExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.Transaction>;
|
|
556
|
-
signExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
|
|
557
|
-
signJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
558
|
-
signLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
559
691
|
signMigrateRollupContractTx(
|
|
560
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
692
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
|
|
561
693
|
): Promise<GraphQLClient.Transaction>;
|
|
562
694
|
signMigrateRollupTokenTx(
|
|
563
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
695
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
|
|
696
|
+
): Promise<GraphQLClient.Transaction>;
|
|
697
|
+
signMintAssetTx(
|
|
698
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
|
|
699
|
+
): Promise<GraphQLClient.Transaction>;
|
|
700
|
+
signPauseRollupTx(
|
|
701
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
|
|
702
|
+
): Promise<GraphQLClient.Transaction>;
|
|
703
|
+
signResumeRollupTx(
|
|
704
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
|
|
564
705
|
): Promise<GraphQLClient.Transaction>;
|
|
565
|
-
signMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
566
|
-
signPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
567
|
-
signResumeRollupTx(param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
568
706
|
signRevokeDelegateTx(
|
|
569
|
-
param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx
|
|
707
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
|
|
708
|
+
): Promise<GraphQLClient.Transaction>;
|
|
709
|
+
signRevokeStakeTx(
|
|
710
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
|
|
711
|
+
): Promise<GraphQLClient.Transaction>;
|
|
712
|
+
signStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
713
|
+
signTransferTx(
|
|
714
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
|
|
715
|
+
): Promise<GraphQLClient.Transaction>;
|
|
716
|
+
signTransferV2Tx(
|
|
717
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
|
|
718
|
+
): Promise<GraphQLClient.Transaction>;
|
|
719
|
+
signTransferV3Tx(
|
|
720
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
|
|
721
|
+
): Promise<GraphQLClient.Transaction>;
|
|
722
|
+
signUpdateAssetTx(
|
|
723
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
|
|
724
|
+
): Promise<GraphQLClient.Transaction>;
|
|
725
|
+
signUpdateRollupTx(
|
|
726
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
|
|
727
|
+
): Promise<GraphQLClient.Transaction>;
|
|
728
|
+
signUpgradeNodeTx(
|
|
729
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
|
|
570
730
|
): Promise<GraphQLClient.Transaction>;
|
|
571
|
-
signRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.Transaction>;
|
|
572
|
-
signStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
|
|
573
|
-
signTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.Transaction>;
|
|
574
|
-
signTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.Transaction>;
|
|
575
|
-
signTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
|
|
576
|
-
signUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
577
|
-
signUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
578
|
-
signUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.Transaction>;
|
|
579
731
|
signWithdrawTokenV2Tx(
|
|
580
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
732
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
|
|
733
|
+
): Promise<GraphQLClient.Transaction>;
|
|
734
|
+
multiSignExchangeV2Tx(
|
|
735
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
|
|
736
|
+
): Promise<GraphQLClient.Transaction>;
|
|
737
|
+
multiSignTransferV3Tx(
|
|
738
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
|
|
581
739
|
): Promise<GraphQLClient.Transaction>;
|
|
582
|
-
multiSignExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
|
|
583
|
-
multiSignTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
|
|
584
740
|
multiSignAcquireAssetV3Tx(
|
|
585
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
741
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
|
|
742
|
+
): Promise<GraphQLClient.Transaction>;
|
|
743
|
+
multiSignStakeTx(
|
|
744
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
|
|
586
745
|
): Promise<GraphQLClient.Transaction>;
|
|
587
|
-
multiSignStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
|
|
588
746
|
multiSignUpdateRollupTx(
|
|
589
|
-
param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx
|
|
747
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
|
|
748
|
+
): Promise<GraphQLClient.Transaction>;
|
|
749
|
+
multiSignJoinRollupTx(
|
|
750
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
|
|
751
|
+
): Promise<GraphQLClient.Transaction>;
|
|
752
|
+
multiSignLeaveRollupTx(
|
|
753
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
|
|
754
|
+
): Promise<GraphQLClient.Transaction>;
|
|
755
|
+
multiSignPauseRollupTx(
|
|
756
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
|
|
590
757
|
): Promise<GraphQLClient.Transaction>;
|
|
591
|
-
multiSignJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
592
|
-
multiSignLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
593
|
-
multiSignPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
594
758
|
multiSignResumeRollupTx(
|
|
595
|
-
param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx
|
|
759
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
|
|
596
760
|
): Promise<GraphQLClient.Transaction>;
|
|
597
761
|
multiSignDepositTokenV2Tx(
|
|
598
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
762
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
|
|
599
763
|
): Promise<GraphQLClient.Transaction>;
|
|
600
764
|
multiSignWithdrawTokenV2Tx(
|
|
601
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
765
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
|
|
602
766
|
): Promise<GraphQLClient.Transaction>;
|
|
603
767
|
multiSignCreateRollupBlockTx(
|
|
604
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
768
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
|
|
605
769
|
): Promise<GraphQLClient.Transaction>;
|
|
606
770
|
multiSignClaimBlockRewardTx(
|
|
607
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
771
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
|
|
608
772
|
): Promise<GraphQLClient.Transaction>;
|
|
609
773
|
multiSignMigrateRollupContractTx(
|
|
610
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
774
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
|
|
611
775
|
): Promise<GraphQLClient.Transaction>;
|
|
612
776
|
multiSignMigrateRollupTokenTx(
|
|
613
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
777
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
|
|
778
|
+
): Promise<GraphQLClient.Transaction>;
|
|
779
|
+
multiSignCreateAssetTx(
|
|
780
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
614
781
|
): Promise<GraphQLClient.Transaction>;
|
|
615
|
-
multiSignCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
616
782
|
getAccountState(
|
|
617
783
|
params: GraphQLClient.GetAccountStateParams
|
|
618
784
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountState>;
|
|
@@ -702,31 +868,19 @@ declare namespace GraphQLClient {
|
|
|
702
868
|
}
|
|
703
869
|
|
|
704
870
|
export interface TxParam<T> {
|
|
705
|
-
tx:
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
delegator
|
|
717
|
-
signature
|
|
718
|
-
signatures: array;
|
|
719
|
-
itx: T;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export interface WalletObject {
|
|
723
|
-
publicKey: string;
|
|
724
|
-
secretKey: string;
|
|
725
|
-
type: GraphQLClient.WalletTypeObject;
|
|
726
|
-
sign(message: string): string;
|
|
727
|
-
verify(message: string, signature: string): boolean;
|
|
728
|
-
toJSON(): object;
|
|
729
|
-
toAddress(): string;
|
|
871
|
+
tx: {
|
|
872
|
+
nonce?: number;
|
|
873
|
+
from?: string;
|
|
874
|
+
pk?: string;
|
|
875
|
+
chainId?: string;
|
|
876
|
+
delegator?: string;
|
|
877
|
+
signature?: string;
|
|
878
|
+
signatures?: GraphQLClient.Multisig;
|
|
879
|
+
itx: T;
|
|
880
|
+
};
|
|
881
|
+
wallet: WalletObject;
|
|
882
|
+
delegator?: string;
|
|
883
|
+
signature?: string;
|
|
730
884
|
}
|
|
731
885
|
|
|
732
886
|
export interface WalletTypeObject {
|
|
@@ -1003,10 +1157,10 @@ declare namespace GraphQLClient {
|
|
|
1003
1157
|
context: GraphQLClient.StateContext;
|
|
1004
1158
|
issuer: string;
|
|
1005
1159
|
gasBalance: string;
|
|
1006
|
-
migratedTo: Array<
|
|
1007
|
-
migratedFrom: Array<
|
|
1160
|
+
migratedTo: Array<string>;
|
|
1161
|
+
migratedFrom: Array<string>;
|
|
1008
1162
|
numAssets: string;
|
|
1009
|
-
tokens: Array<
|
|
1163
|
+
tokens: Array<GraphQLClient.IndexedTokenInput>;
|
|
1010
1164
|
data: GraphQLClient.Any;
|
|
1011
1165
|
}
|
|
1012
1166
|
|
|
@@ -1020,8 +1174,8 @@ declare namespace GraphQLClient {
|
|
|
1020
1174
|
export interface AcquireAssetV2Tx {
|
|
1021
1175
|
factory: string;
|
|
1022
1176
|
address: string;
|
|
1023
|
-
assets: Array<
|
|
1024
|
-
variables: Array<
|
|
1177
|
+
assets: Array<string>;
|
|
1178
|
+
variables: Array<GraphQLClient.VariableInput>;
|
|
1025
1179
|
issuer: GraphQLClient.NFTIssuer;
|
|
1026
1180
|
data: GraphQLClient.Any;
|
|
1027
1181
|
}
|
|
@@ -1029,9 +1183,9 @@ declare namespace GraphQLClient {
|
|
|
1029
1183
|
export interface AcquireAssetV3Tx {
|
|
1030
1184
|
factory: string;
|
|
1031
1185
|
address: string;
|
|
1032
|
-
inputs: Array<
|
|
1186
|
+
inputs: Array<GraphQLClient.TransactionInput>;
|
|
1033
1187
|
owner: string;
|
|
1034
|
-
variables: Array<
|
|
1188
|
+
variables: Array<GraphQLClient.VariableInput>;
|
|
1035
1189
|
issuer: GraphQLClient.NFTIssuer;
|
|
1036
1190
|
data: GraphQLClient.Any;
|
|
1037
1191
|
}
|
|
@@ -1049,9 +1203,9 @@ declare namespace GraphQLClient {
|
|
|
1049
1203
|
|
|
1050
1204
|
export interface AssetFactoryInput {
|
|
1051
1205
|
value: string;
|
|
1052
|
-
tokens: Array<
|
|
1053
|
-
assets: Array<
|
|
1054
|
-
variables: Array<
|
|
1206
|
+
tokens: Array<GraphQLClient.TokenInput>;
|
|
1207
|
+
assets: Array<string>;
|
|
1208
|
+
variables: Array<GraphQLClient.VariableInput>;
|
|
1055
1209
|
}
|
|
1056
1210
|
|
|
1057
1211
|
export interface AssetFactoryState {
|
|
@@ -1061,14 +1215,14 @@ declare namespace GraphQLClient {
|
|
|
1061
1215
|
description: string;
|
|
1062
1216
|
settlement: string;
|
|
1063
1217
|
limit: number;
|
|
1064
|
-
trustedIssuers: Array<
|
|
1218
|
+
trustedIssuers: Array<string>;
|
|
1065
1219
|
input: GraphQLClient.IndexedFactoryInput;
|
|
1066
1220
|
output: GraphQLClient.CreateAssetTx;
|
|
1067
|
-
hooks: Array<
|
|
1221
|
+
hooks: Array<GraphQLClient.AssetFactoryHook>;
|
|
1068
1222
|
data: GraphQLClient.Any;
|
|
1069
1223
|
context: GraphQLClient.StateContext;
|
|
1070
1224
|
balance: string;
|
|
1071
|
-
tokens: Array<
|
|
1225
|
+
tokens: Array<GraphQLClient.IndexedTokenInput>;
|
|
1072
1226
|
numMinted: number;
|
|
1073
1227
|
display: GraphQLClient.NFTDisplay;
|
|
1074
1228
|
lastSettlement: string;
|
|
@@ -1086,7 +1240,7 @@ declare namespace GraphQLClient {
|
|
|
1086
1240
|
parent: string;
|
|
1087
1241
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
1088
1242
|
display: GraphQLClient.NFTDisplay;
|
|
1089
|
-
tags: Array<
|
|
1243
|
+
tags: Array<string>;
|
|
1090
1244
|
context: GraphQLClient.StateContext;
|
|
1091
1245
|
data: GraphQLClient.Any;
|
|
1092
1246
|
}
|
|
@@ -1102,11 +1256,11 @@ declare namespace GraphQLClient {
|
|
|
1102
1256
|
time: string;
|
|
1103
1257
|
appHash: string;
|
|
1104
1258
|
proposer: string;
|
|
1105
|
-
txs: Array<
|
|
1259
|
+
txs: Array<GraphQLClient.TransactionInfo>;
|
|
1106
1260
|
totalTxs: string;
|
|
1107
|
-
invalidTxs: Array<
|
|
1108
|
-
txsHashes: Array<
|
|
1109
|
-
invalidTxsHashes: Array<
|
|
1261
|
+
invalidTxs: Array<GraphQLClient.TransactionInfo>;
|
|
1262
|
+
txsHashes: Array<string>;
|
|
1263
|
+
invalidTxsHashes: Array<string>;
|
|
1110
1264
|
consensusHash: string;
|
|
1111
1265
|
dataHash: string;
|
|
1112
1266
|
evidenceHash: string;
|
|
@@ -1125,8 +1279,8 @@ declare namespace GraphQLClient {
|
|
|
1125
1279
|
appHash: string;
|
|
1126
1280
|
proposer: string;
|
|
1127
1281
|
totalTxs: string;
|
|
1128
|
-
txsHashes: Array<
|
|
1129
|
-
invalidTxsHashes: Array<
|
|
1282
|
+
txsHashes: Array<string>;
|
|
1283
|
+
invalidTxsHashes: Array<string>;
|
|
1130
1284
|
consensusHash: string;
|
|
1131
1285
|
dataHash: string;
|
|
1132
1286
|
evidenceHash: string;
|
|
@@ -1152,8 +1306,8 @@ declare namespace GraphQLClient {
|
|
|
1152
1306
|
votingPower: string;
|
|
1153
1307
|
totalTxs: string;
|
|
1154
1308
|
version: string;
|
|
1155
|
-
forgeAppsVersion: Array<
|
|
1156
|
-
supportedTxs: Array<
|
|
1309
|
+
forgeAppsVersion: Array<GraphQLClient.ChainInfo_ForgeAppsVersionEntry>;
|
|
1310
|
+
supportedTxs: Array<string>;
|
|
1157
1311
|
}
|
|
1158
1312
|
|
|
1159
1313
|
export interface ChainInfo_ForgeAppsVersionEntry {
|
|
@@ -1181,8 +1335,8 @@ declare namespace GraphQLClient {
|
|
|
1181
1335
|
maxGas: string;
|
|
1182
1336
|
maxValidators: number;
|
|
1183
1337
|
maxCandidates: number;
|
|
1184
|
-
pubKeyTypes: Array<
|
|
1185
|
-
validators: Array<
|
|
1338
|
+
pubKeyTypes: Array<string>;
|
|
1339
|
+
validators: Array<GraphQLClient.Validator>;
|
|
1186
1340
|
validatorChanged: boolean;
|
|
1187
1341
|
paramChanged: boolean;
|
|
1188
1342
|
}
|
|
@@ -1198,7 +1352,7 @@ declare namespace GraphQLClient {
|
|
|
1198
1352
|
issuer: string;
|
|
1199
1353
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
1200
1354
|
display: GraphQLClient.NFTDisplay;
|
|
1201
|
-
tags: Array<
|
|
1355
|
+
tags: Array<string>;
|
|
1202
1356
|
}
|
|
1203
1357
|
|
|
1204
1358
|
export interface CreateFactoryTx {
|
|
@@ -1206,10 +1360,10 @@ declare namespace GraphQLClient {
|
|
|
1206
1360
|
description: string;
|
|
1207
1361
|
settlement: string;
|
|
1208
1362
|
limit: number;
|
|
1209
|
-
trustedIssuers: Array<
|
|
1363
|
+
trustedIssuers: Array<string>;
|
|
1210
1364
|
input: GraphQLClient.AssetFactoryInput;
|
|
1211
1365
|
output: GraphQLClient.CreateAssetTx;
|
|
1212
|
-
hooks: Array<
|
|
1366
|
+
hooks: Array<GraphQLClient.AssetFactoryHook>;
|
|
1213
1367
|
address: string;
|
|
1214
1368
|
display: GraphQLClient.NFTDisplay;
|
|
1215
1369
|
data: GraphQLClient.Any;
|
|
@@ -1221,9 +1375,9 @@ declare namespace GraphQLClient {
|
|
|
1221
1375
|
merkleRoot: string;
|
|
1222
1376
|
previousHash: string;
|
|
1223
1377
|
txsHash: string;
|
|
1224
|
-
txs: Array<
|
|
1378
|
+
txs: Array<string>;
|
|
1225
1379
|
proposer: string;
|
|
1226
|
-
signatures: Array<
|
|
1380
|
+
signatures: Array<GraphQLClient.Multisig>;
|
|
1227
1381
|
rollup: string;
|
|
1228
1382
|
minReward: string;
|
|
1229
1383
|
data: GraphQLClient.Any;
|
|
@@ -1233,7 +1387,7 @@ declare namespace GraphQLClient {
|
|
|
1233
1387
|
address: string;
|
|
1234
1388
|
tokenAddress: string;
|
|
1235
1389
|
contractAddress: string;
|
|
1236
|
-
seedValidators: Array<
|
|
1390
|
+
seedValidators: Array<GraphQLClient.RollupValidator>;
|
|
1237
1391
|
minStakeAmount: string;
|
|
1238
1392
|
maxStakeAmount: string;
|
|
1239
1393
|
minSignerCount: number;
|
|
@@ -1285,12 +1439,12 @@ declare namespace GraphQLClient {
|
|
|
1285
1439
|
|
|
1286
1440
|
export interface DelegateConfig {
|
|
1287
1441
|
deltaInterval: number;
|
|
1288
|
-
typeUrls: Array<
|
|
1442
|
+
typeUrls: Array<string>;
|
|
1289
1443
|
}
|
|
1290
1444
|
|
|
1291
1445
|
export interface DelegateOp {
|
|
1292
1446
|
typeUrl: string;
|
|
1293
|
-
rules: Array<
|
|
1447
|
+
rules: Array<string>;
|
|
1294
1448
|
}
|
|
1295
1449
|
|
|
1296
1450
|
export interface DelegateOpState {
|
|
@@ -1303,7 +1457,7 @@ declare namespace GraphQLClient {
|
|
|
1303
1457
|
|
|
1304
1458
|
export interface DelegateState {
|
|
1305
1459
|
address: string;
|
|
1306
|
-
ops: Array<
|
|
1460
|
+
ops: Array<GraphQLClient.DelegateState_OpsEntry>;
|
|
1307
1461
|
context: GraphQLClient.StateContext;
|
|
1308
1462
|
data: GraphQLClient.Any;
|
|
1309
1463
|
}
|
|
@@ -1316,7 +1470,7 @@ declare namespace GraphQLClient {
|
|
|
1316
1470
|
export interface DelegateTx {
|
|
1317
1471
|
address: string;
|
|
1318
1472
|
to: string;
|
|
1319
|
-
ops: Array<
|
|
1473
|
+
ops: Array<GraphQLClient.DelegateOp>;
|
|
1320
1474
|
data: GraphQLClient.Any;
|
|
1321
1475
|
}
|
|
1322
1476
|
|
|
@@ -1342,13 +1496,13 @@ declare namespace GraphQLClient {
|
|
|
1342
1496
|
|
|
1343
1497
|
export interface ExchangeInfo {
|
|
1344
1498
|
value: string;
|
|
1345
|
-
assets: Array<
|
|
1499
|
+
assets: Array<string>;
|
|
1346
1500
|
}
|
|
1347
1501
|
|
|
1348
1502
|
export interface ExchangeInfoV2 {
|
|
1349
1503
|
value: string;
|
|
1350
|
-
assets: Array<
|
|
1351
|
-
tokens: Array<
|
|
1504
|
+
assets: Array<string>;
|
|
1505
|
+
tokens: Array<GraphQLClient.TokenInput>;
|
|
1352
1506
|
}
|
|
1353
1507
|
|
|
1354
1508
|
export interface ExchangeTx {
|
|
@@ -1378,12 +1532,12 @@ declare namespace GraphQLClient {
|
|
|
1378
1532
|
export interface ForgeState {
|
|
1379
1533
|
address: string;
|
|
1380
1534
|
consensus: GraphQLClient.ConsensusParams;
|
|
1381
|
-
tasks: Array<
|
|
1535
|
+
tasks: Array<GraphQLClient.ForgeState_TasksEntry>;
|
|
1382
1536
|
version: string;
|
|
1383
1537
|
token: GraphQLClient.ForgeToken;
|
|
1384
1538
|
txConfig: GraphQLClient.TransactionConfig;
|
|
1385
1539
|
upgradeInfo: GraphQLClient.UpgradeInfo;
|
|
1386
|
-
accountConfig: Array<
|
|
1540
|
+
accountConfig: Array<GraphQLClient.AccountConfig>;
|
|
1387
1541
|
data: GraphQLClient.Any;
|
|
1388
1542
|
}
|
|
1389
1543
|
|
|
@@ -1393,22 +1547,22 @@ declare namespace GraphQLClient {
|
|
|
1393
1547
|
}
|
|
1394
1548
|
|
|
1395
1549
|
export interface ForgeStats {
|
|
1396
|
-
numBlocks: Array<
|
|
1397
|
-
numTxs: Array<
|
|
1398
|
-
numStakes: Array<
|
|
1399
|
-
numValidators: Array<
|
|
1400
|
-
numAccountMigrateTxs: Array<
|
|
1401
|
-
numCreateAssetTxs: Array<
|
|
1402
|
-
numConsensusUpgradeTxs: Array<
|
|
1403
|
-
numDeclareTxs: Array<
|
|
1404
|
-
numDeclareFileTxs: Array<
|
|
1405
|
-
numExchangeTxs: Array<
|
|
1406
|
-
numStakeTxs: Array<
|
|
1407
|
-
numSysUpgradeTxs: Array<
|
|
1408
|
-
numTransferTxs: Array<
|
|
1409
|
-
numUpdateAssetTxs: Array<
|
|
1410
|
-
numConsumeAssetTxs: Array<
|
|
1411
|
-
tps: Array<
|
|
1550
|
+
numBlocks: Array<string>;
|
|
1551
|
+
numTxs: Array<string>;
|
|
1552
|
+
numStakes: Array<string>;
|
|
1553
|
+
numValidators: Array<number>;
|
|
1554
|
+
numAccountMigrateTxs: Array<string>;
|
|
1555
|
+
numCreateAssetTxs: Array<string>;
|
|
1556
|
+
numConsensusUpgradeTxs: Array<number>;
|
|
1557
|
+
numDeclareTxs: Array<string>;
|
|
1558
|
+
numDeclareFileTxs: Array<string>;
|
|
1559
|
+
numExchangeTxs: Array<string>;
|
|
1560
|
+
numStakeTxs: Array<string>;
|
|
1561
|
+
numSysUpgradeTxs: Array<number>;
|
|
1562
|
+
numTransferTxs: Array<string>;
|
|
1563
|
+
numUpdateAssetTxs: Array<string>;
|
|
1564
|
+
numConsumeAssetTxs: Array<string>;
|
|
1565
|
+
tps: Array<number>;
|
|
1412
1566
|
maxTps: number;
|
|
1413
1567
|
avgTps: number;
|
|
1414
1568
|
avgBlockTime: number;
|
|
@@ -1448,8 +1602,8 @@ declare namespace GraphQLClient {
|
|
|
1448
1602
|
totalReceivedStakes: string;
|
|
1449
1603
|
totalStakes: string;
|
|
1450
1604
|
totalUnstakes: string;
|
|
1451
|
-
recentNumTxs: Array<
|
|
1452
|
-
tokens: Array<
|
|
1605
|
+
recentNumTxs: Array<string>;
|
|
1606
|
+
tokens: Array<GraphQLClient.TokenInfo>;
|
|
1453
1607
|
}
|
|
1454
1608
|
|
|
1455
1609
|
export interface IndexedAssetState {
|
|
@@ -1466,7 +1620,7 @@ declare namespace GraphQLClient {
|
|
|
1466
1620
|
ttl: string;
|
|
1467
1621
|
display: GraphQLClient.NFTDisplay;
|
|
1468
1622
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
1469
|
-
tags: Array<
|
|
1623
|
+
tags: Array<string>;
|
|
1470
1624
|
data: GraphQLClient.Any;
|
|
1471
1625
|
}
|
|
1472
1626
|
|
|
@@ -1480,9 +1634,9 @@ declare namespace GraphQLClient {
|
|
|
1480
1634
|
|
|
1481
1635
|
export interface IndexedFactoryInput {
|
|
1482
1636
|
value: string;
|
|
1483
|
-
tokens: Array<
|
|
1484
|
-
assets: Array<
|
|
1485
|
-
variables: Array<
|
|
1637
|
+
tokens: Array<GraphQLClient.IndexedTokenInput>;
|
|
1638
|
+
assets: Array<string>;
|
|
1639
|
+
variables: Array<GraphQLClient.VariableInput>;
|
|
1486
1640
|
}
|
|
1487
1641
|
|
|
1488
1642
|
export interface IndexedFactoryState {
|
|
@@ -1492,13 +1646,13 @@ declare namespace GraphQLClient {
|
|
|
1492
1646
|
description: string;
|
|
1493
1647
|
settlement: string;
|
|
1494
1648
|
limit: string;
|
|
1495
|
-
trustedIssuers: Array<
|
|
1649
|
+
trustedIssuers: Array<string>;
|
|
1496
1650
|
input: GraphQLClient.IndexedFactoryInput;
|
|
1497
1651
|
output: GraphQLClient.CreateAssetTx;
|
|
1498
|
-
hooks: Array<
|
|
1652
|
+
hooks: Array<GraphQLClient.AssetFactoryHook>;
|
|
1499
1653
|
data: GraphQLClient.Any;
|
|
1500
1654
|
balance: string;
|
|
1501
|
-
tokens: Array<
|
|
1655
|
+
tokens: Array<GraphQLClient.TokenInfo>;
|
|
1502
1656
|
numMinted: number;
|
|
1503
1657
|
lastSettlement: string;
|
|
1504
1658
|
genesisTime: string;
|
|
@@ -1512,9 +1666,9 @@ declare namespace GraphQLClient {
|
|
|
1512
1666
|
merkleRoot: string;
|
|
1513
1667
|
previousHash: string;
|
|
1514
1668
|
txsHash: string;
|
|
1515
|
-
txs: Array<
|
|
1669
|
+
txs: Array<string>;
|
|
1516
1670
|
proposer: string;
|
|
1517
|
-
signatures: Array<
|
|
1671
|
+
signatures: Array<GraphQLClient.Multisig>;
|
|
1518
1672
|
genesisTime: string;
|
|
1519
1673
|
renaissanceTime: string;
|
|
1520
1674
|
rollup: string;
|
|
@@ -1529,8 +1683,8 @@ declare namespace GraphQLClient {
|
|
|
1529
1683
|
address: string;
|
|
1530
1684
|
tokenAddress: string;
|
|
1531
1685
|
contractAddress: string;
|
|
1532
|
-
seedValidators: Array<
|
|
1533
|
-
validators: Array<
|
|
1686
|
+
seedValidators: Array<GraphQLClient.RollupValidator>;
|
|
1687
|
+
validators: Array<GraphQLClient.RollupValidator>;
|
|
1534
1688
|
minStakeAmount: string;
|
|
1535
1689
|
maxStakeAmount: string;
|
|
1536
1690
|
minSignerCount: number;
|
|
@@ -1564,7 +1718,7 @@ declare namespace GraphQLClient {
|
|
|
1564
1718
|
publisherFeeShare: number;
|
|
1565
1719
|
publishWaitingPeriod: number;
|
|
1566
1720
|
publishSlashRate: number;
|
|
1567
|
-
migrateHistory: Array<
|
|
1721
|
+
migrateHistory: Array<string>;
|
|
1568
1722
|
data: GraphQLClient.Any;
|
|
1569
1723
|
}
|
|
1570
1724
|
|
|
@@ -1592,15 +1746,15 @@ declare namespace GraphQLClient {
|
|
|
1592
1746
|
address: string;
|
|
1593
1747
|
sender: string;
|
|
1594
1748
|
receiver: string;
|
|
1595
|
-
tokens: Array<
|
|
1596
|
-
assets: Array<
|
|
1749
|
+
tokens: Array<GraphQLClient.TokenInfo>;
|
|
1750
|
+
assets: Array<string>;
|
|
1597
1751
|
revocable: boolean;
|
|
1598
1752
|
genesisTime: string;
|
|
1599
1753
|
renaissanceTime: string;
|
|
1600
1754
|
message: string;
|
|
1601
1755
|
revokeWaitingPeriod: number;
|
|
1602
|
-
revokedTokens: Array<
|
|
1603
|
-
revokedAssets: Array<
|
|
1756
|
+
revokedTokens: Array<GraphQLClient.TokenInfo>;
|
|
1757
|
+
revokedAssets: Array<string>;
|
|
1604
1758
|
data: GraphQLClient.Any;
|
|
1605
1759
|
}
|
|
1606
1760
|
|
|
@@ -1637,15 +1791,15 @@ declare namespace GraphQLClient {
|
|
|
1637
1791
|
tx: GraphQLClient.Transaction;
|
|
1638
1792
|
valid: boolean;
|
|
1639
1793
|
code: string;
|
|
1640
|
-
tokenSymbols: Array<
|
|
1641
|
-
receipts: Array<
|
|
1794
|
+
tokenSymbols: Array<GraphQLClient.TokenSymbol>;
|
|
1795
|
+
receipts: Array<GraphQLClient.TransactionReceipt>;
|
|
1642
1796
|
}
|
|
1643
1797
|
|
|
1644
1798
|
export interface JoinRollupTx {
|
|
1645
1799
|
rollup: string;
|
|
1646
1800
|
endpoint: string;
|
|
1647
1801
|
evidence: GraphQLClient.Evidence;
|
|
1648
|
-
signatures: Array<
|
|
1802
|
+
signatures: Array<GraphQLClient.Multisig>;
|
|
1649
1803
|
data: GraphQLClient.Any;
|
|
1650
1804
|
}
|
|
1651
1805
|
|
|
@@ -1657,7 +1811,7 @@ declare namespace GraphQLClient {
|
|
|
1657
1811
|
export interface LeaveRollupTx {
|
|
1658
1812
|
rollup: string;
|
|
1659
1813
|
evidence: GraphQLClient.Evidence;
|
|
1660
|
-
signatures: Array<
|
|
1814
|
+
signatures: Array<GraphQLClient.Multisig>;
|
|
1661
1815
|
data: GraphQLClient.Any;
|
|
1662
1816
|
}
|
|
1663
1817
|
|
|
@@ -1678,8 +1832,8 @@ declare namespace GraphQLClient {
|
|
|
1678
1832
|
export interface MintAssetTx {
|
|
1679
1833
|
factory: string;
|
|
1680
1834
|
address: string;
|
|
1681
|
-
assets: Array<
|
|
1682
|
-
variables: Array<
|
|
1835
|
+
assets: Array<string>;
|
|
1836
|
+
variables: Array<GraphQLClient.VariableInput>;
|
|
1683
1837
|
owner: string;
|
|
1684
1838
|
data: GraphQLClient.Any;
|
|
1685
1839
|
}
|
|
@@ -1710,9 +1864,9 @@ declare namespace GraphQLClient {
|
|
|
1710
1864
|
|
|
1711
1865
|
export interface NetInfo {
|
|
1712
1866
|
listening: boolean;
|
|
1713
|
-
listeners: Array<
|
|
1867
|
+
listeners: Array<string>;
|
|
1714
1868
|
nPeers: number;
|
|
1715
|
-
peers: Array<
|
|
1869
|
+
peers: Array<GraphQLClient.PeerInfo>;
|
|
1716
1870
|
}
|
|
1717
1871
|
|
|
1718
1872
|
export interface NodeInfo {
|
|
@@ -1729,8 +1883,8 @@ declare namespace GraphQLClient {
|
|
|
1729
1883
|
votingPower: string;
|
|
1730
1884
|
totalTxs: string;
|
|
1731
1885
|
version: string;
|
|
1732
|
-
forgeAppsVersion: Array<
|
|
1733
|
-
supportedTxs: Array<
|
|
1886
|
+
forgeAppsVersion: Array<GraphQLClient.NodeInfo_ForgeAppsVersionEntry>;
|
|
1887
|
+
supportedTxs: Array<string>;
|
|
1734
1888
|
ip: string;
|
|
1735
1889
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1736
1890
|
p2pAddress: string;
|
|
@@ -1784,7 +1938,7 @@ declare namespace GraphQLClient {
|
|
|
1784
1938
|
|
|
1785
1939
|
export interface ResponseGetAccountTokens {
|
|
1786
1940
|
code: string;
|
|
1787
|
-
tokens: Array<
|
|
1941
|
+
tokens: Array<GraphQLClient.AccountToken>;
|
|
1788
1942
|
}
|
|
1789
1943
|
|
|
1790
1944
|
export interface ResponseGetAssetState {
|
|
@@ -1800,7 +1954,7 @@ declare namespace GraphQLClient {
|
|
|
1800
1954
|
export interface ResponseGetBlocks {
|
|
1801
1955
|
code: string;
|
|
1802
1956
|
page: GraphQLClient.PageInfo;
|
|
1803
|
-
blocks: Array<
|
|
1957
|
+
blocks: Array<GraphQLClient.BlockInfoSimple>;
|
|
1804
1958
|
}
|
|
1805
1959
|
|
|
1806
1960
|
export interface ResponseGetChainInfo {
|
|
@@ -1886,73 +2040,73 @@ declare namespace GraphQLClient {
|
|
|
1886
2040
|
export interface ResponseListAssetTransactions {
|
|
1887
2041
|
code: string;
|
|
1888
2042
|
page: GraphQLClient.PageInfo;
|
|
1889
|
-
transactions: Array<
|
|
2043
|
+
transactions: Array<GraphQLClient.IndexedTransaction>;
|
|
1890
2044
|
}
|
|
1891
2045
|
|
|
1892
2046
|
export interface ResponseListAssets {
|
|
1893
2047
|
code: string;
|
|
1894
2048
|
page: GraphQLClient.PageInfo;
|
|
1895
|
-
assets: Array<
|
|
2049
|
+
assets: Array<GraphQLClient.IndexedAssetState>;
|
|
1896
2050
|
}
|
|
1897
2051
|
|
|
1898
2052
|
export interface ResponseListBlocks {
|
|
1899
2053
|
code: string;
|
|
1900
2054
|
page: GraphQLClient.PageInfo;
|
|
1901
|
-
blocks: Array<
|
|
2055
|
+
blocks: Array<GraphQLClient.IndexedBlock>;
|
|
1902
2056
|
}
|
|
1903
2057
|
|
|
1904
2058
|
export interface ResponseListFactories {
|
|
1905
2059
|
code: string;
|
|
1906
2060
|
page: GraphQLClient.PageInfo;
|
|
1907
|
-
factories: Array<
|
|
2061
|
+
factories: Array<GraphQLClient.IndexedFactoryState>;
|
|
1908
2062
|
}
|
|
1909
2063
|
|
|
1910
2064
|
export interface ResponseListRollupBlocks {
|
|
1911
2065
|
code: string;
|
|
1912
2066
|
page: GraphQLClient.PageInfo;
|
|
1913
|
-
blocks: Array<
|
|
2067
|
+
blocks: Array<GraphQLClient.IndexedRollupBlock>;
|
|
1914
2068
|
}
|
|
1915
2069
|
|
|
1916
2070
|
export interface ResponseListRollupValidators {
|
|
1917
2071
|
code: string;
|
|
1918
2072
|
page: GraphQLClient.PageInfo;
|
|
1919
|
-
validators: Array<
|
|
2073
|
+
validators: Array<GraphQLClient.IndexedRollupValidator>;
|
|
1920
2074
|
}
|
|
1921
2075
|
|
|
1922
2076
|
export interface ResponseListRollups {
|
|
1923
2077
|
code: string;
|
|
1924
2078
|
page: GraphQLClient.PageInfo;
|
|
1925
|
-
rollups: Array<
|
|
2079
|
+
rollups: Array<GraphQLClient.IndexedRollupState>;
|
|
1926
2080
|
}
|
|
1927
2081
|
|
|
1928
2082
|
export interface ResponseListStakes {
|
|
1929
2083
|
code: string;
|
|
1930
2084
|
page: GraphQLClient.PageInfo;
|
|
1931
|
-
stakes: Array<
|
|
2085
|
+
stakes: Array<GraphQLClient.IndexedStakeState>;
|
|
1932
2086
|
}
|
|
1933
2087
|
|
|
1934
2088
|
export interface ResponseListTokens {
|
|
1935
2089
|
code: string;
|
|
1936
2090
|
page: GraphQLClient.PageInfo;
|
|
1937
|
-
tokens: Array<
|
|
2091
|
+
tokens: Array<GraphQLClient.IndexedTokenState>;
|
|
1938
2092
|
}
|
|
1939
2093
|
|
|
1940
2094
|
export interface ResponseListTopAccounts {
|
|
1941
2095
|
code: string;
|
|
1942
2096
|
page: GraphQLClient.PageInfo;
|
|
1943
|
-
accounts: Array<
|
|
2097
|
+
accounts: Array<GraphQLClient.IndexedAccountState>;
|
|
1944
2098
|
}
|
|
1945
2099
|
|
|
1946
2100
|
export interface ResponseListTransactions {
|
|
1947
2101
|
code: string;
|
|
1948
2102
|
page: GraphQLClient.PageInfo;
|
|
1949
|
-
transactions: Array<
|
|
2103
|
+
transactions: Array<GraphQLClient.IndexedTransaction>;
|
|
1950
2104
|
}
|
|
1951
2105
|
|
|
1952
2106
|
export interface ResponseSearch {
|
|
1953
2107
|
code: string;
|
|
1954
2108
|
page: GraphQLClient.PageInfo;
|
|
1955
|
-
results: Array<
|
|
2109
|
+
results: Array<GraphQLClient.SearchResult>;
|
|
1956
2110
|
}
|
|
1957
2111
|
|
|
1958
2112
|
export interface ResponseSendTx {
|
|
@@ -1968,13 +2122,13 @@ declare namespace GraphQLClient {
|
|
|
1968
2122
|
export interface RevokeDelegateTx {
|
|
1969
2123
|
address: string;
|
|
1970
2124
|
to: string;
|
|
1971
|
-
typeUrls: Array<
|
|
2125
|
+
typeUrls: Array<string>;
|
|
1972
2126
|
data: GraphQLClient.Any;
|
|
1973
2127
|
}
|
|
1974
2128
|
|
|
1975
2129
|
export interface RevokeStakeTx {
|
|
1976
2130
|
address: string;
|
|
1977
|
-
outputs: Array<
|
|
2131
|
+
outputs: Array<GraphQLClient.TransactionInput>;
|
|
1978
2132
|
data: GraphQLClient.Any;
|
|
1979
2133
|
}
|
|
1980
2134
|
|
|
@@ -1984,9 +2138,9 @@ declare namespace GraphQLClient {
|
|
|
1984
2138
|
merkleRoot: string;
|
|
1985
2139
|
previousHash: string;
|
|
1986
2140
|
txsHash: string;
|
|
1987
|
-
txs: Array<
|
|
2141
|
+
txs: Array<string>;
|
|
1988
2142
|
proposer: string;
|
|
1989
|
-
signatures: Array<
|
|
2143
|
+
signatures: Array<GraphQLClient.Multisig>;
|
|
1990
2144
|
rollup: string;
|
|
1991
2145
|
mintedAmount: string;
|
|
1992
2146
|
burnedAmount: string;
|
|
@@ -2000,8 +2154,8 @@ declare namespace GraphQLClient {
|
|
|
2000
2154
|
address: string;
|
|
2001
2155
|
tokenAddress: string;
|
|
2002
2156
|
contractAddress: string;
|
|
2003
|
-
seedValidators: Array<
|
|
2004
|
-
validators: Array<
|
|
2157
|
+
seedValidators: Array<GraphQLClient.RollupValidator>;
|
|
2158
|
+
validators: Array<GraphQLClient.RollupValidator>;
|
|
2005
2159
|
minStakeAmount: string;
|
|
2006
2160
|
maxStakeAmount: string;
|
|
2007
2161
|
minSignerCount: number;
|
|
@@ -2033,7 +2187,7 @@ declare namespace GraphQLClient {
|
|
|
2033
2187
|
leaveWaitingPeriod: number;
|
|
2034
2188
|
publishWaitingPeriod: number;
|
|
2035
2189
|
publishSlashRate: number;
|
|
2036
|
-
migrateHistory: Array<
|
|
2190
|
+
migrateHistory: Array<string>;
|
|
2037
2191
|
context: GraphQLClient.StateContext;
|
|
2038
2192
|
data: GraphQLClient.Any;
|
|
2039
2193
|
}
|
|
@@ -2053,13 +2207,13 @@ declare namespace GraphQLClient {
|
|
|
2053
2207
|
address: string;
|
|
2054
2208
|
sender: string;
|
|
2055
2209
|
receiver: string;
|
|
2056
|
-
tokens: Array<
|
|
2057
|
-
assets: Array<
|
|
2210
|
+
tokens: Array<GraphQLClient.IndexedTokenInput>;
|
|
2211
|
+
assets: Array<string>;
|
|
2058
2212
|
revocable: boolean;
|
|
2059
2213
|
message: string;
|
|
2060
2214
|
revokeWaitingPeriod: number;
|
|
2061
|
-
revokedTokens: Array<
|
|
2062
|
-
revokedAssets: Array<
|
|
2215
|
+
revokedTokens: Array<GraphQLClient.IndexedTokenInput>;
|
|
2216
|
+
revokedAssets: Array<string>;
|
|
2063
2217
|
context: GraphQLClient.StateContext;
|
|
2064
2218
|
data: GraphQLClient.Any;
|
|
2065
2219
|
}
|
|
@@ -2067,7 +2221,7 @@ declare namespace GraphQLClient {
|
|
|
2067
2221
|
export interface StakeTx {
|
|
2068
2222
|
address: string;
|
|
2069
2223
|
receiver: string;
|
|
2070
|
-
inputs: Array<
|
|
2224
|
+
inputs: Array<GraphQLClient.TransactionInput>;
|
|
2071
2225
|
locked: boolean;
|
|
2072
2226
|
message: string;
|
|
2073
2227
|
revokeWaitingPeriod: number;
|
|
@@ -2123,7 +2277,7 @@ declare namespace GraphQLClient {
|
|
|
2123
2277
|
chainId: string;
|
|
2124
2278
|
pk: string;
|
|
2125
2279
|
signature: string;
|
|
2126
|
-
signatures: Array<Multisig>;
|
|
2280
|
+
signatures: Array<GraphQLClient.Multisig>;
|
|
2127
2281
|
itxJson: undefined;
|
|
2128
2282
|
sender: string;
|
|
2129
2283
|
receiver: string;
|
|
@@ -2137,7 +2291,7 @@ declare namespace GraphQLClient {
|
|
|
2137
2291
|
maxListSize: number;
|
|
2138
2292
|
maxMultisig: number;
|
|
2139
2293
|
delegate: GraphQLClient.DelegateConfig;
|
|
2140
|
-
txFee: Array<
|
|
2294
|
+
txFee: Array<GraphQLClient.TxFeeConfig>;
|
|
2141
2295
|
txGas: GraphQLClient.TxGasConfig;
|
|
2142
2296
|
}
|
|
2143
2297
|
|
|
@@ -2146,44 +2300,44 @@ declare namespace GraphQLClient {
|
|
|
2146
2300
|
height: string;
|
|
2147
2301
|
index: number;
|
|
2148
2302
|
hash: string;
|
|
2149
|
-
tags: Array<
|
|
2303
|
+
tags: Array<GraphQLClient.KVPair>;
|
|
2150
2304
|
code: string;
|
|
2151
2305
|
time: string;
|
|
2152
|
-
receipts: Array<
|
|
2306
|
+
receipts: Array<GraphQLClient.TransactionReceipt>;
|
|
2153
2307
|
sender: string;
|
|
2154
2308
|
receiver: string;
|
|
2155
|
-
tokenSymbols: Array<
|
|
2309
|
+
tokenSymbols: Array<GraphQLClient.TokenSymbol>;
|
|
2156
2310
|
}
|
|
2157
2311
|
|
|
2158
2312
|
export interface TransactionInput {
|
|
2159
2313
|
owner: string;
|
|
2160
|
-
tokens: Array<
|
|
2161
|
-
assets: Array<
|
|
2314
|
+
tokens: Array<GraphQLClient.TokenInput>;
|
|
2315
|
+
assets: Array<string>;
|
|
2162
2316
|
}
|
|
2163
2317
|
|
|
2164
2318
|
export interface TransactionReceipt {
|
|
2165
2319
|
address: string;
|
|
2166
|
-
changes: Array<
|
|
2320
|
+
changes: Array<GraphQLClient.ReceiptChange>;
|
|
2167
2321
|
}
|
|
2168
2322
|
|
|
2169
2323
|
export interface TransferTx {
|
|
2170
2324
|
to: string;
|
|
2171
2325
|
value: string;
|
|
2172
|
-
assets: Array<
|
|
2326
|
+
assets: Array<string>;
|
|
2173
2327
|
data: GraphQLClient.Any;
|
|
2174
2328
|
}
|
|
2175
2329
|
|
|
2176
2330
|
export interface TransferV2Tx {
|
|
2177
2331
|
to: string;
|
|
2178
2332
|
value: string;
|
|
2179
|
-
assets: Array<
|
|
2180
|
-
tokens: Array<
|
|
2333
|
+
assets: Array<string>;
|
|
2334
|
+
tokens: Array<GraphQLClient.TokenInput>;
|
|
2181
2335
|
data: GraphQLClient.Any;
|
|
2182
2336
|
}
|
|
2183
2337
|
|
|
2184
2338
|
export interface TransferV3Tx {
|
|
2185
|
-
inputs: Array<
|
|
2186
|
-
outputs: Array<
|
|
2339
|
+
inputs: Array<GraphQLClient.TransactionInput>;
|
|
2340
|
+
outputs: Array<GraphQLClient.TransactionInput>;
|
|
2187
2341
|
data: GraphQLClient.Any;
|
|
2188
2342
|
}
|
|
2189
2343
|
|
|
@@ -2204,7 +2358,7 @@ declare namespace GraphQLClient {
|
|
|
2204
2358
|
|
|
2205
2359
|
export interface UnconfirmedTxs {
|
|
2206
2360
|
nTxs: number;
|
|
2207
|
-
txs: Array<
|
|
2361
|
+
txs: Array<GraphQLClient.Transaction>;
|
|
2208
2362
|
}
|
|
2209
2363
|
|
|
2210
2364
|
export interface UpdateAssetTx {
|
|
@@ -2255,11 +2409,11 @@ declare namespace GraphQLClient {
|
|
|
2255
2409
|
export interface UpgradeTask {
|
|
2256
2410
|
type: GraphQLClient.UpgradeType;
|
|
2257
2411
|
dataHash: string;
|
|
2258
|
-
actions: Array<
|
|
2412
|
+
actions: Array<GraphQLClient.UpgradeAction>;
|
|
2259
2413
|
}
|
|
2260
2414
|
|
|
2261
2415
|
export interface UpgradeTasks {
|
|
2262
|
-
item: Array<
|
|
2416
|
+
item: Array<GraphQLClient.UpgradeTask>;
|
|
2263
2417
|
}
|
|
2264
2418
|
|
|
2265
2419
|
export interface Validator {
|
|
@@ -2278,7 +2432,7 @@ declare namespace GraphQLClient {
|
|
|
2278
2432
|
|
|
2279
2433
|
export interface ValidatorsInfo {
|
|
2280
2434
|
blockHeight: string;
|
|
2281
|
-
validators: Array<
|
|
2435
|
+
validators: Array<GraphQLClient.ValidatorInfo>;
|
|
2282
2436
|
}
|
|
2283
2437
|
|
|
2284
2438
|
export interface VariableInput {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/sdk",
|
|
3
3
|
"description": "Forge javascript SDK packages all-in-one",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.8",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/did-util": "1.18.
|
|
22
|
-
"@ocap/client": "1.18.
|
|
23
|
-
"@ocap/message": "1.18.
|
|
24
|
-
"@ocap/util": "1.18.
|
|
25
|
-
"@ocap/wallet": "1.18.
|
|
21
|
+
"@arcblock/did-util": "1.18.8",
|
|
22
|
+
"@ocap/client": "1.18.8",
|
|
23
|
+
"@ocap/message": "1.18.8",
|
|
24
|
+
"@ocap/util": "1.18.8",
|
|
25
|
+
"@ocap/wallet": "1.18.8",
|
|
26
26
|
"buffer": "6.0.3",
|
|
27
27
|
"debug": "^4.3.4",
|
|
28
28
|
"react-app-polyfill": "^1.0.6",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"test": "jest --forceExit --detectOpenHandles",
|
|
83
83
|
"coverage": "yarn test -- --coverage"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "8482e912fdeb7b52529f0add5632c62fc202d825"
|
|
86
86
|
}
|