common

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryCurrUozPrice added in v0.4.0

func QueryCurrUozPrice(cliCtx context.CLIContext, queryRoute string) ([]byte, int64, error)

QueryCurrUozPrice queries the current price for uoz

func QueryPrepayBalance

func QueryPrepayBalance(cliCtx context.CLIContext, queryRoute, sender string) ([]byte, int64, error)

QueryPrepayBalance queries the prepaid balance by sender in VolumnPool

func QuerySimulatePrepay added in v0.4.0

func QuerySimulatePrepay(cliCtx context.CLIContext, queryRoute string, amtToPrepay sdk.Int) ([]byte, int64, error)

QuerySimulatePrepay queries the ongoing price for prepay

func QueryUozSupply added in v0.4.0

func QueryUozSupply(cliCtx context.CLIContext, queryRoute string) ([]byte, int64, error)

QueryCurrUozPrice queries the current price for uoz

func QueryUploadedFile

func QueryUploadedFile(cliCtx context.CLIContext, queryRoute, fileHashHex string) ([]byte, int64, error)

QueryUploadedFile queries the hash of an uploaded file by sender

Types

This section is empty.

Jump to

Keyboard shortcuts

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