package tezos-protocol-012-Psithaca
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-protocol-012-Psithaca.raw/Tezos_raw_protocol_012_Psithaca/Contract_manager_storage/index.html
Module Tezos_raw_protocol_012_Psithaca.Contract_manager_storage
Source
Source
type Tezos_protocol_environment_012_Psithaca.Error_monad.error +=
| Unrevealed_manager_key of Contract_repr.t
| Inconsistent_hash of {
public_key : Tezos_protocol_environment_012_Psithaca.Signature.Public_key.t;
expected_hash : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t;
provided_hash : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t;
}
| Previously_revealed_key of Contract_repr.t
Source
val init :
Raw_context.t ->
Contract_repr.t ->
Manager_repr.manager_key ->
Raw_context.t Tezos_protocol_environment_012_Psithaca.Error_monad.tzresult
Tezos_protocol_environment_012_Psithaca.Lwt.t
init ctxt contract manager
associates manager
to contract
. This function is undefined if contract
has already a manager associated to it.
Source
val reveal_manager_key :
Raw_context.t ->
Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t ->
Tezos_protocol_environment_012_Psithaca.Signature.Public_key.t ->
Raw_context.t Tezos_protocol_environment_012_Psithaca.Error_monad.tzresult
Tezos_protocol_environment_012_Psithaca.Lwt.t
Source
val get_manager_key :
?error:Tezos_protocol_environment_012_Psithaca.Error_monad.error ->
Raw_context.t ->
Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t ->
Tezos_protocol_environment_012_Psithaca.Signature.Public_key.t
Tezos_protocol_environment_012_Psithaca.Error_monad.tzresult
Tezos_protocol_environment_012_Psithaca.Lwt.t
get_manager_key ?error ctxt pkh
returns the revealed manager key of the contract represented by pkh
. When error
is not provided this function fails with "get_manager_key" error if pkh
does not have a manager, and with Unrevealed_manager_key
error if the manager has not revealed its key. When error
is provided, the function fails with the provided error
in both cases.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>