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

Constructor

constructor

Source

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

Details

Signature

constructor(address _owner, address _feePool)

Visibility

public

State Mutability

``

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

``

Requires

Modifiers