proxy
: The account that the caller
would like to make a proxy.
proxy_type
: The permissions allowed for this proxy account.
delay
: The announcement period required of the initial proxy. Will generally be zero.
proxy
is attempted if the delay associated with the proxy relationship is greater than zero.
No more than MaxPending
announcements may be made at any one time.
This will take a deposit of AnnouncementDepositFactor
as well as AnnouncementDepositBase
if there are no other pending announcements.
The dispatch origin for this call must be Signed and a proxy of real
.
Parameters:
real
: The account that the proxy will make a call on behalf of.
call_hash
: The hash of the call to be made by the real
account.
proxy_type
for origin
sender.
Requires a Signed
origin.
proxy_type
: The type of the proxy that the sender will be registered as over the new account. This will almost always be the most permissive ProxyType
possible to allow for maximum flexibility.
index
: A disambiguation index, in case this is called multiple times in the same transaction (e.g. with utility::batch
). Unless you’re using batch
you probably just want to use 0
.
delay
: The announcement period required of the initial proxy. Will generally be zero.
Duplicate
if this has already been called in this transaction, from the same sender, with the same parameters.
Fails if there are insufficient funds to pay for deposit.
Namespace
Signed
origin and the sender account must have been created by a call to pure
with corresponding parameters.
spawner
: The account that was originally called pure
to create this account.
index
: The disambiguation index originally passed to pure
. Probably 0
.
proxy_type
: The proxy type originally passed to pure
.
height
: The height of the chain when the call to pure
was processed.
ext_index
: The extrinsic index in which the call to pure
was processed.
NoPermission
in case the caller is not a previously created pure account whose pure
call has corresponding parameters.
Namespace
call
from an account that the sender is authorised for through add_proxy
.
Removes any corresponding announcement(s).
The dispatch origin for this call must be Signed.
Parameters:
real
: The account that the proxy will make a call on behalf of.
force_proxy_type
: Specify the exact proxy type to be used and checked for this call.
call
: The call to be made by the real
account.
call
from an account that the sender is authorized for through add_proxy
.
Removes any corresponding announcement(s).
The dispatch origin for this call must be Signed.
Parameters:
real
: The account that the proxy will make a call on behalf of.
force_proxy_type
: Specify the exact proxy type to be used and checked for this call.
call
: The call to be made by the real
account.
delegate
) has announced they want to execute. The deposit is returned.
The dispatch origin for this call must be Signed.
Parameters:
delegate
: The account that previously announced the call.
call_hash
: The hash of the call to be made.
real
: The account that the proxy will make a call on behalf of.
call_hash
: The hash of the call to be made by the real
account.
pure
, however, if done, then the unreserved fees will be inaccessible. All access to this account will be lost.proxy
: The account that the caller
would like to remove as a proxy.
proxy_type
: The permissions currently enabled for the removed proxy account.
Balance
is created (typically 16 bytes).
Namespace
AccountId
, Hash
and BlockNumber
(typically 68 bytes) into a pre-existing storage value.
Namespace
sizeof(Balance)
bytes and whose key size is sizeof(AccountId)
bytes.
Namespace
ProxyType
more into a pre-existing storage value. Thus, when configuring ProxyDepositFactor
one should take into account 32 + proxy_type.encode().len()
bytes of data.
Namespace