Accounts
contract tracks the principal, interest, and other balance-related status of accounts.function getBorrowBalanceCurrent (address _token, address _accountAddr) public view returns (uint256 borrowBalance)
function getDepositBalanceCurrent (address _token, address _accountAddr) public view returns (uint256 depositBalance)
function getBorrowETH(address _accountAddr) public view returns (uint256 borrowETH)
function getDepositETH(address _accountAddr) public view returns (uint256 depositETH)
function getBorrowPrincipal(address _accountAddr, address _token) public view returns(uint256)
function getDepositPrincipal(address _accountAddr, address _token) public view returns(uint256)
function getBorrowInterest(address _accountAddr, address _token) public view returns(uint256)
function getDepositInterest(address _account, address _token) public view returns(uint256)
function getBorrowPower(address _borrower) public view returns (uint256 power)
function getLastBorrowBlock(address _accountAddr, address _token) public view returns(uint256)
function getLastDepositBlock(address _accountAddr, address _token) public view returns(uint256)
function isUserHasAnyDeposits(address _account) public view returns (bool)
function isUserHasBorrows(address _account, uint8 _index) public view returns (bool)
function isUserHasDeposits(address _account, uint8 _index) public view returns (bool)