Contract Overview
Balance:
0 Ether
EtherValue:
$0
Transactions:
1 txn
TxHash | Block | Age | From | To | Value | [TxFee] | |
---|---|---|---|---|---|---|---|
0x738d7346da0c45e6a03ed7e101783a63917a8224709e31beec6ef68838554f08 | 5182533 | 353 days 9 hrs ago | 0x1ff21eca1c3ba96ed53783ab9c92ffbf77862584 | IN | Contract Creation | 0 Ether | 0.000786346 |
[ Download CSV Export ]
Internal Transactions as a result of Contract Execution
Parent TxHash | Block | Age | From | To | Value |
---|
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.
Contract Source Code Verified (Exact Match)
Contract Source Code Verified (Exact Match)
Contract Name: | FaceterTokenLockV2 |
Compiler Version: | v0.4.19+commit.c4cbbb05 |
Optimization Enabled: | Yes |
Runs (Optimizer): | 200 |
Contract Source Code
pragma solidity 0.4.19; contract ERC20Interface { function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); } contract FaceterTokenLockV2 { address constant RECEIVER = 0x102aEe443704BBd96f31BcFCA9DA8E86f0128803; uint constant AMOUNT = 18750000 * 10**18; ERC20Interface constant FaceterToken = ERC20Interface(0x4695c7AC68eb86c1079c7d7D53Af2F42DB8a6799); uint8 public unlockStep; function unlock() public returns(bool) { uint unlockAmount = 0; // 1 July 2018 if (unlockStep == 0 && now >= 1530403200) { unlockAmount = AMOUNT; // 1 October 2018 } else if (unlockStep == 1 && now >= 1538352000) { unlockAmount = AMOUNT; // 1 January 2019 } else if (unlockStep == 2 && now >= 1546300800) { unlockAmount = AMOUNT; // 1 April 2019 } else if (unlockStep == 3 && now >= 1554076800) { unlockAmount = AMOUNT; // 1 July 2019 } else if (unlockStep == 4 && now >= 1561939200) { unlockAmount = AMOUNT; // 1 October 2019 } else if (unlockStep == 5 && now >= 1569888000) { unlockAmount = AMOUNT; // 1 January 2020 } else if (unlockStep == 6 && now >= 1577836800) { unlockAmount = AMOUNT; // 1 April 2020 } else if (unlockStep == 7 && now >= 1585699200) { unlockAmount = FaceterToken.balanceOf(this); } if (unlockAmount == 0) { return false; } unlockStep++; require(FaceterToken.transfer(RECEIVER, unlockAmount)); return true; } function () public { unlock(); } function recoverTokens(ERC20Interface _token) public returns(bool) { // Don't allow recovering Faceter Token till the end of lock. if (_token == FaceterToken && now < 1585699200 && unlockStep != 8) { return false; } return _token.transfer(RECEIVER, _token.balanceOf(this)); } }
Contract ABI
[{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"recoverTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"unlockStep","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unlock","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"}]
Contract Creation Code
6060604052341561000f57600080fd5b6104ff8061001e6000396000f30060606040526004361061003d5763ffffffff60e060020a60003504166316114acd8114610053578063a454c5dc14610086578063a69df4b5146100af575b341561004857600080fd5b6100506100be565b50005b341561005e57600080fd5b610072600160a060020a036004351661037f565b604051901515815260200160405180910390f35b341561009157600080fd5b6100996104ca565b60405160ff909116815260200160405180910390f35b34156100ba57600080fd5b6100725b60008054819060ff161580156100d85750635b3819804210155b156100ef57506a0f8277896582678ac000006102ac565b60005460ff1660011480156101085750635bb163804210155b1561011f57506a0f8277896582678ac000006102ac565b60005460ff1660021480156101385750635c2aad804210155b1561014f57506a0f8277896582678ac000006102ac565b60005460ff1660031480156101685750635ca154804210155b1561017f57506a0f8277896582678ac000006102ac565b60005460ff1660041480156101985750635d194d004210155b156101af57506a0f8277896582678ac000006102ac565b60005460ff1660051480156101c85750635d9297004210155b156101df57506a0f8277896582678ac000006102ac565b60005460ff1660061480156101f85750635e0be1004210155b1561020f57506a0f8277896582678ac000006102ac565b60005460ff1660071480156102285750635e83d9804210155b156102ac57734695c7ac68eb86c1079c7d7d53af2f42db8a67996370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561028f57600080fd5b6102c65a03f115156102a057600080fd5b50505060405180519150505b8015156102bc576000915061037b565b6000805460ff8082166001011660ff19909116178155734695c7ac68eb86c1079c7d7d53af2f42db8a67999063a9059cbb9073102aee443704bbd96f31bcfca9da8e86f01288039084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561035057600080fd5b6102c65a03f1151561036157600080fd5b50505060405180519050151561037657600080fd5b600191505b5090565b6000600160a060020a038216734695c7ac68eb86c1079c7d7d53af2f42db8a67991480156103b05750635e83d98042105b80156103c2575060005460ff16600814155b156103cf575060006104c5565b600160a060020a03821663a9059cbb73102aee443704bbd96f31bcfca9da8e86f0128803826370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561044157600080fd5b6102c65a03f1151561045257600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156104a857600080fd5b6102c65a03f115156104b957600080fd5b50505060405180519150505b919050565b60005460ff16815600a165627a7a7230582000b982732e18134237b1972a9e184ca33a7b30a8561483cdd5447aba134d5d4f0029
Swarm Source:
bzzr://00b982732e18134237b1972a9e184ca33a7b30a8561483cdd5447aba134d5d4f
Block | Age | transaction | Difficulty | GasUsed | Reward |
---|
Block | Age | Uncle Number | Difficulty | GasUsed | Reward |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.