Documentation ¶
Index ¶
- func UnmarshallFabtoken(raw []byte) (*token2.Token, error)
- func UnmarshallIssuedToken(raw []byte) (*token2.IssuedToken, error)
- type Engine
- func (e *Engine) GetTokenCommitments(ids []*token.ID, callback driver2.QueryCallbackFunc) error
- func (e *Engine) GetTokenInfoAndCommitments(ids []*token.ID, callback driver2.QueryCallback2Func) error
- func (e *Engine) GetTokenInfos(ids []*token.ID, callback driver2.QueryCallbackFunc) error
- func (e *Engine) GetTokens(inputs ...*token.ID) ([]string, []*token.Token, error)
- func (e *Engine) IsMine(id *token.ID) (bool, error)
- func (e *Engine) ListAuditTokens(ids ...*token.ID) ([]*token.Token, error)
- func (e *Engine) ListHistoryIssuedTokens() (*token.IssuedTokens, error)
- func (e *Engine) ListUnspentTokens() (*token.UnspentTokens, error)
- func (e *Engine) ListUnspentTokensBy(id, typ string) (*token.UnspentTokens, error)
- func (e *Engine) PublicParams() ([]byte, error)
- func (e *Engine) UnspentTokensIterator() (driver2.UnspentTokensIterator, error)
- func (e *Engine) UnspentTokensIteratorBy(id, typ string) (driver2.UnspentTokensIterator, error)
- func (e *Engine) WhoDeletedTokens(inputs ...*token.ID) ([]string, []bool, error)
- type UnspentTokensIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshallIssuedToken ¶
func UnmarshallIssuedToken(raw []byte) (*token2.IssuedToken, error)
Types ¶
type Engine ¶
func (*Engine) GetTokenCommitments ¶
func (*Engine) GetTokenInfoAndCommitments ¶
func (*Engine) GetTokenInfos ¶
func (*Engine) ListAuditTokens ¶
func (*Engine) ListHistoryIssuedTokens ¶
func (e *Engine) ListHistoryIssuedTokens() (*token.IssuedTokens, error)
func (*Engine) ListUnspentTokens ¶
func (e *Engine) ListUnspentTokens() (*token.UnspentTokens, error)
func (*Engine) ListUnspentTokensBy ¶
func (e *Engine) ListUnspentTokensBy(id, typ string) (*token.UnspentTokens, error)
func (*Engine) PublicParams ¶
func (*Engine) UnspentTokensIterator ¶
func (e *Engine) UnspentTokensIterator() (driver2.UnspentTokensIterator, error)
func (*Engine) UnspentTokensIteratorBy ¶
func (e *Engine) UnspentTokensIteratorBy(id, typ string) (driver2.UnspentTokensIterator, error)
UnspentTokensIteratorBy returns an iterator of unspent tokens owned by the passed id and whose type is the passed on. The token type can be empty. In that case, tokens of any type are returned.
type UnspentTokensIterator ¶
type UnspentTokensIterator struct {
// contains filtered or unexported fields
}
func (*UnspentTokensIterator) Close ¶
func (u *UnspentTokensIterator) Close()
func (*UnspentTokensIterator) Next ¶
func (u *UnspentTokensIterator) Next() (*token.UnspentToken, error)
Click to show internal directories.
Click to hide internal directories.