# Functions
BlackHoleAddress returns the black hole address.
BytesToInt64 converts bytes to int64.
CheckSignerAddress delegators must be the same as to the signers and amount only one.
invalid address.
No description provided by the author
invalid paginate param.
No description provided by the author
could not marshal result to JSON.
No description provided by the author
No description provided by the author
could not unmarshal result to origin.
GetBaseResponse gets a default base response.
GetEmptyListResponse returns an empty list response.
GetErrorResponse creates an error base response.
GetErrorResponseJSON marshals the base response into JSON bytes.
No description provided by the author
GetListResponse returns a list response.
GetPage returns the offset and limit for data query.
HandleErrorMsg handles the error msg.
HandleErrorResponseV2 is the handler of error response with V2 standard.
HandleResponseV2 handles the response of V2 standard.
HandleSuccessResponseV2 is the handler of successful response with V2 standard.
HasSufficientCoins checks whether the account has sufficient coins.
No description provided by the author
Int64ToBytes converts int64 to bytes.
JSONMarshalV2 marshals info into JSON based on V2 standard.
JSONUnmarshalV2 unmarshals JSON bytes based on V2 standard.
mulAndQuo returns a * b / c.
Paginate converts page params for a paginated query,.
No description provided by the author
No description provided by the author
No description provided by the author
SkipSysTestChecker is supported to used in System Unit Test (described in http://gitlab.okcoin-inc.com/dex/brczero/issues/472) if System environment variables "SYS_TEST_ALL" is set to 1, all of the system test will be enable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
"incorrectly formatted request data", err.Error().
const uint32.
No description provided by the author
const.
const.
const.
const.
const.
const.
account error.
const.
const.
const.
staking error.
common error.
order error.
const.
const.
No description provided by the author
const.
# Structs
BaseResponse is the main frame of response.
ListDataRes is the struct of list data result.
ListResponse is the frame of list response.
ParamPage is the struct of params page.
No description provided by the author
# Type aliases
No description provided by the author