add comment

pull/4065/head
lutty 3 years ago
parent dfe0fcf7e4
commit 7a2a226264
  1. 1
      core/evm.go

@ -47,6 +47,7 @@ type ChainContext interface {
// ReadDelegationsByDelegator returns the validators list of a delegator
ReadDelegationsByDelegator(common.Address) (stakingTypes.DelegationIndexes, error)
// ReadDelegationsByDelegatorAt reads the addresses of validators delegated by a delegator at a given block
ReadDelegationsByDelegatorAt(delegator common.Address, blockNum *big.Int) (m stakingTypes.DelegationIndexes, err error)
// ReadValidatorSnapshot returns the snapshot of validator at the beginning of current epoch.

Loading…
Cancel
Save