3090 lines
110 KiB
JSON
3090 lines
110 KiB
JSON
|
{
|
||
|
"contractName": "IConverterRegistry",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getAnchorCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getAnchors",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_index",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getAnchor",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_value",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isAnchor",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getLiquidityPoolCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getLiquidityPools",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_index",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getLiquidityPool",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_value",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isLiquidityPool",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getConvertibleTokenCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getConvertibleTokens",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_index",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getConvertibleToken",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_value",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isConvertibleToken",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "getConvertibleTokenAnchorCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "getConvertibleTokenAnchors",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_index",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getConvertibleTokenAnchor",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_value",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isConvertibleTokenAnchor",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getAnchor\",\"outputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAnchorCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAnchors\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getConvertibleToken\",\"outputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getConvertibleTokenAnchor\",\"outputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"}],\"name\":\"getConvertibleTokenAnchorCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"}],\"name\":\"getConvertibleTokenAnchors\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConvertibleTokenCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConvertibleTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getLiquidityPool\",\"outputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLiquidityPoolCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLiquidityPools\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"isAnchor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"isConvertibleToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"isConvertibleTokenAnchor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"isLiquidityPool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"meth
|
||
|
"bytecode": "0x",
|
||
|
"deployedBytecode": "0x",
|
||
|
"immutableReferences": {},
|
||
|
"sourceMap": "",
|
||
|
"deployedSourceMap": "",
|
||
|
"source": "// SPDX-License-Identifier: SEE LICENSE IN LICENSE\r\npragma solidity 0.6.12;\r\nimport \"./IConverterAnchor.sol\";\r\n\r\ninterface IConverterRegistry {\r\n function getAnchorCount() external view returns (uint256);\r\n function getAnchors() external view returns (address[] memory);\r\n function getAnchor(uint256 _index) external view returns (IConverterAnchor);\r\n function isAnchor(address _value) external view returns (bool);\r\n\r\n function getLiquidityPoolCount() external view returns (uint256);\r\n function getLiquidityPools() external view returns (address[] memory);\r\n function getLiquidityPool(uint256 _index) external view returns (IConverterAnchor);\r\n function isLiquidityPool(address _value) external view returns (bool);\r\n\r\n function getConvertibleTokenCount() external view returns (uint256);\r\n function getConvertibleTokens() external view returns (address[] memory);\r\n function getConvertibleToken(uint256 _index) external view returns (IERC20Token);\r\n function isConvertibleToken(address _value) external view returns (bool);\r\n\r\n function getConvertibleTokenAnchorCount(IERC20Token _convertibleToken) external view returns (uint256);\r\n function getConvertibleTokenAnchors(IERC20Token _convertibleToken) external view returns (address[] memory);\r\n function getConvertibleTokenAnchor(IERC20Token _convertibleToken, uint256 _index) external view returns (IConverterAnchor);\r\n function isConvertibleTokenAnchor(IERC20Token _convertibleToken, address _value) external view returns (bool);\r\n}\r\n",
|
||
|
"sourcePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterRegistry.sol",
|
||
|
"ast": {
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterRegistry.sol",
|
||
|
"exportedSymbols": {
|
||
|
"IConverterRegistry": [
|
||
|
13501
|
||
|
]
|
||
|
},
|
||
|
"id": 13502,
|
||
|
"license": "SEE LICENSE IN LICENSE",
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"id": 13391,
|
||
|
"literals": [
|
||
|
"solidity",
|
||
|
"0.6",
|
||
|
".12"
|
||
|
],
|
||
|
"nodeType": "PragmaDirective",
|
||
|
"src": "52:23:18"
|
||
|
},
|
||
|
{
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol",
|
||
|
"file": "./IConverterAnchor.sol",
|
||
|
"id": 13392,
|
||
|
"nodeType": "ImportDirective",
|
||
|
"scope": 13502,
|
||
|
"sourceUnit": 13350,
|
||
|
"src": "77:32:18",
|
||
|
"symbolAliases": [],
|
||
|
"unitAlias": ""
|
||
|
},
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "interface",
|
||
|
"documentation": null,
|
||
|
"fullyImplemented": false,
|
||
|
"id": 13501,
|
||
|
"linearizedBaseContracts": [
|
||
|
13501
|
||
|
],
|
||
|
"name": "IConverterRegistry",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "d3182bed",
|
||
|
"id": 13397,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getAnchorCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13393,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "172:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13396,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13395,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13397,
|
||
|
"src": "198:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13394,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "198:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "197:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "149:58:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "effb3c6e",
|
||
|
"id": 13403,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getAnchors",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13398,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "232:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13402,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13401,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13403,
|
||
|
"src": "258:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13399,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "258:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13400,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "258:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "257:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "213:63:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "4c7df18f",
|
||
|
"id": 13410,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13406,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13405,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13410,
|
||
|
"src": "301:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13404,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "301:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "300:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13409,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13408,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13410,
|
||
|
"src": "340:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13407,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "340:16:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "339:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "282:76:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "d8cced2a",
|
||
|
"id": 13417,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13413,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13412,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13417,
|
||
|
"src": "382:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13411,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "382:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "381:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13416,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13415,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13417,
|
||
|
"src": "421:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13414,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "421:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "420:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "364:63:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7a5f0ffd",
|
||
|
"id": 13422,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPoolCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13418,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "465:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13421,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13420,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13422,
|
||
|
"src": "491:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13419,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "491:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "490:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "435:65:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7f45c4c3",
|
||
|
"id": 13428,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPools",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13423,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "532:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13427,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13426,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13428,
|
||
|
"src": "558:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13424,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "558:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13425,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "558:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "557:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "506:70:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a74498aa",
|
||
|
"id": 13435,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13431,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13430,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13435,
|
||
|
"src": "608:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13429,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "608:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "607:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13434,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13433,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13435,
|
||
|
"src": "647:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13432,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "647:16:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "646:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "582:83:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "e85455d7",
|
||
|
"id": 13442,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13438,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13437,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13442,
|
||
|
"src": "696:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13436,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "696:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "695:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13441,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13440,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13442,
|
||
|
"src": "735:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13439,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "735:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "734:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "671:70:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "69be4784",
|
||
|
"id": 13447,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13443,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "782:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13446,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13445,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13447,
|
||
|
"src": "808:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13444,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "808:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "807:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "749:68:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "5f1b50fe",
|
||
|
"id": 13453,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13448,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "852:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13452,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13451,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13453,
|
||
|
"src": "878:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13449,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "878:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13450,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "878:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "877:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "823:73:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "865cf194",
|
||
|
"id": 13460,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13456,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13455,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13460,
|
||
|
"src": "931:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13454,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "931:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "930:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13459,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13458,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13460,
|
||
|
"src": "970:11:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13457,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "970:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "969:13:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "902:81:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "3ab8857c",
|
||
|
"id": 13467,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13463,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13462,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13467,
|
||
|
"src": "1017:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13461,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1017:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1016:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13466,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13465,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13467,
|
||
|
"src": "1056:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13464,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1056:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1055:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "989:73:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "49c5f32b",
|
||
|
"id": 13474,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenAnchorCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13470,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13469,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13474,
|
||
|
"src": "1110:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13468,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1110:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1109:31:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13473,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13472,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13474,
|
||
|
"src": "1164:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13471,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1164:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1163:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1070:103:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "11839064",
|
||
|
"id": 13482,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenAnchors",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13477,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13476,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13482,
|
||
|
"src": "1215:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13475,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1215:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1214:31:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13481,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13480,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13482,
|
||
|
"src": "1269:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13478,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1269:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13479,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1269:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1268:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1179:108:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "603f51e4",
|
||
|
"id": 13491,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13487,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13484,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13491,
|
||
|
"src": "1328:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13483,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1328:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13486,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13491,
|
||
|
"src": "1359:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13485,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1359:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1327:47:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13490,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13489,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13491,
|
||
|
"src": "1398:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13488,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "1398:16:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1397:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1293:123:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "b4c4197a",
|
||
|
"id": 13500,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleTokenAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13496,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13493,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13500,
|
||
|
"src": "1456:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13492,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1456:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13495,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13500,
|
||
|
"src": "1487:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13494,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1487:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1455:47:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13499,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13498,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13500,
|
||
|
"src": "1526:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13497,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1526:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1525:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1422:110:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
}
|
||
|
],
|
||
|
"scope": 13502,
|
||
|
"src": "113:1422:18"
|
||
|
}
|
||
|
],
|
||
|
"src": "52:1485:18"
|
||
|
},
|
||
|
"legacyAST": {
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterRegistry.sol",
|
||
|
"exportedSymbols": {
|
||
|
"IConverterRegistry": [
|
||
|
13501
|
||
|
]
|
||
|
},
|
||
|
"id": 13502,
|
||
|
"license": "SEE LICENSE IN LICENSE",
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"id": 13391,
|
||
|
"literals": [
|
||
|
"solidity",
|
||
|
"0.6",
|
||
|
".12"
|
||
|
],
|
||
|
"nodeType": "PragmaDirective",
|
||
|
"src": "52:23:18"
|
||
|
},
|
||
|
{
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol",
|
||
|
"file": "./IConverterAnchor.sol",
|
||
|
"id": 13392,
|
||
|
"nodeType": "ImportDirective",
|
||
|
"scope": 13502,
|
||
|
"sourceUnit": 13350,
|
||
|
"src": "77:32:18",
|
||
|
"symbolAliases": [],
|
||
|
"unitAlias": ""
|
||
|
},
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "interface",
|
||
|
"documentation": null,
|
||
|
"fullyImplemented": false,
|
||
|
"id": 13501,
|
||
|
"linearizedBaseContracts": [
|
||
|
13501
|
||
|
],
|
||
|
"name": "IConverterRegistry",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "d3182bed",
|
||
|
"id": 13397,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getAnchorCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13393,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "172:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13396,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13395,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13397,
|
||
|
"src": "198:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13394,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "198:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "197:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "149:58:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "effb3c6e",
|
||
|
"id": 13403,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getAnchors",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13398,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "232:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13402,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13401,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13403,
|
||
|
"src": "258:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13399,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "258:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13400,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "258:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "257:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "213:63:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "4c7df18f",
|
||
|
"id": 13410,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13406,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13405,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13410,
|
||
|
"src": "301:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13404,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "301:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "300:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13409,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13408,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13410,
|
||
|
"src": "340:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13407,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "340:16:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "339:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "282:76:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "d8cced2a",
|
||
|
"id": 13417,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13413,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13412,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13417,
|
||
|
"src": "382:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13411,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "382:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "381:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13416,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13415,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13417,
|
||
|
"src": "421:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13414,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "421:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "420:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "364:63:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7a5f0ffd",
|
||
|
"id": 13422,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPoolCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13418,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "465:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13421,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13420,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13422,
|
||
|
"src": "491:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13419,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "491:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "490:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "435:65:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7f45c4c3",
|
||
|
"id": 13428,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPools",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13423,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "532:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13427,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13426,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13428,
|
||
|
"src": "558:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13424,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "558:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13425,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "558:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "557:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "506:70:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a74498aa",
|
||
|
"id": 13435,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13431,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13430,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13435,
|
||
|
"src": "608:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13429,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "608:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "607:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13434,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13433,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13435,
|
||
|
"src": "647:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13432,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "647:16:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "646:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "582:83:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "e85455d7",
|
||
|
"id": 13442,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13438,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13437,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13442,
|
||
|
"src": "696:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13436,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "696:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "695:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13441,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13440,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13442,
|
||
|
"src": "735:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13439,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "735:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "734:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "671:70:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "69be4784",
|
||
|
"id": 13447,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13443,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "782:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13446,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13445,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13447,
|
||
|
"src": "808:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13444,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "808:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "807:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "749:68:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "5f1b50fe",
|
||
|
"id": 13453,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13448,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "852:2:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13452,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13451,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13453,
|
||
|
"src": "878:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13449,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "878:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13450,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "878:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "877:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "823:73:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "865cf194",
|
||
|
"id": 13460,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13456,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13455,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13460,
|
||
|
"src": "931:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13454,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "931:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "930:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13459,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13458,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13460,
|
||
|
"src": "970:11:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13457,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "970:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "969:13:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "902:81:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "3ab8857c",
|
||
|
"id": 13467,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13463,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13462,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13467,
|
||
|
"src": "1017:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13461,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1017:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1016:16:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13466,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13465,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13467,
|
||
|
"src": "1056:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13464,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1056:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1055:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "989:73:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "49c5f32b",
|
||
|
"id": 13474,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenAnchorCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13470,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13469,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13474,
|
||
|
"src": "1110:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13468,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1110:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1109:31:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13473,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13472,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13474,
|
||
|
"src": "1164:7:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13471,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1164:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1163:9:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1070:103:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "11839064",
|
||
|
"id": 13482,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenAnchors",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13477,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13476,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13482,
|
||
|
"src": "1215:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13475,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1215:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1214:31:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13481,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13480,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13482,
|
||
|
"src": "1269:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13478,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1269:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13479,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1269:9:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1268:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1179:108:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "603f51e4",
|
||
|
"id": 13491,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13487,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13484,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13491,
|
||
|
"src": "1328:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13483,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1328:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13486,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13491,
|
||
|
"src": "1359:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13485,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1359:7:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1327:47:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13490,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13489,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13491,
|
||
|
"src": "1398:16:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13488,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "1398:16:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1397:18:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1293:123:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "b4c4197a",
|
||
|
"id": 13500,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleTokenAnchor",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13496,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13493,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13500,
|
||
|
"src": "1456:29:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13492,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1456:11:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13495,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13500,
|
||
|
"src": "1487:14:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13494,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1487:7:18",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1455:47:18"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13499,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13498,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13500,
|
||
|
"src": "1526:4:18",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13497,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1526:4:18",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1525:6:18"
|
||
|
},
|
||
|
"scope": 13501,
|
||
|
"src": "1422:110:18",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
}
|
||
|
],
|
||
|
"scope": 13502,
|
||
|
"src": "113:1422:18"
|
||
|
}
|
||
|
],
|
||
|
"src": "52:1485:18"
|
||
|
},
|
||
|
"compiler": {
|
||
|
"name": "solc",
|
||
|
"version": "0.6.12+commit.27d51765.Emscripten.clang"
|
||
|
},
|
||
|
"networks": {},
|
||
|
"schemaVersion": "3.2.3",
|
||
|
"updatedAt": "2020-10-20T08:24:47.744Z",
|
||
|
"devdoc": {
|
||
|
"kind": "dev",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
}
|
||
|
}
|