UNPKG

@dnextco/tokenboost-solidity-erc223token

Version:

Solidity contracts for TokenBoost (ERC223Token)

338 lines 10.6 kB
{ "contractName": "ERC223ReceivingContract", "abi": [ { "constant": false, "inputs": [ { "name": "_from", "type": "address" }, { "name": "_value", "type": "uint256" }, { "name": "_data", "type": "bytes" } ], "name": "tokenFallback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity ^0.4.24;\n\ncontract ERC223ReceivingContract {\n\n function tokenFallback(address _from, uint _value, bytes _data) public;\n}\n", "sourcePath": "/Users/dowonlee/Desktop/dowon/DNext/tokenboost/tokenboost-solidity-erc223token/contracts/token/erc223/ERC223ReceivingContract.sol", "ast": { "absolutePath": "/Users/dowonlee/Desktop/dowon/DNext/tokenboost/tokenboost-solidity-erc223token/contracts/token/erc223/ERC223ReceivingContract.sol", "exportedSymbols": { "ERC223ReceivingContract": [ 405 ] }, "id": 406, "nodeType": "SourceUnit", "nodes": [ { "id": 395, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:5" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 405, "linearizedBaseContracts": [ 405 ], "name": "ERC223ReceivingContract", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 404, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "tokenFallback", "nodeType": "FunctionDefinition", "parameters": { "id": 402, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 397, "name": "_from", "nodeType": "VariableDeclaration", "scope": 404, "src": "89:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 396, "name": "address", "nodeType": "ElementaryTypeName", "src": "89:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 399, "name": "_value", "nodeType": "VariableDeclaration", "scope": 404, "src": "104:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 398, "name": "uint", "nodeType": "ElementaryTypeName", "src": "104:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 401, "name": "_data", "nodeType": "VariableDeclaration", "scope": 404, "src": "117:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 400, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "117:5:5", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "88:41:5" }, "payable": false, "returnParameters": { "id": 403, "nodeType": "ParameterList", "parameters": [], "src": "136:0:5" }, "scope": 405, "src": "66:71:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 406, "src": "26:113:5" } ], "src": "0:140:5" }, "legacyAST": { "absolutePath": "/Users/dowonlee/Desktop/dowon/DNext/tokenboost/tokenboost-solidity-erc223token/contracts/token/erc223/ERC223ReceivingContract.sol", "exportedSymbols": { "ERC223ReceivingContract": [ 405 ] }, "id": 406, "nodeType": "SourceUnit", "nodes": [ { "id": 395, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:5" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 405, "linearizedBaseContracts": [ 405 ], "name": "ERC223ReceivingContract", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 404, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "tokenFallback", "nodeType": "FunctionDefinition", "parameters": { "id": 402, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 397, "name": "_from", "nodeType": "VariableDeclaration", "scope": 404, "src": "89:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 396, "name": "address", "nodeType": "ElementaryTypeName", "src": "89:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 399, "name": "_value", "nodeType": "VariableDeclaration", "scope": 404, "src": "104:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 398, "name": "uint", "nodeType": "ElementaryTypeName", "src": "104:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 401, "name": "_data", "nodeType": "VariableDeclaration", "scope": 404, "src": "117:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 400, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "117:5:5", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "88:41:5" }, "payable": false, "returnParameters": { "id": 403, "nodeType": "ParameterList", "parameters": [], "src": "136:0:5" }, "scope": 405, "src": "66:71:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 406, "src": "26:113:5" } ], "src": "0:140:5" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2018-10-24T12:40:22.222Z" }