Contract 0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d9

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x80aa1897bb95fd388800cc8994900f52cd11c57663d02de3dc3c0cb8f04fb47bWithdraw99227932021-08-11 0:03:3967 days 23 hrs agoBenSwap: Deployer  IN  0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d90 BNB0.0002518
0x79599cbd10abf1399fdc006af115d34ec46a0b43da8283a042e5a74c7b3f233dWithdraw98584192021-08-08 17:11:3070 days 5 hrs agoBenSwap: Deployer  IN  0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d90 BNB0.000205235
0x0938074518d2e2c3d55516937b5117900b1d1e6089e9fa7260ca781eb6e59ba8Withdraw94192822021-07-23 21:42:5186 days 1 hr agoBenSwap: Deployer  IN  0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d90 BNB0.000322215
0x252d035fe9d2da59e5576f29db38a3fc3e722ebeca7c3b7e06e75e6cfdb16706Withdraw86785102021-06-28 2:19:18111 days 20 hrs agoBenSwap: Deployer  IN  0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d90 BNB0.00031763
0x4a72870c8ceea3b43ed4e6ff71274c00341b5da051ef04f94ef8ba6aad7f69d9Withdraw73616402021-05-13 1:34:53157 days 21 hrs agoBen Token Finance: Deployer IN  0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d90 BNB0.00062609
0x4102419bc6f96163a3da358e52557b9e6536766eae986c970ee2e8c277231095Withdraw73615712021-05-13 1:31:18157 days 21 hrs agoBen Token Finance: Deployer IN  0xa25a5c40b7928c4e1e507d04dbe9a272c186e2d90 BNB0.00039213
0x3e7fa8972949980c79a1a22bd60b4f9e49525ebf42e69ac5999bdc8cff23bb500x6080604073615452021-05-13 1:30:00157 days 21 hrs agoBen Token Finance: Deployer IN  Contract Creation0 BNB0.005327725
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimpleTimeLock

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2021-05-13
*/

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.4.23;

contract BEP20Partial {
    function transfer(address recipient, uint256 amount) public returns (bool);
    function balanceOf(address who) public view returns (uint256);
    function decimals() public view returns(uint8);
}

contract SimpleTimeLock {
    address tokenContractAddress = 0x3cEBEbC6F06b08bF1E8af91B4D244BA7f97967dC;
    address ownerAddress = 0x0aD6997787Ae100BFaD87C1cAD608003aFE1Ce03;
    
    // 1623369600,  // Friday, June 11, 2021 12:00:00 AM
    // 1625961600,  // Sunday, July 11, 2021 12:00:00 AM
    // 1628640000,  // Wednesday, August 11, 2021 12:00:00 AM
    // 1631318400,  // Saturday, September 11, 2021 12:00:00 AM
    // 1633910400,  //	Monday, October 11, 2021 12:00:00 AM
    // 1636588800,  //	Thursday, November 11, 2021 12:00:00 AM
    // 1639180800,  //	Saturday, December 11, 2021 12:00:00 AM
    // 1641859200,  //	Tuesday, January 11, 2022 12:00:00 AM
    // 1644537600,  //	Friday, February 11, 2022 12:00:00 AM
    // 1646956800,  //	Friday, March 11, 2022 12:00:00 AM
    // 1649635200,  //	Monday, April 11, 2022 12:00:00 AM
    // 1652227200,  //	Wednesday, May 11, 2022 12:00:00 AM  (anniversary)
    // 1683763200,  //	Thursday, May 11, 2023 12:00:00 AM  (2nd anniversary)
    // 1715385600,  //	Saturday, May 11, 2024 12:00:00 AM  (3rd anniversary)
    
    uint256[14] unlockTime = [
        1623369600, 
        1625961600,  
        1628640000,  
        1631318400, 
        1633910400, 
        1636588800, 
        1639180800, 
        1641859200, 
        1644537600, 
        1646956800, 
        1649635200,
        1652227200,
        1683763200, 
        1715385600
    ];
    
    uint256[15] locked = [
        390000000,
        380000000,
        370000000,
        360000000,
        350000000,
        340000000,
        330000000,
        320000000,
        310000000,
        300000000,
        290000000,
        280000000,
        200000000,
        100000000,
        0
    ];
    
    BEP20Partial private token = BEP20Partial(tokenContractAddress);
    

    constructor() public {
        token = BEP20Partial(tokenContractAddress);
    }
    
    function balance() public view returns(uint256){
        return token.balanceOf(this);
    }
    
    function nextUnlockIndex() private view returns(uint){
        uint256 _now = block.timestamp;
        uint i=0;
        while(i<14){
            if(unlockTime[i]>_now) break;
            i++;
        }
        return i;
    }
    
    function lastUnlockTime() public view returns(uint256){
        uint nextIndex = nextUnlockIndex();
        
        if(nextIndex==0) return 0;
        else return unlockTime[nextIndex-1];
    }
    
    function nextUnlockTime() public view returns(uint256){
        uint nextIndex = nextUnlockIndex();
        
        if(nextIndex>13) return 0;
        else return unlockTime[nextIndex];
    }
    
    function totalLocked() public view returns(uint256){
        return locked[nextUnlockIndex()] * (10 ** uint256(token.decimals()));
    }
    
    function totalUnlocked() public view returns(uint256){
        uint256 _locked = totalLocked();
        uint256 _balance = token.balanceOf(this);
        if (_balance<=_locked) return 0;
        else return _balance - _locked;
    }
    
    function withdraw() public returns(bool){
        return token.transfer(ownerAddress, totalUnlocked());
    }

    function () public payable {
        revert();
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[],"name":"withdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalLocked","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUnlockTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalUnlocked","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextUnlockTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

6080604052733cebebc6f06b08bf1e8af91b4d244ba7f97967dc6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550730ad6997787ae100bfad87c1cad608003afe1ce03600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101c0604051908101604052806360c2a78063ffffffff1681526020016360ea348063ffffffff168152602001636113130063ffffffff16815260200163613bf18063ffffffff1681526020016361637e8063ffffffff16815260200163618c5d0063ffffffff1681526020016361b3ea0063ffffffff1681526020016361dcc88063ffffffff168152602001636205a70063ffffffff16815260200163622a910063ffffffff1681526020016362536f8063ffffffff16815260200163627afc8063ffffffff16815260200163645c300063ffffffff16815260200163663eb50063ffffffff16815250600290600e6101a8929190610388565b506101e06040519081016040528063173eed8063ffffffff1681526020016316a6570063ffffffff16815260200163160dc08063ffffffff1681526020016315752a0063ffffffff1681526020016314dc938063ffffffff168152602001631443fd0063ffffffff1681526020016313ab668063ffffffff168152602001631312d00063ffffffff16815260200163127a398063ffffffff1681526020016311e1a30063ffffffff1681526020016311490c8063ffffffff1681526020016310b0760063ffffffff168152602001630bebc20063ffffffff1681526020016305f5e10063ffffffff168152602001600063ffffffff16815250601090600f6102b19291906103d0565b506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561032057600080fd5b506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061043d565b82600e81019282156103bf579160200282015b828111156103be578251829063ffffffff1690559160200191906001019061039b565b5b5090506103cc9190610418565b5090565b82600f8101928215610407579160200282015b82811115610406578251829063ffffffff169055916020019190600101906103e3565b5b5090506104149190610418565b5090565b61043a91905b8082111561043657600081600090555060010161041e565b5090565b90565b6106a48061044c6000396000f300608060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633ccfd60b1461007d57806356891412146100ac578063a5c38b3d146100d7578063a779d08014610102578063b69ef8a81461012d578063f8737bc014610158575b600080fd5b34801561008957600080fd5b50610092610183565b604051808215151515815260200191505060405180910390f35b3480156100b857600080fd5b506100c16102b3565b6040518082815260200191505060405180910390f35b3480156100e357600080fd5b506100ec61039a565b6040518082815260200191505060405180910390f35b34801561010e57600080fd5b506101176103d4565b6040518082815260200191505060405180910390f35b34801561013957600080fd5b506101426104fa565b6040518082815260200191505060405180910390f35b34801561016457600080fd5b5061016d6105f9565b6040518082815260200191505060405180910390f35b6000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166101ee6103d4565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561027357600080fd5b505af1158015610287573d6000803e3d6000fd5b505050506040513d602081101561029d57600080fd5b8101908080519060200190929190505050905090565b6000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b810190808051906020019092919050505060ff16600a0a6010610386610630565b600f8110151561039257fe5b015402905090565b6000806103a5610630565b905060008114156103b957600091506103d0565b600260018203600e811015156103cb57fe5b015491505b5090565b60008060006103e16102b3565b9150601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156104a057600080fd5b505af11580156104b4573d6000803e3d6000fd5b505050506040513d60208110156104ca57600080fd5b8101908080519060200190929190505050905081811115156104ef57600092506104f5565b81810392505b505090565b6000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156105b957600080fd5b505af11580156105cd573d6000803e3d6000fd5b505050506040513d60208110156105e357600080fd5b8101908080519060200190929190505050905090565b600080610604610630565b9050600d811115610618576000915061062c565b600281600e8110151561062757fe5b015491505b5090565b6000806000429150600090505b600e8110156106705781600282600e8110151561065657fe5b0154111561066357610670565b808060010191505061063d565b8092505050905600a165627a7a72305820f6b30853ad204d96e0128e3c42b4d64eae44a04e783cc8cc610f46f2030d08420029

Deployed ByteCode Sourcemap

302:3305:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3588:8;;;3431:111;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3431:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3032:138;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3032:138:0;;;;;;;;;;;;;;;;;;;;;;;2612:199;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2612:199:0;;;;;;;;;;;;;;;;;;;;;;;3182:237;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3182:237:0;;;;;;;;;;;;;;;;;;;;;;;2260:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2260:94:0;;;;;;;;;;;;;;;;;;;;;;;2823:197;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2823:197:0;;;;;;;;;;;;;;;;;;;;;;;3431:111;3466:4;3489:5;;;;;;;;;;;:14;;;3504:12;;;;;;;;;;;3518:15;:13;:15::i;:::-;3489:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3489:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3489:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3489:45:0;;;;;;;;;;;;;;;;3482:52;;3431:111;:::o;3032:138::-;3075:7;3144:5;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3144:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3144:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3144:16:0;;;;;;;;;;;;;;;;3136:25;;3130:2;:31;3101:6;3108:17;:15;:17::i;:::-;3101:25;;;;;;;;;;;:61;3094:68;;3032:138;:::o;2612:199::-;2658:7;2677:14;2694:17;:15;:17::i;:::-;2677:34;;2746:1;2735:9;:12;2732:71;;;2756:1;2749:8;;;;2732:71;2780:10;2801:1;2791:9;:11;2780:23;;;;;;;;;;;2773:30;;2612:199;;;:::o;3182:237::-;3227:7;3246:15;3288:16;3264:13;:11;:13::i;:::-;3246:31;;3307:5;;;;;;;;;;;:15;;;3323:4;3307:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3307:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3307:21:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3307:21:0;;;;;;;;;;;;;;;;3288:40;;3353:7;3343:8;:17;;3339:72;;;3369:1;3362:8;;;;3339:72;3404:7;3393:8;:18;3386:25;;3182:237;;;;:::o;2260:94::-;2299:7;2325:5;;;;;;;;;;;:15;;;2341:4;2325:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2325:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2325:21:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2325:21:0;;;;;;;;;;;;;;;;2318:28;;2260:94;:::o;2823:197::-;2869:7;2888:14;2905:17;:15;:17::i;:::-;2888:34;;2956:2;2946:9;:12;2943:69;;;2967:1;2960:8;;;;2943:69;2991:10;3002:9;2991:21;;;;;;;;;;;2984:28;;2823:197;;;:::o;2366:234::-;2414:4;2430:12;2471:6;2445:15;2430:30;;2478:1;2471:8;;2490:84;2498:2;2496:1;:4;2490:84;;;2533:4;2519:10;2530:1;2519:13;;;;;;;;;;;:18;2516:28;;;2539:5;;2516:28;2559:3;;;;;;;2490:84;;;2591:1;2584:8;;2366:234;;;:::o

Swarm Source

bzzr://f6b30853ad204d96e0128e3c42b4d64eae44a04e783cc8cc610f46f2030d0842
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.