Documentation
¶
Index ¶
- Constants
- func GetCurrentAuctions() (*auctypes.BaseAuction, error)
- func GetEventAttributes(attributes []tmCommon.KVPair) (types.CollateralAuction, error)
- func ScanBidCoin() (sdk.Coin, error)
- func ScanBidDecision() (bool, error)
- func StartSubscription(provider string, chainID string, from string, passphrase string, ...) error
Constants ¶
View Source
const ( // BaseURL is the base url for kava's rest-server BaseURL = "http://localhost:1317" // AuctionModuleName is the auction module's name AuctionModuleName = "auction" )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentAuctions ¶
func GetCurrentAuctions() (*auctypes.BaseAuction, error)
GetCurrentAuctions gets a list of the current auctions
func GetEventAttributes ¶
func GetEventAttributes(attributes []tmCommon.KVPair) (types.CollateralAuction, error)
GetEventAttributes parses details from a new CollateralAuction
func ScanBidCoin ¶
ScanBidCoin takes user input for their sdk.Coin bid
func ScanBidDecision ¶
ScanBidDecision reads the users bid decision input
func StartSubscription ¶
func StartSubscription( provider string, chainID string, from string, passphrase string, coinDenom string, cdc *amino.Codec, cliCtx sdkContext.CLIContext, accAddress sdk.AccAddress, ) error
StartSubscription starts a subscription to the tendermint node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.