def update_sc(nef_file: bytes, manifest: bytes, data: Any = None): """ Updates the smart contract. In this example there is a bugged method, so, the smart contract will be updated to fix the bug. """ if check_witness(OWNER): ContractManagement.update(nef_file, manifest, data)
def Main(script: bytes, manifest: str, data: Any, arg0: Any): ContractManagement.update(script, manifest, data, arg0)
def update(script: bytes, manifest: bytes, data: Any): ContractManagement.update(script, manifest, data)
def Main(script: bytes): ContractManagement.update(script)