Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalRESTHandler ¶
func ProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
ProposalRESTHandler returns a ProposalRESTHandler that exposes the community pool Ethereum spend REST handler with a given sub-route.
Types ¶
type CommunityPoolEthereumSpendProposalReq ¶
type CommunityPoolEthereumSpendProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Recipient string `json:"recipient" yaml:"recipient"` Amount sdk.Coin `json:"amount" yaml:"amount"` BridgeFee sdk.Coin `json:"bridge_fee" yaml:"bridge_fee"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
CommunityPoolEthereumSpendProposalReq defines a community pool Ethereum spend proposal request body.
Click to show internal directories.
Click to hide internal directories.