@dedot/chaintypes 0.102.0 → 0.103.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/astar/consts.d.ts +14 -2
- package/astar/errors.d.ts +36 -5
- package/astar/events.d.ts +149 -44
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +98 -45
- package/astar/runtime.d.ts +58 -6
- package/astar/tx.d.ts +268 -74
- package/astar/types.d.ts +663 -451
- package/moonbeam/index.d.ts +1 -1
- package/package.json +2 -2
- package/westend-asset-hub/errors.d.ts +55 -0
- package/westend-asset-hub/events.d.ts +47 -0
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/tx.d.ts +86 -0
- package/westend-asset-hub/types.d.ts +164 -33
package/astar/tx.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ import type {
|
|
|
44
44
|
XcmVersionedLocation,
|
|
45
45
|
XcmVersionedXcm,
|
|
46
46
|
XcmVersionedAssets,
|
|
47
|
-
|
|
47
|
+
StagingXcmV5Location,
|
|
48
48
|
XcmV3WeightLimit,
|
|
49
49
|
StagingXcmExecutorAssetTransferTransferType,
|
|
50
50
|
XcmVersionedAssetId,
|
|
@@ -638,7 +638,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
638
638
|
* - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
|
|
639
639
|
*
|
|
640
640
|
* ```nocompile
|
|
641
|
-
*
|
|
641
|
+
* Registrars::<T>::get().get(reg_index).unwrap().fee
|
|
642
642
|
* ```
|
|
643
643
|
*
|
|
644
644
|
* Emits `JudgementRequested` if successful.
|
|
@@ -958,8 +958,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
958
958
|
/**
|
|
959
959
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
960
960
|
*
|
|
961
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
962
|
-
*
|
|
961
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
962
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
963
|
+
* parameters to overwrite the existing configuration.
|
|
963
964
|
*
|
|
964
965
|
* @param {MultiAddressLike} authority
|
|
965
966
|
* @param {BytesLike} suffix
|
|
@@ -986,17 +987,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
986
987
|
/**
|
|
987
988
|
* Remove `authority` from the username authorities.
|
|
988
989
|
*
|
|
990
|
+
* @param {BytesLike} suffix
|
|
989
991
|
* @param {MultiAddressLike} authority
|
|
990
992
|
**/
|
|
991
993
|
removeUsernameAuthority: GenericTxCall<
|
|
992
994
|
Rv,
|
|
993
|
-
(
|
|
995
|
+
(
|
|
996
|
+
suffix: BytesLike,
|
|
997
|
+
authority: MultiAddressLike,
|
|
998
|
+
) => ChainSubmittableExtrinsic<
|
|
994
999
|
Rv,
|
|
995
1000
|
{
|
|
996
1001
|
pallet: 'Identity';
|
|
997
1002
|
palletCall: {
|
|
998
1003
|
name: 'RemoveUsernameAuthority';
|
|
999
|
-
params: { authority: MultiAddressLike };
|
|
1004
|
+
params: { suffix: BytesLike; authority: MultiAddressLike };
|
|
1000
1005
|
};
|
|
1001
1006
|
}
|
|
1002
1007
|
>
|
|
@@ -1005,7 +1010,11 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1005
1010
|
/**
|
|
1006
1011
|
* Set the username for `who`. Must be called by a username authority.
|
|
1007
1012
|
*
|
|
1008
|
-
*
|
|
1013
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
1014
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
1015
|
+
* username.
|
|
1016
|
+
*
|
|
1017
|
+
* Users can either pre-sign their usernames or
|
|
1009
1018
|
* accept them later.
|
|
1010
1019
|
*
|
|
1011
1020
|
* Usernames must:
|
|
@@ -1016,6 +1025,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1016
1025
|
* @param {MultiAddressLike} who
|
|
1017
1026
|
* @param {BytesLike} username
|
|
1018
1027
|
* @param {SpRuntimeMultiSignature | undefined} signature
|
|
1028
|
+
* @param {boolean} useAllocation
|
|
1019
1029
|
**/
|
|
1020
1030
|
setUsernameFor: GenericTxCall<
|
|
1021
1031
|
Rv,
|
|
@@ -1023,13 +1033,19 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1023
1033
|
who: MultiAddressLike,
|
|
1024
1034
|
username: BytesLike,
|
|
1025
1035
|
signature: SpRuntimeMultiSignature | undefined,
|
|
1036
|
+
useAllocation: boolean,
|
|
1026
1037
|
) => ChainSubmittableExtrinsic<
|
|
1027
1038
|
Rv,
|
|
1028
1039
|
{
|
|
1029
1040
|
pallet: 'Identity';
|
|
1030
1041
|
palletCall: {
|
|
1031
1042
|
name: 'SetUsernameFor';
|
|
1032
|
-
params: {
|
|
1043
|
+
params: {
|
|
1044
|
+
who: MultiAddressLike;
|
|
1045
|
+
username: BytesLike;
|
|
1046
|
+
signature: SpRuntimeMultiSignature | undefined;
|
|
1047
|
+
useAllocation: boolean;
|
|
1048
|
+
};
|
|
1033
1049
|
};
|
|
1034
1050
|
}
|
|
1035
1051
|
>
|
|
@@ -1096,19 +1112,60 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1096
1112
|
>;
|
|
1097
1113
|
|
|
1098
1114
|
/**
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1115
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
1116
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
1117
|
+
* [remove_username](crate::Call::remove_username).
|
|
1118
|
+
*
|
|
1119
|
+
* @param {BytesLike} username
|
|
1120
|
+
**/
|
|
1121
|
+
unbindUsername: GenericTxCall<
|
|
1122
|
+
Rv,
|
|
1123
|
+
(username: BytesLike) => ChainSubmittableExtrinsic<
|
|
1124
|
+
Rv,
|
|
1125
|
+
{
|
|
1126
|
+
pallet: 'Identity';
|
|
1127
|
+
palletCall: {
|
|
1128
|
+
name: 'UnbindUsername';
|
|
1129
|
+
params: { username: BytesLike };
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
>
|
|
1133
|
+
>;
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
1137
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
1138
|
+
*
|
|
1139
|
+
* @param {BytesLike} username
|
|
1140
|
+
**/
|
|
1141
|
+
removeUsername: GenericTxCall<
|
|
1142
|
+
Rv,
|
|
1143
|
+
(username: BytesLike) => ChainSubmittableExtrinsic<
|
|
1144
|
+
Rv,
|
|
1145
|
+
{
|
|
1146
|
+
pallet: 'Identity';
|
|
1147
|
+
palletCall: {
|
|
1148
|
+
name: 'RemoveUsername';
|
|
1149
|
+
params: { username: BytesLike };
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
>
|
|
1153
|
+
>;
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
1157
|
+
* and slashes any deposit associated with it.
|
|
1101
1158
|
*
|
|
1102
1159
|
* @param {BytesLike} username
|
|
1103
1160
|
**/
|
|
1104
|
-
|
|
1161
|
+
killUsername: GenericTxCall<
|
|
1105
1162
|
Rv,
|
|
1106
1163
|
(username: BytesLike) => ChainSubmittableExtrinsic<
|
|
1107
1164
|
Rv,
|
|
1108
1165
|
{
|
|
1109
1166
|
pallet: 'Identity';
|
|
1110
1167
|
palletCall: {
|
|
1111
|
-
name: '
|
|
1168
|
+
name: 'KillUsername';
|
|
1112
1169
|
params: { username: BytesLike };
|
|
1113
1170
|
};
|
|
1114
1171
|
}
|
|
@@ -2109,63 +2166,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2109
2166
|
>
|
|
2110
2167
|
>;
|
|
2111
2168
|
|
|
2112
|
-
/**
|
|
2113
|
-
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2114
|
-
* later.
|
|
2115
|
-
*
|
|
2116
|
-
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
|
|
2117
|
-
* version and name should be verified on upgrade. Since the authorization only has a hash,
|
|
2118
|
-
* it cannot actually perform the verification.
|
|
2119
|
-
*
|
|
2120
|
-
* This call requires Root origin.
|
|
2121
|
-
*
|
|
2122
|
-
* @param {H256} codeHash
|
|
2123
|
-
* @param {boolean} checkVersion
|
|
2124
|
-
**/
|
|
2125
|
-
authorizeUpgrade: GenericTxCall<
|
|
2126
|
-
Rv,
|
|
2127
|
-
(
|
|
2128
|
-
codeHash: H256,
|
|
2129
|
-
checkVersion: boolean,
|
|
2130
|
-
) => ChainSubmittableExtrinsic<
|
|
2131
|
-
Rv,
|
|
2132
|
-
{
|
|
2133
|
-
pallet: 'ParachainSystem';
|
|
2134
|
-
palletCall: {
|
|
2135
|
-
name: 'AuthorizeUpgrade';
|
|
2136
|
-
params: { codeHash: H256; checkVersion: boolean };
|
|
2137
|
-
};
|
|
2138
|
-
}
|
|
2139
|
-
>
|
|
2140
|
-
>;
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
2144
|
-
*
|
|
2145
|
-
* If the authorization required a version check, this call will ensure the spec name
|
|
2146
|
-
* remains unchanged and that the spec version has increased.
|
|
2147
|
-
*
|
|
2148
|
-
* Note that this function will not apply the new `code`, but only attempt to schedule the
|
|
2149
|
-
* upgrade with the Relay Chain.
|
|
2150
|
-
*
|
|
2151
|
-
* All origins are allowed.
|
|
2152
|
-
*
|
|
2153
|
-
* @param {BytesLike} code
|
|
2154
|
-
**/
|
|
2155
|
-
enactAuthorizedUpgrade: GenericTxCall<
|
|
2156
|
-
Rv,
|
|
2157
|
-
(code: BytesLike) => ChainSubmittableExtrinsic<
|
|
2158
|
-
Rv,
|
|
2159
|
-
{
|
|
2160
|
-
pallet: 'ParachainSystem';
|
|
2161
|
-
palletCall: {
|
|
2162
|
-
name: 'EnactAuthorizedUpgrade';
|
|
2163
|
-
params: { code: BytesLike };
|
|
2164
|
-
};
|
|
2165
|
-
}
|
|
2166
|
-
>
|
|
2167
|
-
>;
|
|
2168
|
-
|
|
2169
2169
|
/**
|
|
2170
2170
|
* Generic pallet tx call
|
|
2171
2171
|
**/
|
|
@@ -3380,8 +3380,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3380
3380
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
3381
3381
|
* asset.
|
|
3382
3382
|
*
|
|
3383
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
3384
|
-
*
|
|
3385
3383
|
* @param {bigint} id
|
|
3386
3384
|
**/
|
|
3387
3385
|
startDestroy: GenericTxCall<
|
|
@@ -4436,6 +4434,46 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4436
4434
|
>
|
|
4437
4435
|
>;
|
|
4438
4436
|
|
|
4437
|
+
/**
|
|
4438
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
4439
|
+
*
|
|
4440
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
4441
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
4442
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
4443
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
4444
|
+
* deposits, etc...
|
|
4445
|
+
*
|
|
4446
|
+
* The dispatch origin of this call must be Signed.
|
|
4447
|
+
*
|
|
4448
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
4449
|
+
* - `dest`: The recipient of the transfer.
|
|
4450
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
4451
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
4452
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
4453
|
+
* guarantee to keep the sender asset account alive (true).
|
|
4454
|
+
*
|
|
4455
|
+
* @param {bigint} id
|
|
4456
|
+
* @param {MultiAddressLike} dest
|
|
4457
|
+
* @param {boolean} keepAlive
|
|
4458
|
+
**/
|
|
4459
|
+
transferAll: GenericTxCall<
|
|
4460
|
+
Rv,
|
|
4461
|
+
(
|
|
4462
|
+
id: bigint,
|
|
4463
|
+
dest: MultiAddressLike,
|
|
4464
|
+
keepAlive: boolean,
|
|
4465
|
+
) => ChainSubmittableExtrinsic<
|
|
4466
|
+
Rv,
|
|
4467
|
+
{
|
|
4468
|
+
pallet: 'Assets';
|
|
4469
|
+
palletCall: {
|
|
4470
|
+
name: 'TransferAll';
|
|
4471
|
+
params: { id: bigint; dest: MultiAddressLike; keepAlive: boolean };
|
|
4472
|
+
};
|
|
4473
|
+
}
|
|
4474
|
+
>
|
|
4475
|
+
>;
|
|
4476
|
+
|
|
4439
4477
|
/**
|
|
4440
4478
|
* Generic pallet tx call
|
|
4441
4479
|
**/
|
|
@@ -5142,13 +5180,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5142
5180
|
* - `location`: The destination that is being described.
|
|
5143
5181
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5144
5182
|
*
|
|
5145
|
-
* @param {
|
|
5183
|
+
* @param {StagingXcmV5Location} location
|
|
5146
5184
|
* @param {number} version
|
|
5147
5185
|
**/
|
|
5148
5186
|
forceXcmVersion: GenericTxCall<
|
|
5149
5187
|
Rv,
|
|
5150
5188
|
(
|
|
5151
|
-
location:
|
|
5189
|
+
location: StagingXcmV5Location,
|
|
5152
5190
|
version: number,
|
|
5153
5191
|
) => ChainSubmittableExtrinsic<
|
|
5154
5192
|
Rv,
|
|
@@ -5156,7 +5194,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5156
5194
|
pallet: 'PolkadotXcm';
|
|
5157
5195
|
palletCall: {
|
|
5158
5196
|
name: 'ForceXcmVersion';
|
|
5159
|
-
params: { location:
|
|
5197
|
+
params: { location: StagingXcmV5Location; version: number };
|
|
5160
5198
|
};
|
|
5161
5199
|
}
|
|
5162
5200
|
>
|
|
@@ -7646,6 +7684,58 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7646
7684
|
>
|
|
7647
7685
|
>;
|
|
7648
7686
|
|
|
7687
|
+
/**
|
|
7688
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
7689
|
+
*
|
|
7690
|
+
* Parameters:
|
|
7691
|
+
* - `origin`: must be the `KillOrigin`.
|
|
7692
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
7693
|
+
*
|
|
7694
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
7695
|
+
*
|
|
7696
|
+
* @param {H256} proposalHash
|
|
7697
|
+
**/
|
|
7698
|
+
kill: GenericTxCall<
|
|
7699
|
+
Rv,
|
|
7700
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
7701
|
+
Rv,
|
|
7702
|
+
{
|
|
7703
|
+
pallet: 'Council';
|
|
7704
|
+
palletCall: {
|
|
7705
|
+
name: 'Kill';
|
|
7706
|
+
params: { proposalHash: H256 };
|
|
7707
|
+
};
|
|
7708
|
+
}
|
|
7709
|
+
>
|
|
7710
|
+
>;
|
|
7711
|
+
|
|
7712
|
+
/**
|
|
7713
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
7714
|
+
*
|
|
7715
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
7716
|
+
*
|
|
7717
|
+
* Parameters:
|
|
7718
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
7719
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
7720
|
+
*
|
|
7721
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
7722
|
+
*
|
|
7723
|
+
* @param {H256} proposalHash
|
|
7724
|
+
**/
|
|
7725
|
+
releaseProposalCost: GenericTxCall<
|
|
7726
|
+
Rv,
|
|
7727
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
7728
|
+
Rv,
|
|
7729
|
+
{
|
|
7730
|
+
pallet: 'Council';
|
|
7731
|
+
palletCall: {
|
|
7732
|
+
name: 'ReleaseProposalCost';
|
|
7733
|
+
params: { proposalHash: H256 };
|
|
7734
|
+
};
|
|
7735
|
+
}
|
|
7736
|
+
>
|
|
7737
|
+
>;
|
|
7738
|
+
|
|
7649
7739
|
/**
|
|
7650
7740
|
* Generic pallet tx call
|
|
7651
7741
|
**/
|
|
@@ -7888,6 +7978,58 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7888
7978
|
>
|
|
7889
7979
|
>;
|
|
7890
7980
|
|
|
7981
|
+
/**
|
|
7982
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
7983
|
+
*
|
|
7984
|
+
* Parameters:
|
|
7985
|
+
* - `origin`: must be the `KillOrigin`.
|
|
7986
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
7987
|
+
*
|
|
7988
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
7989
|
+
*
|
|
7990
|
+
* @param {H256} proposalHash
|
|
7991
|
+
**/
|
|
7992
|
+
kill: GenericTxCall<
|
|
7993
|
+
Rv,
|
|
7994
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
7995
|
+
Rv,
|
|
7996
|
+
{
|
|
7997
|
+
pallet: 'TechnicalCommittee';
|
|
7998
|
+
palletCall: {
|
|
7999
|
+
name: 'Kill';
|
|
8000
|
+
params: { proposalHash: H256 };
|
|
8001
|
+
};
|
|
8002
|
+
}
|
|
8003
|
+
>
|
|
8004
|
+
>;
|
|
8005
|
+
|
|
8006
|
+
/**
|
|
8007
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
8008
|
+
*
|
|
8009
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
8010
|
+
*
|
|
8011
|
+
* Parameters:
|
|
8012
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
8013
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
8014
|
+
*
|
|
8015
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
8016
|
+
*
|
|
8017
|
+
* @param {H256} proposalHash
|
|
8018
|
+
**/
|
|
8019
|
+
releaseProposalCost: GenericTxCall<
|
|
8020
|
+
Rv,
|
|
8021
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
8022
|
+
Rv,
|
|
8023
|
+
{
|
|
8024
|
+
pallet: 'TechnicalCommittee';
|
|
8025
|
+
palletCall: {
|
|
8026
|
+
name: 'ReleaseProposalCost';
|
|
8027
|
+
params: { proposalHash: H256 };
|
|
8028
|
+
};
|
|
8029
|
+
}
|
|
8030
|
+
>
|
|
8031
|
+
>;
|
|
8032
|
+
|
|
7891
8033
|
/**
|
|
7892
8034
|
* Generic pallet tx call
|
|
7893
8035
|
**/
|
|
@@ -8130,6 +8272,58 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8130
8272
|
>
|
|
8131
8273
|
>;
|
|
8132
8274
|
|
|
8275
|
+
/**
|
|
8276
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
8277
|
+
*
|
|
8278
|
+
* Parameters:
|
|
8279
|
+
* - `origin`: must be the `KillOrigin`.
|
|
8280
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
8281
|
+
*
|
|
8282
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
8283
|
+
*
|
|
8284
|
+
* @param {H256} proposalHash
|
|
8285
|
+
**/
|
|
8286
|
+
kill: GenericTxCall<
|
|
8287
|
+
Rv,
|
|
8288
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
8289
|
+
Rv,
|
|
8290
|
+
{
|
|
8291
|
+
pallet: 'CommunityCouncil';
|
|
8292
|
+
palletCall: {
|
|
8293
|
+
name: 'Kill';
|
|
8294
|
+
params: { proposalHash: H256 };
|
|
8295
|
+
};
|
|
8296
|
+
}
|
|
8297
|
+
>
|
|
8298
|
+
>;
|
|
8299
|
+
|
|
8300
|
+
/**
|
|
8301
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
8302
|
+
*
|
|
8303
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
8304
|
+
*
|
|
8305
|
+
* Parameters:
|
|
8306
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
8307
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
8308
|
+
*
|
|
8309
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
8310
|
+
*
|
|
8311
|
+
* @param {H256} proposalHash
|
|
8312
|
+
**/
|
|
8313
|
+
releaseProposalCost: GenericTxCall<
|
|
8314
|
+
Rv,
|
|
8315
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
8316
|
+
Rv,
|
|
8317
|
+
{
|
|
8318
|
+
pallet: 'CommunityCouncil';
|
|
8319
|
+
palletCall: {
|
|
8320
|
+
name: 'ReleaseProposalCost';
|
|
8321
|
+
params: { proposalHash: H256 };
|
|
8322
|
+
};
|
|
8323
|
+
}
|
|
8324
|
+
>
|
|
8325
|
+
>;
|
|
8326
|
+
|
|
8133
8327
|
/**
|
|
8134
8328
|
* Generic pallet tx call
|
|
8135
8329
|
**/
|