Skip to content

Instantly share code, notes, and snippets.

View zone117x's full-sized avatar

Matthew Little zone117x

View GitHub Profile
42pVXU53GnA24zoiBpvcwsGEcnXvjdAG2aScfMW7Kkck9ftGfpb9pwRXUQAas2e8jKHYKvXaZNosGYAqwJYwhbCu7KjkYxo
Verifying my Blockstack ID is secured with the address 1Nw25PemCRv24UQAcZdaj4uD11nkTCWRTE https://explorer.blockstack.org/address/1Nw25PemCRv24UQAcZdaj4uD11nkTCWRTE
{
"id": 75,
"nodeType": "Block",
"src": "778:246:0",
"statements": [
{
"condition": {
"argumentTypes": null,
"id": 48,
"name": "_isSomething",
Instrumenting ./coverageEnv/contracts/ballot/ballot.sol
3644 ms parsing original contract C:/Users/matt/Projects/Kibo/contracts/ballot/ballot.sol
78757 ms preprocessor.run, parsed 16 times, on C:/Users/matt/Projects/Kibo/contracts/ballot/ballot.sol
4945 ms parsing instrumented contract C:/Users/matt/Projects/Kibo/contracts/ballot/ballot.sol
87371 ms instrumenting ./coverageEnv/contracts/ballot/ballot.sol
Instrumenting ./coverageEnv/contracts/ballot/interface/ballot.sol
15 ms parsing original contract C:/Users/matt/Projects/Kibo/contracts/ballot/interface/ballot.sol
169 ms preprocessor.run, parsed 13 times, on C:/Users/matt/Projects/Kibo/contracts/ballot/interface/ballot.sol
16 ms parsing instrumented contract C:/Users/matt/Projects/Kibo/contracts/ballot/interface/ballot.sol
203 ms instrumenting ./coverageEnv/contracts/ballot/interface/ballot.sol
{
"source": "pragma solidity ^0.4.23;\r\n\r\n\r\nimport \"./ERC20Basic.sol\";\r\nimport \"../../math/SafeMath.sol\";\r\n\r\n\r\n/**\r\n * @title Basic token\r\n * @dev Basic version of StandardToken, with no allowances.\r\n */\r\ncontract BasicToken is ERC20Basic {\r\n using SafeMath for uint256;\r\n\r\n mapping(address => uint256) balances;\r\n\r\n uint256 totalSupply_;\r\n\r\n /**\r\n * @dev total number of tokens in existence\r\n */\r\n function totalSupply() public view returns (uint256) {\r\n return totalSupply_;\r\n }\r\n\r\n /**\r\n * @dev transfer token for a specified address\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint256 _value) public returns (bool) {\r\n require(_to != address(0));\r\n require(_value <= balances[msg.sender]);\r\n\r\n balances[msg.sender] = balances[msg.sender].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n emit Transfer(msg.sender,
{
"attributes": {
"absolutePath": "TestContracts\/ExampleContract.sol",
"exportedSymbols": {
"ExampleContract": [
311
]
}
},
"children": [
{
".code": [
{
"begin": 151,
"end": 2632,
"name": "PUSH",
"value": "80"
},
{
"begin": 151,
{
"linkReferences": {},
"object": "60806040523480156200001157600080fd5b50604051620013b6380380620013b683398101806040528101908080518201929190602001805190602001909291908051906020019092919050505082600190805190602001906200006592919062000090565b5081600260006101000a81548160ff021916908315150217905550806003819055505050506200013f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000d357805160ff191683800117855562000104565b8280016001018555821562000104579182015b8281111562000103578251825591602001919060010190620000e6565b5b50905062000113919062000117565b5090565b6200013c91905b80821115620001385760008160009055506001016200011e565b5090565b90565b611267806200014f6000396000f3006080604052600436106100f1576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630d7e2fce1461010057806314d6b8fa146101e257806327e235e31461042857806347799da81461047f5780634ebbf8fa146104aa5780636b2759c1146104f45780637853512c146105235780637a4a328f146105b357806382ac4d4f146107c95780639
{
"absolutePath": "TestContracts\/ExampleContract.sol",
"exportedSymbols": {
"ExampleContract": [
311
]
},
"id": 312,
"nodeType": "SourceUnit",
"nodes": [
/* "ExampleContract.sol":151:2552 */
mstore(0x40, 0x80)
/* "ExampleContract.sol":550:696 */
callvalue
/* "--CODEGEN--":8:17 */
dup1
/* "--CODEGEN--":5:7 */
iszero
tag_1
jumpi