package tezos-protocol-013-PtJakart
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-013-PtJakart.raw/Tezos_raw_protocol_013_PtJakart/Contract_manager_storage/index.html
Module Tezos_raw_protocol_013_PtJakart.Contract_manager_storage
Source
Source
type Tezos_protocol_environment_013_PtJakart.Error_monad.error +=
| Unrevealed_manager_key of Contract_repr.t
| Inconsistent_hash of {
public_key : Tezos_protocol_environment_013_PtJakart.Signature.Public_key.t;
expected_hash : Tezos_protocol_environment_013_PtJakart.Signature.Public_key_hash.t;
provided_hash : Tezos_protocol_environment_013_PtJakart.Signature.Public_key_hash.t;
}
| Previously_revealed_key of Contract_repr.t
| Missing_manager_contract of Contract_repr.t
Source
val init :
Raw_context.t ->
Contract_repr.t ->
Manager_repr.manager_key ->
Raw_context.t Tezos_protocol_environment_013_PtJakart.Error_monad.tzresult
Tezos_protocol_environment_013_PtJakart.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_013_PtJakart.Signature.Public_key_hash.t ->
Tezos_protocol_environment_013_PtJakart.Signature.Public_key.t ->
Raw_context.t Tezos_protocol_environment_013_PtJakart.Error_monad.tzresult
Tezos_protocol_environment_013_PtJakart.Lwt.t
Source
val get_manager_key :
?error:Tezos_protocol_environment_013_PtJakart.Error_monad.error ->
Raw_context.t ->
Tezos_protocol_environment_013_PtJakart.Signature.Public_key_hash.t ->
Tezos_protocol_environment_013_PtJakart.Signature.Public_key.t
Tezos_protocol_environment_013_PtJakart.Error_monad.tzresult
Tezos_protocol_environment_013_PtJakart.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)"
>