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 ¶
func ErrInvalidOutput ¶
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 ¶
func RegisterWire(cdc *wire.Codec)
Types ¶
type CoinKeeper ¶
type CoinKeeper struct {
// contains filtered or unexported fields
}
CoinKeeper manages transfers between accounts
func NewCoinKeeper ¶
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 ¶
ValidateBasic - validate transaction input
type IssueMsg ¶
IssueMsg - high level transaction of the coin module
func NewIssueMsg ¶
NewIssueMsg - construct arbitrary multi-in, multi-out send msg.
type Output ¶
func (Output) ValidateBasic ¶
ValidateBasic - validate transaction output
type SendMsg ¶
SendMsg - high level transaction of the coin module
func NewSendMsg ¶
NewSendMsg - construct arbitrary multi-in, multi-out send msg.
Click to show internal directories.
Click to hide internal directories.