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
333 B

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