pre-fund clarification

This commit is contained in:
radrow 2021-05-17 19:15:10 +02:00
parent 87d20b1c94
commit 8d1ede63e5

View File

@ -791,7 +791,7 @@ of
- name of the child contract - name of the child contract
The resulting contract's public key can be predicted and in case it happens to The resulting contract's public key can be predicted and in case it happens to
have some funds before its creation, its balance will remain or be increased by have some funds before its creation, its balance will be increased by
the `value` parameter. the `value` parameter.
The `value` argument (default `0`) is equivalent to the value in the contract The `value` argument (default `0`) is equivalent to the value in the contract
@ -836,7 +836,7 @@ Chain.clone : ( ref : 'c, gas : int, value : int, protected : bool, ...
Clones the contract under the mandatory named argument `ref`. That means a new Clones the contract under the mandatory named argument `ref`. That means a new
contract of the same bytecode and the same `payable` parameter shall be created. contract of the same bytecode and the same `payable` parameter shall be created.
The resulting contract's public key can be predicted and in case it happens to The resulting contract's public key can be predicted and in case it happens to
have some funds before its creation, its balance will remain or be increased by have some funds before its creation, its balance will be increased by
the `value` parameter. **NOTE:** the `state` won't be copied and the contract the `value` parameter. **NOTE:** the `state` won't be copied and the contract
will be initialized with a regular call to the `init` function with the will be initialized with a regular call to the `init` function with the
remaining unnamed arguments. This operation is significantly cheaper than remaining unnamed arguments. This operation is significantly cheaper than