Contract factories and bytecode introspection #796
@ -782,8 +782,9 @@ Chain.create(value : int, ...) => 'c
|
|||||||
|
|
||||||
Creates and deploys a new instance of a contract `'c`. All of the unnamed
|
Creates and deploys a new instance of a contract `'c`. All of the unnamed
|
||||||
arguments will be passed to the `init` function. The charged gas is affine to
|
arguments will be passed to the `init` function. The charged gas is affine to
|
||||||
the size of the compiled child contract's bytecode. The `source_hash` onchain
|
the size of the compiled child contract's bytecode. The `source_hash` on-chain
|
||||||
entry of the newly created contract will be a SHA256 hash over concatenation of
|
entry of the newly created contract will be the SHA256 hash over concatenation
|
||||||
|
of
|
||||||
|
|
||||||
- whole contract source code
|
- whole contract source code
|
||||||
- single null byte
|
- single null byte
|
||||||
|
Loading…
x
Reference in New Issue
Block a user