Documentation ¶
Index ¶
- func GetTxResponse(umeeClient client.Client, txHash string) (resp *sdk.TxResponse, err error)
- func GetTxResponseAndCheckLogs(umeeClient client.Client, txHash string) (*sdk.TxResponse, error)
- func LeverageRegistryUpdate(umeeClient client.Client, addTokens, updateTokens []ltypes.Token) error
- func LeverageSpecialPairsUpdate(umeeClient client.Client, sets []ltypes.SpecialAssetSet, ...) error
- func MakeVoteAndCheckProposal(umeeClient client.Client, resp sdk.TxResponse) error
- func MedianCheck(umee client.Client) error
- func MetokenRegistryUpdate(umeeClient client.Client, addIndexes, updateIndexes []metoken.Index) error
- func OracleParamChanges(historicStampPeriod uint64, maximumPriceStamps uint64, ...) []proposal.ParamChange
- func SubmitAndPassProposal(umee client.Client, changes []proposal.ParamChange) error
- func UIBCIBCTransferStatusUpdate(umeeClient client.Client, status uibc.IBCTransferStatus) error
- type PriceStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTxResponse ¶ added in v6.2.0
func GetTxResponseAndCheckLogs ¶ added in v6.2.0
func LeverageRegistryUpdate ¶
LeverageRegistryUpdate submits a gov transaction to update leverage registry, votes, and waits for proposal to pass.
func LeverageSpecialPairsUpdate ¶
func LeverageSpecialPairsUpdate( umeeClient client.Client, sets []ltypes.SpecialAssetSet, pairs []ltypes.SpecialAssetPair, ) error
LeverageSpecialPairsUpdate submits a gov transaction to update leverage special assets, votes, and waits for proposal to pass.
func MakeVoteAndCheckProposal ¶
func MakeVoteAndCheckProposal(umeeClient client.Client, resp sdk.TxResponse) error
func MedianCheck ¶
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 MetokenRegistryUpdate ¶
func MetokenRegistryUpdate(umeeClient client.Client, addIndexes, updateIndexes []metoken.Index) error
MetokenRegistryUpdate submits a gov transaction to update metoken registry, votes, and waits for proposal to pass.
func OracleParamChanges ¶
func OracleParamChanges( historicStampPeriod uint64, maximumPriceStamps uint64, medianStampPeriod uint64, ) []proposal.ParamChange
func SubmitAndPassProposal ¶
func SubmitAndPassProposal(umee client.Client, changes []proposal.ParamChange) error
func UIBCIBCTransferStatusUpdate ¶ added in v6.1.0
func UIBCIBCTransferStatusUpdate(umeeClient client.Client, status uibc.IBCTransferStatus) error
Types ¶
type PriceStore ¶
type PriceStore struct {
// contains filtered or unexported fields
}
func NewPriceStore ¶
func NewPriceStore() *PriceStore
Click to show internal directories.
Click to hide internal directories.