Versions in this module Expand all Collapse all v1 v1.0.3 Sep 5, 2024 v1.0.2 Sep 5, 2024 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)