The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/staking/slash/interface.go

16 lines
345 B

package slash
import (
"math/big"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/internal/params"
"github.com/harmony-one/harmony/shard"
)
// CommitteeReader ..
type CommitteeReader interface {
Config() *params.ChainConfig
ReadShardState(epoch *big.Int) (*shard.State, error)
CurrentBlock() *types.Block
}