indices
claim(index: u32)
interface:
indices.claimsummary: Assign an previously unassigned index.
Payment:
Depositis reserved from the sender account.The dispatch origin for this call must be Signed.
index: the index to be claimed. This must not be in use.
Emits
IndexAssignedif successful.Complexity: O(1).
forceTransfer(new: MultiAddress, index: u32, freeze: bool)
interface:
indices.forceTransfersummary: Force an index to an account. This doesn’t require a deposit. If the index is already held, then any deposit is reimbursed to its current owner.
The dispatch origin for this call must be Root.
index: the index to be (re-)assigned.new: the new owner of the index. This function is a no-op if it is equal to sender.freeze: if set totrue, will freeze the index so it cannot be transferred.
Emits
IndexAssignedif successful.Complexity: O(1).
free(index: u32)
interface:
indices.freesummary: Free up an index owned by the sender.
Payment: Any previous deposit placed for the index is unreserved in the sender account.
The dispatch origin for this call must be Signed and the sender must own the index.
index: the index to be freed. This must be owned by the sender.
Emits
IndexFreedif successful.Complexity: O(1).
freeze(index: u32)
interface:
indices.freezesummary: Freeze an index so it will always point to the sender account. This consumes the deposit.
The dispatch origin for this call must be Signed and the signing account must have a non-frozen account
index.index: the index to be frozen in place.
Emits
IndexFrozenif successful.Complexity: O(1).
pokeDeposit(index: u32)
interface:
indices.pokeDepositsummary: Poke the deposit reserved for an index.
The dispatch origin for this call must be Signed and the signing account must have a non-frozen account
index.The transaction fees is waived if the deposit is changed after poking/reconsideration.
index: the index whose deposit is to be poked/reconsidered.
Emits
DepositPokedif successful.
transfer(new: MultiAddress, index: u32)
interface:
indices.transfersummary: Assign an index already owned by the sender to another account. The balance reservation is effectively transferred to the new account.
The dispatch origin for this call must be Signed.
index: the index to be re-assigned. This must be owned by the sender.new: the new owner of the index. This function is a no-op if it is equal to sender.
Emits
IndexAssignedif successful.Complexity: O(1).