{
    "Function": "getPricePerFullShare",
    "File": "contracts/legacy/mock/MockYaxisBar.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol",
        "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "SafeMath",
        "IERC20",
        "SafeMath"
    ],
    "Internal Calls": [
        "totalSupply",
        "totalSupply"
    ],
    "Library Calls": [
        "div",
        "mul"
    ],
    "Low-Level Calls": [],
    "Code": "function getPricePerFullShare()\n        public\n        view\n        returns (uint256)\n    {\n        return totalSupply() == 0\n            ? 1e18\n            : YAX.balanceOf(address(this)).mul(1e18).div(totalSupply());\n    }"
}