@webb-tools/tangle-substrate-types 0.5.4 → 0.5.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/build/interfaces/augment-api-consts.d.ts +147 -4
- package/build/interfaces/augment-api-errors.d.ts +403 -0
- package/build/interfaces/augment-api-events.d.ts +543 -2
- package/build/interfaces/augment-api-query.d.ts +159 -2
- package/build/interfaces/augment-api-tx.d.ts +745 -1
- package/build/interfaces/augment-types.d.ts +21 -2
- package/build/interfaces/lookup.d.ts +1470 -356
- package/build/interfaces/lookup.js +1464 -350
- package/build/interfaces/registry.d.ts +61 -1
- package/build/interfaces/types-lookup.d.ts +1592 -348
- package/build/metadata/static-latest.d.ts +1 -1
- package/build/metadata/static-latest.js +1 -1
- package/build/package.json +1 -1
- package/package.json +4 -4
- package/playground.ts +86 -0
- package/src/interfaces/augment-api-consts.ts +147 -11
- package/src/interfaces/augment-api-errors.ts +403 -0
- package/src/interfaces/augment-api-events.ts +321 -30
- package/src/interfaces/augment-api-query.ts +150 -87
- package/src/interfaces/augment-api-tx.ts +361 -54
- package/src/interfaces/augment-types.ts +21 -2
- package/src/interfaces/lookup.ts +1465 -351
- package/src/interfaces/registry.ts +61 -1
- package/src/interfaces/types-lookup.ts +1650 -348
- package/src/metadata/metadata.json +1 -1
- package/src/metadata/static-latest.ts +1 -1
- package/ts-types/playground.d.ts +1 -0
- package/ts-types/src/interfaces/augment-api-consts.d.ts +147 -4
- package/ts-types/src/interfaces/augment-api-errors.d.ts +403 -0
- package/ts-types/src/interfaces/augment-api-events.d.ts +543 -2
- package/ts-types/src/interfaces/augment-api-query.d.ts +159 -2
- package/ts-types/src/interfaces/augment-api-tx.d.ts +745 -1
- package/ts-types/src/interfaces/augment-types.d.ts +21 -2
- package/ts-types/src/interfaces/lookup.d.ts +1470 -356
- package/ts-types/src/interfaces/registry.d.ts +61 -1
- package/ts-types/src/interfaces/types-lookup.d.ts +1592 -348
- package/ts-types/src/metadata/static-latest.d.ts +1 -1
- package/ts-types/tsconfig.tsbuildinfo +1 -1
|
@@ -6,43 +6,118 @@
|
|
|
6
6
|
import '@polkadot/api-base/types/events';
|
|
7
7
|
|
|
8
8
|
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
9
|
-
import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
|
|
9
|
+
import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
10
10
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
11
11
|
import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
12
|
-
import {
|
|
13
|
-
EthereumLog,
|
|
14
|
-
EvmCoreErrorExitReason,
|
|
15
|
-
FrameSupportDispatchDispatchInfo,
|
|
16
|
-
FrameSupportTokensMiscBalanceStatus,
|
|
17
|
-
PalletAirdropClaimsUtilsMultiAddress,
|
|
18
|
-
PalletDemocracyMetadataOwner,
|
|
19
|
-
PalletDemocracyVoteAccountVote,
|
|
20
|
-
PalletDemocracyVoteThreshold,
|
|
21
|
-
PalletDkgFeeInfo,
|
|
22
|
-
PalletElectionProviderMultiPhaseElectionCompute,
|
|
23
|
-
PalletElectionProviderMultiPhasePhase,
|
|
24
|
-
PalletImOnlineSr25519AppSr25519Public,
|
|
25
|
-
PalletMultisigTimepoint,
|
|
26
|
-
PalletNominationPoolsCommissionChangeRate,
|
|
27
|
-
PalletNominationPoolsCommissionClaimPermission,
|
|
28
|
-
PalletNominationPoolsPoolState,
|
|
29
|
-
PalletStakingForcing,
|
|
30
|
-
PalletStakingRewardDestination,
|
|
31
|
-
PalletStakingValidatorPrefs,
|
|
32
|
-
PalletZksaasFeeInfo,
|
|
33
|
-
SpConsensusGrandpaAppPublic,
|
|
34
|
-
SpNposElectionsElectionScore,
|
|
35
|
-
SpRuntimeDispatchError,
|
|
36
|
-
SpStakingExposure,
|
|
37
|
-
TanglePrimitivesJobsJobInfo,
|
|
38
|
-
TanglePrimitivesJobsJobSubmission,
|
|
39
|
-
TanglePrimitivesRolesRoleType,
|
|
40
|
-
} from '@polkadot/types/lookup'
|
|
12
|
+
import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, StagingXcmV4AssetAssetId, SygmaTraitsTransferType, SygmaFeeHandlerRouterFeeHandlerType, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
|
|
41
13
|
|
|
42
14
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
43
15
|
|
|
44
16
|
declare module '@polkadot/api-base/types/events' {
|
|
45
17
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
18
|
+
assets: {
|
|
19
|
+
/**
|
|
20
|
+
* Accounts were destroyed for given asset.
|
|
21
|
+
**/
|
|
22
|
+
AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128, accountsDestroyed: u32, accountsRemaining: u32 }>;
|
|
23
|
+
/**
|
|
24
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
25
|
+
**/
|
|
26
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32], { assetId: u128, owner: AccountId32, delegate: AccountId32 }>;
|
|
27
|
+
/**
|
|
28
|
+
* Approvals were destroyed for given asset.
|
|
29
|
+
**/
|
|
30
|
+
ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32 }>;
|
|
31
|
+
/**
|
|
32
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
33
|
+
**/
|
|
34
|
+
ApprovedTransfer: AugmentedEvent<ApiType, [assetId: u128, source: AccountId32, delegate: AccountId32, amount: u128], { assetId: u128, source: AccountId32, delegate: AccountId32, amount: u128 }>;
|
|
35
|
+
/**
|
|
36
|
+
* Some asset `asset_id` was frozen.
|
|
37
|
+
**/
|
|
38
|
+
AssetFrozen: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
|
|
39
|
+
/**
|
|
40
|
+
* The min_balance of an asset has been updated by the asset owner.
|
|
41
|
+
**/
|
|
42
|
+
AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128, newMinBalance: u128 }>;
|
|
43
|
+
/**
|
|
44
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
45
|
+
**/
|
|
46
|
+
AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
|
|
47
|
+
/**
|
|
48
|
+
* Some asset `asset_id` was thawed.
|
|
49
|
+
**/
|
|
50
|
+
AssetThawed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
|
|
51
|
+
/**
|
|
52
|
+
* Some account `who` was blocked.
|
|
53
|
+
**/
|
|
54
|
+
Blocked: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], { assetId: u128, who: AccountId32 }>;
|
|
55
|
+
/**
|
|
56
|
+
* Some assets were destroyed.
|
|
57
|
+
**/
|
|
58
|
+
Burned: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, balance: u128], { assetId: u128, owner: AccountId32, balance: u128 }>;
|
|
59
|
+
/**
|
|
60
|
+
* Some asset class was created.
|
|
61
|
+
**/
|
|
62
|
+
Created: AugmentedEvent<ApiType, [assetId: u128, creator: AccountId32, owner: AccountId32], { assetId: u128, creator: AccountId32, owner: AccountId32 }>;
|
|
63
|
+
/**
|
|
64
|
+
* An asset class was destroyed.
|
|
65
|
+
**/
|
|
66
|
+
Destroyed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
|
|
67
|
+
/**
|
|
68
|
+
* An asset class is in the process of being destroyed.
|
|
69
|
+
**/
|
|
70
|
+
DestructionStarted: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
|
|
71
|
+
/**
|
|
72
|
+
* Some asset class was force-created.
|
|
73
|
+
**/
|
|
74
|
+
ForceCreated: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], { assetId: u128, owner: AccountId32 }>;
|
|
75
|
+
/**
|
|
76
|
+
* Some account `who` was frozen.
|
|
77
|
+
**/
|
|
78
|
+
Frozen: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], { assetId: u128, who: AccountId32 }>;
|
|
79
|
+
/**
|
|
80
|
+
* Some assets were issued.
|
|
81
|
+
**/
|
|
82
|
+
Issued: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, amount: u128], { assetId: u128, owner: AccountId32, amount: u128 }>;
|
|
83
|
+
/**
|
|
84
|
+
* Metadata has been cleared for an asset.
|
|
85
|
+
**/
|
|
86
|
+
MetadataCleared: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
|
|
87
|
+
/**
|
|
88
|
+
* New metadata has been set for an asset.
|
|
89
|
+
**/
|
|
90
|
+
MetadataSet: AugmentedEvent<ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128, name: Bytes, symbol: Bytes, decimals: u8, isFrozen: bool }>;
|
|
91
|
+
/**
|
|
92
|
+
* The owner changed.
|
|
93
|
+
**/
|
|
94
|
+
OwnerChanged: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], { assetId: u128, owner: AccountId32 }>;
|
|
95
|
+
/**
|
|
96
|
+
* The management team changed.
|
|
97
|
+
**/
|
|
98
|
+
TeamChanged: AugmentedEvent<ApiType, [assetId: u128, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], { assetId: u128, issuer: AccountId32, admin: AccountId32, freezer: AccountId32 }>;
|
|
99
|
+
/**
|
|
100
|
+
* Some account `who` was thawed.
|
|
101
|
+
**/
|
|
102
|
+
Thawed: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], { assetId: u128, who: AccountId32 }>;
|
|
103
|
+
/**
|
|
104
|
+
* Some account `who` was created with a deposit from `depositor`.
|
|
105
|
+
**/
|
|
106
|
+
Touched: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32, depositor: AccountId32], { assetId: u128, who: AccountId32, depositor: AccountId32 }>;
|
|
107
|
+
/**
|
|
108
|
+
* Some assets were transferred.
|
|
109
|
+
**/
|
|
110
|
+
Transferred: AugmentedEvent<ApiType, [assetId: u128, from: AccountId32, to: AccountId32, amount: u128], { assetId: u128, from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
111
|
+
/**
|
|
112
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
113
|
+
* the approved `delegate`.
|
|
114
|
+
**/
|
|
115
|
+
TransferredApproved: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u128, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
|
|
116
|
+
/**
|
|
117
|
+
* Generic event
|
|
118
|
+
**/
|
|
119
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
120
|
+
};
|
|
46
121
|
bagsList: {
|
|
47
122
|
/**
|
|
48
123
|
* Moved an account from one bag to another.
|
|
@@ -650,6 +725,96 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
650
725
|
**/
|
|
651
726
|
[key: string]: AugmentedEvent<ApiType>;
|
|
652
727
|
};
|
|
728
|
+
multiAssetDelegation: {
|
|
729
|
+
/**
|
|
730
|
+
* Event emitted when a blueprint is whitelisted for rewards
|
|
731
|
+
**/
|
|
732
|
+
BlueprintWhitelisted: AugmentedEvent<ApiType, [blueprintId: u32], { blueprintId: u32 }>;
|
|
733
|
+
/**
|
|
734
|
+
* A delegator bond less request has been cancelled.
|
|
735
|
+
**/
|
|
736
|
+
CancelledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
737
|
+
/**
|
|
738
|
+
* An unstake has been cancelled.
|
|
739
|
+
**/
|
|
740
|
+
CancelledUnstake: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
741
|
+
/**
|
|
742
|
+
* A delegation has been made.
|
|
743
|
+
**/
|
|
744
|
+
Delegated: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], { who: AccountId32, operator: AccountId32, amount: u128, assetId: u128 }>;
|
|
745
|
+
/**
|
|
746
|
+
* A deposit has been made.
|
|
747
|
+
**/
|
|
748
|
+
Deposited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], { who: AccountId32, amount: u128, assetId: Option<u128> }>;
|
|
749
|
+
/**
|
|
750
|
+
* A delegator bond less request has been executed.
|
|
751
|
+
**/
|
|
752
|
+
ExecutedDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
753
|
+
/**
|
|
754
|
+
* An unstake has been executed.
|
|
755
|
+
**/
|
|
756
|
+
ExecutedUnstake: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
757
|
+
/**
|
|
758
|
+
* Event emitted when an incentive APY and cap are set for an asset
|
|
759
|
+
**/
|
|
760
|
+
IncentiveAPYAndCapSet: AugmentedEvent<ApiType, [assetId: u128, apy: u128, cap: u128], { assetId: u128, apy: u128, cap: u128 }>;
|
|
761
|
+
/**
|
|
762
|
+
* An operator has cancelled their bond decrease request.
|
|
763
|
+
**/
|
|
764
|
+
OperatorBondLessCancelled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
765
|
+
/**
|
|
766
|
+
* An operator has executed their bond decrease.
|
|
767
|
+
**/
|
|
768
|
+
OperatorBondLessExecuted: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
769
|
+
/**
|
|
770
|
+
* An operator has scheduled to decrease their bond.
|
|
771
|
+
**/
|
|
772
|
+
OperatorBondLessScheduled: AugmentedEvent<ApiType, [who: AccountId32, bondLessAmount: u128], { who: AccountId32, bondLessAmount: u128 }>;
|
|
773
|
+
/**
|
|
774
|
+
* An operator has increased their bond.
|
|
775
|
+
**/
|
|
776
|
+
OperatorBondMore: AugmentedEvent<ApiType, [who: AccountId32, additionalBond: u128], { who: AccountId32, additionalBond: u128 }>;
|
|
777
|
+
/**
|
|
778
|
+
* An operator has joined.
|
|
779
|
+
**/
|
|
780
|
+
OperatorJoined: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
781
|
+
/**
|
|
782
|
+
* An operator has cancelled their leave request.
|
|
783
|
+
**/
|
|
784
|
+
OperatorLeaveCancelled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
785
|
+
/**
|
|
786
|
+
* An operator has executed their leave request.
|
|
787
|
+
**/
|
|
788
|
+
OperatorLeaveExecuted: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
789
|
+
/**
|
|
790
|
+
* An operator has scheduled to leave.
|
|
791
|
+
**/
|
|
792
|
+
OperatorLeavingScheduled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
793
|
+
/**
|
|
794
|
+
* An operator has gone offline.
|
|
795
|
+
**/
|
|
796
|
+
OperatorWentOffline: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
797
|
+
/**
|
|
798
|
+
* An operator has gone online.
|
|
799
|
+
**/
|
|
800
|
+
OperatorWentOnline: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
801
|
+
/**
|
|
802
|
+
* A delegator bond less request has been scheduled.
|
|
803
|
+
**/
|
|
804
|
+
ScheduledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], { who: AccountId32, operator: AccountId32, amount: u128, assetId: u128 }>;
|
|
805
|
+
/**
|
|
806
|
+
* An unstake has been scheduled.
|
|
807
|
+
**/
|
|
808
|
+
ScheduledUnstake: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], { who: AccountId32, amount: u128, assetId: Option<u128> }>;
|
|
809
|
+
/**
|
|
810
|
+
* New whitelisted assets set
|
|
811
|
+
**/
|
|
812
|
+
WhitelistedAssetsSet: AugmentedEvent<ApiType, [assets: Vec<u128>], { assets: Vec<u128> }>;
|
|
813
|
+
/**
|
|
814
|
+
* Generic event
|
|
815
|
+
**/
|
|
816
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
817
|
+
};
|
|
653
818
|
multisig: {
|
|
654
819
|
/**
|
|
655
820
|
* A multisig operation has been approved by someone.
|
|
@@ -798,6 +963,33 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
798
963
|
**/
|
|
799
964
|
[key: string]: AugmentedEvent<ApiType>;
|
|
800
965
|
};
|
|
966
|
+
proxy: {
|
|
967
|
+
/**
|
|
968
|
+
* An announcement was placed to make a call in the future.
|
|
969
|
+
**/
|
|
970
|
+
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
|
|
971
|
+
/**
|
|
972
|
+
* A proxy was added.
|
|
973
|
+
**/
|
|
974
|
+
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], { delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64 }>;
|
|
975
|
+
/**
|
|
976
|
+
* A proxy was executed correctly, with the given.
|
|
977
|
+
**/
|
|
978
|
+
ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
|
979
|
+
/**
|
|
980
|
+
* A proxy was removed.
|
|
981
|
+
**/
|
|
982
|
+
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], { delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64 }>;
|
|
983
|
+
/**
|
|
984
|
+
* A pure account has been created by new proxy with given
|
|
985
|
+
* disambiguation index and proxy type.
|
|
986
|
+
**/
|
|
987
|
+
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: TangleTestnetRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: TangleTestnetRuntimeProxyType, disambiguationIndex: u16 }>;
|
|
988
|
+
/**
|
|
989
|
+
* Generic event
|
|
990
|
+
**/
|
|
991
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
992
|
+
};
|
|
801
993
|
roles: {
|
|
802
994
|
/**
|
|
803
995
|
* The min restaking bond amount has been updated
|
|
@@ -992,6 +1184,105 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
992
1184
|
**/
|
|
993
1185
|
[key: string]: AugmentedEvent<ApiType>;
|
|
994
1186
|
};
|
|
1187
|
+
sygmaAccessSegregator: {
|
|
1188
|
+
/**
|
|
1189
|
+
* Extrinsic access grant to someone
|
|
1190
|
+
* args: [pallet_index, extrinsic_name, who]
|
|
1191
|
+
**/
|
|
1192
|
+
AccessGranted: AugmentedEvent<ApiType, [palletIndex: u8, extrinsicName: Bytes, who: AccountId32], { palletIndex: u8, extrinsicName: Bytes, who: AccountId32 }>;
|
|
1193
|
+
/**
|
|
1194
|
+
* Generic event
|
|
1195
|
+
**/
|
|
1196
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1197
|
+
};
|
|
1198
|
+
sygmaBasicFeeHandler: {
|
|
1199
|
+
/**
|
|
1200
|
+
* Fee set for a specific asset
|
|
1201
|
+
* args: [domain, asset, amount]
|
|
1202
|
+
**/
|
|
1203
|
+
FeeSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, amount: u128], { domain: u8, asset: StagingXcmV4AssetAssetId, amount: u128 }>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Generic event
|
|
1206
|
+
**/
|
|
1207
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1208
|
+
};
|
|
1209
|
+
sygmaBridge: {
|
|
1210
|
+
/**
|
|
1211
|
+
* When all bridges are paused
|
|
1212
|
+
**/
|
|
1213
|
+
AllBridgePaused: AugmentedEvent<ApiType, [sender: AccountId32], { sender: AccountId32 }>;
|
|
1214
|
+
/**
|
|
1215
|
+
* When all bridges are unpaused
|
|
1216
|
+
**/
|
|
1217
|
+
AllBridgeUnpaused: AugmentedEvent<ApiType, [sender: AccountId32], { sender: AccountId32 }>;
|
|
1218
|
+
/**
|
|
1219
|
+
* When bridge is paused
|
|
1220
|
+
* args: [dest_domain_id]
|
|
1221
|
+
**/
|
|
1222
|
+
BridgePaused: AugmentedEvent<ApiType, [destDomainId: u8], { destDomainId: u8 }>;
|
|
1223
|
+
/**
|
|
1224
|
+
* When bridge is unpaused
|
|
1225
|
+
* args: [dest_domain_id]
|
|
1226
|
+
**/
|
|
1227
|
+
BridgeUnpaused: AugmentedEvent<ApiType, [destDomainId: u8], { destDomainId: u8 }>;
|
|
1228
|
+
/**
|
|
1229
|
+
* When initial bridge transfer send to dest domain
|
|
1230
|
+
* args: [dest_domain_id, resource_id, deposit_nonce, sender, transfer_type,
|
|
1231
|
+
* deposit_data, handler_response, ]
|
|
1232
|
+
**/
|
|
1233
|
+
Deposit: AugmentedEvent<ApiType, [destDomainId: u8, resourceId: U8aFixed, depositNonce: u64, sender: AccountId32, transferType: SygmaTraitsTransferType, depositData: Bytes, handlerResponse: Bytes], { destDomainId: u8, resourceId: U8aFixed, depositNonce: u64, sender: AccountId32, transferType: SygmaTraitsTransferType, depositData: Bytes, handlerResponse: Bytes }>;
|
|
1234
|
+
/**
|
|
1235
|
+
* When proposal was faild to execute
|
|
1236
|
+
**/
|
|
1237
|
+
FailedHandlerExecution: AugmentedEvent<ApiType, [error: Bytes, originDomainId: u8, depositNonce: u64], { error: Bytes, originDomainId: u8, depositNonce: u64 }>;
|
|
1238
|
+
/**
|
|
1239
|
+
* When bridge fee is collected
|
|
1240
|
+
**/
|
|
1241
|
+
FeeCollected: AugmentedEvent<ApiType, [feePayer: AccountId32, destDomainId: u8, resourceId: U8aFixed, feeAmount: u128, feeAssetId: StagingXcmV4AssetAssetId], { feePayer: AccountId32, destDomainId: u8, resourceId: U8aFixed, feeAmount: u128, feeAssetId: StagingXcmV4AssetAssetId }>;
|
|
1242
|
+
/**
|
|
1243
|
+
* When proposal was executed successfully
|
|
1244
|
+
**/
|
|
1245
|
+
ProposalExecution: AugmentedEvent<ApiType, [originDomainId: u8, depositNonce: u64, dataHash: U8aFixed], { originDomainId: u8, depositNonce: u64, dataHash: U8aFixed }>;
|
|
1246
|
+
/**
|
|
1247
|
+
* When registering a new dest domainID with its corresponding chainID
|
|
1248
|
+
**/
|
|
1249
|
+
RegisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], { sender: AccountId32, domainId: u8, chainId: U256 }>;
|
|
1250
|
+
/**
|
|
1251
|
+
* When user is going to retry a bridge transfer
|
|
1252
|
+
* args: [deposit_on_block_height, dest_domain_id, sender]
|
|
1253
|
+
**/
|
|
1254
|
+
Retry: AugmentedEvent<ApiType, [depositOnBlockHeight: u128, destDomainId: u8, sender: AccountId32], { depositOnBlockHeight: u128, destDomainId: u8, sender: AccountId32 }>;
|
|
1255
|
+
/**
|
|
1256
|
+
* When unregistering a dest domainID with its corresponding chainID
|
|
1257
|
+
**/
|
|
1258
|
+
UnregisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], { sender: AccountId32, domainId: u8, chainId: U256 }>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Generic event
|
|
1261
|
+
**/
|
|
1262
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1263
|
+
};
|
|
1264
|
+
sygmaFeeHandlerRouter: {
|
|
1265
|
+
/**
|
|
1266
|
+
* When fee handler was set for a specific (domain, asset) pair
|
|
1267
|
+
* args: [dest_domain_id, asset_id, handler_type]
|
|
1268
|
+
**/
|
|
1269
|
+
FeeHandlerSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, handlerType: SygmaFeeHandlerRouterFeeHandlerType], { domain: u8, asset: StagingXcmV4AssetAssetId, handlerType: SygmaFeeHandlerRouterFeeHandlerType }>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Generic event
|
|
1272
|
+
**/
|
|
1273
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1274
|
+
};
|
|
1275
|
+
sygmaPercentageFeeHandler: {
|
|
1276
|
+
/**
|
|
1277
|
+
* Fee set rate for a specific asset and domain
|
|
1278
|
+
* args: [domain, asset, rate_basis_point, fee_lower_bound, fee_upper_bound]
|
|
1279
|
+
**/
|
|
1280
|
+
FeeRateSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, rateBasisPoint: u32, feeLowerBound: u128, feeUpperBound: u128], { domain: u8, asset: StagingXcmV4AssetAssetId, rateBasisPoint: u32, feeLowerBound: u128, feeUpperBound: u128 }>;
|
|
1281
|
+
/**
|
|
1282
|
+
* Generic event
|
|
1283
|
+
**/
|
|
1284
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1285
|
+
};
|
|
995
1286
|
system: {
|
|
996
1287
|
/**
|
|
997
1288
|
* `:code` was updated.
|
|
@@ -7,102 +7,41 @@ import '@polkadot/api-base/types/storage';
|
|
|
7
7
|
|
|
8
8
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
9
9
|
import type { Data } from '@polkadot/types';
|
|
10
|
-
import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
|
|
10
|
+
import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
|
11
11
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
12
12
|
import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
13
13
|
import type { Observable } from '@polkadot/types/types';
|
|
14
|
-
import {
|
|
15
|
-
EthereumBlock,
|
|
16
|
-
EthereumReceiptReceiptV3,
|
|
17
|
-
EthereumTransactionTransactionV2,
|
|
18
|
-
FpRpcTransactionStatus,
|
|
19
|
-
FrameSupportDispatchPerDispatchClassWeight,
|
|
20
|
-
FrameSupportPreimagesBounded,
|
|
21
|
-
FrameSystemAccountInfo,
|
|
22
|
-
FrameSystemCodeUpgradeAuthorization,
|
|
23
|
-
FrameSystemEventRecord,
|
|
24
|
-
FrameSystemLastRuntimeUpgradeInfo,
|
|
25
|
-
FrameSystemPhase,
|
|
26
|
-
PalletAirdropClaimsStatementKind,
|
|
27
|
-
PalletAirdropClaimsUtilsMultiAddress,
|
|
28
|
-
PalletBagsListListBag,
|
|
29
|
-
PalletBagsListListNode,
|
|
30
|
-
PalletBalancesAccountData,
|
|
31
|
-
PalletBalancesBalanceLock,
|
|
32
|
-
PalletBalancesIdAmountRuntimeFreezeReason,
|
|
33
|
-
PalletBalancesIdAmountRuntimeHoldReason,
|
|
34
|
-
PalletBalancesReserveData,
|
|
35
|
-
PalletBountiesBounty,
|
|
36
|
-
PalletChildBountiesChildBounty,
|
|
37
|
-
PalletCollectiveVotes,
|
|
38
|
-
PalletDemocracyMetadataOwner,
|
|
39
|
-
PalletDemocracyReferendumInfo,
|
|
40
|
-
PalletDemocracyVoteThreshold,
|
|
41
|
-
PalletDemocracyVoteVoting,
|
|
42
|
-
PalletDkgFeeInfo,
|
|
43
|
-
PalletElectionProviderMultiPhasePhase,
|
|
44
|
-
PalletElectionProviderMultiPhaseReadySolution,
|
|
45
|
-
PalletElectionProviderMultiPhaseRoundSnapshot,
|
|
46
|
-
PalletElectionProviderMultiPhaseSignedSignedSubmission,
|
|
47
|
-
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
48
|
-
PalletElectionsPhragmenSeatHolder,
|
|
49
|
-
PalletElectionsPhragmenVoter,
|
|
50
|
-
PalletEvmCodeMetadata,
|
|
51
|
-
PalletGrandpaStoredPendingChange,
|
|
52
|
-
PalletGrandpaStoredState,
|
|
53
|
-
PalletIdentityAuthorityProperties,
|
|
54
|
-
PalletIdentityRegistrarInfo,
|
|
55
|
-
PalletIdentityRegistration,
|
|
56
|
-
PalletImOnlineSr25519AppSr25519Public,
|
|
57
|
-
PalletMultisigMultisig,
|
|
58
|
-
PalletNominationPoolsBondedPoolInner,
|
|
59
|
-
PalletNominationPoolsClaimPermission,
|
|
60
|
-
PalletNominationPoolsPoolMember,
|
|
61
|
-
PalletNominationPoolsRewardPool,
|
|
62
|
-
PalletNominationPoolsSubPools,
|
|
63
|
-
PalletPreimageOldRequestStatus,
|
|
64
|
-
PalletPreimageRequestStatus,
|
|
65
|
-
PalletRolesRestakingLedger,
|
|
66
|
-
PalletSchedulerScheduled,
|
|
67
|
-
PalletStakingActiveEraInfo,
|
|
68
|
-
PalletStakingEraRewardPoints,
|
|
69
|
-
PalletStakingForcing,
|
|
70
|
-
PalletStakingNominations,
|
|
71
|
-
PalletStakingRewardDestination,
|
|
72
|
-
PalletStakingSlashingSlashingSpans,
|
|
73
|
-
PalletStakingSlashingSpanRecord,
|
|
74
|
-
PalletStakingStakingLedger,
|
|
75
|
-
PalletStakingUnappliedSlash,
|
|
76
|
-
PalletStakingValidatorPrefs,
|
|
77
|
-
PalletTransactionPaymentReleases,
|
|
78
|
-
PalletTreasuryProposal,
|
|
79
|
-
PalletTreasurySpendStatus,
|
|
80
|
-
PalletVestingReleases,
|
|
81
|
-
PalletVestingVestingInfo,
|
|
82
|
-
PalletZksaasFeeInfo,
|
|
83
|
-
SpConsensusBabeAppPublic,
|
|
84
|
-
SpConsensusBabeBabeEpochConfiguration,
|
|
85
|
-
SpConsensusBabeDigestsNextConfigDescriptor,
|
|
86
|
-
SpConsensusBabeDigestsPreDigest,
|
|
87
|
-
SpConsensusGrandpaAppPublic,
|
|
88
|
-
SpCoreCryptoKeyTypeId,
|
|
89
|
-
SpNposElectionsElectionScore,
|
|
90
|
-
SpRuntimeDigest,
|
|
91
|
-
SpStakingExposure,
|
|
92
|
-
SpStakingExposurePage,
|
|
93
|
-
SpStakingOffenceOffenceDetails,
|
|
94
|
-
SpStakingPagedExposureMetadata,
|
|
95
|
-
TanglePrimitivesJobsJobInfo,
|
|
96
|
-
TanglePrimitivesJobsPhaseResult,
|
|
97
|
-
TanglePrimitivesRolesRoleType,
|
|
98
|
-
TangleTestnetRuntimeOpaqueSessionKeys,
|
|
99
|
-
} from '@polkadot/types/lookup'
|
|
14
|
+
import { PalletAssetsAssetAccount, PalletAssetsApproval, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsPreDigest, SpConsensusBabeDigestsNextConfigDescriptor, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsStatementKind, PalletCollectiveVotes, PalletDemocracyMetadataOwner, FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold, PalletDemocracyReferendumInfo, PalletDemocracyVoteVoting, PalletDkgFeeInfo, PalletElectionProviderMultiPhasePhase, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, EthereumBlock, EthereumReceiptReceiptV3, FpRpcTransactionStatus, EthereumTransactionTransactionV2, PalletEvmCodeMetadata, SpConsensusGrandpaAppPublic, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistration, PalletIdentityRegistrarInfo, PalletIdentityAuthorityProperties, PalletImOnlineSr25519AppSr25519Public, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsPhaseResult, TanglePrimitivesJobsJobInfo, PalletMultiAssetDelegationOperatorOperatorSnapshot, PalletMultiAssetDelegationDelegatorDelegatorMetadata, PalletMultiAssetDelegationOperatorOperatorMetadata, PalletMultiAssetDelegationRewardsRewardConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, SpStakingOffenceOffenceDetails, PalletPreimageRequestStatus, PalletPreimageOldRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletRolesRestakingLedger, PalletSchedulerScheduled, SpCoreCryptoKeyTypeId, TangleTestnetRuntimeOpaqueSessionKeys, SpStakingExposure, SpStakingPagedExposureMetadata, SpStakingExposurePage, PalletStakingValidatorPrefs, PalletStakingForcing, PalletStakingStakingLedger, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingUnappliedSlash, StagingXcmV4AssetAssetId, SygmaFeeHandlerRouterFeeHandlerType, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, FrameSystemLastRuntimeUpgradeInfo, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
|
|
100
15
|
|
|
101
16
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
102
17
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
103
18
|
|
|
104
19
|
declare module '@polkadot/api-base/types/storage' {
|
|
105
20
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
21
|
+
assets: {
|
|
22
|
+
/**
|
|
23
|
+
* The holdings of a specific account for a specific asset.
|
|
24
|
+
**/
|
|
25
|
+
account: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u128, AccountId32]> & QueryableStorageEntry<ApiType, [u128, AccountId32]>;
|
|
26
|
+
/**
|
|
27
|
+
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
|
28
|
+
* is the amount of `T::Currency` reserved for storing this.
|
|
29
|
+
* First key is the asset ID, second key is the owner and third key is the delegate.
|
|
30
|
+
**/
|
|
31
|
+
approvals: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u128, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u128, AccountId32, AccountId32]>;
|
|
32
|
+
/**
|
|
33
|
+
* Details of an asset.
|
|
34
|
+
**/
|
|
35
|
+
asset: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u128]> & QueryableStorageEntry<ApiType, [u128]>;
|
|
36
|
+
/**
|
|
37
|
+
* Metadata of an asset.
|
|
38
|
+
**/
|
|
39
|
+
metadata: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u128]> & QueryableStorageEntry<ApiType, [u128]>;
|
|
40
|
+
/**
|
|
41
|
+
* Generic query
|
|
42
|
+
**/
|
|
43
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
44
|
+
};
|
|
106
45
|
authorship: {
|
|
107
46
|
/**
|
|
108
47
|
* Author of current block.
|
|
@@ -839,6 +778,36 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
839
778
|
**/
|
|
840
779
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
841
780
|
};
|
|
781
|
+
multiAssetDelegation: {
|
|
782
|
+
/**
|
|
783
|
+
* Snapshot of collator delegation stake at the start of the round.
|
|
784
|
+
**/
|
|
785
|
+
atStake: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorSnapshot>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
786
|
+
/**
|
|
787
|
+
* Storage for the current round.
|
|
788
|
+
**/
|
|
789
|
+
currentRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
790
|
+
/**
|
|
791
|
+
* Storage for delegator information.
|
|
792
|
+
**/
|
|
793
|
+
delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationDelegatorDelegatorMetadata>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
794
|
+
/**
|
|
795
|
+
* Storage for operator information.
|
|
796
|
+
**/
|
|
797
|
+
operators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorMetadata>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
798
|
+
/**
|
|
799
|
+
* Storage for the reward configuration, which includes APY, cap for assets, and whitelisted blueprints.
|
|
800
|
+
**/
|
|
801
|
+
rewardConfigStorage: AugmentedQuery<ApiType, () => Observable<Option<PalletMultiAssetDelegationRewardsRewardConfig>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
802
|
+
/**
|
|
803
|
+
* Whitelisted assets that are allowed to be deposited
|
|
804
|
+
**/
|
|
805
|
+
whitelistedAssets: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
806
|
+
/**
|
|
807
|
+
* Generic query
|
|
808
|
+
**/
|
|
809
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
810
|
+
};
|
|
842
811
|
multisig: {
|
|
843
812
|
/**
|
|
844
813
|
* The set of open multisig operations.
|
|
@@ -990,6 +959,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
990
959
|
**/
|
|
991
960
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
992
961
|
};
|
|
962
|
+
proxy: {
|
|
963
|
+
/**
|
|
964
|
+
* The announcements made by the proxy (key).
|
|
965
|
+
**/
|
|
966
|
+
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
967
|
+
/**
|
|
968
|
+
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
969
|
+
* which are being delegated to, together with the amount held on deposit.
|
|
970
|
+
**/
|
|
971
|
+
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
972
|
+
/**
|
|
973
|
+
* Generic query
|
|
974
|
+
**/
|
|
975
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
976
|
+
};
|
|
993
977
|
randomnessCollectiveFlip: {
|
|
994
978
|
/**
|
|
995
979
|
* Series of block headers from the last 81 blocks that acts as random seed material. This
|
|
@@ -1026,6 +1010,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1026
1010
|
* The minimum re staking bond to become and maintain the role.
|
|
1027
1011
|
**/
|
|
1028
1012
|
minRestakingBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1013
|
+
/**
|
|
1014
|
+
* The total restake amount in the system
|
|
1015
|
+
**/
|
|
1016
|
+
totalRestake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1029
1017
|
/**
|
|
1030
1018
|
* The number of jobs completed by a validator in era
|
|
1031
1019
|
**/
|
|
@@ -1384,6 +1372,81 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1384
1372
|
**/
|
|
1385
1373
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1386
1374
|
};
|
|
1375
|
+
sygmaAccessSegregator: {
|
|
1376
|
+
/**
|
|
1377
|
+
* Mapping signature of extrinsic to account has access
|
|
1378
|
+
* (pallet_index, extrinsic_name) => account
|
|
1379
|
+
**/
|
|
1380
|
+
extrinsicAccess: AugmentedQuery<ApiType, (arg: ITuple<[u8, Bytes]> | [u8 | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[u8, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, Bytes]>]>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Generic query
|
|
1383
|
+
**/
|
|
1384
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1385
|
+
};
|
|
1386
|
+
sygmaBasicFeeHandler: {
|
|
1387
|
+
/**
|
|
1388
|
+
* Mapping fungible asset id to corresponding fee amount
|
|
1389
|
+
**/
|
|
1390
|
+
assetFees: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | { parents?: any; interior?: any } | string | Uint8Array]) => Observable<Option<u128>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Generic query
|
|
1393
|
+
**/
|
|
1394
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1395
|
+
};
|
|
1396
|
+
sygmaBridge: {
|
|
1397
|
+
/**
|
|
1398
|
+
* Deposit counter of dest domain
|
|
1399
|
+
**/
|
|
1400
|
+
depositCounts: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<u64>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Mark the pairs for supported dest domainID with its corresponding chainID
|
|
1403
|
+
* The chainID is not directly used in pallet, this map is designed more about rechecking the
|
|
1404
|
+
* domainID
|
|
1405
|
+
**/
|
|
1406
|
+
destChainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<Option<U256>>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Mark supported dest domainID
|
|
1409
|
+
**/
|
|
1410
|
+
destDomainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Bridge Pause indicator
|
|
1413
|
+
* Bridge is unpaused initially, until pause
|
|
1414
|
+
* After mpc address setup, bridge should be paused until ready to unpause
|
|
1415
|
+
**/
|
|
1416
|
+
isPaused: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Pre-set MPC address
|
|
1419
|
+
**/
|
|
1420
|
+
mpcAddr: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1421
|
+
/**
|
|
1422
|
+
* Mark whether a deposit nonce was used. Used to mark execution status of a proposal.
|
|
1423
|
+
**/
|
|
1424
|
+
usedNonces: AugmentedQuery<ApiType, (arg1: u8 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [u8, u64]> & QueryableStorageEntry<ApiType, [u8, u64]>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Generic query
|
|
1427
|
+
**/
|
|
1428
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1429
|
+
};
|
|
1430
|
+
sygmaFeeHandlerRouter: {
|
|
1431
|
+
/**
|
|
1432
|
+
* Return the Fee handler type based on domainID and assetID
|
|
1433
|
+
**/
|
|
1434
|
+
handlerType: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | { parents?: any; interior?: any } | string | Uint8Array]) => Observable<Option<SygmaFeeHandlerRouterFeeHandlerType>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
|
|
1435
|
+
/**
|
|
1436
|
+
* Generic query
|
|
1437
|
+
**/
|
|
1438
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1439
|
+
};
|
|
1440
|
+
sygmaPercentageFeeHandler: {
|
|
1441
|
+
/**
|
|
1442
|
+
* Mapping fungible asset id with domain id to fee rate and its lower bound, upperbound
|
|
1443
|
+
**/
|
|
1444
|
+
assetFeeRate: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | { parents?: any; interior?: any } | string | Uint8Array]) => Observable<Option<ITuple<[u32, u128, u128]>>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Generic query
|
|
1447
|
+
**/
|
|
1448
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1449
|
+
};
|
|
1387
1450
|
system: {
|
|
1388
1451
|
/**
|
|
1389
1452
|
* The full account information for a particular account ID.
|