Documentation ¶
Index ¶
- func RegisterCoinProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func RegisterERC20ProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func ToggleTokenRelayRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func UpdateTokenPairERC20ProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- type RegisterCoinProposalRequest
- type RegisterERC20ProposalRequest
- type ToggleTokenRelayProposalRequest
- type UpdateTokenPairERC20ProposalRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCoinProposalRESTHandler ¶
func RegisterCoinProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func RegisterERC20ProposalRESTHandler ¶
func RegisterERC20ProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func ToggleTokenRelayRESTHandler ¶
func ToggleTokenRelayRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func UpdateTokenPairERC20ProposalRESTHandler ¶
func UpdateTokenPairERC20ProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type RegisterCoinProposalRequest ¶
type RegisterCoinProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Metadata banktypes.Metadata `json:"metadata" yaml:"metadata"` }
RegisterCoinProposalRequest defines a request for a new register coin proposal.
type RegisterERC20ProposalRequest ¶
type RegisterERC20ProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` ERC20Address string `json:"erc20_address" yaml:"erc20_address"` }
RegisterERC20ProposalRequest defines a request for a new register ERC20 proposal.
type ToggleTokenRelayProposalRequest ¶
type ToggleTokenRelayProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` Token string `json:"token" yaml:"token"` }
ToggleTokenRelayProposalRequest defines a request for a toggle token relay proposal.
type UpdateTokenPairERC20ProposalRequest ¶
type UpdateTokenPairERC20ProposalRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` ERC20Address string `json:"erc20_address" yaml:"erc20_address"` NewERC20Address string `json:"new_erc20_address" yaml:"new_erc20_address"` }
UpdateTokenPairERC20ProposalRequest defines a request for a update token pair ERC20 proposal.
Click to show internal directories.
Click to hide internal directories.