[
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "bound",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "weight",
                "type": "uint256"
            },
            {
                "internalType": "bool",
                "name": "isLowerBound",
                "type": "bool"
            }
        ],
        "name": "calcAdjustedBound",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "boundRatio",
                "type": "uint256"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    }
]
