Kujira.Usk.Controller (kujira v0.1.47)

A contract that owns the minting rights for USK, and whitelists individual contracts for USK minting

Fields

  • :address - The address of the contract

  • :owner - The owner of the contract

  • :token - The token that this contract is the admin for (USK)

  • :permitted - Addresses permitted to mint USK via the controller

Summary

Types

@type t() :: %Kujira.Usk.Controller{
  address: String.t(),
  owner: String.t(),
  permitted: [String.t()],
  token: Kujira.Token.t()
}

Functions

Link to this function

from_query(channel, address, map)

@spec from_query(GRPC.Channel.t(), String.t(), map()) :: {:ok, t()} | :error