Skip to content

Add removeIndex to SingleSlotMapper #97

Description

@naddison36

SameAssetUnderlyingsAbstractVault.removeVault currently calls SingleSlotMapper.removeValue with the removedValue parameter being the index of the _activeUnderlyingVaults array.

It would be more gas efficient if SameAssetUnderlyingsAbstractVault.removeVault called a new SingleSlotMapper.removeIndex function padding in the vaultIndex that is passed to the SameAssetUnderlyingsAbstractVault.removeVault function.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contractContract workv2mStable v2 roadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions