Documentation ¶
Overview ¶
nolint
Index ¶
Constants ¶
View Source
const ( CodeInvalidInput sdk.CodeType = 101 CodeInvalidOutput sdk.CodeType = 102 )
Coin errors reserve 100 ~ 199.
Variables ¶
This section is empty.
Functions ¶
func ErrInvalidInput ¶ added in v0.2.0
func ErrInvalidOutput ¶ added in v0.2.0
func ErrNoInputs ¶
func ErrNoOutputs ¶
func RegisterWire ¶ added in v0.2.0
Register concrete types on 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 ¶
Transaction Output
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 ¶
Transaction 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.