package tezos-client-alpha

  1. Overview
  2. Docs

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

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.

val build_lambda_for_set_delegate : delegate:Tezos_protocol_alpha.Protocol.Alpha_context.public_key_hash option -> string
val build_lambda_for_transfer_to_implicit : destination:Tezos_protocol_alpha.Protocol.Alpha_context.public_key_hash -> amount:Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t -> string
OCaml

Innovation. Community. Security.