create_on_internal_transfer
@extendable function create_on_internal_transfer(sender: account, recipient_id: byte_array, asset: asset, amount: big_integer)(source)
Extendable function that defines how to create an account when an on-chain transfer to a non-existing account happens.
Developers should not generally extend this function, as it is handled by the account registration module. Importing the corresponding module should be enough.
Parameters
sender
the account that initiated the transfer
recipient_id
the non-existing account that received the transfer
asset
the asset that was transferred
amount
the amount that was transferred