Documentation ¶
Index ¶
- func CheckAllowance(cliCtx context.CLIContext, issueID string, owner sdk.AccAddress, ...) error
- func CheckFreeze(cliCtx context.CLIContext, issueID string, from sdk.AccAddress, ...) error
- func GetBurnMsg(cliCtx context.CLIContext, sender sdk.AccAddress, burnFrom sdk.AccAddress, ...) (sdk.Msg, error)
- func GetIssueApproveMsg(cliCtx context.CLIContext, issueID string, account sdk.AccAddress, ...) (sdk.Msg, error)
- func GetIssueByID(cliCtx context.CLIContext, issueID string) (types.Issue, error)
- func GetIssueFreezeMsg(cliCtx context.CLIContext, account sdk.AccAddress, freezeType string, ...) (sdk.Msg, error)
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- type PostDescriptionReq
- type PostIssueBaseReq
- type PostIssueReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAllowance ¶
func CheckAllowance( cliCtx context.CLIContext, issueID string, owner sdk.AccAddress, spender sdk.AccAddress, amount sdk.Int, ) error
func CheckFreeze ¶
func CheckFreeze(cliCtx context.CLIContext, issueID string, from sdk.AccAddress, to sdk.AccAddress) error
func GetBurnMsg ¶
func GetBurnMsg( cliCtx context.CLIContext, sender sdk.AccAddress, burnFrom sdk.AccAddress, issueID string, amount sdk.Int, burnFromType string, cli bool, ) (sdk.Msg, error)
func GetIssueApproveMsg ¶
func GetIssueApproveMsg( cliCtx context.CLIContext, issueID string, account sdk.AccAddress, accAddress sdk.AccAddress, approveType string, amount sdk.Int, cli bool, ) (sdk.Msg, error)
func GetIssueByID ¶
func GetIssueFreezeMsg ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes register distribution REST routes.
Types ¶
type PostDescriptionReq ¶
type PostIssueBaseReq ¶
type PostIssueReq ¶
type PostIssueReq struct { BaseReq rest.BaseReq `json:"base_req"` types.IssueParams `json:"issue"` }
Click to show internal directories.
Click to hide internal directories.