4018 lines
144 KiB
JSON
4018 lines
144 KiB
JSON
|
{
|
||
|
"contractName": "IConverterRegistryData",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "_anchor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addSmartToken",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "_anchor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "removeSmartToken",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "_liquidityPoolAnchor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addLiquidityPool",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "_liquidityPoolAnchor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "removeLiquidityPool",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "_anchor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addConvertibleToken",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "_anchor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "removeConvertibleToken",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getSmartTokenCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "getSmartTokens",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_index",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getSmartToken",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IConverterAnchor",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_value",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isSmartToken",
|
||
|
"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": "getConvertibleTokenSmartTokenCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC20Token",
|
||
|
"name": "_convertibleToken",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "getConvertibleTokenSmartTokens",
|
||
|
"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": "getConvertibleTokenSmartToken",
|
||
|
"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": "isConvertibleTokenSmartToken",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"},{\"internalType\":\"contract IConverterAnchor\",\"name\":\"_anchor\",\"type\":\"address\"}],\"name\":\"addConvertibleToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"_liquidityPoolAnchor\",\"type\":\"address\"}],\"name\":\"addLiquidityPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"_anchor\",\"type\":\"address\"}],\"name\":\"addSmartToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getConvertibleToken\",\"outputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConvertibleTokenCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getConvertibleTokenSmartToken\",\"outputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"}],\"name\":\"getConvertibleTokenSmartTokenCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_convertibleToken\",\"type\":\"address\"}],\"name\":\"getConvertibleTokenSmartTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"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\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getSmartToken\",\"outputs\":[{\"internalType\":\"contract IConverterAnchor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSmartTokenCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSmartTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"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\"},{\"internalType\":\"address\",\"name\":\"_value\",\"
|
||
|
"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 IConverterRegistryData {\r\n function addSmartToken(IConverterAnchor _anchor) external;\r\n function removeSmartToken(IConverterAnchor _anchor) external;\r\n\r\n function addLiquidityPool(IConverterAnchor _liquidityPoolAnchor) external;\r\n function removeLiquidityPool(IConverterAnchor _liquidityPoolAnchor) external;\r\n\r\n function addConvertibleToken(IERC20Token _convertibleToken, IConverterAnchor _anchor) external;\r\n function removeConvertibleToken(IERC20Token _convertibleToken, IConverterAnchor _anchor) external;\r\n\r\n function getSmartTokenCount() external view returns (uint256);\r\n function getSmartTokens() external view returns (address[] memory);\r\n function getSmartToken(uint256 _index) external view returns (IConverterAnchor);\r\n function isSmartToken(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 getConvertibleTokenSmartTokenCount(IERC20Token _convertibleToken) external view returns (uint256);\r\n function getConvertibleTokenSmartTokens(IERC20Token _convertibleToken) external view returns (address[] memory);\r\n function getConvertibleTokenSmartToken(IERC20Token _convertibleToken, uint256 _index) external view returns (IConverterAnchor);\r\n function isConvertibleTokenSmartToken(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/IConverterRegistryData.sol",
|
||
|
"ast": {
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterRegistryData.sol",
|
||
|
"exportedSymbols": {
|
||
|
"IConverterRegistryData": [
|
||
|
13647
|
||
|
]
|
||
|
},
|
||
|
"id": 13648,
|
||
|
"license": "SEE LICENSE IN LICENSE",
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"id": 13503,
|
||
|
"literals": [
|
||
|
"solidity",
|
||
|
"0.6",
|
||
|
".12"
|
||
|
],
|
||
|
"nodeType": "PragmaDirective",
|
||
|
"src": "52:23:19"
|
||
|
},
|
||
|
{
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol",
|
||
|
"file": "./IConverterAnchor.sol",
|
||
|
"id": 13504,
|
||
|
"nodeType": "ImportDirective",
|
||
|
"scope": 13648,
|
||
|
"sourceUnit": 13350,
|
||
|
"src": "77:32:19",
|
||
|
"symbolAliases": [],
|
||
|
"unitAlias": ""
|
||
|
},
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "interface",
|
||
|
"documentation": null,
|
||
|
"fullyImplemented": false,
|
||
|
"id": 13647,
|
||
|
"linearizedBaseContracts": [
|
||
|
13647
|
||
|
],
|
||
|
"name": "IConverterRegistryData",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "8de6c3eb",
|
||
|
"id": 13509,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "addSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13507,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13506,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13509,
|
||
|
"src": "176:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13505,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "176:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "175:26:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13508,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "210:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "153:58:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "ceb9838c",
|
||
|
"id": 13514,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "removeSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13512,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13511,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13514,
|
||
|
"src": "243:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13510,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "243:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "242:26:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13513,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "277:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "217:61:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "ee6a934c",
|
||
|
"id": 13519,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "addLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13517,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13516,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_liquidityPoolAnchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13519,
|
||
|
"src": "312:37:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13515,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "312:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "311:39:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13518,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "359:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "286:74:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "ae22107f",
|
||
|
"id": 13524,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "removeLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13522,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13521,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_liquidityPoolAnchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13524,
|
||
|
"src": "395:37:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13520,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "395:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "394:39:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13523,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "442:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "366:77:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "36900c11",
|
||
|
"id": 13531,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "addConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13529,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13526,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13531,
|
||
|
"src": "480:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13525,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "480:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13528,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13531,
|
||
|
"src": "511:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13527,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "511:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "479:57:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13530,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "545:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "451:95:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "fba8f031",
|
||
|
"id": 13538,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "removeConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13536,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13533,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13538,
|
||
|
"src": "584:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13532,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "584:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13535,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13538,
|
||
|
"src": "615:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13534,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "615:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "583:57:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13537,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "649:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "552:98:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "e571049b",
|
||
|
"id": 13543,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getSmartTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13539,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "685:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13542,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13541,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13543,
|
||
|
"src": "711:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13540,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "711:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "710:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "658:62:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "04ceaf41",
|
||
|
"id": 13549,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getSmartTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13544,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "749:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13548,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13547,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13549,
|
||
|
"src": "775:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13545,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "775:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13546,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "775:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "774:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "726:67:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a109d214",
|
||
|
"id": 13556,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13552,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13551,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13556,
|
||
|
"src": "822:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13550,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "822:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "821:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13555,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13554,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13556,
|
||
|
"src": "861:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13553,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "861:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "860:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "799:80:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "4123ef60",
|
||
|
"id": 13563,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13559,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13558,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13563,
|
||
|
"src": "907:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13557,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "907:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "906:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13562,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13561,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13563,
|
||
|
"src": "946:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13560,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "946:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "945:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "885:67:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7a5f0ffd",
|
||
|
"id": 13568,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPoolCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13564,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "990:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13567,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13566,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13568,
|
||
|
"src": "1016:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13565,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1016:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1015:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "960:65:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7f45c4c3",
|
||
|
"id": 13574,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPools",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13569,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "1057:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13573,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13572,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13574,
|
||
|
"src": "1083:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13570,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1083:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13571,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1083:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1082:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1031:70:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a74498aa",
|
||
|
"id": 13581,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13577,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13576,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13581,
|
||
|
"src": "1133:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13575,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1133:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1132:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13580,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13579,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13581,
|
||
|
"src": "1172:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13578,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "1172:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1171:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1107:83:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "e85455d7",
|
||
|
"id": 13588,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13584,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13583,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13588,
|
||
|
"src": "1221:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13582,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1221:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1220:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13587,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13586,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13588,
|
||
|
"src": "1260:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13585,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1260:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1259:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1196:70:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "69be4784",
|
||
|
"id": 13593,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13589,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "1307:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13592,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13591,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13593,
|
||
|
"src": "1333:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13590,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1333:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1332:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1274:68:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "5f1b50fe",
|
||
|
"id": 13599,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13594,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "1377:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13598,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13597,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13599,
|
||
|
"src": "1403:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13595,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1403:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13596,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1403:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1402:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1348:73:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "865cf194",
|
||
|
"id": 13606,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13602,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13601,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13606,
|
||
|
"src": "1456:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13600,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1456:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1455:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13605,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13604,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13606,
|
||
|
"src": "1495:11:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13603,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1495:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1494:13:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1427:81:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "3ab8857c",
|
||
|
"id": 13613,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13609,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13608,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13613,
|
||
|
"src": "1542:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13607,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1542:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1541:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13612,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13611,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13613,
|
||
|
"src": "1581:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13610,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1581:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1580:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1514:73:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a43d5e94",
|
||
|
"id": 13620,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenSmartTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13616,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13615,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13620,
|
||
|
"src": "1639:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13614,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1639:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1638:31:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13619,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13618,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13620,
|
||
|
"src": "1693:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13617,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1693:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1692:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1595:107:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "f4fb86c0",
|
||
|
"id": 13628,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenSmartTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13623,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13622,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13628,
|
||
|
"src": "1748:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13621,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1748:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1747:31:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13627,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13626,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13628,
|
||
|
"src": "1802:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13624,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1802:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13625,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1802:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1801:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1708:112:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "d6c4b5b2",
|
||
|
"id": 13637,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13633,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13630,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13637,
|
||
|
"src": "1865:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13629,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1865:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13632,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13637,
|
||
|
"src": "1896:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13631,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1896:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1864:47:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13636,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13635,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13637,
|
||
|
"src": "1935:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13634,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "1935:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1934:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1826:127:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "725b8786",
|
||
|
"id": 13646,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleTokenSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13642,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13639,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13646,
|
||
|
"src": "1997:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13638,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1997:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13641,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13646,
|
||
|
"src": "2028:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13640,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "2028:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1996:47:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13645,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13644,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13646,
|
||
|
"src": "2067:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13643,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "2067:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "2066:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1959:114:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
}
|
||
|
],
|
||
|
"scope": 13648,
|
||
|
"src": "113:1963:19"
|
||
|
}
|
||
|
],
|
||
|
"src": "52:2026:19"
|
||
|
},
|
||
|
"legacyAST": {
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterRegistryData.sol",
|
||
|
"exportedSymbols": {
|
||
|
"IConverterRegistryData": [
|
||
|
13647
|
||
|
]
|
||
|
},
|
||
|
"id": 13648,
|
||
|
"license": "SEE LICENSE IN LICENSE",
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"id": 13503,
|
||
|
"literals": [
|
||
|
"solidity",
|
||
|
"0.6",
|
||
|
".12"
|
||
|
],
|
||
|
"nodeType": "PragmaDirective",
|
||
|
"src": "52:23:19"
|
||
|
},
|
||
|
{
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol",
|
||
|
"file": "./IConverterAnchor.sol",
|
||
|
"id": 13504,
|
||
|
"nodeType": "ImportDirective",
|
||
|
"scope": 13648,
|
||
|
"sourceUnit": 13350,
|
||
|
"src": "77:32:19",
|
||
|
"symbolAliases": [],
|
||
|
"unitAlias": ""
|
||
|
},
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "interface",
|
||
|
"documentation": null,
|
||
|
"fullyImplemented": false,
|
||
|
"id": 13647,
|
||
|
"linearizedBaseContracts": [
|
||
|
13647
|
||
|
],
|
||
|
"name": "IConverterRegistryData",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "8de6c3eb",
|
||
|
"id": 13509,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "addSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13507,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13506,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13509,
|
||
|
"src": "176:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13505,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "176:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "175:26:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13508,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "210:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "153:58:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "ceb9838c",
|
||
|
"id": 13514,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "removeSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13512,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13511,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13514,
|
||
|
"src": "243:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13510,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "243:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "242:26:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13513,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "277:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "217:61:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "ee6a934c",
|
||
|
"id": 13519,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "addLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13517,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13516,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_liquidityPoolAnchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13519,
|
||
|
"src": "312:37:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13515,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "312:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "311:39:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13518,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "359:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "286:74:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "ae22107f",
|
||
|
"id": 13524,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "removeLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13522,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13521,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_liquidityPoolAnchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13524,
|
||
|
"src": "395:37:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13520,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "395:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "394:39:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13523,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "442:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "366:77:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "36900c11",
|
||
|
"id": 13531,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "addConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13529,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13526,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13531,
|
||
|
"src": "480:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13525,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "480:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13528,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13531,
|
||
|
"src": "511:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13527,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "511:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "479:57:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13530,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "545:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "451:95:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "fba8f031",
|
||
|
"id": 13538,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "removeConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13536,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13533,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13538,
|
||
|
"src": "584:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13532,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "584:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13535,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_anchor",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13538,
|
||
|
"src": "615:24:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13534,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "615:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "583:57:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13537,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "649:0:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "552:98:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "e571049b",
|
||
|
"id": 13543,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getSmartTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13539,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "685:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13542,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13541,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13543,
|
||
|
"src": "711:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13540,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "711:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "710:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "658:62:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "04ceaf41",
|
||
|
"id": 13549,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getSmartTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13544,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "749:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13548,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13547,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13549,
|
||
|
"src": "775:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13545,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "775:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13546,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "775:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "774:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "726:67:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a109d214",
|
||
|
"id": 13556,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13552,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13551,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13556,
|
||
|
"src": "822:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13550,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "822:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "821:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13555,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13554,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13556,
|
||
|
"src": "861:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13553,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "861:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "860:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "799:80:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "4123ef60",
|
||
|
"id": 13563,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13559,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13558,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13563,
|
||
|
"src": "907:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13557,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "907:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "906:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13562,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13561,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13563,
|
||
|
"src": "946:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13560,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "946:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "945:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "885:67:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7a5f0ffd",
|
||
|
"id": 13568,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPoolCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13564,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "990:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13567,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13566,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13568,
|
||
|
"src": "1016:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13565,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1016:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1015:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "960:65:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "7f45c4c3",
|
||
|
"id": 13574,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPools",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13569,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "1057:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13573,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13572,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13574,
|
||
|
"src": "1083:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13570,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1083:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13571,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1083:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1082:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1031:70:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a74498aa",
|
||
|
"id": 13581,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13577,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13576,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13581,
|
||
|
"src": "1133:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13575,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1133:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1132:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13580,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13579,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13581,
|
||
|
"src": "1172:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13578,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "1172:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1171:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1107:83:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "e85455d7",
|
||
|
"id": 13588,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isLiquidityPool",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13584,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13583,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13588,
|
||
|
"src": "1221:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13582,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1221:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1220:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13587,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13586,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13588,
|
||
|
"src": "1260:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13585,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1260:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1259:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1196:70:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "69be4784",
|
||
|
"id": 13593,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13589,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "1307:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13592,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13591,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13593,
|
||
|
"src": "1333:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13590,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1333:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1332:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1274:68:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "5f1b50fe",
|
||
|
"id": 13599,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13594,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "1377:2:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13598,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13597,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13599,
|
||
|
"src": "1403:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13595,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1403:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13596,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1403:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1402:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1348:73:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "865cf194",
|
||
|
"id": 13606,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13602,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13601,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13606,
|
||
|
"src": "1456:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13600,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1456:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1455:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13605,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13604,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13606,
|
||
|
"src": "1495:11:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13603,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1495:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1494:13:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1427:81:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "3ab8857c",
|
||
|
"id": 13613,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13609,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13608,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13613,
|
||
|
"src": "1542:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13607,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1542:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1541:16:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13612,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13611,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13613,
|
||
|
"src": "1581:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13610,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1581:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1580:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1514:73:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "a43d5e94",
|
||
|
"id": 13620,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenSmartTokenCount",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13616,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13615,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13620,
|
||
|
"src": "1639:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13614,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1639:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1638:31:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13619,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13618,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13620,
|
||
|
"src": "1693:7:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13617,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1693:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1692:9:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1595:107:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "f4fb86c0",
|
||
|
"id": 13628,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenSmartTokens",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13623,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13622,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13628,
|
||
|
"src": "1748:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13621,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1748:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1747:31:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13627,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13626,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13628,
|
||
|
"src": "1802:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "memory",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
||
|
"typeString": "address[]"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"baseType": {
|
||
|
"id": 13624,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1802:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"id": 13625,
|
||
|
"length": null,
|
||
|
"nodeType": "ArrayTypeName",
|
||
|
"src": "1802:9:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||
|
"typeString": "address[]"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1801:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1708:112:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "d6c4b5b2",
|
||
|
"id": 13637,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "getConvertibleTokenSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13633,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13630,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13637,
|
||
|
"src": "1865:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13629,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1865:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13632,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_index",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13637,
|
||
|
"src": "1896:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13631,
|
||
|
"name": "uint256",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "1896:7:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint256",
|
||
|
"typeString": "uint256"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1864:47:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13636,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13635,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13637,
|
||
|
"src": "1935:16:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13634,
|
||
|
"name": "IConverterAnchor",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 13349,
|
||
|
"src": "1935:16:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
|
||
|
"typeString": "contract IConverterAnchor"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1934:18:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1826:127:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "725b8786",
|
||
|
"id": 13646,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "isConvertibleTokenSmartToken",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13642,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13639,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_convertibleToken",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13646,
|
||
|
"src": "1997:29:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"contractScope": null,
|
||
|
"id": 13638,
|
||
|
"name": "IERC20Token",
|
||
|
"nodeType": "UserDefinedTypeName",
|
||
|
"referencedDeclaration": 21127,
|
||
|
"src": "1997:11:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_contract$_IERC20Token_$21127",
|
||
|
"typeString": "contract IERC20Token"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13641,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_value",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13646,
|
||
|
"src": "2028:14:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13640,
|
||
|
"name": "address",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "2028:7:19",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_address",
|
||
|
"typeString": "address"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "1996:47:19"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13645,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13644,
|
||
|
"mutability": "mutable",
|
||
|
"name": "",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13646,
|
||
|
"src": "2067:4:19",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13643,
|
||
|
"name": "bool",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "2067:4:19",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bool",
|
||
|
"typeString": "bool"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "2066:6:19"
|
||
|
},
|
||
|
"scope": 13647,
|
||
|
"src": "1959:114:19",
|
||
|
"stateMutability": "view",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
}
|
||
|
],
|
||
|
"scope": 13648,
|
||
|
"src": "113:1963:19"
|
||
|
}
|
||
|
],
|
||
|
"src": "52:2026:19"
|
||
|
},
|
||
|
"compiler": {
|
||
|
"name": "solc",
|
||
|
"version": "0.6.12+commit.27d51765.Emscripten.clang"
|
||
|
},
|
||
|
"networks": {},
|
||
|
"schemaVersion": "3.2.3",
|
||
|
"updatedAt": "2020-10-20T08:24:47.745Z",
|
||
|
"devdoc": {
|
||
|
"kind": "dev",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
}
|
||
|
}
|