Versions in this module Expand all Collapse all v1 v1.1.3 Nov 14, 2021 Changes in this version + func Asset(name string) ([]byte, error) + func AssetDigest(name string) ([sha256.Size]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func AssetString(name string) (string, error) + func Digests() (map[string][sha256.Size]byte, error) + func MustAsset(name string) []byte + func MustAssetString(name string) string + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + 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 *core.ValidationMessages) + func (db *Database) ValidateTransaction(selector *string, tx *core.SendTxArgs) (*core.ValidationMessages, error)