package octez-protocol-006-PsCARTHA-libs

  1. Overview
  2. Docs
Octez protocol 006-PsCARTHA libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-protocol-006-PsCARTHA-libs.client/Tezos_client_006_PsCARTHA/Managed_contract/index.html

Module Tezos_client_006_PsCARTHA.Managed_contractSource

Sourceval get_contract_manager : Protocol_client_context.full -> Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Contract.t -> Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.public_key_hash Tezos_base.TzPervasives.tzresult Lwt.t

Retrieve the manager key in a contract storage. The storage has to be of type `pair key_hash 'a`.

Sourceval set_delegate : Protocol_client_context.full -> chain:Tezos_shell_services.Chain_services.chain -> block:Tezos_shell_services.Block_services.block -> ?confirmations:int -> ?dry_run:bool -> ?verbose_signing:bool -> ?branch:int -> fee_parameter:Injection.fee_parameter -> ?fee:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Tez.t -> source:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.public_key_hash -> src_pk:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.public_key -> src_sk:Tezos_client_base.Client_keys_v0.sk_uri -> Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Contract.t -> Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.public_key_hash option -> Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Kind.transaction Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Kind.manager Injection.result Tezos_base.TzPervasives.tzresult Lwt.t

Set the delegate of a manageable contract. For a contract with a `do`entrypoint, it builds the lambda that set the provided delegate. `~source` has to be the registered manager of the contract.

Sourceval transfer : Protocol_client_context.full -> chain:Tezos_shell_services.Chain_services.chain -> block:Tezos_shell_services.Block_services.block -> ?confirmations:int -> ?dry_run:bool -> ?verbose_signing:bool -> ?branch:int -> source:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.public_key_hash -> src_pk:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.public_key -> src_sk:Tezos_client_base.Client_keys_v0.sk_uri -> contract:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Contract.t -> destination:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Contract.t -> ?entrypoint:string -> ?arg:string -> amount:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Tez.t -> ?fee:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Tez.t -> ?gas_limit:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.counter -> ?storage_limit:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.counter -> ?counter:Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.counter -> fee_parameter:Injection.fee_parameter -> unit -> (Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Kind.transaction Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Kind.manager Injection.result * Tezos_protocol_006_PsCARTHA.Protocol.Alpha_context.Contract.t list) Tezos_base.TzPervasives.tzresult Lwt.t

Perform a transfer on behalf of a managed contract . For a contract with a `do`entrypoint, it builds the lambda that does the requested operation. `~source` has to be the registered manager of the contract.

OCaml

Innovation. Community. Security.