Skip to content

Resolve etherscan warning on all etherscan ctoken interactions #23

Description

@sriyantra

Origin of warning: revert on checkpointInterest() call attempt for use with reactive interest rate models

Solution: a storage bool for when checkpointInterest() call is attempted, set to true upon success so that future ctoken calls don't have an etherscan execution error. This could be implemented for future deployments so it doesn't have to potentially compromise existing ctokens if there were any issues. The standard to add a new storage var in proxies is to append a new struct version #

This would most likely be used for future ctoken deployments and not upgraded on current ctokens in order to maintain safety and minimal changes

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions