Documentation ¶
Index ¶
- func CreateMultisigAddress(owner types.Address, nonce uint64) types.Address
- type Accounts
- func (a *Accounts) AddBalance(address types.Address, coin types.CoinID, amount *big.Int)
- func (a *Accounts) Commit() error
- func (a *Accounts) CreateMultisig(weights []uint32, addresses []types.Address, threshold uint32, ...) types.Address
- func (a *Accounts) EditMultisig(threshold uint32, weights []uint32, addresses []types.Address, ...) types.Address
- func (a *Accounts) ExistsMultisig(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.CoinID) *big.Int
- func (a *Accounts) GetBalances(address types.Address) []Balance
- func (a *Accounts) GetNonce(address types.Address) uint64
- func (a *Accounts) SetBalance(address types.Address, coin types.CoinID, amount *big.Int)
- func (a *Accounts) SetNonce(address types.Address, nonce uint64)
- func (a *Accounts) SubBalance(address types.Address, coin types.CoinID, amount *big.Int)
- type Balance
- type Bus
- type Model
- type Multisig
- type RAccounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
func (*Accounts) AddBalance ¶
func (*Accounts) CreateMultisig ¶
func (*Accounts) EditMultisig ¶ added in v1.2.0
func (*Accounts) GetBalance ¶
func (*Accounts) SetBalance ¶
type Model ¶
func (*Model) IsMultisig ¶
Click to show internal directories.
Click to hide internal directories.