Module staketable
Source Expand description
§What to re-export, what to hide?
- export contract struct itself, but try to avoid export instance type (instead, use ::new() to get a handle)
- avoid exporting
xxCall
and xxReturn
types, they usually can be converted/transmuted from existing struct
- Event types should be exported
- structs should be exported and renamed with
xxSol
suffix to avoid confusion with other rust types
- see module doc for more explanation on types duplication issue in alloy
- BN254
- Module containing a contract’s types and functions.
- EdOnBN254
- Module containing a contract’s types and functions.
- StakeTable
- Generated by the following Solidity interface…