Documentation ¶ Index ¶ type TokenDB func Open(path string) (*TokenDB, error) func (t *TokenDB) Close() error func (t *TokenDB) Commit() (arry.Hash, error) func (t *TokenDB) Root() arry.Hash func (t *TokenDB) SetRoot(hash arry.Hash) error func (t *TokenDB) SetToken(token *types.TokenRecord) func (t *TokenDB) Token(address arry.Address) *types.TokenRecord Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type TokenDB ¶ type TokenDB struct { // contains filtered or unexported fields } func Open ¶ func Open(path string) (*TokenDB, error) func (*TokenDB) Close ¶ func (t *TokenDB) Close() error func (*TokenDB) Commit ¶ func (t *TokenDB) Commit() (arry.Hash, error) func (*TokenDB) Root ¶ func (t *TokenDB) Root() arry.Hash func (*TokenDB) SetRoot ¶ func (t *TokenDB) SetRoot(hash arry.Hash) error func (*TokenDB) SetToken ¶ func (t *TokenDB) SetToken(token *types.TokenRecord) func (*TokenDB) Token ¶ func (t *TokenDB) Token(address arry.Address) *types.TokenRecord Source Files ¶ View all Source files token.go Click to show internal directories. Click to hide internal directories.