Documentation ¶
Index ¶
- Constants
- Variables
- func NewEthClient(ctx context.Context, rawurl string) (*ethClient, error)
- type Account
- type Block
- type BlockResults
- type BookRes
- type Client
- func (cli *Client) AmmSwap() exposed.AmmSwap
- 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) Evm() exposed.Evm
- func (cli *Client) Farm() exposed.Farm
- func (cli *Client) GetConfig() gosdktypes.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 DelegatorResponse
- type FarmPool
- type LockInfo
- type MatchResult
- type Order
- type OrderDetail
- type Proposal
- type QueryResCode
- type QueryResStorage
- type ResultCommit
- type ResultTx
- type ResultTxSearch
- type ResultValidators
- type SwapTokenPair
- type Ticker
- type TokenPair
- type TokenResp
- type Transaction
- type TxResponse
- type Validator
Constants ¶
View Source
const ( BroadcastSync = types.BroadcastSync BroadcastAsync = types.BroadcastAsync BroadcastBlock = types.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 = types.NewClientConfig )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client - structure of the main client of ExChain GoSDK
func NewClient ¶
func NewClient(config gosdktypes.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() gosdktypes.ClientConfig
GetConfig returns the client config
func (*Client) Governance ¶
func (cli *Client) Governance() exposed.Governance
func (*Client) Tendermint ¶
func (cli *Client) Tendermint() exposed.Tendermint
Directories ¶
Path | Synopsis |
---|---|
sample
|
|
Package types is a generated GoMock package.
|
Package types is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.