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(am sdk.AccountMapper) sdk.Handler
- func RegisterWire(cdc *wire.Codec)
- type CodeType
- type CoinMapper
- 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 NewHandler ¶
func NewHandler(am sdk.AccountMapper) sdk.Handler
Handle all "bank" type messages. NOTE: Technically, NewHandler only needs a CoinMapper
func RegisterWire ¶
func RegisterWire(cdc *wire.Codec)
Types ¶
type CoinMapper ¶ added in v0.9.0
type CoinMapper struct {
// contains filtered or unexported fields
}
CoinMapper manages transfers between accounts
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.