upgrade
upgrade
Usage: upgrade [alias] [address] --network <network> [options]
upgrade contract to a new logic. Provide the [alias] you added your contract with, or use --all flag to upgrade all. If no [address] is provided, all instances of that contract class will be upgraded
- 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
upgrade all contracts in the application-f, --from <from>
specify transaction sender address-n, --network <network>
network to be used--force
force creation even if contracts have local modifications