Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes - Central function to define routes that get registered by the main application
Types ¶
type PostBlockAddressReq ¶
type PostBlockAddressReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Address sdk.AccAddress `json:"blocked_address" yaml:"blocked_address"` Denom string `json:"denom" yaml:"denom"` }
PostBlockAddressReq defines the properties of a block address request's body
type PostIssueReq ¶
type PostIssueReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Tokens sdk.Coin `json:"tokens" yaml:"tokens"` Receiver sdk.AccAddress `json:"receiver" yaml:"receiver"` }
PostIssueReq defines the properties of an issue token request's body
type PostPauseReq ¶
type PostPauseReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Denom string `json:"denom" yaml:"denom"` Status bool `json:"status" yaml:"status"` }
PostPauseReq defines the properties of a pause request's body
type PostRedeemReq ¶
type PostRedeemReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Tokens sdk.Coin `json:"tokens" yaml:"tokens"` }
PostRedeemReq defines the properties of a redeem token request's body
type PostUnblockAddressReq ¶
type PostUnblockAddressReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Address sdk.AccAddress `json:"blocked_address" yaml:"blocked_address"` Denom string `json:"denom" yaml:"denom"` }
PostUnblockAddressReq defines the properties of a unblock address request's body
Click to show internal directories.
Click to hide internal directories.