Documentation ¶
Index ¶
- Constants
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewAddAllowedBidderCmd() *cobra.Command
- func NewCancelAuctionCmd() *cobra.Command
- func NewCreateBatchAuctionCmd() *cobra.Command
- func NewCreateFixedPriceAuctionCmd() *cobra.Command
- func NewModifyBidCmd() *cobra.Command
- func NewPlaceBidCmd() *cobra.Command
- func NewQueryAllowedBidderCmd() *cobra.Command
- func NewQueryAllowedBiddersCmd() *cobra.Command
- func NewQueryAuctionCmd() *cobra.Command
- func NewQueryAuctionsCmd() *cobra.Command
- func NewQueryBidsCmd() *cobra.Command
- func NewQueryParamsCmd() *cobra.Command
- func NewQueryVestingsCmd() *cobra.Command
- func ParseBidType(s string) (types.BidType, error)
- type BatchAuctionRequest
- type FixedPriceAuctionRequest
Constants ¶
View Source
const ( FlagAuctionStatus = "status" FlagAuctionType = "type" FlagBidderAddr = "bidder-addr" FlagIsMatched = "is-matched" )
Variables ¶
This section is empty.
Functions ¶
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewAddAllowedBidderCmd ¶
func NewCancelAuctionCmd ¶
func NewModifyBidCmd ¶
func NewPlaceBidCmd ¶
func NewQueryAuctionCmd ¶
func NewQueryAuctionsCmd ¶
func NewQueryBidsCmd ¶
func NewQueryParamsCmd ¶
func NewQueryVestingsCmd ¶
Types ¶
type BatchAuctionRequest ¶
type BatchAuctionRequest struct { StartPrice sdk.Dec `json:"start_price"` MinBidPrice sdk.Dec `json:"min_bid_price"` SellingCoin sdk.Coin `json:"selling_coin"` PayingCoinDenom string `json:"paying_coin_denom"` MaxExtendedRound uint32 `json:"max_extended_round"` ExtendedRoundRate sdk.Dec `json:"extended_round_rate"` VestingSchedules []types.VestingSchedule `json:"vesting_schedules"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
BatchAuctionRequest defines CLI request for an batch auction.
func ParseBatchAuctionRequest ¶
func ParseBatchAuctionRequest(fileName string) (req BatchAuctionRequest, err error)
ParseBatchAuctionRequest reads the file and parses BatchAuctionRequest.
func (BatchAuctionRequest) String ¶
func (req BatchAuctionRequest) String() string
String returns a human readable string representation of the request.
type FixedPriceAuctionRequest ¶
type FixedPriceAuctionRequest struct { StartPrice sdk.Dec `json:"start_price"` SellingCoin sdk.Coin `json:"selling_coin"` PayingCoinDenom string `json:"paying_coin_denom"` VestingSchedules []types.VestingSchedule `json:"vesting_schedules"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
FixedPriceAuctionRequest defines CLI request for a fixed price auction.
func ParseFixedPriceAuctionRequest ¶
func ParseFixedPriceAuctionRequest(fileName string) (req FixedPriceAuctionRequest, err error)
ParseFixedPriceAuctionRequest reads the file and parses FixedPriceAuctionRequest.
func (FixedPriceAuctionRequest) String ¶
func (req FixedPriceAuctionRequest) String() string
String returns a human readable string representation of the request.
Click to show internal directories.
Click to hide internal directories.