Documentation
¶
Index ¶
Constants ¶
View Source
const ( TokenTypeMapbased = iota TokenTypeMinime )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token interface { DiscoverSlot(ctx context.Context, holder common.Address) (int, *big.Rat, error) GetProof(ctx context.Context, holder common.Address, block *big.Int, indexSlot int) (*ethstorageproof.StorageProof, error) VerifyProof(holder common.Address, storageRoot common.Hash, proofs []ethstorageproof.StorageResult, indexSlot int, targetBalance, targetBlock *big.Int) error }
Click to show internal directories.
Click to hide internal directories.