grpc

package
v5.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeVoteAndCheckProposal

func MakeVoteAndCheckProposal(umeeClient client.Client, resp sdk.TxResponse) error

func MedianCheck

func MedianCheck(umee client.Client) error

MedianCheck waits for availability of all exchange rates from the denom accept list, records historical stamp data based on the oracle params, computes the median/median deviation and then compares that to the data in the median/median deviation gRPC query

func OracleParamChanges

func OracleParamChanges(
	historicStampPeriod uint64,
	maximumPriceStamps uint64,
	medianStampPeriod uint64,
) []proposal.ParamChange

func SubmitAndPassProposal

func SubmitAndPassProposal(umee client.Client, changes []proposal.ParamChange) error

func UIBCIBCTransferSatusUpdate

func UIBCIBCTransferSatusUpdate(umeeClient client.Client, status uibc.IBCTransferStatus) error

Types

type PriceStore

type PriceStore struct {
	// contains filtered or unexported fields
}

func NewPriceStore

func NewPriceStore() *PriceStore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL