Adds slither support
This commit is contained in:
parent
5e3c5ab0ac
commit
5c1846ed90
|
@ -5,6 +5,7 @@ config/production/password
|
||||||
coverage
|
coverage
|
||||||
embarkArtifacts
|
embarkArtifacts
|
||||||
node_modules
|
node_modules
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
"className": "ApproveAndCallFallBack",
|
||||||
|
"args": [],
|
||||||
|
"code": "",
|
||||||
|
"runtimeBytecode": "",
|
||||||
|
"realRuntimeBytecode": "",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "",
|
||||||
|
"gasEstimates": null,
|
||||||
|
"functionHashes": {
|
||||||
|
"receiveApproval(address,uint256,address,bytes)": "8f4ffcb1"
|
||||||
|
},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "from",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_amount",
|
||||||
|
"type": "uint256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_token",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_data",
|
||||||
|
"type": "bytes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "receiveApproval",
|
||||||
|
"outputs": [],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/token/ApproveAndCallFallBack.sol",
|
||||||
|
"originalFilename": "contracts/token/ApproveAndCallFallBack.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/token/ApproveAndCallFallBack.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
{
|
||||||
|
"className": "BancorFormula",
|
||||||
|
"args": [],
|
||||||
|
"code": "608060405234801561001057600080fd5b506001606060020a641c35fedd1502036020556001605e60020a646c3390ecc902036021556001606160020a640cf801476102036022556001605f60020a6431bdb23e1d02036023556001605b60020a6502fb1d8fe08302036024556001605a60020a6505b771955b3702036025556001605960020a650af67a93bb5102036026556001605860020a6515060c256cb302036027556001605860020a651428a2f98d7302036028556001605660020a654d515663970902036029556001605560020a65944620b0e70f0203602a557011c592761c666fffffffffffffffffffff602b5570110a688680a757ffffffffffffffffffff602c55701056f1b5bedf77ffffffffffffffffffff602d55700faadceceeff8bffffffffffffffffffff602e55700f05dc6b27edadffffffffffffffffffff602f55700e67a5a25da4107fffffffffffffffffff603055700dcff115b14eedffffffffffffffffffff603155700d3e7a392431239fffffffffffffffffff603255700cb2ff529eb71e4fffffffffffffffffff603355700c2d415c3db974afffffffffffffffffff603455700bad03e7d883f69bffffffffffffffffff603555700b320d03b2c343d5ffffffffffffffffff603655700abc25204e02828dffffffffffffffffff603755700a4b16f74ee4bb207fffffffffffffffff6038557009deaf736ac1f569ffffffffffffffffff603955700976bd9952c7aa957fffffffffffffffff603a557009131271922eaa606fffffffffffffffff603b557008b380f3558668c46fffffffffffffffff603c55700857ddf0117efa215bffffffffffffffff603d556001608360020a03603e557007abbf6f6abb9d087fffffffffffffffff603f5570075af62cbac95f7dfa7fffffffffffffff60405570070d7fb7452e187ac13fffffffffffffff6041557006c3390ecc8af379295fffffffffffffff60425570067c00a3b07ffc01fd6fffffffffffffff604355700637b647c39cbb9d3d27ffffffffffffff6044557005f63b1fc104dbd39587ffffffffffffff6045557005b771955b36e12f7235ffffffffffffff60465570057b3d49dda84556d6f6ffffffffffffff60475570054183095b2c8ececf30ffffffffffffff60485570050a28be635ca2b888f77fffffffffffff6049557004d5156639708c9db33c3fffffffffffff604a557004a23105873875bd52dfdfffffffffffff604b55700471649d87199aa990756fffffffffffff604c557004429a21a029d4c1457cfbffffffffffff604d55700415bc6d6fb7dd71af2cb3ffffffffffff604e557003eab73b3bbfe282243ce1ffffffffffff604f557003c1771ac9fb6b4c18e229ffffffffffff605055700399e96897690418f785257fffffffffff605155700373fc456c53bb779bf0ea9fffffffffff60525570034f9e8e490c48e67e6ab8bfffffffffff60535570032cbfd4a7adc790560b3337ffffffffff60545570030b50570f6e5d2acca94613ffffffffff6055557002eb40f9f620fda6b56c2861ffffffffff6056557002cc8340ecb0d0f520a6af58ffffffffff6057557002af09481380a0a35cf1ba02ffffffffff605855700292c5bdd3b92ec810287b1b3fffffffff605955700277abdcdab07d5a77ac6d6b9fffffffff605a5570025daf6654b1eaa55fd64df5efffffffff605b55700244c49c648baa98192dce88b7ffffffff605c5570022ce03cd5619a311b2471268bffffffff605d55700215f77c045fbe885654a44a0fffffffff605e556001608160020a03605f557001eaefdbdaaee7421fc4d3ede5ffffffff6060557001d6bd8b2eb257df7e8ca57b09bfffffff6061557001c35fedd14b861eb0443f7f133fffffff6062557001b0ce43b322bcde4a56e8ada5afffffff60635570019f0028ec1fff007f5a195a39dfffffff60645570018ded91f0e72ee74f49b15ba527ffffff60655570017d8ec7f04136f4e5615fd41a63ffffff60665570016ddc6556cdb84bdc8d12d22e6fffffff60675570015ecf52776a1155b5bd8395814f7fffff60685570015060c256cb23b3b3cc3754cf40ffffff6069557001428a2f98d728ae223ddab715be3fffff606a5570013545598e5c23276ccf0ede68034fffff606b557001288c4161ce1d6f54b7f61081194fffff606c5570011c592761c666aa641d5a01a40f17ffff606d55700110a688680a7530515f3e6e6cfdcdffff606e557001056f1b5bedf75c6bcb2ce8aed428ffff606f556ffaadceceeff8a0890f3875f008277fff6070556ff05dc6b27edad306388a600f6ba0bfff6071556fe67a5a25da41063de1495d5b18cdbfff6072556fdcff115b14eedde6fc3aa5353f2e4fff6073556fd3e7a3924312399f9aae2e0f868f8fff6074556fcb2ff529eb71e41582cccd5a1ee26fff6075556fc2d415c3db974ab32a51840c0b67edff6076556fbad03e7d883f69ad5b0a186184e06bff6077556fb320d03b2c343d4829abd6075f0cc5ff6078556fabc25204e02828d73c6e80bcdb1a95bf6079556fa4b16f74ee4bb2040a1ec6c15fbbf2df607a556f9deaf736ac1f569deb1b5ae3f36c130f607b556f976bd9952c7aa957f5937d790ef65037607c556f9131271922eaa6064b73a22d0bd4f2bf607d556f8b380f3558668c46c91c49a2f8e967b9607e556f857ddf0117efa215952912839f6473e6607f556035806107c16000396000f3fe6080604052600080fdfea165627a7a723058205de818d03526d357361844649459b1f4084916f19cf1713a90bf2087146e741c0029",
|
||||||
|
"runtimeBytecode": "6080604052600080fdfea165627a7a723058205de818d03526d357361844649459b1f4084916f19cf1713a90bf2087146e741c0029",
|
||||||
|
"realRuntimeBytecode": "6080604052600080fdfea165627a7a72305820",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "5de818d03526d357361844649459b1f4084916f19cf1713a90bf2087146e741c",
|
||||||
|
"gasEstimates": {
|
||||||
|
"creation": {
|
||||||
|
"codeDepositCost": "10600",
|
||||||
|
"executionCost": "1921627",
|
||||||
|
"totalCost": "1932227"
|
||||||
|
},
|
||||||
|
"internal": {
|
||||||
|
"findPositionInMaxExpArray(uint256)": "infinite",
|
||||||
|
"floorLog2(uint256)": "infinite",
|
||||||
|
"generalExp(uint256,uint8)": "infinite",
|
||||||
|
"generalLog(uint256)": "infinite",
|
||||||
|
"optimalExp(uint256)": "infinite",
|
||||||
|
"optimalLog(uint256)": "infinite",
|
||||||
|
"power(uint256,uint256,uint32,uint32)": "infinite"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"functionHashes": {},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"inputs": [],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "constructor"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/utils/BancorFormula.sol",
|
||||||
|
"originalFilename": "contracts/utils/BancorFormula.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/utils/BancorFormula.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
|
@ -0,0 +1,56 @@
|
||||||
|
{
|
||||||
|
"className": "Controlled",
|
||||||
|
"args": [],
|
||||||
|
"code": "",
|
||||||
|
"runtimeBytecode": "",
|
||||||
|
"realRuntimeBytecode": "",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "",
|
||||||
|
"gasEstimates": null,
|
||||||
|
"functionHashes": {
|
||||||
|
"changeController(address)": "3cebb823",
|
||||||
|
"controller()": "f77c4791"
|
||||||
|
},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_newController",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "changeController",
|
||||||
|
"outputs": [],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [],
|
||||||
|
"name": "controller",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs": [],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "constructor"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/token/Controlled.sol",
|
||||||
|
"originalFilename": "contracts/token/Controlled.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/token/Controlled.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,199 @@
|
||||||
|
{
|
||||||
|
"className": "ERC20Token",
|
||||||
|
"args": [],
|
||||||
|
"code": "",
|
||||||
|
"runtimeBytecode": "",
|
||||||
|
"realRuntimeBytecode": "",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "",
|
||||||
|
"gasEstimates": null,
|
||||||
|
"functionHashes": {
|
||||||
|
"allowance(address,address)": "dd62ed3e",
|
||||||
|
"approve(address,uint256)": "095ea7b3",
|
||||||
|
"balanceOf(address)": "70a08231",
|
||||||
|
"totalSupply()": "18160ddd",
|
||||||
|
"transfer(address,uint256)": "a9059cbb",
|
||||||
|
"transferFrom(address,address,uint256)": "23b872dd"
|
||||||
|
},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "approve",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [],
|
||||||
|
"name": "totalSupply",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "supply",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_from",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "transferFrom",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "balanceOf",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "balance",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "transfer",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "allowance",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "remaining",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"anonymous": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_from",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": false,
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Transfer",
|
||||||
|
"type": "event"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"anonymous": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": false,
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Approval",
|
||||||
|
"type": "event"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/token/ERC20Token.sol",
|
||||||
|
"originalFilename": "contracts/token/ERC20Token.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/token/ERC20Token.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,385 @@
|
||||||
|
{
|
||||||
|
"className": "MiniMeTokenInterface",
|
||||||
|
"args": [],
|
||||||
|
"code": "",
|
||||||
|
"runtimeBytecode": "",
|
||||||
|
"realRuntimeBytecode": "",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "",
|
||||||
|
"gasEstimates": null,
|
||||||
|
"functionHashes": {
|
||||||
|
"allowance(address,address)": "dd62ed3e",
|
||||||
|
"approve(address,uint256)": "095ea7b3",
|
||||||
|
"approveAndCall(address,uint256,bytes)": "cae9ca51",
|
||||||
|
"balanceOf(address)": "70a08231",
|
||||||
|
"balanceOfAt(address,uint256)": "4ee2cd7e",
|
||||||
|
"claimTokens(address)": "df8de3e7",
|
||||||
|
"createCloneToken(string,uint8,string,uint256,bool)": "6638c087",
|
||||||
|
"destroyTokens(address,uint256)": "d3ce77fe",
|
||||||
|
"enableTransfers(bool)": "f41e60c5",
|
||||||
|
"generateTokens(address,uint256)": "827f32c0",
|
||||||
|
"totalSupply()": "18160ddd",
|
||||||
|
"totalSupplyAt(uint256)": "981b24d0",
|
||||||
|
"transfer(address,uint256)": "a9059cbb",
|
||||||
|
"transferFrom(address,address,uint256)": "23b872dd"
|
||||||
|
},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "approve",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [],
|
||||||
|
"name": "totalSupply",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "supply",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_from",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "transferFrom",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_blockNumber",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "balanceOfAt",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_cloneTokenName",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_cloneDecimalUnits",
|
||||||
|
"type": "uint8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_cloneTokenSymbol",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_snapshotBlock",
|
||||||
|
"type": "uint256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_transfersEnabled",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "createCloneToken",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "balanceOf",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "balance",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_amount",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "generateTokens",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_blockNumber",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "totalSupplyAt",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "transfer",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_amount",
|
||||||
|
"type": "uint256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_extraData",
|
||||||
|
"type": "bytes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "approveAndCall",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "success",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_amount",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "destroyTokens",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": true,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "allowance",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "remaining",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "view",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_token",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "claimTokens",
|
||||||
|
"outputs": [],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_transfersEnabled",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "enableTransfers",
|
||||||
|
"outputs": [],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"anonymous": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_from",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": false,
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Transfer",
|
||||||
|
"type": "event"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"anonymous": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": true,
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indexed": false,
|
||||||
|
"name": "_value",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Approval",
|
||||||
|
"type": "event"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/token/MiniMeTokenInterface.sol",
|
||||||
|
"originalFilename": "contracts/token/MiniMeTokenInterface.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/token/MiniMeTokenInterface.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"className": "SafeMath",
|
||||||
|
"args": [],
|
||||||
|
"code": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058205cfc72a599646e1d07863450a0386a46c29b743324df9bc5d1ea1162798869130029",
|
||||||
|
"runtimeBytecode": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058205cfc72a599646e1d07863450a0386a46c29b743324df9bc5d1ea1162798869130029",
|
||||||
|
"realRuntimeBytecode": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "5cfc72a599646e1d07863450a0386a46c29b743324df9bc5d1ea116279886913",
|
||||||
|
"gasEstimates": {
|
||||||
|
"creation": {
|
||||||
|
"codeDepositCost": "15200",
|
||||||
|
"executionCost": "116",
|
||||||
|
"totalCost": "15316"
|
||||||
|
},
|
||||||
|
"internal": {
|
||||||
|
"add(uint256,uint256)": "infinite",
|
||||||
|
"div(uint256,uint256)": "infinite",
|
||||||
|
"mul(uint256,uint256)": "infinite",
|
||||||
|
"sub(uint256,uint256)": "infinite"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"functionHashes": {},
|
||||||
|
"abiDefinition": [],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/utils/SafeMath.sol",
|
||||||
|
"originalFilename": "contracts/utils/SafeMath.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/utils/SafeMath.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,96 @@
|
||||||
|
{
|
||||||
|
"className": "TokenController",
|
||||||
|
"args": [],
|
||||||
|
"code": "",
|
||||||
|
"runtimeBytecode": "",
|
||||||
|
"realRuntimeBytecode": "",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "",
|
||||||
|
"gasEstimates": null,
|
||||||
|
"functionHashes": {
|
||||||
|
"onApprove(address,address,uint256)": "da682aeb",
|
||||||
|
"onTransfer(address,address,uint256)": "4a393149",
|
||||||
|
"proxyPayment(address)": "f48c3054"
|
||||||
|
},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_from",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_to",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_amount",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "onTransfer",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_spender",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_amount",
|
||||||
|
"type": "uint256"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "onApprove",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_owner",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "proxyPayment",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": true,
|
||||||
|
"stateMutability": "payable",
|
||||||
|
"type": "function"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/token/TokenController.sol",
|
||||||
|
"originalFilename": "contracts/token/TokenController.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/token/TokenController.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
{
|
||||||
|
"className": "TokenFactory",
|
||||||
|
"args": [],
|
||||||
|
"code": "",
|
||||||
|
"runtimeBytecode": "",
|
||||||
|
"realRuntimeBytecode": "",
|
||||||
|
"linkReferences": {},
|
||||||
|
"swarmHash": "",
|
||||||
|
"gasEstimates": null,
|
||||||
|
"functionHashes": {
|
||||||
|
"createCloneToken(address,uint256,string,uint8,string,bool)": "5b7b72c1"
|
||||||
|
},
|
||||||
|
"abiDefinition": [
|
||||||
|
{
|
||||||
|
"constant": false,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "_parentToken",
|
||||||
|
"type": "address"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_snapshotBlock",
|
||||||
|
"type": "uint256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_tokenName",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_decimalUnits",
|
||||||
|
"type": "uint8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_tokenSymbol",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "_transfersEnabled",
|
||||||
|
"type": "bool"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "createCloneToken",
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "address"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"payable": false,
|
||||||
|
"stateMutability": "nonpayable",
|
||||||
|
"type": "function"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filename": "/Users/andrewtudhope/Status/discover-dapps/.embark/contracts/token/TokenFactory.sol",
|
||||||
|
"originalFilename": "contracts/token/TokenFactory.sol",
|
||||||
|
"path": "/Users/andrewtudhope/Status/discover-dapps/contracts/token/TokenFactory.sol",
|
||||||
|
"gas": "auto",
|
||||||
|
"type": "file",
|
||||||
|
"deploy": false
|
||||||
|
}
|
11
embark.json
11
embark.json
|
@ -1,5 +1,7 @@
|
||||||
{
|
{
|
||||||
"contracts": ["contracts/**"],
|
"contracts": [
|
||||||
|
"contracts/**"
|
||||||
|
],
|
||||||
"buildDir": "dist/",
|
"buildDir": "dist/",
|
||||||
"config": "config/",
|
"config": "config/",
|
||||||
"versions": {
|
"versions": {
|
||||||
|
@ -9,7 +11,10 @@
|
||||||
},
|
},
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"embark-solium": {},
|
"embark-solium": {},
|
||||||
"embarkjs-connector-web3": {}
|
"embarkjs-connector-web3": {},
|
||||||
|
"@trailofbits/embark-contract-info": {
|
||||||
|
"flags": ""
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"solc": {
|
"solc": {
|
||||||
|
@ -18,4 +23,4 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"generationDir": "embarkArtifacts"
|
"generationDir": "embarkArtifacts"
|
||||||
}
|
}
|
|
@ -1059,6 +1059,14 @@
|
||||||
"loader-utils": "^1.1.0"
|
"loader-utils": "^1.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@trailofbits/embark-contract-info": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@trailofbits/embark-contract-info/-/embark-contract-info-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-SJ5WmhvZ8QXTiVQMFJFVzGjUSdn2bBevnpHlprE2TD7XX8f3b3/r1oon8tv27x2m5XoSW9Rd6QbHvcYMKGfxdw==",
|
||||||
|
"requires": {
|
||||||
|
"fs-extra": "^7.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@types/bn.js": {
|
"@types/bn.js": {
|
||||||
"version": "4.11.5",
|
"version": "4.11.5",
|
||||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.5.tgz",
|
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.5.tgz",
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@trailofbits/embark-contract-info": "^1.0.0",
|
||||||
"connected-react-router": "^6.3.2",
|
"connected-react-router": "^6.3.2",
|
||||||
"debounce": "^1.2.0",
|
"debounce": "^1.2.0",
|
||||||
"decimal.js": "^10.0.2",
|
"decimal.js": "^10.0.2",
|
||||||
"ethereumjs-util": "^5.2.0",
|
|
||||||
"embark-solium": "0.0.1",
|
"embark-solium": "0.0.1",
|
||||||
|
"ethereumjs-util": "^5.2.0",
|
||||||
"history": "^4.7.2",
|
"history": "^4.7.2",
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"node-sass": "^4.11.0",
|
"node-sass": "^4.11.0",
|
||||||
|
|
Loading…
Reference in New Issue