Skip to content

FeePoolEternalStorage

Description

FeePoolEternalStorage is currently used only to store the last fee withdrawal timestamp for each address. See FeePool._claimFees and FeePool.feesByPeriod for details of what this information is used for.

This contract is just wrapper around EternalStorage with a limited setup period and a setup function that sets each account's last fee withdrawal times.

Source: contracts/FeePoolEternalStorage.sol

Architecture

Inheritance Graph

graph TD FeePoolEternalStorage[FeePoolEternalStorage] --> EternalStorage[EternalStorage] FeePoolEternalStorage[FeePoolEternalStorage] --> LimitedSetup[LimitedSetup] EternalStorage[EternalStorage] --> State[State] State[State] --> Owned[Owned]

Constructor

constructor

Source

Initialises the inherited EternalStorage instance, and sets a limited setup period of six weeks.

Details

Signature

(address _owner, address _feePool)

Visibility

public

State Mutability

nonpayable

Restricted Functions

importFeeWithdrawalData

Source

This is a helper to import fee withdrawal information from a previous version of the system during the setup period.

Details

Signature

importFeeWithdrawalData(address[] accounts, uint256[] feePeriodIDs)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers