Documentation ¶
Index ¶
- type Accounts
- func (a *Accounts) AddBalance(address types.Address, coin types.CoinSymbol, amount *big.Int)
- func (a *Accounts) Commit() error
- func (a *Accounts) CreateMultisig(weights []uint, addresses []types.Address, threshold uint) types.Address
- func (a *Accounts) DeleteCoin(address types.Address, symbol types.CoinSymbol)
- func (a *Accounts) Exists(msigAddress types.Address) bool
- func (a *Accounts) Export(state *types.AppState)
- func (a *Accounts) GetAccount(address types.Address) *Model
- func (a *Accounts) GetBalance(address types.Address, coin types.CoinSymbol) *big.Int
- func (a *Accounts) GetBalances(address types.Address) map[types.CoinSymbol]*big.Int
- func (a *Accounts) GetNonce(address types.Address) uint64
- func (a *Accounts) SetBalance(address types.Address, coin types.CoinSymbol, amount *big.Int)
- func (a *Accounts) SetNonce(address types.Address, nonce uint64)
- func (a *Accounts) SubBalance(address types.Address, coin types.CoinSymbol, amount *big.Int)
- type Bus
- type Model
- type Multisig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
func (*Accounts) AddBalance ¶
func (*Accounts) CreateMultisig ¶
func (*Accounts) DeleteCoin ¶
func (a *Accounts) DeleteCoin(address types.Address, symbol types.CoinSymbol)
func (*Accounts) GetBalance ¶
func (*Accounts) GetBalances ¶
func (*Accounts) SetBalance ¶
func (*Accounts) SubBalance ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func (*Bus) AddBalance ¶
func (*Bus) DeleteCoin ¶
func (b *Bus) DeleteCoin(address types.Address, coin types.CoinSymbol)
type Model ¶
func (*Model) IsMultisig ¶
Click to show internal directories.
Click to hide internal directories.