Created
June 28, 2018 17:10
-
-
Save lakamsani/4ab20d3a60024303861568219c8ab121 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contractName": "PulseToken", | |
"abi": [ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "mintingFinished", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_spender", | |
"type": "address" | |
}, | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [ | |
{ | |
"name": "", | |
"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": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "decimals", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint8" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "unpause", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "mint", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "burn", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "paused", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_spender", | |
"type": "address" | |
}, | |
{ | |
"name": "_subtractedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "decreaseApproval", | |
"outputs": [ | |
{ | |
"name": "success", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_owner", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "finishMinting", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "pause", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "symbol", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "transfer", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_spender", | |
"type": "address" | |
}, | |
{ | |
"name": "_addedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "increaseApproval", | |
"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": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "burner", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Burn", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "Pause", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "Unpause", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Mint", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "MintFinished", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"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" | |
}, | |
{ | |
"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" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "close", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"bytecode": "0x608060405260038054600160b060020a03191633179055610f80806100256000396000f3006080604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461012c57806306fdde0314610155578063095ea7b3146101df57806318160ddd1461020357806323b872dd1461022a578063313ce567146102545780633f4ba83a1461027f57806340c10f191461029657806342966c68146102ba57806343d726d6146102d25780635c975abb146102e757806366188463146102fc57806370a0823114610320578063715018a6146103415780637d64bcb4146103565780638456cb591461036b5780638da5cb5b1461038057806395d89b41146103b1578063a9059cbb146103c6578063d73dd623146103ea578063dd62ed3e1461040e578063f2fde38b14610435575b600080fd5b34801561013857600080fd5b50610141610456565b604080519115158252519081900360200190f35b34801561016157600080fd5b5061016a610477565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101eb57600080fd5b50610141600160a060020a03600435166024356104ae565b34801561020f57600080fd5b506102186104d9565b60408051918252519081900360200190f35b34801561023657600080fd5b50610141600160a060020a03600435811690602435166044356104df565b34801561026057600080fd5b5061026961050c565b6040805160ff9092168252519081900360200190f35b34801561028b57600080fd5b50610294610511565b005b3480156102a257600080fd5b50610141600160a060020a036004351660243561058a565b3480156102c657600080fd5b50610294600435610693565b3480156102de57600080fd5b506102946106a0565b3480156102f357600080fd5b506101416106c5565b34801561030857600080fd5b50610141600160a060020a03600435166024356106d5565b34801561032c57600080fd5b50610218600160a060020a03600435166106f9565b34801561034d57600080fd5b50610294610714565b34801561036257600080fd5b50610141610782565b34801561037757600080fd5b50610294610828565b34801561038c57600080fd5b506103956108a6565b60408051600160a060020a039092168252519081900360200190f35b3480156103bd57600080fd5b5061016a6108b5565b3480156103d257600080fd5b50610141600160a060020a03600435166024356108ec565b3480156103f657600080fd5b50610141600160a060020a0360043516602435610910565b34801561041a57600080fd5b50610218600160a060020a0360043581169060243516610934565b34801561044157600080fd5b50610294600160a060020a036004351661095f565b60035474010000000000000000000000000000000000000000900460ff1681565b60408051808201909152600e81527f50756c736520546f6b656e205632000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff16156104c857600080fd5b6104d2838361097f565b9392505050565b60015490565b60035460009060a860020a900460ff16156104f957600080fd5b6105048484846109e5565b949350505050565b601281565b600354600160a060020a0316331461052857600080fd5b60035460a860020a900460ff16151561054057600080fd5b6003805475ff000000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600354600090600160a060020a031633146105a457600080fd5b60035474010000000000000000000000000000000000000000900460ff16156105cc57600080fd5b6001546105df908363ffffffff610b4a16565b600155600160a060020a03831660009081526020819052604090205461060b908363ffffffff610b4a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a03851691600091600080516020610f358339815191529181900360200190a350600192915050565b61069d3382610b5d565b50565b600354600160a060020a031633146106b757600080fd5b600354600160a060020a0316ff5b60035460a860020a900460ff1681565b60035460009060a860020a900460ff16156106ef57600080fd5b6104d28383610c4c565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a0316331461072b57600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a0316331461079c57600080fd5b60035474010000000000000000000000000000000000000000900460ff16156107c457600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600160a060020a0316331461083f57600080fd5b60035460a860020a900460ff161561085657600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b60408051808201909152600581527f50554c5345000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561090657600080fd5b6104d28383610d3c565b60035460009060a860020a900460ff161561092a57600080fd5b6104d28383610e0b565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a0316331461097657600080fd5b61069d81610ea4565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6000600160a060020a03831615156109fc57600080fd5b600160a060020a038416600090815260208190526040902054821115610a2157600080fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054821115610a5157600080fd5b600160a060020a038416600090815260208190526040902054610a7a908363ffffffff610f2216565b600160a060020a038086166000908152602081905260408082209390935590851681522054610aaf908363ffffffff610b4a16565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610af1908363ffffffff610f2216565b600160a060020a0380861660008181526002602090815260408083203384528252918290209490945580518681529051928716939192600080516020610f35833981519152929181900390910190a35060019392505050565b81810182811015610b5757fe5b92915050565b600160a060020a038216600090815260208190526040902054811115610b8257600080fd5b600160a060020a038216600090815260208190526040902054610bab908263ffffffff610f2216565b600160a060020a038316600090815260208190526040902055600154610bd7908263ffffffff610f2216565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a03851691600080516020610f358339815191529181900360200190a35050565b336000908152600260209081526040808320600160a060020a038616845290915281205480831115610ca157336000908152600260209081526040808320600160a060020a0388168452909152812055610cd6565b610cb1818463ffffffff610f2216565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a0383161515610d5357600080fd5b33600090815260208190526040902054821115610d6f57600080fd5b33600090815260208190526040902054610d8f908363ffffffff610f2216565b3360009081526020819052604080822092909255600160a060020a03851681522054610dc1908363ffffffff610b4a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191923392600080516020610f358339815191529281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a0386168452909152812054610e3f908363ffffffff610b4a16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a0381161515610eb957600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610f2e57fe5b509003905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582039b220dd8dd0ddb14710ee1c510341033067b98fc2835120f46a243a97f652740029", | |
"deployedBytecode": "0x6080604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461012c57806306fdde0314610155578063095ea7b3146101df57806318160ddd1461020357806323b872dd1461022a578063313ce567146102545780633f4ba83a1461027f57806340c10f191461029657806342966c68146102ba57806343d726d6146102d25780635c975abb146102e757806366188463146102fc57806370a0823114610320578063715018a6146103415780637d64bcb4146103565780638456cb591461036b5780638da5cb5b1461038057806395d89b41146103b1578063a9059cbb146103c6578063d73dd623146103ea578063dd62ed3e1461040e578063f2fde38b14610435575b600080fd5b34801561013857600080fd5b50610141610456565b604080519115158252519081900360200190f35b34801561016157600080fd5b5061016a610477565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101eb57600080fd5b50610141600160a060020a03600435166024356104ae565b34801561020f57600080fd5b506102186104d9565b60408051918252519081900360200190f35b34801561023657600080fd5b50610141600160a060020a03600435811690602435166044356104df565b34801561026057600080fd5b5061026961050c565b6040805160ff9092168252519081900360200190f35b34801561028b57600080fd5b50610294610511565b005b3480156102a257600080fd5b50610141600160a060020a036004351660243561058a565b3480156102c657600080fd5b50610294600435610693565b3480156102de57600080fd5b506102946106a0565b3480156102f357600080fd5b506101416106c5565b34801561030857600080fd5b50610141600160a060020a03600435166024356106d5565b34801561032c57600080fd5b50610218600160a060020a03600435166106f9565b34801561034d57600080fd5b50610294610714565b34801561036257600080fd5b50610141610782565b34801561037757600080fd5b50610294610828565b34801561038c57600080fd5b506103956108a6565b60408051600160a060020a039092168252519081900360200190f35b3480156103bd57600080fd5b5061016a6108b5565b3480156103d257600080fd5b50610141600160a060020a03600435166024356108ec565b3480156103f657600080fd5b50610141600160a060020a0360043516602435610910565b34801561041a57600080fd5b50610218600160a060020a0360043581169060243516610934565b34801561044157600080fd5b50610294600160a060020a036004351661095f565b60035474010000000000000000000000000000000000000000900460ff1681565b60408051808201909152600e81527f50756c736520546f6b656e205632000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff16156104c857600080fd5b6104d2838361097f565b9392505050565b60015490565b60035460009060a860020a900460ff16156104f957600080fd5b6105048484846109e5565b949350505050565b601281565b600354600160a060020a0316331461052857600080fd5b60035460a860020a900460ff16151561054057600080fd5b6003805475ff000000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600354600090600160a060020a031633146105a457600080fd5b60035474010000000000000000000000000000000000000000900460ff16156105cc57600080fd5b6001546105df908363ffffffff610b4a16565b600155600160a060020a03831660009081526020819052604090205461060b908363ffffffff610b4a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a03851691600091600080516020610f358339815191529181900360200190a350600192915050565b61069d3382610b5d565b50565b600354600160a060020a031633146106b757600080fd5b600354600160a060020a0316ff5b60035460a860020a900460ff1681565b60035460009060a860020a900460ff16156106ef57600080fd5b6104d28383610c4c565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a0316331461072b57600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a0316331461079c57600080fd5b60035474010000000000000000000000000000000000000000900460ff16156107c457600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600160a060020a0316331461083f57600080fd5b60035460a860020a900460ff161561085657600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b60408051808201909152600581527f50554c5345000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a860020a900460ff161561090657600080fd5b6104d28383610d3c565b60035460009060a860020a900460ff161561092a57600080fd5b6104d28383610e0b565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a0316331461097657600080fd5b61069d81610ea4565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6000600160a060020a03831615156109fc57600080fd5b600160a060020a038416600090815260208190526040902054821115610a2157600080fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054821115610a5157600080fd5b600160a060020a038416600090815260208190526040902054610a7a908363ffffffff610f2216565b600160a060020a038086166000908152602081905260408082209390935590851681522054610aaf908363ffffffff610b4a16565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610af1908363ffffffff610f2216565b600160a060020a0380861660008181526002602090815260408083203384528252918290209490945580518681529051928716939192600080516020610f35833981519152929181900390910190a35060019392505050565b81810182811015610b5757fe5b92915050565b600160a060020a038216600090815260208190526040902054811115610b8257600080fd5b600160a060020a038216600090815260208190526040902054610bab908263ffffffff610f2216565b600160a060020a038316600090815260208190526040902055600154610bd7908263ffffffff610f2216565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a03851691600080516020610f358339815191529181900360200190a35050565b336000908152600260209081526040808320600160a060020a038616845290915281205480831115610ca157336000908152600260209081526040808320600160a060020a0388168452909152812055610cd6565b610cb1818463ffffffff610f2216565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a0383161515610d5357600080fd5b33600090815260208190526040902054821115610d6f57600080fd5b33600090815260208190526040902054610d8f908363ffffffff610f2216565b3360009081526020819052604080822092909255600160a060020a03851681522054610dc1908363ffffffff610b4a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191923392600080516020610f358339815191529281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a0386168452909152812054610e3f908363ffffffff610b4a16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a0381161515610eb957600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610f2e57fe5b509003905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582039b220dd8dd0ddb14710ee1c510341033067b98fc2835120f46a243a97f652740029", | |
"sourceMap": "243:1208:5:-;;;518:35:22;;;-1:-1:-1;;;;;;567:18:17;575:10;567:18;;;243:1208:5;;;;;;", | |
"deployedSourceMap": "243:1208:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;518:35:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;518:35:22;;;;;;;;;;;;;;;;;;;;;;316:46:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;316:46:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;316:46:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;592:162:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;592:162:23;-1:-1:-1;;;;;592:162:23;;;;;;;371:83:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;371:83:18;;;;;;;;;;;;;;;;;;;;400:188:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;400:188:23;-1:-1:-1;;;;;400:188:23;;;;;;;;;;;;413:35:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;413:35:5;;;;;;;;;;;;;;;;;;;;;;;838:92:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;838:92:15;;;;;;936:312:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;936:312:22;-1:-1:-1;;;;;936:312:22;;;;;;;353:73:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;353:73:19;;;;;1379:70:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1379:70:5;;;;247:26:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;247:26:15;;;;957:205:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;957:205:23;-1:-1:-1;;;;;957:205:23;;;;;;;1131:99:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1131:99:18;-1:-1:-1;;;;;1131:99:18;;;;;827:111:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;827:111:17;;;;1362:140:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1362:140:22;;;;666:90:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;666:90:15;;;;238:20:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:17;;;;;;;;-1:-1:-1;;;;;238:20:17;;;;;;;;;;;;;;368:39:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;368:39:5;;;;242:154:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;242:154:23;-1:-1:-1;;;;;242:154:23;;;;;;;758:195;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;758:195:23;-1:-1:-1;;;;;758:195:23;;;;;;;2336:153:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2336:153:24;-1:-1:-1;;;;;2336:153:24;;;;;;;;;;1100:103:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1100:103:17;-1:-1:-1;;;;;1100:103:17;;;;;518:35:22;;;;;;;;;:::o;316:46:5:-;;;;;;;;;;;;;;;;;;;:::o;592:162:23:-;416:6:15;;697:4:23;;-1:-1:-1;;;416:6:15;;;;415:7;407:16;;;;;;718:31:23;732:8;742:6;718:13;:31::i;:::-;711:38;592:162;-1:-1:-1;;;592:162:23:o;371:83:18:-;437:12;;371:83;:::o;400:188:23:-;416:6:15;;524:4:23;;-1:-1:-1;;;416:6:15;;;;415:7;407:16;;;;;;545:38:23;564:5;571:3;576:6;545:18;:38::i;:::-;538:45;400:188;-1:-1:-1;;;;400:188:23:o;413:35:5:-;446:2;413:35;:::o;838:92:15:-;719:5:17;;-1:-1:-1;;;;;719:5:17;705:10;:19;697:28;;;;;;568:6:15;;-1:-1:-1;;;568:6:15;;;;560:15;;;;;;;;891:6;:14;;-1:-1:-1;;891:14:15;;;916:9;;;;900:5;;916:9;838:92::o;936:312:22:-;682:5;;1050:4;;-1:-1:-1;;;;;682:5:22;668:10;:19;660:28;;;;;;593:15;;;;;;;592:16;584:25;;;;;;1079:12;;:25;;1096:7;1079:25;:16;:25;:::i;:::-;1064:12;:40;-1:-1:-1;;;;;1126:13:22;;:8;:13;;;;;;;;;;;:26;;1144:7;1126:26;:17;:26;:::i;:::-;-1:-1:-1;;;;;1110:13:22;;:8;:13;;;;;;;;;;;;:42;;;;1163:18;;;;;;;1110:13;;1163:18;;;;;;;;;1192:34;;;;;;;;-1:-1:-1;;;;;1192:34:22;;;1209:1;;-1:-1:-1;;;;;;;;;;;1192:34:22;;;;;;;;-1:-1:-1;1239:4:22;936:312;;;;:::o;353:73:19:-;396:25;402:10;414:6;396:5;:25::i;:::-;353:73;:::o;1379:70:5:-;719:5:17;;-1:-1:-1;;;;;719:5:17;705:10;:19;697:28;;;;;;1436:5:5;;-1:-1:-1;;;;;1436:5:5;1423:19;247:26:15;;;-1:-1:-1;;;247:26:15;;;;;:::o;957:205:23:-;416:6:15;;1078:12:23;;-1:-1:-1;;;416:6:15;;;;415:7;407:16;;;;;;1107:50:23;1130:8;1140:16;1107:22;:50::i;1131:99:18:-;-1:-1:-1;;;;;1209:16:18;1187:7;1209:16;;;;;;;;;;;;1131:99::o;827:111:17:-;719:5;;-1:-1:-1;;;;;719:5:17;705:10;:19;697:28;;;;;;903:5;;884:25;;-1:-1:-1;;;;;903:5:17;;;;884:25;;903:5;;884:25;915:5;:18;;-1:-1:-1;;915:18:17;;;827:111::o;1362:140:22:-;719:5:17;;1421:4:22;;-1:-1:-1;;;;;719:5:17;705:10;:19;697:28;;;;;;593:15:22;;;;;;;592:16;584:25;;;;;;1433:15;:22;;-1:-1:-1;;1433:22:22;;;;;1466:14;;;;1433:22;;1466:14;-1:-1:-1;1493:4:22;1362:140;:::o;666:90:15:-;719:5:17;;-1:-1:-1;;;;;719:5:17;705:10;:19;697:28;;;;;;416:6:15;;-1:-1:-1;;;416:6:15;;;;415:7;407:16;;;;;;720:6;:13;;-1:-1:-1;;720:13:15;-1:-1:-1;;;720:13:15;;;744:7;;;;720:13;;744:7;666:90::o;238:20:17:-;;;-1:-1:-1;;;;;238:20:17;;:::o;368:39:5:-;;;;;;;;;;;;;;;;;;;:::o;242:154:23:-;416:6:15;;343:4:23;;-1:-1:-1;;;416:6:15;;;;415:7;407:16;;;;;;364:27:23;379:3;384:6;364:14;:27::i;758:195::-;416:6:15;;874:12:23;;-1:-1:-1;;;416:6:15;;;;415:7;407:16;;;;;;903:45:23;926:8;936:11;903:22;:45::i;2336:153:24:-;-1:-1:-1;;;;;2459:15:24;;;2435:7;2459:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2336:153::o;1100:103:17:-;719:5;;-1:-1:-1;;;;;719:5:17;705:10;:19;697:28;;;;;;1169:29;1188:9;1169:18;:29::i;1829:188:24:-;1916:10;1896:4;1908:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1908:29:24;;;;;;;;;;;:38;;;1957;;;;;;;1896:4;;1908:29;;1916:10;;1957:38;;;;;;;;-1:-1:-1;2008:4:24;1829:188;;;;:::o;736:470::-;842:4;-1:-1:-1;;;;;864:17:24;;;;856:26;;;;;;-1:-1:-1;;;;;906:15:24;;:8;:15;;;;;;;;;;;896:25;;;888:34;;;;;;-1:-1:-1;;;;;946:14:24;;;;;;:7;:14;;;;;;;;961:10;946:26;;;;;;;;936:36;;;928:45;;;;;;-1:-1:-1;;;;;998:15:24;;:8;:15;;;;;;;;;;;:27;;1018:6;998:27;:19;:27;:::i;:::-;-1:-1:-1;;;;;980:15:24;;;:8;:15;;;;;;;;;;;:45;;;;1047:13;;;;;;;:25;;1065:6;1047:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;1031:13:24;;;:8;:13;;;;;;;;;;;:41;;;;1107:14;;;;;:7;:14;;;;;1122:10;1107:26;;;;;;;:38;;1138:6;1107:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;1078:14:24;;;;;;;:7;:14;;;;;;;;1093:10;1078:26;;;;;;;;:67;;;;1156:28;;;;;;;;;;;1078:14;;-1:-1:-1;;;;;;;;;;;1156:28:24;;;;;;;;;;-1:-1:-1;1197:4:24;736:470;;;;;:::o;1214:123:16:-;1293:5;;;1311:6;;;;1304:14;;;;1214:123;;;;:::o;430:438:19:-;-1:-1:-1;;;;;508:14:19;;:8;:14;;;;;;;;;;;498:24;;;490:33;;;;;;-1:-1:-1;;;;;718:14:19;;:8;:14;;;;;;;;;;;:26;;737:6;718:26;:18;:26;:::i;:::-;-1:-1:-1;;;;;701:14:19;;:8;:14;;;;;;;;;;:43;765:12;;:24;;782:6;765:24;:16;:24;:::i;:::-;750:12;:39;800:18;;;;;;;;-1:-1:-1;;;;;800:18:19;;;;;;;;;;;;;829:34;;;;;;;;852:1;;-1:-1:-1;;;;;829:34:19;;;-1:-1:-1;;;;;;;;;;;829:34:19;;;;;;;;430:438;;:::o;3701:425:24:-;3842:10;3804:4;3834:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3834:29:24;;;;;;;;;;3873:27;;;3869:164;;;3918:10;3942:1;3910:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3910:29:24;;;;;;;;;:33;3869:164;;;3996:30;:8;4009:16;3996:30;:12;:30;:::i;:::-;3972:10;3964:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3964:29:24;;;;;;;;;:62;3869:164;4052:10;4074:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;4043:61:24;;4074:29;;;;;;;;;;;4043:61;;;;;;;;;4052:10;4043:61;;;;;;;;;;;-1:-1:-1;4117:4:24;;3701:425;-1:-1:-1;;;3701:425:24:o;608:321:18:-;671:4;-1:-1:-1;;;;;691:17:18;;;;683:26;;;;;;742:10;733:8;:20;;;;;;;;;;;723:30;;;715:39;;;;;;793:10;784:8;:20;;;;;;;;;;;:32;;809:6;784:32;:24;:32;:::i;:::-;770:10;761:8;:20;;;;;;;;;;;:55;;;;-1:-1:-1;;;;;838:13:18;;;;;;:25;;856:6;838:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;822:13:18;;:8;:13;;;;;;;;;;;;:41;;;;874:33;;;;;;;822:13;;883:10;;-1:-1:-1;;;;;;;;;;;874:33:18;;;;;;;;;-1:-1:-1;920:4:18;608:321;;;;:::o;2946:293:24:-;3106:10;3044:4;3098:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3098:29:24;;;;;;;;;;:46;;3132:11;3098:46;:33;:46;:::i;:::-;3066:10;3058:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3058:29:24;;;;;;;;;;;;:87;;;3156:61;;;;;;3058:29;;3156:61;;;;;;;;;;;-1:-1:-1;3230:4:24;2946:293;;;;:::o;1338:171:17:-;-1:-1:-1;;;;;1408:23:17;;;;1400:32;;;;;;1464:5;;1443:38;;-1:-1:-1;;;;;1443:38:17;;;;1464:5;;1443:38;;1464:5;;1443:38;1487:5;:17;;-1:-1:-1;;1487:17:17;-1:-1:-1;;;;;1487:17:17;;;;;;;;;;1338:171::o;1042:110:16:-;1100:7;1122:6;;;;1115:14;;;;-1:-1:-1;1142:5:16;;;1042:110::o", | |
"source": "pragma solidity ^0.4.23;\n\nimport 'openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol';\nimport 'openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol';\nimport 'openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol';\n\ncontract PulseToken is MintableToken, PausableToken, BurnableToken {\n string public constant name = \"Pulse Token V2\";\n string public constant symbol = \"PULSE\";\n uint8 public constant decimals = 18;\n\n // uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals));\n\n /**\n * @dev Constructor that gives msg.sender all of existing tokens.\n */\n /*\n constructor() public {\n totalSupply_ = INITIAL_SUPPLY;\n balances[msg.sender] = INITIAL_SUPPLY;\n emit Transfer(0x0, msg.sender, INITIAL_SUPPLY);\n }*/\n\n /*\n event TransferPulse(address _from, address _to, uint256 _value, bytes12 _birId, string _reason);\n\n function transferPulse(address _from, address _to, uint256 _value, bytes12 _birId, string _reason) onlyOwner public returns (bool) {\n require(_to != address(0));\n require(_value <= balances[_from]);\n\n balances[_from] = balances[_from].sub(_value);\n balances[_to] = balances[_to].add(_value);\n emit TransferPulse(_from, _to, _value, _birId, _reason);\n return true;\n }*/\n // TODO: remove when going to mainnet\n function close() public onlyOwner {\n selfdestruct(owner);\n }\n}\n", | |
"sourcePath": "/Users/vamsee/Development/blockchain/pulse/pulse-server/contracts/PulseToken.sol", | |
"ast": { | |
"absolutePath": "/Users/vamsee/Development/blockchain/pulse/pulse-server/contracts/PulseToken.sol", | |
"exportedSymbols": { | |
"PulseToken": [ | |
1942 | |
] | |
}, | |
"id": 1943, | |
"nodeType": "SourceUnit", | |
"nodes": [ | |
{ | |
"id": 1913, | |
"literals": [ | |
"solidity", | |
"^", | |
"0.4", | |
".23" | |
], | |
"nodeType": "PragmaDirective", | |
"src": "0:24:5" | |
}, | |
{ | |
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol", | |
"file": "openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol", | |
"id": 1914, | |
"nodeType": "ImportDirective", | |
"scope": 1943, | |
"sourceUnit": 5125, | |
"src": "26:71:5", | |
"symbolAliases": [], | |
"unitAlias": "" | |
}, | |
{ | |
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol", | |
"file": "openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol", | |
"id": 1915, | |
"nodeType": "ImportDirective", | |
"scope": 1943, | |
"sourceUnit": 4842, | |
"src": "98:71:5", | |
"symbolAliases": [], | |
"unitAlias": "" | |
}, | |
{ | |
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol", | |
"file": "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol", | |
"id": 1916, | |
"nodeType": "ImportDirective", | |
"scope": 1943, | |
"sourceUnit": 5023, | |
"src": "170:71:5", | |
"symbolAliases": [], | |
"unitAlias": "" | |
}, | |
{ | |
"baseContracts": [ | |
{ | |
"arguments": null, | |
"baseName": { | |
"contractScope": null, | |
"id": 1917, | |
"name": "MintableToken", | |
"nodeType": "UserDefinedTypeName", | |
"referencedDeclaration": 5022, | |
"src": "266:13:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_contract$_MintableToken_$5022", | |
"typeString": "contract MintableToken" | |
} | |
}, | |
"id": 1918, | |
"nodeType": "InheritanceSpecifier", | |
"src": "266:13:5" | |
}, | |
{ | |
"arguments": null, | |
"baseName": { | |
"contractScope": null, | |
"id": 1919, | |
"name": "PausableToken", | |
"nodeType": "UserDefinedTypeName", | |
"referencedDeclaration": 5124, | |
"src": "281:13:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_contract$_PausableToken_$5124", | |
"typeString": "contract PausableToken" | |
} | |
}, | |
"id": 1920, | |
"nodeType": "InheritanceSpecifier", | |
"src": "281:13:5" | |
}, | |
{ | |
"arguments": null, | |
"baseName": { | |
"contractScope": null, | |
"id": 1921, | |
"name": "BurnableToken", | |
"nodeType": "UserDefinedTypeName", | |
"referencedDeclaration": 4841, | |
"src": "296:13:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_contract$_BurnableToken_$4841", | |
"typeString": "contract BurnableToken" | |
} | |
}, | |
"id": 1922, | |
"nodeType": "InheritanceSpecifier", | |
"src": "296:13:5" | |
} | |
], | |
"contractDependencies": [ | |
4494, | |
4674, | |
4770, | |
4841, | |
4884, | |
4916, | |
5022, | |
5124, | |
5371 | |
], | |
"contractKind": "contract", | |
"documentation": null, | |
"fullyImplemented": true, | |
"id": 1942, | |
"linearizedBaseContracts": [ | |
1942, | |
4841, | |
5124, | |
4494, | |
5022, | |
4674, | |
5371, | |
4770, | |
4884, | |
4916 | |
], | |
"name": "PulseToken", | |
"nodeType": "ContractDefinition", | |
"nodes": [ | |
{ | |
"constant": true, | |
"id": 1925, | |
"name": "name", | |
"nodeType": "VariableDeclaration", | |
"scope": 1942, | |
"src": "316:46:5", | |
"stateVariable": true, | |
"storageLocation": "default", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_memory", | |
"typeString": "string" | |
}, | |
"typeName": { | |
"id": 1923, | |
"name": "string", | |
"nodeType": "ElementaryTypeName", | |
"src": "316:6:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_storage_ptr", | |
"typeString": "string" | |
} | |
}, | |
"value": { | |
"argumentTypes": null, | |
"hexValue": "50756c736520546f6b656e205632", | |
"id": 1924, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": true, | |
"kind": "string", | |
"lValueRequested": false, | |
"nodeType": "Literal", | |
"src": "346:16:5", | |
"subdenomination": null, | |
"typeDescriptions": { | |
"typeIdentifier": "t_stringliteral_7a9a0782d4a489f2dda25cfa94a88337a38c16ec68a248aa0c3fe11984ecba98", | |
"typeString": "literal_string \"Pulse Token V2\"" | |
}, | |
"value": "Pulse Token V2" | |
}, | |
"visibility": "public" | |
}, | |
{ | |
"constant": true, | |
"id": 1928, | |
"name": "symbol", | |
"nodeType": "VariableDeclaration", | |
"scope": 1942, | |
"src": "368:39:5", | |
"stateVariable": true, | |
"storageLocation": "default", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_memory", | |
"typeString": "string" | |
}, | |
"typeName": { | |
"id": 1926, | |
"name": "string", | |
"nodeType": "ElementaryTypeName", | |
"src": "368:6:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_storage_ptr", | |
"typeString": "string" | |
} | |
}, | |
"value": { | |
"argumentTypes": null, | |
"hexValue": "50554c5345", | |
"id": 1927, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": true, | |
"kind": "string", | |
"lValueRequested": false, | |
"nodeType": "Literal", | |
"src": "400:7:5", | |
"subdenomination": null, | |
"typeDescriptions": { | |
"typeIdentifier": "t_stringliteral_1726fc7bae4c5cef730986c1e4532766c5af4097895cb222ef5064ca41faee15", | |
"typeString": "literal_string \"PULSE\"" | |
}, | |
"value": "PULSE" | |
}, | |
"visibility": "public" | |
}, | |
{ | |
"constant": true, | |
"id": 1931, | |
"name": "decimals", | |
"nodeType": "VariableDeclaration", | |
"scope": 1942, | |
"src": "413:35:5", | |
"stateVariable": true, | |
"storageLocation": "default", | |
"typeDescriptions": { | |
"typeIdentifier": "t_uint8", | |
"typeString": "uint8" | |
}, | |
"typeName": { | |
"id": 1929, | |
"name": "uint8", | |
"nodeType": "ElementaryTypeName", | |
"src": "413:5:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_uint8", | |
"typeString": "uint8" | |
} | |
}, | |
"value": { | |
"argumentTypes": null, | |
"hexValue": "3138", | |
"id": 1930, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": true, | |
"kind": "number", | |
"lValueRequested": false, | |
"nodeType": "Literal", | |
"src": "446:2:5", | |
"subdenomination": null, | |
"typeDescriptions": { | |
"typeIdentifier": "t_rational_18_by_1", | |
"typeString": "int_const 18" | |
}, | |
"value": "18" | |
}, | |
"visibility": "public" | |
}, | |
{ | |
"body": { | |
"id": 1940, | |
"nodeType": "Block", | |
"src": "1413:36:5", | |
"statements": [ | |
{ | |
"expression": { | |
"argumentTypes": null, | |
"arguments": [ | |
{ | |
"argumentTypes": null, | |
"id": 1937, | |
"name": "owner", | |
"nodeType": "Identifier", | |
"overloadedDeclarations": [], | |
"referencedDeclaration": 4592, | |
"src": "1436:5:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_address", | |
"typeString": "address" | |
} | |
} | |
], | |
"expression": { | |
"argumentTypes": [ | |
{ | |
"typeIdentifier": "t_address", | |
"typeString": "address" | |
} | |
], | |
"id": 1936, | |
"name": "selfdestruct", | |
"nodeType": "Identifier", | |
"overloadedDeclarations": [], | |
"referencedDeclaration": 5394, | |
"src": "1423:12:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_function_selfdestruct_nonpayable$_t_address_$returns$__$", | |
"typeString": "function (address)" | |
} | |
}, | |
"id": 1938, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": false, | |
"kind": "functionCall", | |
"lValueRequested": false, | |
"names": [], | |
"nodeType": "FunctionCall", | |
"src": "1423:19:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_tuple$__$", | |
"typeString": "tuple()" | |
} | |
}, | |
"id": 1939, | |
"nodeType": "ExpressionStatement", | |
"src": "1423:19:5" | |
} | |
] | |
}, | |
"documentation": "@dev Constructor that gives msg.sender all of existing tokens.", | |
"id": 1941, | |
"implemented": true, | |
"isConstructor": false, | |
"isDeclaredConst": false, | |
"modifiers": [ | |
{ | |
"arguments": null, | |
"id": 1934, | |
"modifierName": { | |
"argumentTypes": null, | |
"id": 1933, | |
"name": "onlyOwner", | |
"nodeType": "Identifier", | |
"overloadedDeclarations": [], | |
"referencedDeclaration": 4622, | |
"src": "1403:9:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_modifier$__$", | |
"typeString": "modifier ()" | |
} | |
}, | |
"nodeType": "ModifierInvocation", | |
"src": "1403:9:5" | |
} | |
], | |
"name": "close", | |
"nodeType": "FunctionDefinition", | |
"parameters": { | |
"id": 1932, | |
"nodeType": "ParameterList", | |
"parameters": [], | |
"src": "1393:2:5" | |
}, | |
"payable": false, | |
"returnParameters": { | |
"id": 1935, | |
"nodeType": "ParameterList", | |
"parameters": [], | |
"src": "1413:0:5" | |
}, | |
"scope": 1942, | |
"src": "1379:70:5", | |
"stateMutability": "nonpayable", | |
"superFunction": null, | |
"visibility": "public" | |
} | |
], | |
"scope": 1943, | |
"src": "243:1208:5" | |
} | |
], | |
"src": "0:1452:5" | |
}, | |
"legacyAST": { | |
"absolutePath": "/Users/vamsee/Development/blockchain/pulse/pulse-server/contracts/PulseToken.sol", | |
"exportedSymbols": { | |
"PulseToken": [ | |
1942 | |
] | |
}, | |
"id": 1943, | |
"nodeType": "SourceUnit", | |
"nodes": [ | |
{ | |
"id": 1913, | |
"literals": [ | |
"solidity", | |
"^", | |
"0.4", | |
".23" | |
], | |
"nodeType": "PragmaDirective", | |
"src": "0:24:5" | |
}, | |
{ | |
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol", | |
"file": "openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol", | |
"id": 1914, | |
"nodeType": "ImportDirective", | |
"scope": 1943, | |
"sourceUnit": 5125, | |
"src": "26:71:5", | |
"symbolAliases": [], | |
"unitAlias": "" | |
}, | |
{ | |
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol", | |
"file": "openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol", | |
"id": 1915, | |
"nodeType": "ImportDirective", | |
"scope": 1943, | |
"sourceUnit": 4842, | |
"src": "98:71:5", | |
"symbolAliases": [], | |
"unitAlias": "" | |
}, | |
{ | |
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol", | |
"file": "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol", | |
"id": 1916, | |
"nodeType": "ImportDirective", | |
"scope": 1943, | |
"sourceUnit": 5023, | |
"src": "170:71:5", | |
"symbolAliases": [], | |
"unitAlias": "" | |
}, | |
{ | |
"baseContracts": [ | |
{ | |
"arguments": null, | |
"baseName": { | |
"contractScope": null, | |
"id": 1917, | |
"name": "MintableToken", | |
"nodeType": "UserDefinedTypeName", | |
"referencedDeclaration": 5022, | |
"src": "266:13:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_contract$_MintableToken_$5022", | |
"typeString": "contract MintableToken" | |
} | |
}, | |
"id": 1918, | |
"nodeType": "InheritanceSpecifier", | |
"src": "266:13:5" | |
}, | |
{ | |
"arguments": null, | |
"baseName": { | |
"contractScope": null, | |
"id": 1919, | |
"name": "PausableToken", | |
"nodeType": "UserDefinedTypeName", | |
"referencedDeclaration": 5124, | |
"src": "281:13:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_contract$_PausableToken_$5124", | |
"typeString": "contract PausableToken" | |
} | |
}, | |
"id": 1920, | |
"nodeType": "InheritanceSpecifier", | |
"src": "281:13:5" | |
}, | |
{ | |
"arguments": null, | |
"baseName": { | |
"contractScope": null, | |
"id": 1921, | |
"name": "BurnableToken", | |
"nodeType": "UserDefinedTypeName", | |
"referencedDeclaration": 4841, | |
"src": "296:13:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_contract$_BurnableToken_$4841", | |
"typeString": "contract BurnableToken" | |
} | |
}, | |
"id": 1922, | |
"nodeType": "InheritanceSpecifier", | |
"src": "296:13:5" | |
} | |
], | |
"contractDependencies": [ | |
4494, | |
4674, | |
4770, | |
4841, | |
4884, | |
4916, | |
5022, | |
5124, | |
5371 | |
], | |
"contractKind": "contract", | |
"documentation": null, | |
"fullyImplemented": true, | |
"id": 1942, | |
"linearizedBaseContracts": [ | |
1942, | |
4841, | |
5124, | |
4494, | |
5022, | |
4674, | |
5371, | |
4770, | |
4884, | |
4916 | |
], | |
"name": "PulseToken", | |
"nodeType": "ContractDefinition", | |
"nodes": [ | |
{ | |
"constant": true, | |
"id": 1925, | |
"name": "name", | |
"nodeType": "VariableDeclaration", | |
"scope": 1942, | |
"src": "316:46:5", | |
"stateVariable": true, | |
"storageLocation": "default", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_memory", | |
"typeString": "string" | |
}, | |
"typeName": { | |
"id": 1923, | |
"name": "string", | |
"nodeType": "ElementaryTypeName", | |
"src": "316:6:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_storage_ptr", | |
"typeString": "string" | |
} | |
}, | |
"value": { | |
"argumentTypes": null, | |
"hexValue": "50756c736520546f6b656e205632", | |
"id": 1924, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": true, | |
"kind": "string", | |
"lValueRequested": false, | |
"nodeType": "Literal", | |
"src": "346:16:5", | |
"subdenomination": null, | |
"typeDescriptions": { | |
"typeIdentifier": "t_stringliteral_7a9a0782d4a489f2dda25cfa94a88337a38c16ec68a248aa0c3fe11984ecba98", | |
"typeString": "literal_string \"Pulse Token V2\"" | |
}, | |
"value": "Pulse Token V2" | |
}, | |
"visibility": "public" | |
}, | |
{ | |
"constant": true, | |
"id": 1928, | |
"name": "symbol", | |
"nodeType": "VariableDeclaration", | |
"scope": 1942, | |
"src": "368:39:5", | |
"stateVariable": true, | |
"storageLocation": "default", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_memory", | |
"typeString": "string" | |
}, | |
"typeName": { | |
"id": 1926, | |
"name": "string", | |
"nodeType": "ElementaryTypeName", | |
"src": "368:6:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_string_storage_ptr", | |
"typeString": "string" | |
} | |
}, | |
"value": { | |
"argumentTypes": null, | |
"hexValue": "50554c5345", | |
"id": 1927, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": true, | |
"kind": "string", | |
"lValueRequested": false, | |
"nodeType": "Literal", | |
"src": "400:7:5", | |
"subdenomination": null, | |
"typeDescriptions": { | |
"typeIdentifier": "t_stringliteral_1726fc7bae4c5cef730986c1e4532766c5af4097895cb222ef5064ca41faee15", | |
"typeString": "literal_string \"PULSE\"" | |
}, | |
"value": "PULSE" | |
}, | |
"visibility": "public" | |
}, | |
{ | |
"constant": true, | |
"id": 1931, | |
"name": "decimals", | |
"nodeType": "VariableDeclaration", | |
"scope": 1942, | |
"src": "413:35:5", | |
"stateVariable": true, | |
"storageLocation": "default", | |
"typeDescriptions": { | |
"typeIdentifier": "t_uint8", | |
"typeString": "uint8" | |
}, | |
"typeName": { | |
"id": 1929, | |
"name": "uint8", | |
"nodeType": "ElementaryTypeName", | |
"src": "413:5:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_uint8", | |
"typeString": "uint8" | |
} | |
}, | |
"value": { | |
"argumentTypes": null, | |
"hexValue": "3138", | |
"id": 1930, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": true, | |
"kind": "number", | |
"lValueRequested": false, | |
"nodeType": "Literal", | |
"src": "446:2:5", | |
"subdenomination": null, | |
"typeDescriptions": { | |
"typeIdentifier": "t_rational_18_by_1", | |
"typeString": "int_const 18" | |
}, | |
"value": "18" | |
}, | |
"visibility": "public" | |
}, | |
{ | |
"body": { | |
"id": 1940, | |
"nodeType": "Block", | |
"src": "1413:36:5", | |
"statements": [ | |
{ | |
"expression": { | |
"argumentTypes": null, | |
"arguments": [ | |
{ | |
"argumentTypes": null, | |
"id": 1937, | |
"name": "owner", | |
"nodeType": "Identifier", | |
"overloadedDeclarations": [], | |
"referencedDeclaration": 4592, | |
"src": "1436:5:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_address", | |
"typeString": "address" | |
} | |
} | |
], | |
"expression": { | |
"argumentTypes": [ | |
{ | |
"typeIdentifier": "t_address", | |
"typeString": "address" | |
} | |
], | |
"id": 1936, | |
"name": "selfdestruct", | |
"nodeType": "Identifier", | |
"overloadedDeclarations": [], | |
"referencedDeclaration": 5394, | |
"src": "1423:12:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_function_selfdestruct_nonpayable$_t_address_$returns$__$", | |
"typeString": "function (address)" | |
} | |
}, | |
"id": 1938, | |
"isConstant": false, | |
"isLValue": false, | |
"isPure": false, | |
"kind": "functionCall", | |
"lValueRequested": false, | |
"names": [], | |
"nodeType": "FunctionCall", | |
"src": "1423:19:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_tuple$__$", | |
"typeString": "tuple()" | |
} | |
}, | |
"id": 1939, | |
"nodeType": "ExpressionStatement", | |
"src": "1423:19:5" | |
} | |
] | |
}, | |
"documentation": "@dev Constructor that gives msg.sender all of existing tokens.", | |
"id": 1941, | |
"implemented": true, | |
"isConstructor": false, | |
"isDeclaredConst": false, | |
"modifiers": [ | |
{ | |
"arguments": null, | |
"id": 1934, | |
"modifierName": { | |
"argumentTypes": null, | |
"id": 1933, | |
"name": "onlyOwner", | |
"nodeType": "Identifier", | |
"overloadedDeclarations": [], | |
"referencedDeclaration": 4622, | |
"src": "1403:9:5", | |
"typeDescriptions": { | |
"typeIdentifier": "t_modifier$__$", | |
"typeString": "modifier ()" | |
} | |
}, | |
"nodeType": "ModifierInvocation", | |
"src": "1403:9:5" | |
} | |
], | |
"name": "close", | |
"nodeType": "FunctionDefinition", | |
"parameters": { | |
"id": 1932, | |
"nodeType": "ParameterList", | |
"parameters": [], | |
"src": "1393:2:5" | |
}, | |
"payable": false, | |
"returnParameters": { | |
"id": 1935, | |
"nodeType": "ParameterList", | |
"parameters": [], | |
"src": "1413:0:5" | |
}, | |
"scope": 1942, | |
"src": "1379:70:5", | |
"stateMutability": "nonpayable", | |
"superFunction": null, | |
"visibility": "public" | |
} | |
], | |
"scope": 1943, | |
"src": "243:1208:5" | |
} | |
], | |
"src": "0:1452:5" | |
}, | |
"compiler": { | |
"name": "solc", | |
"version": "0.4.24+commit.e67f0147.Emscripten.clang" | |
}, | |
"networks": { | |
"4": { | |
"events": { | |
"0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5": { | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "burner", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Burn", | |
"type": "event" | |
}, | |
"0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625": { | |
"anonymous": false, | |
"inputs": [], | |
"name": "Pause", | |
"type": "event" | |
}, | |
"0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33": { | |
"anonymous": false, | |
"inputs": [], | |
"name": "Unpause", | |
"type": "event" | |
}, | |
"0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885": { | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Mint", | |
"type": "event" | |
}, | |
"0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08": { | |
"anonymous": false, | |
"inputs": [], | |
"name": "MintFinished", | |
"type": "event" | |
}, | |
"0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820": { | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { | |
"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" | |
}, | |
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { | |
"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" | |
} | |
}, | |
"links": {}, | |
"address": "0x67ec9c3017ea145083cda98a0d66718853ec1da7", | |
"transactionHash": "0xd3f28cef55aac5eb3eecbff33b40fac31b71c20d9786df7014e8e0e9b19c6a3a" | |
} | |
}, | |
"schemaVersion": "2.0.0", | |
"updatedAt": "2018-06-21T03:35:32.265Z" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment