Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MarkerAccessRequest ¶
type MarkerAccessRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Address sdk.AccAddress `json:"address" yaml:"address"` Grant string `json:"grant" yaml:"grant"` }
MarkerAccessRequest is used for grant/revoke permissions for a given address on a marker
type NewMarkerRequest ¶
type NewMarkerRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Supply sdk.Int `json:"supply" yaml:"supply"` Manager sdk.AccAddress `json:"manager" yaml:"manager"` MarkerType string `json:"marker_type" yaml:"marker_type"` }
NewMarkerRequest defines the basic properties to create a marker
type StatusChangeRequest ¶
type StatusChangeRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` NewStatus string `json:"new_status" yaml:"new_status"` }
StatusChangeRequest attempts to update the status of a marker
type SupplyRequest ¶
type SupplyRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Recipient sdk.AccAddress `json:"recipient" yaml:"recipient"` Amount sdk.Coin `json:"amount" yaml:"amount"` }
SupplyRequest defines the properties of a request to mint/burn supply for a marker
Click to show internal directories.
Click to hide internal directories.