Versions in this module Expand all Collapse all v6 v6.4.0 May 18, 2020 Changes in this version + type DB struct + func NewAccountDB(cfg *types.Chain33Config, execer string, symbol string, db dbm.KV) (*DB, error) + func NewCoinsAccount(cfg *types.Chain33Config) *DB + func (acc *DB) AccountKey(address string) (key []byte) + func (acc *DB) Burn(addr string, amount int64) (*types.Receipt, error) + func (acc *DB) CheckTransfer(from, to string, amount int64) error + func (acc *DB) ExecActive(addr, execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecAddress(name string) string + func (acc *DB) ExecDeposit(addr, execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecDepositFrozen(addr, execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecFrozen(addr, execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecIssueCoins(execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecTransfer(from, to, execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecTransferFrozen(from, to, execaddr string, amount int64) (*types.Receipt, error) + func (acc *DB) ExecWithdraw(execaddr, addr string, amount int64) (*types.Receipt, error) + func (acc *DB) GenesisInit(addr string, amount int64) (receipt *types.Receipt, err error) + func (acc *DB) GenesisInitExec(addr string, amount int64, execaddr string) (receipt *types.Receipt, err error) + func (acc *DB) GetBalance(api client.QueueProtocolAPI, in *types.ReqBalance) ([]*types.Account, error) + func (acc *DB) GetExecBalance(api client.QueueProtocolAPI, in *types.ReqGetExecBalance) (reply *types.ReplyGetExecBalance, err error) + func (acc *DB) GetExecKVSet(execaddr string, acc1 *types.Account) (kvset []*types.KeyValue) + func (acc *DB) GetKVSet(acc1 *types.Account) (kvset []*types.KeyValue) + func (acc *DB) GetTotalCoins(api client.QueueProtocolAPI, in *types.ReqGetTotalCoins) (reply *types.ReplyGetTotalCoins, err error) + func (acc *DB) LoadAccount(addr string) *types.Account + func (acc *DB) LoadAccounts(api client.QueueProtocolAPI, addrs []string) (accs []*types.Account, err error) + func (acc *DB) LoadAccountsDB(addrs []string) (accs []*types.Account, err error) + func (acc *DB) LoadExecAccount(addr, execaddr string) *types.Account + func (acc *DB) LoadExecAccountHistoryQueue(api client.QueueProtocolAPI, addr, execaddr string, stateHash []byte) (*types.Account, error) + func (acc *DB) LoadExecAccountQueue(api client.QueueProtocolAPI, addr, execaddr string) (*types.Account, error) + func (acc *DB) Mint(addr string, amount int64) (*types.Receipt, error) + func (acc *DB) SaveAccount(acc1 *types.Account) + func (acc *DB) SaveExecAccount(execaddr string, acc1 *types.Account) + func (acc *DB) SaveKVSet(set []*types.KeyValue) + func (acc *DB) SetDB(db dbm.KV) *DB + func (acc *DB) Transfer(from, to string, amount int64) (*types.Receipt, error) + func (acc *DB) TransferToExec(from, to string, amount int64) (*types.Receipt, error) + func (acc *DB) TransferWithdraw(from, to string, amount int64) (*types.Receipt, error) Other modules containing this package github.com/33cn/chain33