Register a preimage on-chain.
If the preimage was previously requested, no fees or deposits are taken for providing the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
Namespace
Type
Request a preimage be uploaded to the chain without paying any fees or deposits.
If the preimage requests has already been provided on-chain, we unreserve any deposit a user may have paid, and take the control of the preimage out of their hands.
Namespace
Type
Clear an unrequested preimage from the runtime storage.
Namespace
Type
Clear a previously made request for a preimage.
IMPORTANT: This must not be called onhash
more times thanrequest_preimage
.
Namespace
Type
The preimages stored by this pallet.
Namespace
Type
The request status of a given hash.
Namespace
Type
A preimage has ben cleared.
Namespace
Type
A preimage has been noted.
Namespace
Type
A preimage has been requested.
Namespace
Type
Preimage has already been noted on-chain.
Namespace
The user is not authorized to perform this action.
Namespace
The preimage cannot be removed since it has not yet been noted.
Namespace
The preimage request cannot be removed since no outstanding requests exist.
Namespace
A preimage may not be removed when there are outstanding requests.
Namespace
Preimage is too large to store on-chain.
Namespace
undefined