github.com/ava-labs/avalanchego@v1.11.11/vms/platformvm/state/versions.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package state 5 6 import "github.com/ava-labs/avalanchego/ids" 7 8 type Versions interface { 9 // GetState returns the state of the chain after [blkID] has been accepted. 10 // If the state is not known, `false` will be returned. 11 GetState(blkID ids.ID) (Chain, bool) 12 }