Makes a call to an account, optionally transferring some balance.
dest: Address of the contract to call.
dest
value: The balance to transfer from the origin to dest.
value
origin
gas_limit: The gas limit enforced when executing the constructor.
gas_limit
storage_deposit_limit: The maximum amount of balance that can be charged from the caller to pay for the storage consumed.
storage_deposit_limit
data: The input data to pass to the contract.
data
If the account is a smart-contract account, the associated code will be executed and any value will be transferred.
If the account is a regular account, any value will be transferred.
If no account exists and the call value is not less than existential_deposit, a regular account will be created and any value will be transferred.
existential_deposit
Makes a call to an account, optionally transferring some balance.
Parameters
dest
: Address of the contract to call.value
: The balance to transfer from theorigin
todest
.gas_limit
: The gas limit enforced when executing the constructor.storage_deposit_limit
: The maximum amount of balance that can be charged from the caller to pay for the storage consumed.data
: The input data to pass to the contract.If the account is a smart-contract account, the associated code will be executed and any value will be transferred.
If the account is a regular account, any value will be transferred.
If no account exists and the call value is not less than
existential_deposit
, a regular account will be created and any value will be transferred.