Documentation ¶
Index ¶
- type AccountRequest
- type Asset
- func (a *Asset) AddBalance(addr *Address, amount *big.Int) error
- func (a *Asset) CreateAccount(ctx *WriteContext) error
- func (a *Asset) ExistAccount(addr *Address) bool
- func (a *Asset) GetBalance(addr *Address) *big.Int
- func (a *Asset) QueryBalance(ctx *ReadContext)
- func (a *Asset) SetBalance(addr *Address, amount *big.Int)
- func (a *Asset) SubBalance(addr *Address, amount *big.Int) error
- func (a *Asset) Transfer(ctx *WriteContext) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRequest ¶
type AccountRequest struct {
Account string `json:"account"`
}
type Asset ¶
type Asset struct { *Tripod TokenName string }
func (*Asset) CreateAccount ¶
func (*Asset) ExistAccount ¶
func (*Asset) GetBalance ¶
func (*Asset) QueryBalance ¶
func (a *Asset) QueryBalance(ctx *ReadContext)
func (*Asset) SetBalance ¶
Click to show internal directories.
Click to hide internal directories.