Documentation ¶
Index ¶
- func CanSkipTypeKeyMigration(valueType interpreter.StaticType) bool
- type TypeKeyMigration
- func (m TypeKeyMigration) CanSkip(valueType interpreter.StaticType) bool
- func (TypeKeyMigration) Domains() map[string]struct{}
- func (TypeKeyMigration) Migrate(_ interpreter.StorageKey, _ interpreter.StorageMapKey, value interpreter.Value, ...) (interpreter.Value, error)
- func (TypeKeyMigration) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanSkipTypeKeyMigration ¶
func CanSkipTypeKeyMigration(valueType interpreter.StaticType) bool
Types ¶
type TypeKeyMigration ¶
type TypeKeyMigration struct{}
func NewTypeKeyMigration ¶
func NewTypeKeyMigration() TypeKeyMigration
func (TypeKeyMigration) CanSkip ¶
func (m TypeKeyMigration) CanSkip(valueType interpreter.StaticType) bool
func (TypeKeyMigration) Domains ¶
func (TypeKeyMigration) Domains() map[string]struct{}
func (TypeKeyMigration) Migrate ¶
func (TypeKeyMigration) Migrate( _ interpreter.StorageKey, _ interpreter.StorageMapKey, value interpreter.Value, _ *interpreter.Interpreter, position migrations.ValueMigrationPosition, ) ( interpreter.Value, error, )
func (TypeKeyMigration) Name ¶
func (TypeKeyMigration) Name() string
Click to show internal directories.
Click to hide internal directories.