Documentation ¶
Index ¶
- Constants
- Variables
- type CommonEventNonceStatus
- type CommonValidatorsQueryResponse
- type GravityBridgeEventNonceQueryResponse
- type GravityBridgeOrchestratorQueryResponse
- type InjectiveEventNonceQueryResponse
- type InjectiveOrchestratorQueryResponse
- type OnomyEventNonceQueryResponse
- type OnomyOrchestratorQueryResponse
- type SommelierOrchestratorQueryResponse
- type UmeeEventNonceQueryResponse
- type UmeeOrchestratorQueryResponse
- type ValidatorStatus
Constants ¶
View Source
const ( // common api CommonValidatorQueryPath = "/cosmos/staking/v1beta1/validators?status=BOND_STATUS_BONDED&pagination.count_total=true&pagination.limit=500" // common grpc CommonValidatorGrpcQueryPath = "cosmos.staking.v1beta1.Query.Validators" CommonValidatorGrpcQueryOption = `{"status":"BOND_STATUS_BONDED"}` // injective paths // InjectiveOchestratorQueryPath = "/peggy/v1/query_delegate_keys_by_validator" // InjectiveEventNonceQueryPath = "/peggy/v1/oracle/event/{orchestrator_address}" InjectiveOchestratorQueryPath = "injective.peggy.v1.Query.GetDelegateKeyByValidator" InjectiveEventNonceQueryPath = "injective.peggy.v1.Query.LastEventByAddr" // gravity-bridge paths // GravityBridgeOrchestarorQueryPath = "/gravity/v1beta/query_delegate_keys_by_validator" // GravityBridgeEventNonceQueryPath = "/gravity/v1beta/oracle/eventnonce/{orchestrator_address}" GravityBridgeOrchestarorQueryPath = "gravity.v1.Query.GetDelegateKeyByValidator" GravityBridgeEventNonceQueryPath = "gravity.v1.Query.LastEventNonceByAddr" // sommelier paths SommelierOrchestratorQueryPath = "gravity.v1.Query.DelegateKeysByValidator" SommelierEventNonceQueryPath = "gravity.v1.Query.LastSubmittedEthereumEvent" )
Variables ¶
View Source
var (
SupportedChains = []string{"injective", "gravity-bridge", "sommelier"}
)
Functions ¶
This section is empty.
Types ¶
type CommonEventNonceStatus ¶
type CommonEventNonceStatus struct { HeighestNonce float64 `json:"heighest_nonce"` Validators []ValidatorStatus }
common
type CommonValidatorsQueryResponse ¶
type CommonValidatorsQueryResponse struct { Validators []struct { OperatorAddress string `json:"operator_address"` Description struct { Moniker string `json:"moniker"` } `json:"description"` } `json:"validators"` Pagination struct { NextKey interface{} `json:"-"` Total string `json:"-"` } `json:"-"` }
type GravityBridgeEventNonceQueryResponse ¶
type GravityBridgeEventNonceQueryResponse struct {
EventNonce string `json:"event_nonce"`
}
type GravityBridgeOrchestratorQueryResponse ¶
type GravityBridgeOrchestratorQueryResponse struct { EthAddress string `json:"eth_address"` OrchestratorAddress string `json:"orchestrator_address"` }
gravity-bridge
type InjectiveOrchestratorQueryResponse ¶
type InjectiveOrchestratorQueryResponse struct { EthAddress string `json:"eth_address"` OrchestratorAddress string `json:"orchestrator_address"` }
injective
type OnomyEventNonceQueryResponse ¶
type OnomyEventNonceQueryResponse struct {
EventNonce string `json:"event_nonce"`
}
type OnomyOrchestratorQueryResponse ¶
type OnomyOrchestratorQueryResponse struct { EthAddress string `json:"eth_address"` OrchestratorAddress string `json:"orchestrator_address"` }
onomy
type SommelierOrchestratorQueryResponse ¶
type SommelierOrchestratorQueryResponse struct { EthAddress string `json:"eth_address"` OrchestratorAddress string `json:"orchestrator_address"` }
sommelier
type UmeeEventNonceQueryResponse ¶
type UmeeEventNonceQueryResponse struct {
EventNonce string `json:"event_nonce"`
}
type UmeeOrchestratorQueryResponse ¶
type UmeeOrchestratorQueryResponse struct { EthAddress string `json:"eth_address"` OrchestratorAddress string `json:"orchestrator_address"` }
umee
Click to show internal directories.
Click to hide internal directories.