types

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName   = "vbr"
	StoreKey     = ModuleName
	QuerierRoute = ModuleName

	QueryBlockRewardsPoolFunds = "funds"

	MsgTypeIncrementBlockRewardsPool = "incrementBlockRewardsPool"

	PoolStoreKey       = StoreKey + ":pool:"
	YearlyPoolStoreKey = StoreKey + ":yearly_pool:"
	YearNumberStoreKey = StoreKey + ":year_number:"
)

Variables

View Source
var ModuleCdc *codec.Codec

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

Types

type MsgIncrementBlockRewardsPool

type MsgIncrementBlockRewardsPool struct {
	Funder sdk.AccAddress `json:"funder"`
	Amount sdk.Coins      `json:"amount"`
}

func NewMsgIncrementBlockRewardsPool

func NewMsgIncrementBlockRewardsPool(funder sdk.AccAddress, amount sdk.Coins) MsgIncrementBlockRewardsPool

func (MsgIncrementBlockRewardsPool) GetSignBytes

func (msg MsgIncrementBlockRewardsPool) GetSignBytes() []byte

func (MsgIncrementBlockRewardsPool) GetSigners

func (msg MsgIncrementBlockRewardsPool) GetSigners() []sdk.AccAddress

func (MsgIncrementBlockRewardsPool) Route

func (MsgIncrementBlockRewardsPool) Type

func (MsgIncrementBlockRewardsPool) ValidateBasic

func (msg MsgIncrementBlockRewardsPool) ValidateBasic() sdk.Error

Jump to

Keyboard shortcuts

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