mirror of
https://github.com/pezkuwichain/pezkuwi-fellows.git
synced 2026-10-29 15:09:52 +00:00
Credit Account
This commit is contained in:
1 parent
e2fdcc2df1
commit
165066f4b8
1 file changed
+15
@@ -71,6 +71,21 @@ fn request_revenue_at(
|
||||
|
||||
Requests that the Relay-chain send a `notify_revenue` message back at or soon after Relay-chain block number `when` whose `until` parameter is equal to `when`.
|
||||
|
||||
#### `credit_account`
|
||||
|
||||
Prototype:
|
||||
|
||||
```
|
||||
fn credit_account(
|
||||
who: AccountId,
|
||||
amount: Balance,
|
||||
)
|
||||
```
|
||||
|
||||
Instructs the Relay-chain to add the `amount` of DOT to the Instantaneous Coretime Market Credit account of `who`.
|
||||
|
||||
It is expected that Instantaneous Coretime Market Credit on the Relay-chain is NOT transferrable and only redeemable when used to assign cores in the Instantaneous Coretime Pool.
|
||||
|
||||
#### `assign_core`
|
||||
|
||||
Prototype:
|
||||
|
||||
Reference in new issue
Block a user