Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor #41

Merged
merged 1 commit into from
Apr 9, 2022
Merged

Refactor #41

merged 1 commit into from
Apr 9, 2022

Conversation

heyaibi
Copy link
Contributor

@heyaibi heyaibi commented Apr 9, 2022

  • Added internal suffixes to library methods
  • Added _lastPolicyId to Policy constructor
  • Added getAttestation and getDispute to reporter contract and interface
  • Renamed the function getResolutionDate to getResolutionTimestamp
  • Removed unused functions getCoverLiquidityReleaseDateKey and getCoverTotalLentKey from CoverUtilV1
  • Removed unused functions isResolvedInternal from GovernanceUtilV1
  • Removed unused keys NS_COVER_LIQUIDITY_RELEASE_DATE and NS_COVER_STABLECOIN_LENT_TOTAL from ProtoUtilV1
  • Removed unused function getPodTokenNameInternal from VaultLibV1
  • Added tests for getAttestation and getDispute
  • Refactored tests
  • Updated security.md

- Added `internal` suffixes to library methods
- Added `_lastPolicyId` to Policy constructor
- Added `getAttestation` and `getDispute` to reporter contract and interface
- Renamed the function `getResolutionDate` to `getResolutionTimestamp`
- Removed unused functions `getCoverLiquidityReleaseDateKey` and `getCoverTotalLentKey` from CoverUtilV1
- Removed unused functions `isResolvedInternal` from GovernanceUtilV1
- Removed unused keys `NS_COVER_LIQUIDITY_RELEASE_DATE` and `NS_COVER_STABLECOIN_LENT_TOTAL` from ProtoUtilV1
- Removed unused function `getPodTokenNameInternal` from VaultLibV1
- Added tests for `getAttestation` and `getDispute`
- Refactored tests
- Updated security.md
@heyaibi heyaibi merged commit 3a94bc9 into develop Apr 9, 2022
@heyaibi heyaibi deleted the refactor/misc branch April 9, 2022 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant