Versions in this module Expand all Collapse all v1 v1.0.2 Aug 17, 2023 Changes in this version + type Database struct + func New() (*Database, error) + func NewFromFile(path string) (*Database, error) + func NewWithFile(path string) (*Database, error) + func (db *Database) AddSelector(selector string, data []byte) error + func (db *Database) Selector(id []byte) (string, error) + func (db *Database) Size() (int, int) + func (db *Database) ValidateCallData(selector *string, data []byte, messages *apitypes.ValidationMessages) + func (db *Database) ValidateTransaction(selector *string, tx *apitypes.SendTxArgs) (*apitypes.ValidationMessages, error)