{ "contractName": "IDODOLpToken", "abi": [ { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IDODOLpToken.sol\":\"IDODOLpToken\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IDODOLpToken.sol\":{\"keccak256\":\"0x2183977c7a3cf5aa8d2f56d2167bf59515e34a8e4ebd2402efa85b612631955f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://61766578f8d1bef7f51912a5327e8d4e95e3d9adb509e9486b4e2c8cf179f5e6\",\"dweb:/ipfs/QmXJRK4JKMrJkdn7BFVueoNRixsu26shnX3Dxeb5T9JKK4\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, "sourceMap": "", "deployedSourceMap": "", "source": "/*\n\n Copyright 2020 DODO ZOO.\n SPDX-License-Identifier: Apache-2.0\n\n*/\n\npragma solidity ^0.6.9;\npragma experimental ABIEncoderV2;\n\n\ninterface IDODOLpToken {\n function mint(address user, uint256 value) external;\n\n function burn(address user, uint256 value) external;\n\n function balanceOf(address owner) external view returns (uint256);\n\n function totalSupply() external view returns (uint256);\n}\n", "sourcePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IDODOLpToken.sol", "ast": { "absolutePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IDODOLpToken.sol", "exportedSymbols": { "IDODOLpToken": [ 10536 ] }, "id": 10537, "license": "Apache-2.0", "nodeType": "SourceUnit", "nodes": [ { "id": 10508, "literals": [ "solidity", "^", "0.6", ".9" ], "nodeType": "PragmaDirective", "src": "78:23:31" }, { "id": 10509, "literals": [ "experimental", "ABIEncoderV2" ], "nodeType": "PragmaDirective", "src": "102:33:31" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 10536, "linearizedBaseContracts": [ 10536 ], "name": "IDODOLpToken", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "functionSelector": "40c10f19", "id": 10516, "implemented": false, "kind": "function", "modifiers": [], "name": "mint", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10514, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10511, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10516, "src": "181:12:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10510, "name": "address", "nodeType": "ElementaryTypeName", "src": "181:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 10513, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10516, "src": "195:13:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10512, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "195:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "180:29:31" }, "returnParameters": { "id": 10515, "nodeType": "ParameterList", "parameters": [], "src": "218:0:31" }, "scope": 10536, "src": "167:52:31", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "body": null, "documentation": null, "functionSelector": "9dc29fac", "id": 10523, "implemented": false, "kind": "function", "modifiers": [], "name": "burn", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10521, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10518, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10523, "src": "239:12:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10517, "name": "address", "nodeType": "ElementaryTypeName", "src": "239:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 10520, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10523, "src": "253:13:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10519, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "253:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "238:29:31" }, "returnParameters": { "id": 10522, "nodeType": "ParameterList", "parameters": [], "src": "276:0:31" }, "scope": 10536, "src": "225:52:31", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "body": null, "documentation": null, "functionSelector": "70a08231", "id": 10530, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10526, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10525, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10530, "src": "302:13:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10524, "name": "address", "nodeType": "ElementaryTypeName", "src": "302:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "301:15:31" }, "returnParameters": { "id": 10529, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10528, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10530, "src": "340:7:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10527, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "340:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "339:9:31" }, "scope": 10536, "src": "283:66:31", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "body": null, "documentation": null, "functionSelector": "18160ddd", "id": 10535, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10531, "nodeType": "ParameterList", "parameters": [], "src": "375:2:31" }, "returnParameters": { "id": 10534, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10533, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10535, "src": "401:7:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10532, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "401:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "400:9:31" }, "scope": 10536, "src": "355:55:31", "stateMutability": "view", "virtual": false, "visibility": "external" } ], "scope": 10537, "src": "138:274:31" } ], "src": "78:335:31" }, "legacyAST": { "absolutePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IDODOLpToken.sol", "exportedSymbols": { "IDODOLpToken": [ 10536 ] }, "id": 10537, "license": "Apache-2.0", "nodeType": "SourceUnit", "nodes": [ { "id": 10508, "literals": [ "solidity", "^", "0.6", ".9" ], "nodeType": "PragmaDirective", "src": "78:23:31" }, { "id": 10509, "literals": [ "experimental", "ABIEncoderV2" ], "nodeType": "PragmaDirective", "src": "102:33:31" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 10536, "linearizedBaseContracts": [ 10536 ], "name": "IDODOLpToken", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "functionSelector": "40c10f19", "id": 10516, "implemented": false, "kind": "function", "modifiers": [], "name": "mint", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10514, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10511, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10516, "src": "181:12:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10510, "name": "address", "nodeType": "ElementaryTypeName", "src": "181:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 10513, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10516, "src": "195:13:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10512, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "195:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "180:29:31" }, "returnParameters": { "id": 10515, "nodeType": "ParameterList", "parameters": [], "src": "218:0:31" }, "scope": 10536, "src": "167:52:31", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "body": null, "documentation": null, "functionSelector": "9dc29fac", "id": 10523, "implemented": false, "kind": "function", "modifiers": [], "name": "burn", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10521, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10518, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10523, "src": "239:12:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10517, "name": "address", "nodeType": "ElementaryTypeName", "src": "239:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 10520, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10523, "src": "253:13:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10519, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "253:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "238:29:31" }, "returnParameters": { "id": 10522, "nodeType": "ParameterList", "parameters": [], "src": "276:0:31" }, "scope": 10536, "src": "225:52:31", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "body": null, "documentation": null, "functionSelector": "70a08231", "id": 10530, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10526, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10525, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10530, "src": "302:13:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10524, "name": "address", "nodeType": "ElementaryTypeName", "src": "302:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "301:15:31" }, "returnParameters": { "id": 10529, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10528, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10530, "src": "340:7:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10527, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "340:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "339:9:31" }, "scope": 10536, "src": "283:66:31", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "body": null, "documentation": null, "functionSelector": "18160ddd", "id": 10535, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 10531, "nodeType": "ParameterList", "parameters": [], "src": "375:2:31" }, "returnParameters": { "id": 10534, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10533, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 10535, "src": "401:7:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 10532, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "401:7:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "400:9:31" }, "scope": 10536, "src": "355:55:31", "stateMutability": "view", "virtual": false, "visibility": "external" } ], "scope": 10537, "src": "138:274:31" } ], "src": "78:335:31" }, "compiler": { "name": "solc", "version": "0.6.9+commit.3e3065ac.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.2.3", "updatedAt": "2020-11-06T08:03:35.714Z", "devdoc": { "methods": {} }, "userdoc": { "methods": {} } }