diff --git a/docs/alpha/michelson.rst b/docs/alpha/michelson.rst index 2906c14ce62f46abe63c9a400465c0a4c27fbcce..b3e784ec25153f4cfffe0f36ccc16b9b9333ae02 100644 --- a/docs/alpha/michelson.rst +++ b/docs/alpha/michelson.rst @@ -908,37 +908,37 @@ Removed instructions and types contract used these on Mainnet before they got deprecated, they have been removed. The Michelson type-checker will reject any contract using them. -- ``CREATE_CONTRACT { storage 'g ; parameter 'p ; code ... }``: +- ``CREATE_CONTRACT { parameter 'p ; storage 'g ; code ... }``: Forge a new contract from a literal. -:: + :: - :: key_hash : option key_hash : bool : bool : mutez : 'g : 'S - -> operation : address : 'S + Γ ⊢ CREATE_CONTRACT { parameter 'p ; storage 'g ; code ... } + :: key_hash : option key_hash : bool : bool : mutez : 'g : 'S + ⇒ operation : address : 'S -See the documentation of the new ``CREATE_CONTRACT`` instruction. The -first, third, and fourth parameters are ignored. + There is a new version of this instruction, see its `documentation `__. - ``CREATE_ACCOUNT``: Forge an account creation operation. -:: + :: - :: key_hash : option key_hash : bool : mutez : 'S - -> operation : address : 'S + Γ ⊢ CREATE_ACCOUNT :: key_hash : option key_hash : bool : mutez : 'S + ⇒ operation : address : 'S -Takes as argument the manager, optional delegate, the delegatable flag -and finally the initial amount taken from the currently executed -contract. This instruction originates a contract with two entrypoints; -``%default`` of type ``unit`` that does nothing and ``%do`` of type -``lambda unit (list operation)`` that executes and returns the -parameter if the sender is the contract's manager. + Takes as argument the manager, optional delegate, the delegatable flag + and finally the initial amount taken from the currently executed + contract. This instruction originates a contract with two entrypoints; + ``%default`` of type ``unit`` that does nothing and ``%do`` of type + ``lambda unit (list operation)`` that executes and returns the + parameter if the sender is the contract's manager. - ``STEPS_TO_QUOTA``: Push the remaining steps before the contract execution must terminate. -:: + :: - :: 'S -> nat : 'S + Γ ⊢ STEPS_TO_QUOTA :: 'S ⇒ nat : 'S :doc:`../protocols/016_mumbai` deprecated the following type. Because no smart contract used it on Mainnet before it got