Documentation
¶
Index ¶
- Constants
- Variables
- type Account
- type AccountTokensInfo
- type Block
- type BlockResults
- type BookRes
- type Client
- func (cli *Client) Auth() exposed.Auth
- func (cli *Client) Backend() exposed.Backend
- func (cli *Client) Dex() exposed.Dex
- func (cli *Client) Distribution() exposed.Distribution
- func (cli *Client) GetConfig() sdk.ClientConfig
- func (cli *Client) Governance() exposed.Governance
- func (cli *Client) Order() exposed.Order
- func (cli *Client) Slashing() exposed.Slashing
- func (cli *Client) Staking() exposed.Staking
- func (cli *Client) Tendermint() exposed.Tendermint
- func (cli *Client) Token() exposed.Token
- type Deal
- type DelegatorResp
- type MatchResult
- type Order
- type OrderDetail
- type Proposal
- type ResultCommit
- type ResultTx
- type ResultTxs
- type ResultValidators
- type Ticker
- type Token
- type TokenPair
- type TxResponse
- type Validator
Constants ¶
View Source
const ( BroadcastSync = sdk.BroadcastSync BroadcastAsync = sdk.BroadcastAsync BroadcastBlock = sdk.BroadcastBlock // vote for the proposal VoteYes = "yes" VoteAbstain = "abstain" VoteNo = "no" VoteNoWithVeto = "no_with_veto" )
const
Variables ¶
View Source
var ( // NewClientConfig gives an easy way for the callers to set client config NewClientConfig = sdk.NewClientConfig )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client - structure of the main client of okchain gosdk
func NewClient ¶
func NewClient(config sdk.ClientConfig) Client
NewClient creates a new instance of Client
func (*Client) Distribution ¶
func (cli *Client) Distribution() exposed.Distribution
func (*Client) GetConfig ¶
func (cli *Client) GetConfig() sdk.ClientConfig
GetConfig returns the client config
func (*Client) Governance ¶ added in v0.11.0
func (cli *Client) Governance() exposed.Governance
func (*Client) Tendermint ¶
func (cli *Client) Tendermint() exposed.Tendermint
Directories
¶
| Path | Synopsis |
|---|---|
|
Package types is a generated GoMock package.
|
Package types is a generated GoMock package. |
|
crypto/keys/hd
Package hd provides basic functionality Hierarchical Deterministic Wallets.
|
Package hd provides basic functionality Hierarchical Deterministic Wallets. |
Click to show internal directories.
Click to hide internal directories.