Skip to content

Example comet interface not consistent with CometMainInterface #1

Description

@Flip-Liquid

The type returned in the example is incorrect. In CometMainInterface (https://github.com/compound-finance/comet/blob/main/contracts/CometMainInterface.sol), getSupplyRate and getBorrowRate functions are defined as

function getSupplyRate(uint utilization) virtual public view returns (uint64);

function getBorrowRate(uint utilization) virtual public view returns (uint64);

Whereas in the example, the return type is specified as uint[256].

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions