package octez-protocol-005-PsBabyM1-libs

  1. Overview
  2. Docs
Octez protocol 005-PsBabyM1 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-005-PsBabyM1-libs.client/Tezos_client_005_PsBabyM1/Managed_contract/index.html

Module Tezos_client_005_PsBabyM1.Managed_contractSource

Sourceval get_contract_manager : Protocol_client_context.full -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> Tezos_protocol_005_PsBabyM1.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_005_PsBabyM1.Protocol.Alpha_context.Tez.t -> source:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.public_key_hash -> src_pk:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.public_key -> src_sk:Tezos_client_base.Client_keys_v0.sk_uri -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.public_key_hash option -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Kind.transaction Tezos_protocol_005_PsBabyM1.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_005_PsBabyM1.Protocol.Alpha_context.public_key_hash -> src_pk:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.public_key -> src_sk:Tezos_client_base.Client_keys_v0.sk_uri -> contract:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> destination:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> ?entrypoint:string -> ?arg:string -> amount:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Tez.t -> ?fee:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Tez.t -> ?gas_limit:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.counter -> ?storage_limit:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.counter -> ?counter:Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.counter -> fee_parameter:Injection.fee_parameter -> unit -> (Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Kind.transaction Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Kind.manager Injection.result * Tezos_protocol_005_PsBabyM1.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.