Axis-Fi / axis-core

Axis Protocol
https://axis.finance
Other
3 stars 0 forks source link

Remove redundant VestingData.baseToken property #189

Closed 0xJem closed 1 month ago

0xJem commented 1 month ago

In extracting the ILinearVesting interface, I discovered that the VestingData.baseToken property was redundant, as the VestingData struct is stored encoded in Token.data, and the Token struct also has an underlyingToken that stores the same value. This PR removes that.

I put this as a separate PR to the interface changes (but merging into it), in case we wanted to avoid modifications to existing code.