Compound

Compound Interface

Compound.sol
Compound.sol
// Solidity Interface
interface Compound {
function supply(address asset, uint amount) external returns (uint);
function withdraw(address asset, uint requestedAmount) external returns (uint);
function getSupplyBalance(address account, address asset) view external returns (uint);
function supplyRatePerBlock() external view returns (uint);
function mint(uint mintAmount) external returns (uint);
function redeem(uint redeemTokens) external returns (uint);
function balanceOf(address account) external view returns (uint);
}