[CI Skip] 0.51.0-beta.0
This commit is contained in:
@@ -13,8 +13,6 @@ Events are emitted for certain operations on the runtime. The following sections
|
||||
|
||||
- **[democracy](#democracy)**
|
||||
|
||||
- **[fees](#fees)**
|
||||
|
||||
- **[grandpa](#grandpa)**
|
||||
|
||||
- **[indices](#indices)**
|
||||
@@ -119,6 +117,8 @@ ___
|
||||
|
||||
▸ **Cancelled**(`ReferendumIndex`)
|
||||
|
||||
▸ **Delegated**(`AccountId`, `AccountId`)
|
||||
|
||||
▸ **Executed**(`ReferendumIndex`, `bool`)
|
||||
|
||||
▸ **NotPassed**(`ReferendumIndex`)
|
||||
@@ -131,13 +131,7 @@ ___
|
||||
|
||||
▸ **Tabled**(`PropIndex`, `Balance`, `Vec<AccountId>`)
|
||||
|
||||
___
|
||||
|
||||
|
||||
### fees
|
||||
|
||||
▸ **Charged**(`u32`, `Amount`)
|
||||
- **summary**: Fee charged (extrinsic_index, fee_amount)
|
||||
▸ **Undelegated**(`AccountId`)
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ ___
|
||||
- **summary**: Make a call to a specified account, optionally transferring some balance.
|
||||
|
||||
▸ **create**(endowment: `Compact<Balance>`, gas_limit: `Compact<Gas>`, code_hash: `CodeHash`, data: `Bytes`)
|
||||
- **summary**: Create a new contract, optionally transfering some balance to the created account. Creation is executed as follows: - the destination address is computed based on the sender and hash of the code. - account is created at the computed address. - the `ctor_code` is executed in the context of the newly created account. Buffer returned after the execution is saved as the `code` of the account. That code will be invoked upon any message received by this account.
|
||||
- **summary**: Create a new contract, optionally transferring some balance to the created account. Creation is executed as follows: - the destination address is computed based on the sender and hash of the code. - account is created at the computed address. - the `ctor_code` is executed in the context of the newly created account. Buffer returned after the execution is saved as the `code` of the account. That code will be invoked upon any message received by this account.
|
||||
|
||||
▸ **putCode**(gas_limit: `Compact<Gas>`, code: `Bytes`)
|
||||
- **summary**: Stores code in the storage. You can instantiate contracts only with stored code.
|
||||
@@ -148,6 +148,9 @@ ___
|
||||
▸ **cancelReferendum**(ref_index: `Compact<ReferendumIndex>`)
|
||||
- **summary**: Remove a referendum.
|
||||
|
||||
▸ **delegate**(to: `AccountId`, lock_periods: `LockPeriods`)
|
||||
- **summary**: Delegate vote.
|
||||
|
||||
▸ **propose**(proposal: `Proposal`, value: `Compact<BalanceOf>`)
|
||||
- **summary**: Propose a sensitive action to be taken.
|
||||
|
||||
@@ -157,6 +160,9 @@ ___
|
||||
▸ **startReferendum**(proposal: `Proposal`, threshold: `VoteThreshold`, delay: `BlockNumber`)
|
||||
- **summary**: Start a referendum.
|
||||
|
||||
▸ **undelegate**()
|
||||
- **summary**: Undelegate vote.
|
||||
|
||||
▸ **vote**(ref_index: `Compact<ReferendumIndex>`, vote: `Vote`)
|
||||
- **summary**: Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a vote to keep the status quo.
|
||||
|
||||
|
||||
+9
-16
@@ -15,8 +15,6 @@ _The following sections contain Storage methods are part of the default Substrat
|
||||
|
||||
- **[democracy](#democracy)**
|
||||
|
||||
- **[fees](#fees)**
|
||||
|
||||
- **[grandpaFinality](#grandpaFinality)**
|
||||
|
||||
- **[indices](#indices)**
|
||||
@@ -59,6 +57,12 @@ ___
|
||||
▸ **totalIssuance**(): `Balance`
|
||||
- **summary**: The total amount of stake on the system.
|
||||
|
||||
▸ **transactionBaseFee**(): `Balance`
|
||||
- **summary**: The fee to be paid for making a transaction; the base.
|
||||
|
||||
▸ **transactionByteFee**(): `Balance`
|
||||
- **summary**: The fee to be paid for making a transaction; the per-byte portion.
|
||||
|
||||
▸ **transferFee**(): `Balance`
|
||||
- **summary**: The fee required to make a transfer.
|
||||
|
||||
@@ -218,6 +222,9 @@ ___
|
||||
|
||||
### democracy
|
||||
|
||||
▸ **delegations**(`AccountId`): `(AccountId,LockPeriods)`
|
||||
- **summary**: Get the account (and lock periods) to which another account is delegating vote.
|
||||
|
||||
▸ **depositOf**(`PropIndex`): `Option<(BalanceOf,Vec<AccountId>)>`
|
||||
- **summary**: Those who have locked a deposit.
|
||||
|
||||
@@ -263,20 +270,6 @@ ___
|
||||
___
|
||||
|
||||
|
||||
### fees
|
||||
|
||||
▸ **currentTransactionFee**(`u32`): `AssetOf`
|
||||
- **summary**: The `extrinsic_index => accumulated_fees` map, containing records to track the overall charged fees for each transaction. All records should be removed at finalise stage.
|
||||
|
||||
▸ **transactionBaseFee**(): `AssetOf`
|
||||
- **summary**: The fee to be paid for making a transaction; the base.
|
||||
|
||||
▸ **transactionByteFee**(): `AssetOf`
|
||||
- **summary**: The fee to be paid for making a transaction; the per-byte portion.
|
||||
|
||||
___
|
||||
|
||||
|
||||
### grandpaFinality
|
||||
|
||||
▸ **nextForced**(): `Option<BlockNumber>`
|
||||
|
||||
Reference in New Issue
Block a user