Function concordium_base::transactions::construct::update_contract
source · pub fn update_contract(
num_sigs: u32,
sender: AccountAddress,
nonce: Nonce,
expiry: TransactionTime,
payload: UpdateContractPayload,
energy: Energy
) -> PreAccountTransaction
Expand description
Update a smart contract intance, giving it the given amount of energy for execution. The unique parameters are
energy
– the amount of energy that can be used for contract execution. The base energy amount for transaction verification will be added to this cost.