Documentation
¶
Overview ¶
nolint
Index ¶
- func ErrInsufficientCoins(msg string) sdk.Error
- func ErrInvalidAddress(msg string) sdk.Error
- func ErrInvalidCoins(msg string) sdk.Error
- func ErrInvalidInput(msg string) sdk.Error
- func ErrInvalidOutput(msg string) sdk.Error
- func ErrInvalidSequence(msg string) sdk.Error
- func ErrNoInputs() sdk.Error
- func ErrNoOutputs() sdk.Error
- func ErrUnknownAddress(msg string) sdk.Error
- func ErrUnknownRequest(msg string) sdk.Error
- func NewHandler(ck CoinKeeper) sdk.Handler
- func RegisterWire(cdc *wire.Codec)
- type CodeType
- type CoinKeeper
- type Input
- type IssueMsg
- type Output
- type SendMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrInsufficientCoins ¶ added in v0.9.0
func ErrInvalidAddress ¶ added in v0.9.0
func ErrInvalidCoins ¶ added in v0.9.0
func ErrInvalidInput ¶ added in v0.2.0
func ErrInvalidOutput ¶ added in v0.2.0
func ErrInvalidSequence ¶ added in v0.9.0
func ErrNoInputs ¶
func ErrNoOutputs ¶
func ErrUnknownAddress ¶ added in v0.9.0
func ErrUnknownRequest ¶ added in v0.9.0
func RegisterWire ¶ added in v0.2.0
func RegisterWire(cdc *wire.Codec)
Types ¶
type CoinKeeper ¶ added in v0.2.0
type CoinKeeper struct {
// contains filtered or unexported fields
}
CoinKeeper manages transfers between accounts
func NewCoinKeeper ¶ added in v0.2.0
func NewCoinKeeper(am sdk.AccountMapper) CoinKeeper
NewCoinKeeper returns a new CoinKeeper
type Input ¶
type Input struct { Address crypto.Address `json:"address"` Coins sdk.Coins `json:"coins"` Sequence int64 `json:"sequence"` // contains filtered or unexported fields }
func NewInputWithSequence ¶ added in v0.9.0
NewInputWithSequence - create a transaction input, used with SendMsg
func (Input) ValidateBasic ¶ added in v0.2.0
ValidateBasic - validate transaction input
type IssueMsg ¶ added in v0.2.0
IssueMsg - high level transaction of the coin module
func NewIssueMsg ¶ added in v0.2.0
NewIssueMsg - construct arbitrary multi-in, multi-out send msg.
func (IssueMsg) Get ¶ added in v0.2.0
func (msg IssueMsg) Get(key interface{}) (value interface{})
Implements Msg.
func (IssueMsg) GetSignBytes ¶ added in v0.2.0
Implements Msg.
func (IssueMsg) GetSigners ¶ added in v0.2.0
Implements Msg.
func (IssueMsg) ValidateBasic ¶ added in v0.2.0
Implements Msg.
type Output ¶
func (Output) ValidateBasic ¶ added in v0.2.0
ValidateBasic - validate transaction output
type SendMsg ¶ added in v0.2.0
SendMsg - high level transaction of the coin module
func NewSendMsg ¶ added in v0.2.0
NewSendMsg - construct arbitrary multi-in, multi-out send msg.
func (SendMsg) Get ¶ added in v0.2.0
func (msg SendMsg) Get(key interface{}) (value interface{})
Implements Msg.
func (SendMsg) GetSignBytes ¶ added in v0.2.0
Implements Msg.
func (SendMsg) GetSigners ¶ added in v0.2.0
Implements Msg.
func (SendMsg) ValidateBasic ¶ added in v0.2.0
Implements Msg.
Click to show internal directories.
Click to hide internal directories.