mirror of
https://github.com/Instadapp/infinite-proxy.git
synced 2024-07-29 21:47:49 +00:00
15 lines
361 B
Solidity
15 lines
361 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
import "../common/variables.sol";
|
||
|
|
||
|
contract ReadModule is Variables {
|
||
|
/**
|
||
|
* @dev Read function to get user's balance in the contract.
|
||
|
* @param user_ address of user.
|
||
|
*/
|
||
|
function userBalance(address user_) public view returns (uint256) {
|
||
|
return _userBalance[user_];
|
||
|
}
|
||
|
}
|