Mavryk_client_001_PtAtLas.Client_proto_multisig
val multisig_script :
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Script.expr
type multisig_action =
| Transfer of {
amount : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t;
destination : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Contract.t;
entrypoint : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Entrypoint.t;
parameter_type : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Script.expr;
parameter : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Script.expr;
}
| Change_delegate of Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key_hash
option
| Lambda of Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Script.expr
| Change_keys of Z.t
* Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key list
type multisig_prepared_action = {
bytes : Mavryk_base.TzPervasives.Bytes.t;
threshold : Z.t;
keys : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key list;
counter : Z.t;
entrypoint : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Entrypoint.t
option;
generic : bool;
}
val known_multisig_hashes :
Mavryk_protocol_001_PtAtLas.Protocol.Script_expr_hash.t list
val originate_multisig :
Protocol_client_context.full ->
chain:Mavryk_shell_services.Shell_services.chain ->
block:Mavryk_shell_services.Shell_services.block ->
?confirmations:int ->
?dry_run:bool ->
?branch:int ->
?fee:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t ->
?gas_limit:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Gas.Arith.integral ->
?safety_guard:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Gas.Arith.integral ->
?storage_limit:Z.t ->
?verbose_signing:bool ->
delegate:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key_hash option ->
threshold:Z.t ->
keys:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key list ->
balance:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t ->
source:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key_hash ->
src_pk:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key ->
src_sk:Mavryk_client_base.Client_keys.sk_uri ->
fee_parameter:Injection.fee_parameter ->
unit ->
(Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Kind.origination
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Kind.manager
Injection.result
* Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Contract.t)
Mavryk_base.TzPervasives.tzresult
Lwt.t
val prepare_multisig_transaction :
Protocol_client_context.full ->
chain:Mavryk_shell_services.Shell_services.chain ->
block:Mavryk_shell_services.Shell_services.block ->
multisig_contract:Mavryk_protocol_001_PtAtLas.Protocol.Contract_hash.t ->
action:multisig_action ->
unit ->
multisig_prepared_action Mavryk_base.TzPervasives.tzresult Lwt.t
val call_multisig :
Protocol_client_context.full ->
chain:Mavryk_shell_services.Shell_services.chain ->
block:Mavryk_shell_services.Shell_services.block ->
?confirmations:int ->
?dry_run:bool ->
?verbose_signing:bool ->
?branch:int ->
source:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key_hash ->
src_pk:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key ->
src_sk:Mavryk_client_base.Client_keys.sk_uri ->
multisig_contract:Mavryk_protocol_001_PtAtLas.Protocol.Contract_hash.t ->
action:multisig_action ->
signatures:Mavryk_base.TzPervasives.Signature.t list ->
amount:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t ->
?fee:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t ->
?gas_limit:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Gas.Arith.integral ->
?safety_guard:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Gas.Arith.integral ->
?storage_limit:Z.t ->
?counter:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Manager_counter.t ->
fee_parameter:Injection.fee_parameter ->
unit ->
(Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Kind.transaction
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Kind.manager
Injection.result
* Mavryk_protocol_001_PtAtLas.Protocol.Contract_hash.t list)
Mavryk_base.TzPervasives.tzresult
Lwt.t
val call_multisig_on_bytes :
Protocol_client_context.full ->
chain:Mavryk_shell_services.Shell_services.chain ->
block:Mavryk_shell_services.Shell_services.block ->
?confirmations:int ->
?dry_run:bool ->
?verbose_signing:bool ->
?branch:int ->
source:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key_hash ->
src_pk:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key ->
src_sk:Mavryk_client_base.Client_keys.sk_uri ->
multisig_contract:Mavryk_protocol_001_PtAtLas.Protocol.Contract_hash.t ->
bytes:Mavryk_base.TzPervasives.Bytes.t ->
signatures:Mavryk_base.TzPervasives.Signature.t list ->
amount:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t ->
?fee:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t ->
?gas_limit:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Gas.Arith.integral ->
?safety_guard:
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Gas.Arith.integral ->
?storage_limit:Z.t ->
?counter:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Manager_counter.t ->
fee_parameter:Injection.fee_parameter ->
unit ->
(Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Kind.transaction
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Kind.manager
Injection.result
* Mavryk_protocol_001_PtAtLas.Protocol.Contract_hash.t list)
Mavryk_base.TzPervasives.tzresult
Lwt.t