mirror of
https://github.com/luxfi/oraclevm.git
synced 2026-10-30 15:23:15 +00:00
23 lines
500 B
Go
23 lines
500 B
Go
// Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package storage
|
|
|
|
import (
|
|
"github.com/ava-labs/avalanchego/ids"
|
|
)
|
|
|
|
type StateManager struct{}
|
|
|
|
func (*StateManager) HeightKey() []byte {
|
|
return HeightKey()
|
|
}
|
|
|
|
func (*StateManager) IncomingWarpKey(sourceChainID ids.ID, msgID ids.ID) []byte {
|
|
return IncomingWarpKeyPrefix(sourceChainID, msgID)
|
|
}
|
|
|
|
func (*StateManager) OutgoingWarpKey(txID ids.ID) []byte {
|
|
return OutgoingWarpKeyPrefix(txID)
|
|
}
|