rewards

package
v0.18.15 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableRewards

func EnableRewards(r action.Router) error

Types

type Withdraw

type Withdraw struct {
	ValidatorAddress action.Address `json:"validatorAddress"`
	SignerAddress    action.Address `json:"signerAddress"`
	WithdrawAmount   action.Amount  `json:"withdrawAmount"`
}

func (Withdraw) Marshal

func (w Withdraw) Marshal() ([]byte, error)

func (Withdraw) Signers

func (w Withdraw) Signers() []action.Address

func (Withdraw) Tags

func (w Withdraw) Tags() kv.Pairs

func (Withdraw) Type

func (w Withdraw) Type() action.Type

func (*Withdraw) Unmarshal

func (w *Withdraw) Unmarshal(bytes []byte) error

Jump to

Keyboard shortcuts

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