Tezos_client_005_PsBabyM1.Managed_contract
val 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`.
val 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.
val 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.