Documentation
¶
Index ¶
- Variables
- func App() *cli.App
- func CommandBidAuction() *cli.Command
- func CommandBuyOrSell() *cli.Command
- func CommandCheckoutAuction() *cli.Command
- func CommandCloseAuction() *cli.Command
- func CommandCloseOrder() *cli.Command
- func CommandCreateAuction() *cli.Command
- func CommandCreateOrder() *cli.Command
- func CommandCreateSellOrdersFromFile() *cli.Command
- func CommandListAuction() *cli.Command
- func CommandListAuctionBids() *cli.Command
- func CommandListOrders() *cli.Command
- func CommandRetrieveLockedFundsAuction() *cli.Command
- func CommandSetMinBidAuction() *cli.Command
- func CommandViewAsset() *cli.Command
- type Auction
- type Bid
- type Order
Constants ¶
This section is empty.
Variables ¶
View Source
var AUCTION_SCID map[string]string = map[string]string{
"mainnet": "",
"testnet": "a8b7153181a9da75eed78bc523d9496025768569e3ecb8dff60966e7934bcbb1",
"simulator": "c82f7fcf1ce54c54a80e92535356814827ea3af071da39778dea64c16931d5d8",
}
View Source
var DAPP_NAME = "asset-trade"
View Source
var EXCHANGE_SCID map[string]string = map[string]string{
"mainnet": "e2ec01dcb1fc87abc6af5e958c936c0ad05e19b318be1c87e9ba2d188e8d689f",
"testnet": "d8301b171c1554c15a553f26dfd8754963c9201781fd46eb4c547685029afeb8",
"simulator": "ad0be83e6443c9002eb063e9443230e250f2a2007bacb6a141e72e8eea3a1bf1",
}
Functions ¶
func CommandBidAuction ¶
func CommandBidAuction() *cli.Command
func CommandBuyOrSell ¶
func CommandBuyOrSell() *cli.Command
func CommandCheckoutAuction ¶
func CommandCheckoutAuction() *cli.Command
func CommandCloseAuction ¶
func CommandCloseAuction() *cli.Command
func CommandCloseOrder ¶
func CommandCloseOrder() *cli.Command
func CommandCreateAuction ¶
func CommandCreateAuction() *cli.Command
func CommandCreateOrder ¶
func CommandCreateOrder() *cli.Command
func CommandCreateSellOrdersFromFile ¶
func CommandCreateSellOrdersFromFile() *cli.Command
func CommandListAuction ¶
func CommandListAuction() *cli.Command
func CommandListAuctionBids ¶
func CommandListAuctionBids() *cli.Command
func CommandListOrders ¶
func CommandListOrders() *cli.Command
func CommandRetrieveLockedFundsAuction ¶
func CommandRetrieveLockedFundsAuction() *cli.Command
func CommandSetMinBidAuction ¶
func CommandSetMinBidAuction() *cli.Command
func CommandViewAsset ¶
func CommandViewAsset() *cli.Command
Types ¶
type Auction ¶
type Auction struct { Id sql.NullInt64 StartAmount sql.NullInt64 SellAssetId sql.NullString SellAmount sql.NullInt64 StartTimestamp sql.NullInt64 Duration sql.NullInt64 Seller sql.NullString BidAssetId sql.NullString MinBidAmount sql.NullInt64 BidSum sql.NullInt64 BidCount sql.NullInt64 Timestamp sql.NullInt64 Complete sql.NullBool LastBidder sql.NullString }
func (*Auction) DisplayStartTimestamp ¶
func (*Auction) DisplayTimestamp ¶
type Bid ¶
type Bid struct { AuId sql.NullInt64 Bidder sql.NullString LockedAmount sql.NullInt64 Timestamp sql.NullString }
type Order ¶
type Order struct { Id sql.NullInt64 Type sql.NullString AssetAmount sql.NullInt64 AssetBalance sql.NullInt64 AssetId sql.NullString PriceAssetId sql.NullString UnitPrice sql.NullInt64 Creator sql.NullString Timestamp sql.NullInt64 Close sql.NullBool PriceAmount sql.NullInt64 PriceBalance sql.NullInt64 OneTxOnly sql.NullBool ExpireTimestamp sql.NullInt64 }
func (*Order) DisplayExpireTimestamp ¶
func (*Order) DisplayTimestamp ¶
Click to show internal directories.
Click to hide internal directories.