package tezos-protocol-014-PtKathma

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-protocol-014-PtKathma.raw/Tezos_raw_protocol_014_PtKathma/Contract_delegate_storage/index.html

Module Tezos_raw_protocol_014_PtKathma.Contract_delegate_storageSource

registered ctxt delegate returns true iff delegate is an implicit contract that delegates to itself.

init ctxt contract delegate sets the delegate associated to contract.

This function is undefined if contract is not allocated, or if contract has already a delegate.

unlink ctxt contract removes contract from the list of contracts that delegated to find ctxt contract, i.e. the output of delegated_contracts. This function does not affect the value of the expression find ctxt contract.

This function is undefined if contract is not allocated.

delete ctxt contract behaves as unlink ctxt contract, but in addition removes the association of the contract to its current delegate, leaving the former without delegate.

This function is undefined if contract is not allocated.

set ctxt contract delegate updates the delegate associated to contract.

This function is undefined if contract is not allocated, or if contract does not have a delegate.

delegated_contracts ctxt delegate returns the list of contracts (implicit or originated) that delegated to delegate.

OCaml

Innovation. Community. Security.