Module Values.ContractIdentifierSource

Container for the blockchain address and network information about a contract.

Sourcetype nonrec t = {
  1. network : QueryNetwork.t;
    (*

    The blockchain network of the contract.

    *)
  2. contractAddress : ChainAddress.t;
    (*

    Container for the blockchain address about a contract.

    *)
}
Sourceval context_ : string
Sourceval make : network:QueryNetwork.t -> contractAddress:ChainAddress.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ChainAddress.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t