Interfaces
IFeeManager
IFeeManager
Interface that describes the struct and accessor function for the data related to the collection of fees.
Functions
creationFeeData
Exposes the creation fee for new Raffl
s deployments.
Enabled custom fees overrides the global creation fee.
Parameters
Name | Type | Description |
---|---|---|
raffle | address | Address of the Raffl . |
poolFeeData
Exposes the fee that will be collected from the pool on success draws for Raffl
s.
Enabled custom fees overrides the global transfer fee.
Parameters
Name | Type | Description |
---|---|---|
raffle | address | Address of the Raffl . |
Structs
FeeData
The FeeData
struct is used to store fee configurations such as the collection address and fee amounts for
various transaction types in the contract.
UpcomingFeeData
Stores global fee data upcoming change and timestamp for that change.
CustomFeeData
Stores custom fee data, including its current state, upcoming changes, and the timestamps for those changes.