update
update
Usage: update [alias] [address] --network <network> [options]
update contract to a new logic. Provide the [alias] you added your contract with, or use --all flag to update all. If no [address] is provided, all instances of that contract class will be updated
- Options:
--init [function]
call function after upgrading contract. If no name is given, 'initialize' will be used--args <arg1, arg2, ...>
provide initialization arguments for your contract if required--all
update all contracts in the application--force
force creation even if contracts have local modifications-n, --network <network>
network to be used-f, --from <from>
specify transaction sender address--timeout <timeout>
timeout in seconds for each blockchain transaction (defaults to 600s)