do_transfer
Sends all assets that were sent to the pool account for a registration to the actual account that is being registered. Marks the account_creation_transfer
s as done. At least one of those transfers must satisfy strategy
, otherwise this function will throw. Multiple transfers cannot be bundled together to reach the threshold.
Can only be called from an operation.
Throws "MISSING TRANSFER"
if no account_creation_transfer
is found for this account.
Throws "REGISTRATION ERROR"
if none of the transfers satisfied the rule.
Throws if the transfer cannot be made. Common cases include:
the funds are not in the pool account anymore
an account with this blockchain's pool account ID exists, but is not a pool account
Parameters
the account the funds should go to
the strategy name