@dedot/chaintypes 0.132.0 → 0.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydration/consts.d.ts +20 -133
- package/hydration/errors.d.ts +37 -202
- package/hydration/events.d.ts +36 -158
- package/hydration/index.d.ts +1 -1
- package/hydration/query.d.ts +51 -143
- package/hydration/runtime.d.ts +25 -0
- package/hydration/tx.d.ts +292 -786
- package/hydration/types.d.ts +248 -669
- package/package.json +2 -2
- package/paseo-hydration/consts.d.ts +49 -133
- package/paseo-hydration/errors.d.ts +209 -212
- package/paseo-hydration/events.d.ts +141 -158
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +101 -143
- package/paseo-hydration/runtime.d.ts +25 -0
- package/paseo-hydration/tx.d.ts +596 -682
- package/paseo-hydration/types.d.ts +945 -683
package/hydration/consts.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Permill,
|
|
4
|
+
import type { RuntimeVersion, Permill, AccountId32, FixedBytes, Perbill, FixedU128, Percent } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
@@ -370,97 +370,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
370
370
|
**/
|
|
371
371
|
[name: string]: any;
|
|
372
372
|
};
|
|
373
|
-
/**
|
|
374
|
-
* Pallet `Elections`'s constants
|
|
375
|
-
**/
|
|
376
|
-
elections: {
|
|
377
|
-
/**
|
|
378
|
-
* Identifier for the elections-phragmen pallet's lock
|
|
379
|
-
**/
|
|
380
|
-
palletId: FixedBytes<8>;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* How much should be locked up in order to submit one's candidacy.
|
|
384
|
-
**/
|
|
385
|
-
candidacyBond: bigint;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Base deposit associated with voting.
|
|
389
|
-
*
|
|
390
|
-
* This should be sensibly high to economically ensure the pallet cannot be attacked by
|
|
391
|
-
* creating a gigantic number of votes.
|
|
392
|
-
**/
|
|
393
|
-
votingBondBase: bigint;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* The amount of bond that need to be locked for each vote (32 bytes).
|
|
397
|
-
**/
|
|
398
|
-
votingBondFactor: bigint;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Number of members to elect.
|
|
402
|
-
**/
|
|
403
|
-
desiredMembers: number;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Number of runners_up to keep.
|
|
407
|
-
**/
|
|
408
|
-
desiredRunnersUp: number;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* How long each seat is kept. This defines the next block number at which an election
|
|
412
|
-
* round will happen. If set to zero, no elections are ever triggered and the module will
|
|
413
|
-
* be in passive mode.
|
|
414
|
-
**/
|
|
415
|
-
termDuration: number;
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* The maximum number of candidates in a phragmen election.
|
|
419
|
-
*
|
|
420
|
-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
|
|
421
|
-
* consider how it will impact `T::WeightInfo::election_phragmen`.
|
|
422
|
-
*
|
|
423
|
-
* When this limit is reached no more candidates are accepted in the election.
|
|
424
|
-
**/
|
|
425
|
-
maxCandidates: number;
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* The maximum number of voters to allow in a phragmen election.
|
|
429
|
-
*
|
|
430
|
-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
|
|
431
|
-
* consider how it will impact `T::WeightInfo::election_phragmen`.
|
|
432
|
-
*
|
|
433
|
-
* When the limit is reached the new voters are ignored.
|
|
434
|
-
**/
|
|
435
|
-
maxVoters: number;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Maximum numbers of votes per voter.
|
|
439
|
-
*
|
|
440
|
-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
|
|
441
|
-
* consider how it will impact `T::WeightInfo::election_phragmen`.
|
|
442
|
-
**/
|
|
443
|
-
maxVotesPerVoter: number;
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Generic pallet constant
|
|
447
|
-
**/
|
|
448
|
-
[name: string]: any;
|
|
449
|
-
};
|
|
450
|
-
/**
|
|
451
|
-
* Pallet `Council`'s constants
|
|
452
|
-
**/
|
|
453
|
-
council: {
|
|
454
|
-
/**
|
|
455
|
-
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
456
|
-
**/
|
|
457
|
-
maxProposalWeight: SpWeightsWeightV2Weight;
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* Generic pallet constant
|
|
461
|
-
**/
|
|
462
|
-
[name: string]: any;
|
|
463
|
-
};
|
|
464
373
|
/**
|
|
465
374
|
* Pallet `TechnicalCommittee`'s constants
|
|
466
375
|
**/
|
|
@@ -475,47 +384,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
475
384
|
**/
|
|
476
385
|
[name: string]: any;
|
|
477
386
|
};
|
|
478
|
-
/**
|
|
479
|
-
* Pallet `Tips`'s constants
|
|
480
|
-
**/
|
|
481
|
-
tips: {
|
|
482
|
-
/**
|
|
483
|
-
* Maximum acceptable reason length.
|
|
484
|
-
*
|
|
485
|
-
* Benchmarks depend on this value, be sure to update weights file when changing this value
|
|
486
|
-
**/
|
|
487
|
-
maximumReasonLength: number;
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* The amount held on deposit per byte within the tip report reason or bounty description.
|
|
491
|
-
**/
|
|
492
|
-
dataDepositPerByte: bigint;
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* The period for which a tip remains open after is has achieved threshold tippers.
|
|
496
|
-
**/
|
|
497
|
-
tipCountdown: number;
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* The percent of the final tip which goes to the original reporter of the tip.
|
|
501
|
-
**/
|
|
502
|
-
tipFindersFee: Percent;
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* The non-zero amount held on deposit for placing a tip report.
|
|
506
|
-
**/
|
|
507
|
-
tipReportDepositBase: bigint;
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* The maximum amount for a single tip.
|
|
511
|
-
**/
|
|
512
|
-
maxTipAmount: bigint;
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* Generic pallet constant
|
|
516
|
-
**/
|
|
517
|
-
[name: string]: any;
|
|
518
|
-
};
|
|
519
387
|
/**
|
|
520
388
|
* Pallet `Proxy`'s constants
|
|
521
389
|
**/
|
|
@@ -1377,6 +1245,15 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1377
1245
|
**/
|
|
1378
1246
|
[name: string]: any;
|
|
1379
1247
|
};
|
|
1248
|
+
/**
|
|
1249
|
+
* Pallet `Parameters`'s constants
|
|
1250
|
+
**/
|
|
1251
|
+
parameters: {
|
|
1252
|
+
/**
|
|
1253
|
+
* Generic pallet constant
|
|
1254
|
+
**/
|
|
1255
|
+
[name: string]: any;
|
|
1256
|
+
};
|
|
1380
1257
|
/**
|
|
1381
1258
|
* Pallet `Tokens`'s constants
|
|
1382
1259
|
**/
|
|
@@ -1483,6 +1360,16 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1483
1360
|
**/
|
|
1484
1361
|
nftCollectionId: bigint;
|
|
1485
1362
|
|
|
1363
|
+
/**
|
|
1364
|
+
* Oracle source identifier for this pallet.
|
|
1365
|
+
**/
|
|
1366
|
+
oracleSource: FixedBytes<8>;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Oracle's liquidity aggregation period.
|
|
1370
|
+
**/
|
|
1371
|
+
oraclePeriod: HydradxTraitsOracleOraclePeriod;
|
|
1372
|
+
|
|
1486
1373
|
/**
|
|
1487
1374
|
* Generic pallet constant
|
|
1488
1375
|
**/
|
package/hydration/errors.d.ts
CHANGED
|
@@ -596,164 +596,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
596
596
|
**/
|
|
597
597
|
[error: string]: GenericPalletError<Rv>;
|
|
598
598
|
};
|
|
599
|
-
/**
|
|
600
|
-
* Pallet `Elections`'s errors
|
|
601
|
-
**/
|
|
602
|
-
elections: {
|
|
603
|
-
/**
|
|
604
|
-
* Cannot vote when no candidates or members exist.
|
|
605
|
-
**/
|
|
606
|
-
UnableToVote: GenericPalletError<Rv>;
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* Must vote for at least one candidate.
|
|
610
|
-
**/
|
|
611
|
-
NoVotes: GenericPalletError<Rv>;
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* Cannot vote more than candidates.
|
|
615
|
-
**/
|
|
616
|
-
TooManyVotes: GenericPalletError<Rv>;
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Cannot vote more than maximum allowed.
|
|
620
|
-
**/
|
|
621
|
-
MaximumVotesExceeded: GenericPalletError<Rv>;
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* Cannot vote with stake less than minimum balance.
|
|
625
|
-
**/
|
|
626
|
-
LowBalance: GenericPalletError<Rv>;
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Voter can not pay voting bond.
|
|
630
|
-
**/
|
|
631
|
-
UnableToPayBond: GenericPalletError<Rv>;
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* Must be a voter.
|
|
635
|
-
**/
|
|
636
|
-
MustBeVoter: GenericPalletError<Rv>;
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* Duplicated candidate submission.
|
|
640
|
-
**/
|
|
641
|
-
DuplicatedCandidate: GenericPalletError<Rv>;
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* Too many candidates have been created.
|
|
645
|
-
**/
|
|
646
|
-
TooManyCandidates: GenericPalletError<Rv>;
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* Member cannot re-submit candidacy.
|
|
650
|
-
**/
|
|
651
|
-
MemberSubmit: GenericPalletError<Rv>;
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* Runner cannot re-submit candidacy.
|
|
655
|
-
**/
|
|
656
|
-
RunnerUpSubmit: GenericPalletError<Rv>;
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* Candidate does not have enough funds.
|
|
660
|
-
**/
|
|
661
|
-
InsufficientCandidateFunds: GenericPalletError<Rv>;
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Not a member.
|
|
665
|
-
**/
|
|
666
|
-
NotMember: GenericPalletError<Rv>;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* The provided count of number of candidates is incorrect.
|
|
670
|
-
**/
|
|
671
|
-
InvalidWitnessData: GenericPalletError<Rv>;
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* The provided count of number of votes is incorrect.
|
|
675
|
-
**/
|
|
676
|
-
InvalidVoteCount: GenericPalletError<Rv>;
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* The renouncing origin presented a wrong `Renouncing` parameter.
|
|
680
|
-
**/
|
|
681
|
-
InvalidRenouncing: GenericPalletError<Rv>;
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* Prediction regarding replacement after member removal is wrong.
|
|
685
|
-
**/
|
|
686
|
-
InvalidReplacement: GenericPalletError<Rv>;
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Generic pallet error
|
|
690
|
-
**/
|
|
691
|
-
[error: string]: GenericPalletError<Rv>;
|
|
692
|
-
};
|
|
693
|
-
/**
|
|
694
|
-
* Pallet `Council`'s errors
|
|
695
|
-
**/
|
|
696
|
-
council: {
|
|
697
|
-
/**
|
|
698
|
-
* Account is not a member
|
|
699
|
-
**/
|
|
700
|
-
NotMember: GenericPalletError<Rv>;
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Duplicate proposals not allowed
|
|
704
|
-
**/
|
|
705
|
-
DuplicateProposal: GenericPalletError<Rv>;
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* Proposal must exist
|
|
709
|
-
**/
|
|
710
|
-
ProposalMissing: GenericPalletError<Rv>;
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Mismatched index
|
|
714
|
-
**/
|
|
715
|
-
WrongIndex: GenericPalletError<Rv>;
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Duplicate vote ignored
|
|
719
|
-
**/
|
|
720
|
-
DuplicateVote: GenericPalletError<Rv>;
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* Members are already initialized!
|
|
724
|
-
**/
|
|
725
|
-
AlreadyInitialized: GenericPalletError<Rv>;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* The close call was made too early, before the end of the voting.
|
|
729
|
-
**/
|
|
730
|
-
TooEarly: GenericPalletError<Rv>;
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* There can only be a maximum of `MaxProposals` active proposals.
|
|
734
|
-
**/
|
|
735
|
-
TooManyProposals: GenericPalletError<Rv>;
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* The given weight bound for the proposal was too low.
|
|
739
|
-
**/
|
|
740
|
-
WrongProposalWeight: GenericPalletError<Rv>;
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* The given length bound for the proposal was too low.
|
|
744
|
-
**/
|
|
745
|
-
WrongProposalLength: GenericPalletError<Rv>;
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Prime account is not a member
|
|
749
|
-
**/
|
|
750
|
-
PrimeAccountNotMember: GenericPalletError<Rv>;
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* Generic pallet error
|
|
754
|
-
**/
|
|
755
|
-
[error: string]: GenericPalletError<Rv>;
|
|
756
|
-
};
|
|
757
599
|
/**
|
|
758
600
|
* Pallet `TechnicalCommittee`'s errors
|
|
759
601
|
**/
|
|
@@ -818,50 +660,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
818
660
|
**/
|
|
819
661
|
[error: string]: GenericPalletError<Rv>;
|
|
820
662
|
};
|
|
821
|
-
/**
|
|
822
|
-
* Pallet `Tips`'s errors
|
|
823
|
-
**/
|
|
824
|
-
tips: {
|
|
825
|
-
/**
|
|
826
|
-
* The reason given is just too big.
|
|
827
|
-
**/
|
|
828
|
-
ReasonTooBig: GenericPalletError<Rv>;
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* The tip was already found/started.
|
|
832
|
-
**/
|
|
833
|
-
AlreadyKnown: GenericPalletError<Rv>;
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* The tip hash is unknown.
|
|
837
|
-
**/
|
|
838
|
-
UnknownTip: GenericPalletError<Rv>;
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* The tip given was too generous.
|
|
842
|
-
**/
|
|
843
|
-
MaxTipAmountExceeded: GenericPalletError<Rv>;
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* The account attempting to retract the tip is not the finder of the tip.
|
|
847
|
-
**/
|
|
848
|
-
NotFinder: GenericPalletError<Rv>;
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* The tip cannot be claimed/closed because there are not enough tippers yet.
|
|
852
|
-
**/
|
|
853
|
-
StillOpen: GenericPalletError<Rv>;
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* The tip cannot be claimed/closed because it's still in the countdown period.
|
|
857
|
-
**/
|
|
858
|
-
Premature: GenericPalletError<Rv>;
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* Generic pallet error
|
|
862
|
-
**/
|
|
863
|
-
[error: string]: GenericPalletError<Rv>;
|
|
864
|
-
};
|
|
865
663
|
/**
|
|
866
664
|
* Pallet `Proxy`'s errors
|
|
867
665
|
**/
|
|
@@ -1947,6 +1745,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1947
1745
|
**/
|
|
1948
1746
|
NotAllowed: GenericPalletError<Rv>;
|
|
1949
1747
|
|
|
1748
|
+
/**
|
|
1749
|
+
* Asset still in lockdown as it reached the allowed deposit limit for the period
|
|
1750
|
+
* Query the `asset_lockdown_state` storage to determine until which block the asset is locked,
|
|
1751
|
+
* so that the deposit can be released afterward.
|
|
1752
|
+
**/
|
|
1753
|
+
AssetInLockdown: GenericPalletError<Rv>;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Asset is not in a lockdown
|
|
1757
|
+
**/
|
|
1758
|
+
AssetNotInLockdown: GenericPalletError<Rv>;
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* Invalid amount to save deposit
|
|
1762
|
+
**/
|
|
1763
|
+
InvalidAmount: GenericPalletError<Rv>;
|
|
1764
|
+
|
|
1950
1765
|
/**
|
|
1951
1766
|
* Generic pallet error
|
|
1952
1767
|
**/
|
|
@@ -2015,6 +1830,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2015
1830
|
* Pallet `DynamicFees`'s errors
|
|
2016
1831
|
**/
|
|
2017
1832
|
dynamicFees: {
|
|
1833
|
+
/**
|
|
1834
|
+
* Invalid fee parameters provided
|
|
1835
|
+
**/
|
|
1836
|
+
InvalidFeeParameters: GenericPalletError<Rv>;
|
|
1837
|
+
|
|
2018
1838
|
/**
|
|
2019
1839
|
* Generic pallet error
|
|
2020
1840
|
**/
|
|
@@ -3171,6 +2991,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3171
2991
|
**/
|
|
3172
2992
|
NoFarmsSpecified: GenericPalletError<Rv>;
|
|
3173
2993
|
|
|
2994
|
+
/**
|
|
2995
|
+
* Failed to calculate value of xyk shares
|
|
2996
|
+
**/
|
|
2997
|
+
FailedToValueShares: GenericPalletError<Rv>;
|
|
2998
|
+
|
|
3174
2999
|
/**
|
|
3175
3000
|
* Generic pallet error
|
|
3176
3001
|
**/
|
|
@@ -3430,6 +3255,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3430
3255
|
**/
|
|
3431
3256
|
StabilityThresholdTooHigh: GenericPalletError<Rv>;
|
|
3432
3257
|
|
|
3258
|
+
/**
|
|
3259
|
+
* User still has active DCA schedules and cannot unlock reserves
|
|
3260
|
+
**/
|
|
3261
|
+
HasActiveSchedules: GenericPalletError<Rv>;
|
|
3262
|
+
|
|
3263
|
+
/**
|
|
3264
|
+
* No reserves are locked for the user for the given asset
|
|
3265
|
+
**/
|
|
3266
|
+
NoReservesLocked: GenericPalletError<Rv>;
|
|
3267
|
+
|
|
3433
3268
|
/**
|
|
3434
3269
|
* Generic pallet error
|
|
3435
3270
|
**/
|
package/hydration/events.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import type {
|
|
|
34
34
|
PalletClaimsEthereumAddress,
|
|
35
35
|
PalletOmnipoolTradability,
|
|
36
36
|
PalletLiquidityMiningLoyaltyCurve,
|
|
37
|
+
PalletDynamicFeesAssetFeeConfig,
|
|
37
38
|
NonZeroU16,
|
|
38
39
|
PalletStableswapPoolPegInfo,
|
|
39
40
|
HydradxTraitsStableswapAssetAmount,
|
|
@@ -756,130 +757,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
756
757
|
**/
|
|
757
758
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
758
759
|
};
|
|
759
|
-
/**
|
|
760
|
-
* Pallet `Elections`'s events
|
|
761
|
-
**/
|
|
762
|
-
elections: {
|
|
763
|
-
/**
|
|
764
|
-
* A new term with new_members. This indicates that enough candidates existed to run
|
|
765
|
-
* the election, not that enough have has been elected. The inner value must be examined
|
|
766
|
-
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
767
|
-
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
768
|
-
* begin with.
|
|
769
|
-
**/
|
|
770
|
-
NewTerm: GenericPalletEvent<Rv, 'Elections', 'NewTerm', { newMembers: Array<[AccountId32, bigint]> }>;
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* No (or not enough) candidates existed for this round. This is different from
|
|
774
|
-
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
775
|
-
**/
|
|
776
|
-
EmptyTerm: GenericPalletEvent<Rv, 'Elections', 'EmptyTerm', null>;
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* Internal error happened while trying to perform election.
|
|
780
|
-
**/
|
|
781
|
-
ElectionError: GenericPalletEvent<Rv, 'Elections', 'ElectionError', null>;
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
785
|
-
* `EmptyTerm`.
|
|
786
|
-
**/
|
|
787
|
-
MemberKicked: GenericPalletEvent<Rv, 'Elections', 'MemberKicked', { member: AccountId32 }>;
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
* Someone has renounced their candidacy.
|
|
791
|
-
**/
|
|
792
|
-
Renounced: GenericPalletEvent<Rv, 'Elections', 'Renounced', { candidate: AccountId32 }>;
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
796
|
-
* runner-up.
|
|
797
|
-
*
|
|
798
|
-
* Note that old members and runners-up are also candidates.
|
|
799
|
-
**/
|
|
800
|
-
CandidateSlashed: GenericPalletEvent<
|
|
801
|
-
Rv,
|
|
802
|
-
'Elections',
|
|
803
|
-
'CandidateSlashed',
|
|
804
|
-
{ candidate: AccountId32; amount: bigint }
|
|
805
|
-
>;
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
809
|
-
**/
|
|
810
|
-
SeatHolderSlashed: GenericPalletEvent<
|
|
811
|
-
Rv,
|
|
812
|
-
'Elections',
|
|
813
|
-
'SeatHolderSlashed',
|
|
814
|
-
{ seatHolder: AccountId32; amount: bigint }
|
|
815
|
-
>;
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
* Generic pallet event
|
|
819
|
-
**/
|
|
820
|
-
[prop: string]: GenericPalletEvent<Rv>;
|
|
821
|
-
};
|
|
822
|
-
/**
|
|
823
|
-
* Pallet `Council`'s events
|
|
824
|
-
**/
|
|
825
|
-
council: {
|
|
826
|
-
/**
|
|
827
|
-
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
828
|
-
* `MemberCount`).
|
|
829
|
-
**/
|
|
830
|
-
Proposed: GenericPalletEvent<
|
|
831
|
-
Rv,
|
|
832
|
-
'Council',
|
|
833
|
-
'Proposed',
|
|
834
|
-
{ account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
|
|
835
|
-
>;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* A motion (given hash) has been voted on by given account, leaving
|
|
839
|
-
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
840
|
-
**/
|
|
841
|
-
Voted: GenericPalletEvent<
|
|
842
|
-
Rv,
|
|
843
|
-
'Council',
|
|
844
|
-
'Voted',
|
|
845
|
-
{ account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
|
|
846
|
-
>;
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* A motion was approved by the required threshold.
|
|
850
|
-
**/
|
|
851
|
-
Approved: GenericPalletEvent<Rv, 'Council', 'Approved', { proposalHash: H256 }>;
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* A motion was not approved by the required threshold.
|
|
855
|
-
**/
|
|
856
|
-
Disapproved: GenericPalletEvent<Rv, 'Council', 'Disapproved', { proposalHash: H256 }>;
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* A motion was executed; result will be `Ok` if it returned without error.
|
|
860
|
-
**/
|
|
861
|
-
Executed: GenericPalletEvent<Rv, 'Council', 'Executed', { proposalHash: H256; result: Result<[], DispatchError> }>;
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* A single member did some action; result will be `Ok` if it returned without error.
|
|
865
|
-
**/
|
|
866
|
-
MemberExecuted: GenericPalletEvent<
|
|
867
|
-
Rv,
|
|
868
|
-
'Council',
|
|
869
|
-
'MemberExecuted',
|
|
870
|
-
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
871
|
-
>;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
875
|
-
**/
|
|
876
|
-
Closed: GenericPalletEvent<Rv, 'Council', 'Closed', { proposalHash: H256; yes: number; no: number }>;
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* Generic pallet event
|
|
880
|
-
**/
|
|
881
|
-
[prop: string]: GenericPalletEvent<Rv>;
|
|
882
|
-
};
|
|
883
760
|
/**
|
|
884
761
|
* Pallet `TechnicalCommittee`'s events
|
|
885
762
|
**/
|
|
@@ -946,40 +823,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
946
823
|
**/
|
|
947
824
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
948
825
|
};
|
|
949
|
-
/**
|
|
950
|
-
* Pallet `Tips`'s events
|
|
951
|
-
**/
|
|
952
|
-
tips: {
|
|
953
|
-
/**
|
|
954
|
-
* A new tip suggestion has been opened.
|
|
955
|
-
**/
|
|
956
|
-
NewTip: GenericPalletEvent<Rv, 'Tips', 'NewTip', { tipHash: H256 }>;
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
* A tip suggestion has reached threshold and is closing.
|
|
960
|
-
**/
|
|
961
|
-
TipClosing: GenericPalletEvent<Rv, 'Tips', 'TipClosing', { tipHash: H256 }>;
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* A tip suggestion has been closed.
|
|
965
|
-
**/
|
|
966
|
-
TipClosed: GenericPalletEvent<Rv, 'Tips', 'TipClosed', { tipHash: H256; who: AccountId32; payout: bigint }>;
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* A tip suggestion has been retracted.
|
|
970
|
-
**/
|
|
971
|
-
TipRetracted: GenericPalletEvent<Rv, 'Tips', 'TipRetracted', { tipHash: H256 }>;
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* A tip suggestion has been slashed.
|
|
975
|
-
**/
|
|
976
|
-
TipSlashed: GenericPalletEvent<Rv, 'Tips', 'TipSlashed', { tipHash: H256; finder: AccountId32; deposit: bigint }>;
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* Generic pallet event
|
|
980
|
-
**/
|
|
981
|
-
[prop: string]: GenericPalletEvent<Rv>;
|
|
982
|
-
};
|
|
983
826
|
/**
|
|
984
827
|
* Pallet `Proxy`'s events
|
|
985
828
|
**/
|
|
@@ -2378,6 +2221,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2378
2221
|
{ assetId: number; liquidityLimit?: [number, number] | undefined }
|
|
2379
2222
|
>;
|
|
2380
2223
|
|
|
2224
|
+
/**
|
|
2225
|
+
* Asset went to lockdown
|
|
2226
|
+
**/
|
|
2227
|
+
AssetLockdown: GenericPalletEvent<Rv, 'CircuitBreaker', 'AssetLockdown', { assetId: number; until: number }>;
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Asset lockdown was removed
|
|
2231
|
+
**/
|
|
2232
|
+
AssetLockdownRemoved: GenericPalletEvent<Rv, 'CircuitBreaker', 'AssetLockdownRemoved', { assetId: number }>;
|
|
2233
|
+
|
|
2234
|
+
/**
|
|
2235
|
+
* All reserved amount of deposit was released
|
|
2236
|
+
**/
|
|
2237
|
+
DepositReleased: GenericPalletEvent<Rv, 'CircuitBreaker', 'DepositReleased', { who: AccountId32; assetId: number }>;
|
|
2238
|
+
|
|
2381
2239
|
/**
|
|
2382
2240
|
* Generic pallet event
|
|
2383
2241
|
**/
|
|
@@ -2411,6 +2269,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2411
2269
|
* Pallet `DynamicFees`'s events
|
|
2412
2270
|
**/
|
|
2413
2271
|
dynamicFees: {
|
|
2272
|
+
/**
|
|
2273
|
+
* Asset fee configuration has been set
|
|
2274
|
+
**/
|
|
2275
|
+
AssetFeeConfigSet: GenericPalletEvent<
|
|
2276
|
+
Rv,
|
|
2277
|
+
'DynamicFees',
|
|
2278
|
+
'AssetFeeConfigSet',
|
|
2279
|
+
{ assetId: number; params: PalletDynamicFeesAssetFeeConfig }
|
|
2280
|
+
>;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* Asset fee configuration has been removed
|
|
2284
|
+
**/
|
|
2285
|
+
AssetFeeConfigRemoved: GenericPalletEvent<Rv, 'DynamicFees', 'AssetFeeConfigRemoved', { assetId: number }>;
|
|
2286
|
+
|
|
2414
2287
|
/**
|
|
2415
2288
|
* Generic pallet event
|
|
2416
2289
|
**/
|
|
@@ -3632,6 +3505,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3632
3505
|
{ block: number; error: DispatchError }
|
|
3633
3506
|
>;
|
|
3634
3507
|
|
|
3508
|
+
/**
|
|
3509
|
+
* DCA reserve for the given asset have been unlocked for a user
|
|
3510
|
+
**/
|
|
3511
|
+
ReserveUnlocked: GenericPalletEvent<Rv, 'DCA', 'ReserveUnlocked', { who: AccountId32; assetId: number }>;
|
|
3512
|
+
|
|
3635
3513
|
/**
|
|
3636
3514
|
* Generic pallet event
|
|
3637
3515
|
**/
|
package/hydration/index.d.ts
CHANGED