cic-stack/apps/cic-eth/tests/testdata/bancor/IPoolTokensContainer.json

1066 lines
40 KiB
JSON
Raw Normal View History

2021-02-01 18:12:51 +01:00
{
"contractName": "IPoolTokensContainer",
"abi": [
{
"inputs": [],
"name": "acceptOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IERC20Token",
"name": "_token",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "withdrawTokens",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "poolTokens",
"outputs": [
{
"internalType": "contract ISmartToken[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "createToken",
"outputs": [
{
"internalType": "contract ISmartToken",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract ISmartToken",
"name": "_token",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract ISmartToken",
"name": "_token",
"type": "address"
},
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "burn",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISmartToken\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"createToken\",\"outputs\":[{\"internalType\":\"contract ISmartToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISmartToken\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolTokens\",\"outputs\":[{\"internalType\":\"contract ISmartToken[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20Token\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/types/liquidity-pool-v2/interfaces/IPoolTokensContainer.sol\":\"IPoolTokensContainer\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol\":{\"keccak256\":\"0x9448cdbe90293fb5c1a0808b77af8754a1025b59c45f432eee01f659361a6115\",\"license\":\"SEE LICENSE IN LICENSE\",\"urls\":[\"bzz-raw://1ef2bb2e1543c9324daf7f3fd086a57efb45b89f3d62b9d7a9fc78c138d24dbc\",\"dweb:/ipfs/QmVcXDib3K6xYJMBNxawmo4krJGiDfxb5oL64Lc3pi14XK\"]},\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/types/liquidity-pool-v2/interfaces/IPoolTokensContainer.sol\":{\"keccak256\":\"0xb62b1efbd3188a2ef15fef6122f45278e1c354cadb2544cb600af28bda00f3cd\",\"license\":\"SEE LICENSE IN LICENSE\",\"urls\":[\"bzz-raw://ce08db6aafa20ced1fbaed11d4413580901f525bb318c23dff7532c815b03e1e\",\"dweb:/ipfs/QmeoC4D4vJiPMW7TjTmtu3z8WAtBDQ4GNSTeJzZsDzA36c\"]},\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/token/interfaces/IERC20Token.sol\":{\"keccak256\":\"0xe6f988c3156e88258474526a541d5a42b6a9adae98b04177a059d9f723bc82cd\",\"license\":\"SEE LICENSE IN LICENSE\",\"urls\":[\"bzz-raw://9a6eb77a5b9ce70995a11a6e48ac3985a4c70896fe5fe04d46146ad7c1c83ea3\",\"dweb:/ipfs/QmYvGSveZFG51tghwkVuu6eK9Jy8frHpfLxHTMyvNZN461\"]},\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/token/interfaces/ISmartToken.sol\":{\"keccak256\":\"0x5cfc15e7a23a9872059b0cea4d2ae902c3fc074a39e1c645036ce38ad47881ec\",\"license\":\"SEE LICENSE IN LICENSE\",\"urls\":[\"bzz-raw://890ee09d24de5778e34c4c27d1377d83d378e8f4a13fcb94d5102f61d4749cce\",\"dweb:/ipfs/QmT89f61fmsUN1BVdebKxUc5VU7sitiP33LNk7TTtF
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"sourceMap": "",
"deployedSourceMap": "",
"source": "// SPDX-License-Identifier: SEE LICENSE IN LICENSE\npragma solidity 0.6.12;\nimport \"../../../interfaces/IConverterAnchor.sol\";\nimport \"../../../../token/interfaces/ISmartToken.sol\";\n\n/*\n Pool Tokens Container interface\n*/\ninterface IPoolTokensContainer is IConverterAnchor {\n function poolTokens() external view returns (ISmartToken[] memory);\n function createToken() external returns (ISmartToken);\n function mint(ISmartToken _token, address _to, uint256 _amount) external;\n function burn(ISmartToken _token, address _from, uint256 _amount) external;\n}\n",
"sourcePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/types/liquidity-pool-v2/interfaces/IPoolTokensContainer.sol",
"ast": {
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/types/liquidity-pool-v2/interfaces/IPoolTokensContainer.sol",
"exportedSymbols": {
"IPoolTokensContainer": [
18801
]
},
"id": 18802,
"license": "SEE LICENSE IN LICENSE",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 18767,
"literals": [
"solidity",
"0.6",
".12"
],
"nodeType": "PragmaDirective",
"src": "51:23:34"
},
{
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol",
"file": "../../../interfaces/IConverterAnchor.sol",
"id": 18768,
"nodeType": "ImportDirective",
"scope": 18802,
"sourceUnit": 13350,
"src": "75:50:34",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/token/interfaces/ISmartToken.sol",
"file": "../../../../token/interfaces/ISmartToken.sol",
"id": 18769,
"nodeType": "ImportDirective",
"scope": 18802,
"sourceUnit": 21183,
"src": "126:54:34",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 18770,
"name": "IConverterAnchor",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 13349,
"src": "258:16:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
"typeString": "contract IConverterAnchor"
}
},
"id": 18771,
"nodeType": "InheritanceSpecifier",
"src": "258:16:34"
}
],
"contractDependencies": [
13349,
22847,
22907
],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 18801,
"linearizedBaseContracts": [
18801,
13349,
22907,
22847
],
"name": "IPoolTokensContainer",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"functionSelector": "6d3e313e",
"id": 18777,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "poolTokens",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18772,
"nodeType": "ParameterList",
"parameters": [],
"src": "300:2:34"
},
"returnParameters": {
"id": 18776,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18775,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18777,
"src": "326:20:34",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_contract$_ISmartToken_$21182_$dyn_memory_ptr",
"typeString": "contract ISmartToken[]"
},
"typeName": {
"baseType": {
"contractScope": null,
"id": 18773,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "326:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"id": 18774,
"length": null,
"nodeType": "ArrayTypeName",
"src": "326:13:34",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_contract$_ISmartToken_$21182_$dyn_storage_ptr",
"typeString": "contract ISmartToken[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "325:22:34"
},
"scope": 18801,
"src": "281:67:34",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"functionSelector": "9cbf9e36",
"id": 18782,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "createToken",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18778,
"nodeType": "ParameterList",
"parameters": [],
"src": "373:2:34"
},
"returnParameters": {
"id": 18781,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18780,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18782,
"src": "394:11:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
},
"typeName": {
"contractScope": null,
"id": 18779,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "394:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "393:13:34"
},
"scope": 18801,
"src": "353:54:34",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"functionSelector": "c6c3bbe6",
"id": 18791,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "mint",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18789,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18784,
"mutability": "mutable",
"name": "_token",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18791,
"src": "426:18:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
},
"typeName": {
"contractScope": null,
"id": 18783,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "426:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18786,
"mutability": "mutable",
"name": "_to",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18791,
"src": "446:11:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 18785,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "446:7:34",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18788,
"mutability": "mutable",
"name": "_amount",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18791,
"src": "459:15:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 18787,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "459:7:34",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "425:50:34"
},
"returnParameters": {
"id": 18790,
"nodeType": "ParameterList",
"parameters": [],
"src": "484:0:34"
},
"scope": 18801,
"src": "412:73:34",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"functionSelector": "f6b911bc",
"id": 18800,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "burn",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18798,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18793,
"mutability": "mutable",
"name": "_token",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18800,
"src": "504:18:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
},
"typeName": {
"contractScope": null,
"id": 18792,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "504:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18795,
"mutability": "mutable",
"name": "_from",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18800,
"src": "524:13:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 18794,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "524:7:34",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18797,
"mutability": "mutable",
"name": "_amount",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18800,
"src": "539:15:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 18796,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "539:7:34",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "503:52:34"
},
"returnParameters": {
"id": 18799,
"nodeType": "ParameterList",
"parameters": [],
"src": "564:0:34"
},
"scope": 18801,
"src": "490:75:34",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 18802,
"src": "224:343:34"
}
],
"src": "51:517:34"
},
"legacyAST": {
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/types/liquidity-pool-v2/interfaces/IPoolTokensContainer.sol",
"exportedSymbols": {
"IPoolTokensContainer": [
18801
]
},
"id": 18802,
"license": "SEE LICENSE IN LICENSE",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 18767,
"literals": [
"solidity",
"0.6",
".12"
],
"nodeType": "PragmaDirective",
"src": "51:23:34"
},
{
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterAnchor.sol",
"file": "../../../interfaces/IConverterAnchor.sol",
"id": 18768,
"nodeType": "ImportDirective",
"scope": 18802,
"sourceUnit": 13350,
"src": "75:50:34",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/token/interfaces/ISmartToken.sol",
"file": "../../../../token/interfaces/ISmartToken.sol",
"id": 18769,
"nodeType": "ImportDirective",
"scope": 18802,
"sourceUnit": 21183,
"src": "126:54:34",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 18770,
"name": "IConverterAnchor",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 13349,
"src": "258:16:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IConverterAnchor_$13349",
"typeString": "contract IConverterAnchor"
}
},
"id": 18771,
"nodeType": "InheritanceSpecifier",
"src": "258:16:34"
}
],
"contractDependencies": [
13349,
22847,
22907
],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 18801,
"linearizedBaseContracts": [
18801,
13349,
22907,
22847
],
"name": "IPoolTokensContainer",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"functionSelector": "6d3e313e",
"id": 18777,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "poolTokens",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18772,
"nodeType": "ParameterList",
"parameters": [],
"src": "300:2:34"
},
"returnParameters": {
"id": 18776,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18775,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18777,
"src": "326:20:34",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_contract$_ISmartToken_$21182_$dyn_memory_ptr",
"typeString": "contract ISmartToken[]"
},
"typeName": {
"baseType": {
"contractScope": null,
"id": 18773,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "326:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"id": 18774,
"length": null,
"nodeType": "ArrayTypeName",
"src": "326:13:34",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_contract$_ISmartToken_$21182_$dyn_storage_ptr",
"typeString": "contract ISmartToken[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "325:22:34"
},
"scope": 18801,
"src": "281:67:34",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"functionSelector": "9cbf9e36",
"id": 18782,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "createToken",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18778,
"nodeType": "ParameterList",
"parameters": [],
"src": "373:2:34"
},
"returnParameters": {
"id": 18781,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18780,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18782,
"src": "394:11:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
},
"typeName": {
"contractScope": null,
"id": 18779,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "394:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "393:13:34"
},
"scope": 18801,
"src": "353:54:34",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"functionSelector": "c6c3bbe6",
"id": 18791,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "mint",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18789,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18784,
"mutability": "mutable",
"name": "_token",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18791,
"src": "426:18:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
},
"typeName": {
"contractScope": null,
"id": 18783,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "426:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18786,
"mutability": "mutable",
"name": "_to",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18791,
"src": "446:11:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 18785,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "446:7:34",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18788,
"mutability": "mutable",
"name": "_amount",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18791,
"src": "459:15:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 18787,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "459:7:34",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "425:50:34"
},
"returnParameters": {
"id": 18790,
"nodeType": "ParameterList",
"parameters": [],
"src": "484:0:34"
},
"scope": 18801,
"src": "412:73:34",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"functionSelector": "f6b911bc",
"id": 18800,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "burn",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 18798,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18793,
"mutability": "mutable",
"name": "_token",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18800,
"src": "504:18:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
},
"typeName": {
"contractScope": null,
"id": 18792,
"name": "ISmartToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21182,
"src": "504:11:34",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ISmartToken_$21182",
"typeString": "contract ISmartToken"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18795,
"mutability": "mutable",
"name": "_from",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18800,
"src": "524:13:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 18794,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "524:7:34",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 18797,
"mutability": "mutable",
"name": "_amount",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 18800,
"src": "539:15:34",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 18796,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "539:7:34",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "503:52:34"
},
"returnParameters": {
"id": 18799,
"nodeType": "ParameterList",
"parameters": [],
"src": "564:0:34"
},
"scope": 18801,
"src": "490:75:34",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 18802,
"src": "224:343:34"
}
],
"src": "51:517:34"
},
"compiler": {
"name": "solc",
"version": "0.6.12+commit.27d51765.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.2.3",
"updatedAt": "2020-10-20T08:24:47.790Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}