covenant

package
v0.0.0-...-65a1244 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(k Keeper) sdk.Handler

func RegisterWire

func RegisterWire(cdc *wire.Codec)

Register concrete types on wire codec

Types

type Covenant

type Covenant struct {
	Settlers  []sdk.Address
	Receivers []sdk.Address
	Amount    sdk.Coins
}

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc *wire.Codec, covKey sdk.StoreKey, bk bank.Keeper) Keeper

type MsgCreateCovenant

type MsgCreateCovenant struct {
	Sender    sdk.Address   `json:"sender"`
	Settlers  []sdk.Address `json:"settlers"`
	Receivers []sdk.Address `json:"receivers"`
	Amount    sdk.Coins     `json:"amount"`
}

func (MsgCreateCovenant) GetSignBytes

func (mcc MsgCreateCovenant) GetSignBytes() []byte

func (MsgCreateCovenant) GetSigners

func (mcc MsgCreateCovenant) GetSigners() []sdk.Address

func (MsgCreateCovenant) Type

func (mcc MsgCreateCovenant) Type() string

func (MsgCreateCovenant) ValidateBasic

func (mcc MsgCreateCovenant) ValidateBasic() sdk.Error

type MsgSettleCovenant

type MsgSettleCovenant struct {
	CovID    int64       `json:"covid"`
	Settler  sdk.Address `json:"settler"`
	Receiver sdk.Address `json:"receiver"`
}

func (MsgSettleCovenant) GetSignBytes

func (msc MsgSettleCovenant) GetSignBytes() []byte

func (MsgSettleCovenant) GetSigners

func (msc MsgSettleCovenant) GetSigners() []sdk.Address

func (MsgSettleCovenant) Type

func (msc MsgSettleCovenant) Type() string

func (MsgSettleCovenant) ValidateBasic

func (msc MsgSettleCovenant) ValidateBasic() sdk.Error

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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