Skip to content

Airlock AssetData has unused variables #335

@clemlak

Description

@clemlak

Many variables in the Airlock AssetData struct are stored but never used onchain:

struct AssetData {
    address numeraire; // Never used onchain
    address timelock;
    address governance; // Never used onchain
    ILiquidityMigrator liquidityMigrator; 
    IPoolInitializer poolInitializer; // Never used onchain
    address pool; 
    address migrationPool; // Never used onchain
    uint256 numTokensToSell; // Never used onchain
    uint256 totalSupply; // Never used onchain
    address integrator;
}

I'm not sure how useful they are onchain and I feel like some of them could be removed.

Metadata

Metadata

Assignees

Labels

✨ improvementCode optimization or better readability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions