Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MaxSaltNumber is the maximum salt number we can use for randomness. // NOTE: max length of the salt is 4. // TODO(mercilex): if we used digits + alphanumerics it's more randomized MaxSaltNumber = big.NewInt(9999) // NOTE(mercilex): max salt length is 4 )
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface {
Account(context.Context, *authtypes.QueryAccountRequest, ...grpc.CallOption) (*authtypes.QueryAccountResponse, error)
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SendPrices ¶
func (c *Client) SendPrices(vp types.VotingPeriod, prices []types.Price)
func (*Client) Whoami ¶
func (c *Client) Whoami() sdk.ValAddress
type Oracle ¶
type Oracle interface {
AggregatePrevote(context.Context, *oracletypes.QueryAggregatePrevoteRequest, ...grpc.CallOption) (*oracletypes.QueryAggregatePrevoteResponse, error)
}
type TxService ¶
type TxService interface {
BroadcastTx(context.Context, *txservice.BroadcastTxRequest, ...grpc.CallOption) (*txservice.BroadcastTxResponse, error)
}
Click to show internal directories.
Click to hide internal directories.