@webb-tools/tangle-substrate-types 0.5.5 → 0.5.9
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 +104 -4
- package/build/interfaces/augment-api-errors.d.ts +365 -0
- package/build/interfaces/augment-api-events.d.ts +495 -2
- package/build/interfaces/augment-api-query.d.ts +140 -2
- package/build/interfaces/augment-api-tx.d.ts +609 -1
- package/build/interfaces/augment-types.d.ts +21 -2
- package/build/interfaces/lookup.d.ts +1377 -369
- package/build/interfaces/lookup.js +1360 -352
- package/build/interfaces/registry.d.ts +57 -1
- package/build/interfaces/types-lookup.d.ts +1477 -353
- 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/src/interfaces/augment-api-consts.ts +104 -4
- package/src/interfaces/augment-api-errors.ts +365 -0
- package/src/interfaces/augment-api-events.ts +294 -2
- package/src/interfaces/augment-api-query.ts +131 -2
- package/src/interfaces/augment-api-tx.ts +315 -1
- package/src/interfaces/augment-types.ts +21 -2
- package/src/interfaces/lookup.ts +1361 -353
- package/src/interfaces/registry.ts +57 -1
- package/src/interfaces/types-lookup.ts +1531 -353
- package/src/metadata/metadata.json +1 -1
- package/src/metadata/static-latest.ts +1 -1
- package/ts-types/src/interfaces/augment-api-consts.d.ts +104 -4
- package/ts-types/src/interfaces/augment-api-errors.d.ts +365 -0
- package/ts-types/src/interfaces/augment-api-events.d.ts +495 -2
- package/ts-types/src/interfaces/augment-api-query.d.ts +140 -2
- package/ts-types/src/interfaces/augment-api-tx.d.ts +609 -1
- package/ts-types/src/interfaces/augment-types.d.ts +21 -2
- package/ts-types/src/interfaces/lookup.d.ts +1377 -369
- package/ts-types/src/interfaces/registry.d.ts +57 -1
- package/ts-types/src/interfaces/types-lookup.d.ts +1477 -353
- package/ts-types/src/metadata/static-latest.d.ts +1 -1
- package/ts-types/tsconfig.tsbuildinfo +1 -1
@@ -6,15 +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, u16, 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 { 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, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } 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';
|
13
13
|
|
14
14
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
15
15
|
|
16
16
|
declare module '@polkadot/api-base/types/events' {
|
17
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
|
+
};
|
18
121
|
bagsList: {
|
19
122
|
/**
|
20
123
|
* Moved an account from one bag to another.
|
@@ -622,6 +725,96 @@ declare module '@polkadot/api-base/types/events' {
|
|
622
725
|
**/
|
623
726
|
[key: string]: AugmentedEvent<ApiType>;
|
624
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
|
+
};
|
625
818
|
multisig: {
|
626
819
|
/**
|
627
820
|
* A multisig operation has been approved by someone.
|
@@ -991,6 +1184,105 @@ declare module '@polkadot/api-base/types/events' {
|
|
991
1184
|
**/
|
992
1185
|
[key: string]: AugmentedEvent<ApiType>;
|
993
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
|
+
};
|
994
1286
|
system: {
|
995
1287
|
/**
|
996
1288
|
* `:code` was updated.
|
@@ -7,17 +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 { 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, 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, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, FrameSystemLastRuntimeUpgradeInfo, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletZksaasFeeInfo } 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';
|
15
15
|
|
16
16
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
17
17
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
18
18
|
|
19
19
|
declare module '@polkadot/api-base/types/storage' {
|
20
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
|
+
};
|
21
45
|
authorship: {
|
22
46
|
/**
|
23
47
|
* Author of current block.
|
@@ -754,6 +778,36 @@ declare module '@polkadot/api-base/types/storage' {
|
|
754
778
|
**/
|
755
779
|
[key: string]: QueryableStorageEntry<ApiType>;
|
756
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
|
+
};
|
757
811
|
multisig: {
|
758
812
|
/**
|
759
813
|
* The set of open multisig operations.
|
@@ -1318,6 +1372,81 @@ declare module '@polkadot/api-base/types/storage' {
|
|
1318
1372
|
**/
|
1319
1373
|
[key: string]: QueryableStorageEntry<ApiType>;
|
1320
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
|
+
};
|
1321
1450
|
system: {
|
1322
1451
|
/**
|
1323
1452
|
* The full account information for a particular account ID.
|