package
0.9.1
Repository: https://github.com/binance-chain/go-sdk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GenerateOrderID generates an order ID.
IsValidOrderType validates that an order type is valid and supported by the matching engine.
IsValidSide validates that a side is valid and supported by the matching engine.
IsValidTimeInForce validates that a tif code is correct.
IToOrderType conversion.
IToSide conversion.
IToTimeInForce conversion.
MustSortJSON is like SortJSON but panic if an error occurs, e.g., if the passed JSON isn't valid.
NewCancelOrderMsg constructs a new CancelOrderMsg.
NewCreateOrderMsg constructs a new CreateOrderMsg.
No description provided by the author
NewDexListMsg for instance creation.
NewFreezeMsg for instance creation.
NewInput - create a transaction input, used with SendMsg.
No description provided by the author
NewMsgSend - construct arbitrary multi-in, multi-out send msg.
No description provided by the author
No description provided by the author
NewOutput - create a transaction output, used with SendMsg.
NewMsg for instance creation.
NewTokenIssueMsg for instance creation.
NewUnfreezeMsg for instance creation.
String to proposalType byte.
No description provided by the author
SideStringToSideCode converts a string like "BUY" to its internal side code.
SortJSON takes any JSON and returns it sorted by keys.
TifStringToTifCode converts a string like "GTC" to its internal tif code.
ValidateSymbol utility.
String to proposalType byte.

# Constants

constants.
constants.
90 billions with 8 decimal digits.
name to idetify transaction types.
constants.
nolint.
nolint.
nolint.
nolint.
nolint.
ProposalTypeFeeChange belongs to ProposalTypeParameterChange.
nolint.
nolint.
nolint.
nolint.
nolint.
Order routes.
Order routes.

# Variables

No description provided by the author
OrderSide /TimeInForce /OrderType are const, following FIX protocol convention Used as Enum.
OrderType is an enum of order type options supported by the matching engine.
TimeInForce is an enum of TIF (Time in Force) options supported by the matching engine.

# Structs

CancelOrderMsg represents a message to cancel an open order.
CreateOrderMsg def.
----------------------------------------------------------- DepositMsg.
DexListMsg def.
Transaction Input.
-----------------------------------------------------------.
No description provided by the author
Transaction Output.
SendMsg - high level transaction of the coin module.
-----------------------------------------------------------.
TokenBurnMsg def.
TokenFreezeMsg def.
TokenIssueMsg def.
TokenUnfreezeMsg def.
----------------------------------------------------------- VoteMsg.

# Interfaces

Msg - Transactions messages must fulfill the Msg.

# Type aliases

Type that represents Proposal Type as a byte.
No description provided by the author