Documentation ¶
Index ¶
Constants ¶
View Source
const ( EraUpdateStarted = "era_update_started" EraUpdateEnded = "era_update_ended" BondStarted = "bond_started" BondEnded = "bond_ended" WithdrawStarted = "withdraw_started" WithdrawEnded = "withdraw_ended" RebondStarted = "rebond_started" RebondEnded = "rebond_ended" ActiveEnded = "active_ended" )
Status
View Source
const ( BalancesQueryKind = "balances" DelegationsQueryKind = "delegations" ValidatorsQueryKind = "validators" )
QueryKind
View Source
const (
WaitQueryUpdate = "wait_query_update"
)
ValidatorUpdateStatus
Variables ¶
View Source
var StatusForExecute = map[string]string{ ActiveEnded: "era_update", EraUpdateEnded: "era_bond", BondEnded: "era_withdraw_collect", WithdrawEnded: "era_rebond", RebondEnded: "era_active", }
Functions ¶
This section is empty.
Types ¶
type ICAData ¶
type ICAData struct { Admin string `json:"admin"` PoolAddressIcaInfo struct { CtrlChannelID string `json:"ctrl_channel_id"` CtrlConnectionID string `json:"ctrl_connection_id"` CtrlPortID string `json:"ctrl_port_id"` HostChannelID string `json:"host_channel_id"` HostConnectionID string `json:"host_connection_id"` IcaAddr string `json:"ica_addr"` } `json:"pool_address_ica_info"` WithdrawAddressIcaInfo struct { CtrlChannelID string `json:"ctrl_channel_id"` CtrlConnectionID string `json:"ctrl_connection_id"` CtrlPortID string `json:"ctrl_port_id"` HostChannelID string `json:"host_channel_id"` HostConnectionID string `json:"host_connection_id"` IcaAddr string `json:"ica_addr"` } `json:"withdraw_address_ica_info"` }
type QueryPoolInfoReq ¶
type QueryPoolInfoReq struct {
PoolInfo PoolAddr `json:"pool_info"`
}
type QueryPoolInfoRes ¶
type QueryPoolInfoRes struct { IcaId string `json:"ica_id"` Era uint64 `json:"era"` EraSeconds uint64 `json:"era_seconds"` Offset int64 `json:"offset"` Bond string `json:"bond"` Unbond string `json:"unbond"` Active string `json:"active"` Rate string `json:"rate"` RateChangeLimit string `json:"rate_change_limit"` Status string `json:"status"` ValidatorUpdateStatus string `json:"validator_update_status"` EraSnapshot eraSnapshot `json:"era_snapshot"` Paused bool `json:"paused"` LsmSupport bool `json:"lsm_support"` ValidatorAddrs []string `json:"validator_addrs"` }
type RedeemTokenForShareMsg ¶
type RedeemTokenForShareMsg struct {}
type RegisterQueryInfoRes ¶
type RegisterQueryInfoRes struct { RegisteredQuery struct { Id int `json:"id"` Owner string `json:"owner"` Keys []struct { Path string `json:"path"` Key string `json:"key"` } `json:"keys"` QueryType string `json:"query_type"` TransactionsFilter string `json:"transactions_filter"` ConnectionId string `json:"connection_id"` UpdatePeriod uint64 `json:"update_period"` LastSubmittedResultLocalHeight uint64 `json:"last_submitted_result_local_height"` LastSubmittedResultRemoteHeight struct { RevisionNumber int `json:"revision_number"` RevisionHeight int `json:"revision_height"` } `json:"last_submitted_result_remote_height"` Deposit []struct { Denom string `json:"denom"` Amount string `json:"amount"` } `json:"deposit"` SubmitTimeout int `json:"submit_timeout"` RegisteredAtHeight int `json:"registered_at_height"` } `json:"registered_query"` }
type StackInfoReq ¶
type StackInfoReq struct{}
type StackInfoRes ¶
type StackInfoRes struct {
Pools []string `json:"pools"`
}
Click to show internal directories.
Click to hide internal directories.