{
  "contractName": "IBancorFormula",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_supply",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_reserveWeight",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "purchaseTargetAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_supply",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_reserveWeight",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "saleTargetAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_sourceReserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_sourceReserveWeight",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_targetReserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_targetReserveWeight",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "crossReserveTargetAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_supply",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_reserveRatio",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "fundCost",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_supply",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_reserveRatio",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "fundSupplyAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_supply",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint32",
          "name": "_reserveRatio",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "liquidateReserveAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_primaryReserveStakedBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_primaryReserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_secondaryReserveBalance",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveRateNumerator",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_reserveRateDenominator",
          "type": "uint256"
        }
      ],
      "name": "balancedWeights",
      "outputs": [
        {
          "internalType": "uint32",
          "name": "",
          "type": "uint32"
        },
        {
          "internalType": "uint32",
          "name": "",
          "type": "uint32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_primaryReserveStakedBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_primaryReserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondaryReserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveRateNumerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveRateDenominator\",\"type\":\"uint256\"}],\"name\":\"balancedWeights\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_sourceReserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_sourceReserveWeight\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_targetReserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_targetReserveWeight\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"crossReserveTargetAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_reserveRatio\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"fundCost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_reserveRatio\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"fundSupplyAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_reserveRatio\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"liquidateReserveAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_reserveWeight\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"purchaseTargetAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_reserveWeight\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"saleTargetAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IBancorFormula.sol\":\"IBancorFormula\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IBancorFormula.sol\":{\"keccak256\":\"0xf30c95034af4c4ec6e8a859e90cf7a0bada29a805ede76e04644107a7c677c4e\",\"license\":\"SEE LICENSE IN LICENSE\",\"urls\":[\"bzz-raw://b48070d4abf9c4a08c39e6c494fa9efd7389aa7f8b61b283c9ba02062b1c59b6\",\"dweb:/ipfs/Qme6U7SpspFPzMH2mTyKsXCnJEAgg1vX6NNFzuykbVSY5R\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: SEE LICENSE IN LICENSE\npragma solidity 0.6.12;\n\n/*\n    Bancor Formula interface\n*/\ninterface IBancorFormula {\n    function purchaseTargetAmount(uint256 _supply,\n                                  uint256 _reserveBalance,\n                                  uint32 _reserveWeight,\n                                  uint256 _amount)\n                                  external view returns (uint256);\n\n    function saleTargetAmount(uint256 _supply,\n                              uint256 _reserveBalance,\n                              uint32 _reserveWeight,\n                              uint256 _amount)\n                              external view returns (uint256);\n\n    function crossReserveTargetAmount(uint256 _sourceReserveBalance,\n                                      uint32 _sourceReserveWeight,\n                                      uint256 _targetReserveBalance,\n                                      uint32 _targetReserveWeight,\n                                      uint256 _amount)\n                                      external view returns (uint256);\n\n    function fundCost(uint256 _supply,\n                      uint256 _reserveBalance,\n                      uint32 _reserveRatio,\n                      uint256 _amount)\n                      external view returns (uint256);\n\n    function fundSupplyAmount(uint256 _supply,\n                              uint256 _reserveBalance,\n                              uint32 _reserveRatio,\n                              uint256 _amount)\n                              external view returns (uint256);\n\n    function liquidateReserveAmount(uint256 _supply,\n                                    uint256 _reserveBalance,\n                                    uint32 _reserveRatio,\n                                    uint256 _amount)\n                                    external view returns (uint256);\n\n    function balancedWeights(uint256 _primaryReserveStakedBalance,\n                             uint256 _primaryReserveBalance,\n                             uint256 _secondaryReserveBalance,\n                             uint256 _reserveRateNumerator,\n                             uint256 _reserveRateDenominator)\n                             external view returns (uint32, uint32);\n}\n",
  "sourcePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IBancorFormula.sol",
  "ast": {
    "absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IBancorFormula.sol",
    "exportedSymbols": {
      "IBancorFormula": [
        13177
      ]
    },
    "id": 13178,
    "license": "SEE LICENSE IN LICENSE",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 13079,
        "literals": [
          "solidity",
          "0.6",
          ".12"
        ],
        "nodeType": "PragmaDirective",
        "src": "51:23:14"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 13177,
        "linearizedBaseContracts": [
          13177
        ],
        "name": "IBancorFormula",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "functionSelector": "f3250fe2",
            "id": 13092,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "purchaseTargetAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13088,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13081,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "172:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13080,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "172:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13083,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "223:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13082,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "223:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13085,
                  "mutability": "mutable",
                  "name": "_reserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "282:21:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13084,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "282:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13087,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "339:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13086,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "339:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "171:184:14"
            },
            "returnParameters": {
              "id": 13091,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13090,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "413:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13089,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "413:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "412:9:14"
            },
            "scope": 13177,
            "src": "142:280:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "76cf0b56",
            "id": 13105,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "saleTargetAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13101,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13094,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "454:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13093,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "454:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13096,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "501:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13095,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "501:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13098,
                  "mutability": "mutable",
                  "name": "_reserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "556:21:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13097,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "556:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13100,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "609:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13099,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "609:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "453:172:14"
            },
            "returnParameters": {
              "id": 13104,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13103,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "679:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13102,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "679:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "678:9:14"
            },
            "scope": 13177,
            "src": "428:260:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "94491fab",
            "id": 13120,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "crossReserveTargetAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13116,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13107,
                  "mutability": "mutable",
                  "name": "_sourceReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "728:29:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13106,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "728:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13109,
                  "mutability": "mutable",
                  "name": "_sourceReserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "797:27:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13108,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "797:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13111,
                  "mutability": "mutable",
                  "name": "_targetReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "864:29:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13110,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "864:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13113,
                  "mutability": "mutable",
                  "name": "_targetReserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "933:27:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13112,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "933:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13115,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "1000:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13114,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1000:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "727:289:14"
            },
            "returnParameters": {
              "id": 13119,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13118,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "1078:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13117,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1078:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1077:9:14"
            },
            "scope": 13177,
            "src": "694:393:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "ebbb2158",
            "id": 13133,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "fundCost",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13129,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13122,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1111:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13121,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1111:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13124,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1150:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13123,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1150:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13126,
                  "mutability": "mutable",
                  "name": "_reserveRatio",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1197:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13125,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1197:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13128,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1241:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13127,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1241:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1110:147:14"
            },
            "returnParameters": {
              "id": 13132,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13131,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1303:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13130,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1303:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1302:9:14"
            },
            "scope": 13177,
            "src": "1093:219:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "2f55bdb5",
            "id": 13146,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "fundSupplyAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13142,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13135,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1344:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13134,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1344:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13137,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1391:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13136,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1391:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13139,
                  "mutability": "mutable",
                  "name": "_reserveRatio",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1446:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13138,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1446:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13141,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1498:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13140,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1498:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1343:171:14"
            },
            "returnParameters": {
              "id": 13145,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13144,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1568:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13143,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1568:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1567:9:14"
            },
            "scope": 13177,
            "src": "1318:259:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "8074590a",
            "id": 13159,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "liquidateReserveAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13155,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13148,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1615:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13147,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1615:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13150,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1668:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13149,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1668:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13152,
                  "mutability": "mutable",
                  "name": "_reserveRatio",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1729:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13151,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1729:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13154,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1787:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13153,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1787:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1614:189:14"
            },
            "returnParameters": {
              "id": 13158,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13157,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1863:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13156,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1863:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1862:9:14"
            },
            "scope": 13177,
            "src": "1583:289:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "a11aa1b4",
            "id": 13176,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "balancedWeights",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13170,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13161,
                  "mutability": "mutable",
                  "name": "_primaryReserveStakedBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "1903:36:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13160,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1903:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13163,
                  "mutability": "mutable",
                  "name": "_primaryReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "1970:30:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13162,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1970:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13165,
                  "mutability": "mutable",
                  "name": "_secondaryReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2031:32:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13164,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2031:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13167,
                  "mutability": "mutable",
                  "name": "_reserveRateNumerator",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2094:29:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13166,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2094:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13169,
                  "mutability": "mutable",
                  "name": "_reserveRateDenominator",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2154:31:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13168,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2154:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1902:284:14"
            },
            "returnParameters": {
              "id": 13175,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13172,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2239:6:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13171,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2239:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13174,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2247:6:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13173,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2247:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2238:16:14"
            },
            "scope": 13177,
            "src": "1878:377:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 13178,
        "src": "111:2146:14"
      }
    ],
    "src": "51:2207:14"
  },
  "legacyAST": {
    "absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IBancorFormula.sol",
    "exportedSymbols": {
      "IBancorFormula": [
        13177
      ]
    },
    "id": 13178,
    "license": "SEE LICENSE IN LICENSE",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 13079,
        "literals": [
          "solidity",
          "0.6",
          ".12"
        ],
        "nodeType": "PragmaDirective",
        "src": "51:23:14"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 13177,
        "linearizedBaseContracts": [
          13177
        ],
        "name": "IBancorFormula",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "functionSelector": "f3250fe2",
            "id": 13092,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "purchaseTargetAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13088,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13081,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "172:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13080,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "172:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13083,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "223:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13082,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "223:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13085,
                  "mutability": "mutable",
                  "name": "_reserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "282:21:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13084,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "282:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13087,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "339:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13086,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "339:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "171:184:14"
            },
            "returnParameters": {
              "id": 13091,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13090,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13092,
                  "src": "413:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13089,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "413:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "412:9:14"
            },
            "scope": 13177,
            "src": "142:280:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "76cf0b56",
            "id": 13105,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "saleTargetAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13101,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13094,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "454:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13093,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "454:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13096,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "501:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13095,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "501:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13098,
                  "mutability": "mutable",
                  "name": "_reserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "556:21:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13097,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "556:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13100,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "609:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13099,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "609:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "453:172:14"
            },
            "returnParameters": {
              "id": 13104,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13103,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13105,
                  "src": "679:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13102,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "679:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "678:9:14"
            },
            "scope": 13177,
            "src": "428:260:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "94491fab",
            "id": 13120,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "crossReserveTargetAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13116,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13107,
                  "mutability": "mutable",
                  "name": "_sourceReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "728:29:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13106,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "728:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13109,
                  "mutability": "mutable",
                  "name": "_sourceReserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "797:27:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13108,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "797:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13111,
                  "mutability": "mutable",
                  "name": "_targetReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "864:29:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13110,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "864:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13113,
                  "mutability": "mutable",
                  "name": "_targetReserveWeight",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "933:27:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13112,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "933:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13115,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "1000:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13114,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1000:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "727:289:14"
            },
            "returnParameters": {
              "id": 13119,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13118,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13120,
                  "src": "1078:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13117,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1078:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1077:9:14"
            },
            "scope": 13177,
            "src": "694:393:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "ebbb2158",
            "id": 13133,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "fundCost",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13129,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13122,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1111:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13121,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1111:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13124,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1150:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13123,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1150:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13126,
                  "mutability": "mutable",
                  "name": "_reserveRatio",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1197:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13125,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1197:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13128,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1241:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13127,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1241:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1110:147:14"
            },
            "returnParameters": {
              "id": 13132,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13131,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13133,
                  "src": "1303:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13130,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1303:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1302:9:14"
            },
            "scope": 13177,
            "src": "1093:219:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "2f55bdb5",
            "id": 13146,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "fundSupplyAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13142,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13135,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1344:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13134,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1344:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13137,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1391:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13136,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1391:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13139,
                  "mutability": "mutable",
                  "name": "_reserveRatio",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1446:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13138,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1446:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13141,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1498:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13140,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1498:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1343:171:14"
            },
            "returnParameters": {
              "id": 13145,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13144,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13146,
                  "src": "1568:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13143,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1568:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1567:9:14"
            },
            "scope": 13177,
            "src": "1318:259:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "8074590a",
            "id": 13159,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "liquidateReserveAmount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13155,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13148,
                  "mutability": "mutable",
                  "name": "_supply",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1615:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13147,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1615:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13150,
                  "mutability": "mutable",
                  "name": "_reserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1668:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13149,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1668:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13152,
                  "mutability": "mutable",
                  "name": "_reserveRatio",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1729:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13151,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1729:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13154,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1787:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13153,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1787:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1614:189:14"
            },
            "returnParameters": {
              "id": 13158,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13157,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13159,
                  "src": "1863:7:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13156,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1863:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1862:9:14"
            },
            "scope": 13177,
            "src": "1583:289:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "a11aa1b4",
            "id": 13176,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "balancedWeights",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 13170,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13161,
                  "mutability": "mutable",
                  "name": "_primaryReserveStakedBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "1903:36:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13160,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1903:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13163,
                  "mutability": "mutable",
                  "name": "_primaryReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "1970:30:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13162,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1970:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13165,
                  "mutability": "mutable",
                  "name": "_secondaryReserveBalance",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2031:32:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13164,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2031:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13167,
                  "mutability": "mutable",
                  "name": "_reserveRateNumerator",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2094:29:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13166,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2094:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13169,
                  "mutability": "mutable",
                  "name": "_reserveRateDenominator",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2154:31:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13168,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2154:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1902:284:14"
            },
            "returnParameters": {
              "id": 13175,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13172,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2239:6:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13171,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2239:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13174,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 13176,
                  "src": "2247:6:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 13173,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2247:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2238:16:14"
            },
            "scope": 13177,
            "src": "1878:377:14",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 13178,
        "src": "111:2146:14"
      }
    ],
    "src": "51:2207:14"
  },
  "compiler": {
    "name": "solc",
    "version": "0.6.12+commit.27d51765.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.3",
  "updatedAt": "2020-10-20T08:24:47.742Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}