Sets the executable bytecode of the given address.
address
The maximum bytecode size is 10MB.
TODO: explains security mechanisms. See related issue
The target address whose bytecode will be set. It should be of type Address.
Address
The bytecode to be set for the address. It should be a StaticArray<u8>.
StaticArray<u8>
Generated using TypeDoc
Sets the executable bytecode of the given
address
.Remarks
The maximum bytecode size is 10MB.
TODO: explains security mechanisms. See related issue
Throws
address
does not correspond to a smart contract in the ledger.address
.