Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KeyDelimiter = []byte(":") VMKey = []byte("vm") )
Functions ¶
func MakePathKey ¶
func MakePathKey(path vm_grpc.VMAccessPath) []byte
Make path for storage from VMAccessPath.
Types ¶
type VMStorage ¶
type VMStorage interface {
GetOracleAccessPath(assetCode string) *vm_grpc.VMAccessPath
SetValue(ctx sdk.Context, accessPath *vm_grpc.VMAccessPath, value []byte)
GetValue(ctx sdk.Context, accessPath *vm_grpc.VMAccessPath) []byte
DelValue(ctx sdk.Context, accessPath *vm_grpc.VMAccessPath)
}
Interface for other keepers to get/set data.
Click to show internal directories.
Click to hide internal directories.