package tezt-tezos

  1. Overview
  2. Docs
type fa12_script = {
  1. name : string list;
  2. build_storage : Account.key -> string;
  3. mint_entrypoint : string;
  4. mint_arg : Account.key -> Tez.t -> string;
}
val fa12_reference : fa12_script

fa12_script for mini_scenarios/fa12_reference.

val lqt_fa12 : fa12_script

fa12_script for mini_scenarios/lqt_fa12.mligo.

val fa12_scripts : fa12_script list

List of fa12_scripts that can be used in generic FA1.2 tests.

val originate_fa12 : src:string -> admin:Account.key -> fa12_script:fa12_script -> Client.t -> Protocol.t -> (string * string) Lwt.t

originate_fa12 ~src ~admin ~fa12_script client protocol originates FA1.2 contract fa12_script from src with administrator set to admin.

Returns a pair (alias * address) for the originated contract.

val mint : admin:Account.key -> mint:Tez.t -> dest:Account.key -> fa12_address:string -> fa12_script:fa12_script -> Client.t -> unit Lwt.t

mint ~admin ~mint ~dest ~fa12_address ~fa12_script client mints mint for dest using the administrator admin.

OCaml

Innovation. Community. Security.