Contract 0x8105fa8b5abe2508a098844ecc0d89faf533f90f

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf011acc056dd52297d59d39302a0ef6ddca63555c716818994e14e201586a7acClaim87347152021-06-30 1:28:1887 days 22 hrs ago0xf69bafd6de5e414dff8437a954946d33fdf73172 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0x4ee5d671f232d8faef73d030fed311a44f9cd93ba36ce4bff0caa74883c2c66aClaim87204692021-06-29 13:31:5588 days 10 hrs ago0x4a06703b81d28ae599cb449716adfed8e3a94b23 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.007769065
0xf4eb0b0bb836d69e34f17cbb31c64d45db82db19fdd7226c3ff48bdffeca8fddTryyourluck86539652021-06-27 5:45:3890 days 17 hrs ago0x0a9d3e4df358d3e9adda6a9e35296030510ff92f IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.000121515
0xb70475e836c0ecb3d8f788b9f94f2e8e47591283311645312eb2e9c88e11eb46Claim86400352021-06-26 18:08:2591 days 5 hrs ago0x331116a7f710f68be133fd87063a9872ccbc3381 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00776427
0x4e62266630d1afa9fb127e62c41fedc20bcc738f2c9dc7d11c210ffbd4214713Claim86394732021-06-26 17:40:1991 days 5 hrs ago0x18cee086c80e0bf4a187c4ac564847d1b3e2eef9 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0xf51b7f1ba17e09591b2d354d813d53c760a5a4bdf494a83031f508a2633830edClaim86371202021-06-26 15:42:3791 days 7 hrs ago0x9c26a17482bf3fe75d5f617c2544aba2388bf47a IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.002271372
0x6310dff0df54f6d7061eb3f070a27eb8549d11dd06d3ea558c9fb1775288a09dClaim86363032021-06-26 15:01:4691 days 8 hrs ago0x2ef93607188f09c835db4afa4bdf3f6ebc7194f4 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0xe2841a2b07eb09a6a448d9214cc98ec5ae039bbc2811ac36e5688acaab734e72Claim86362182021-06-26 14:57:3191 days 8 hrs ago0xb540712003d3e71e6665160b93f407620991a143 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0xd911ae89c846d0b820edecfda66bb8eb06cbeee9a377432af811f9a31bc5f6dfClaim86353532021-06-26 14:14:1691 days 9 hrs ago0x5025a0ed570ae30e9def852c1a7cb7ab09994d2d IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0xf071038b4b499ebc4a00b17a924d1f9d5ae3c5345178471abf922ef79743ccabClaim86353042021-06-26 14:11:4991 days 9 hrs ago0xf932f1e0f77303694d52eb2b8a34d12dfb6e78e7 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0xc19f97be97061908aaef728e26eaaad26662b031b5854865fd51a2d1a06469a2Tryyourluck86344012021-06-26 13:26:4091 days 10 hrs ago0x5025a0ed570ae30e9def852c1a7cb7ab09994d2d IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.002520335
0xad4b305775e975da9b12a35a17e53e24f64618aa8c79aa007b5d747eeffdbf9dClaim86343852021-06-26 13:25:5291 days 10 hrs ago0xd05fa20e9e840d41886d898b1212ecd015f3cd15 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0x97cb864b2e6c7484c7b8c53de29b88276d4c557616b8d1a2234af07e12ad4677Tryyourluck86343662021-06-26 13:24:5591 days 10 hrs ago0xd05fa20e9e840d41886d898b1212ecd015f3cd15 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.002520335
0x94f6521e1e1bc5fa2e036288a30d4c2cdb2ff6dd2731e7f2176824a7aaf94669Tryyourluck86343232021-06-26 13:22:4691 days 10 hrs ago0xc685031f4aa369eca3d68fe76fad477b44a92cff IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.002190555
0x55eeafc8a7e5c6d7ce4a39ec95f2407e8f846cce86f79da1d48e8d3a5dccb6f8Claim86341102021-06-26 13:12:0791 days 10 hrs ago0x5465e0550c083830278b89e030fcbbd0122d1f9d IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00189281
0x4e66285c7abd602f84568269d9c2763fa562b6b8b5af3ff82d9ea261209eb42bTryyourluck86341062021-06-26 13:11:5591 days 10 hrs ago0x5465e0550c083830278b89e030fcbbd0122d1f9d IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.002190555
0x740930f21714f08b2007fc6eda6b2f89317bfe63fb05eef4125e62fff9fb861bTryyourluck86340872021-06-26 13:10:5891 days 10 hrs ago0x5465e0550c083830278b89e030fcbbd0122d1f9d IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.002265555
0xec83075a0662528656705d861695072d1f50599c1f56030b803535c71e1476c8Claim86335412021-06-26 12:43:4091 days 10 hrs ago0x9c166f605846cace23bd6a46cb94db3c451515ee IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00229884
0xc67d6acabe17e287b90579a2e3cddef3bcaadc2757d21dc045e506987dd83d99Tryyourluck86333482021-06-26 12:34:0191 days 10 hrs ago0x2ef93607188f09c835db4afa4bdf3f6ebc7194f4 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.008137005
0xa9f548123c6e1cb98eaba5a5c7dd6c6d6d4e3c86c80c9e7d2e71ed52b233104fTryyourluck86326122021-06-26 11:57:1391 days 11 hrs ago0x2ef93607188f09c835db4afa4bdf3f6ebc7194f4 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.002148885
0x4c50cfc3ea35e01091e9e76b06e3680eec597a927ece7c709196ecd95c6a1fc8Claim86318182021-06-26 11:17:3191 days 12 hrs ago0xcc58e91568aee886243aee4fe2a3bcbd1923b330 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.000111665
0x0f70c2b1a9c2c91f9cfee0c7a9e7b4804b2ca97ed2562631ff5593ec0cdb625eClaim86318172021-06-26 11:17:2891 days 12 hrs ago0xcc58e91568aee886243aee4fe2a3bcbd1923b330 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0 BNB0.00165987
0x14294f6d164e9539fd973a38092197ae1ab962be497122a1e4b87f66c8bc4420Tryyourluck86318072021-06-26 11:16:5891 days 12 hrs ago0xcc58e91568aee886243aee4fe2a3bcbd1923b330 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.001915625
0x440e8859cee0e86adff034f8d901a6f177308168fe4f72f27868d57fdbaf5afdTryyourluck86317972021-06-26 11:16:2891 days 12 hrs ago0xcc58e91568aee886243aee4fe2a3bcbd1923b330 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.007128085
0xb17c885018b018dc841b86328d58787b158d5134eefc43bffdb9ef04f7f424f2Tryyourluck86317812021-06-26 11:15:4091 days 12 hrs ago0xcc58e91568aee886243aee4fe2a3bcbd1923b330 IN  0x8105fa8b5abe2508a098844ecc0d89faf533f90f0.01 BNB0.001957625
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xc19f97be97061908aaef728e26eaaad26662b031b5854865fd51a2d1a06469a286344012021-06-26 13:26:4091 days 10 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x97cb864b2e6c7484c7b8c53de29b88276d4c557616b8d1a2234af07e12ad467786343662021-06-26 13:24:5591 days 10 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x94f6521e1e1bc5fa2e036288a30d4c2cdb2ff6dd2731e7f2176824a7aaf9466986343232021-06-26 13:22:4691 days 10 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x4e66285c7abd602f84568269d9c2763fa562b6b8b5af3ff82d9ea261209eb42b86341062021-06-26 13:11:5591 days 10 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x740930f21714f08b2007fc6eda6b2f89317bfe63fb05eef4125e62fff9fb861b86340872021-06-26 13:10:5891 days 10 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xc67d6acabe17e287b90579a2e3cddef3bcaadc2757d21dc045e506987dd83d9986333482021-06-26 12:34:0191 days 10 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xa9f548123c6e1cb98eaba5a5c7dd6c6d6d4e3c86c80c9e7d2e71ed52b233104f86326122021-06-26 11:57:1391 days 11 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x14294f6d164e9539fd973a38092197ae1ab962be497122a1e4b87f66c8bc442086318072021-06-26 11:16:5891 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x440e8859cee0e86adff034f8d901a6f177308168fe4f72f27868d57fdbaf5afd86317972021-06-26 11:16:2891 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xb17c885018b018dc841b86328d58787b158d5134eefc43bffdb9ef04f7f424f286317812021-06-26 11:15:4091 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x6d69292254eebfbcf7b9b5e88d3cf3a5c724d1dbd8cb7a66cb1c738877e6479886317692021-06-26 11:15:0491 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xf82943880398407d230467edb5991adaf0e465954118065958bea4554d29ceda86317572021-06-26 11:14:2891 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xfca06a5ed45775fad8d89e3a9214cc819c66090cc4d9dd813a8382bd938231ea86317422021-06-26 11:13:4391 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x0e9c638fad3bb4bc6953ada63f437fd263c65fab4e3bcfa8fb836da3725123c386317202021-06-26 11:12:3791 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xded7a370f63efd5d8d43041442018fb7b5b1c7ccee6d908243a9c4ab31b0455686317102021-06-26 11:12:0791 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x86eeffac6f4895f99a43a60d386c3ccd076e6ef760582e6bc46dca75829f37c786316912021-06-26 11:11:1091 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xad81e741b82055df921292346401c598902874d8aa8ebf1b3ceeb7cf8761dbfc86316632021-06-26 11:09:4691 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x658a6a25b458aed0a2e9d77b7e51f52ef478048fc52458fb719f1482c48a111186314752021-06-26 11:00:2291 days 12 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x2dc47a9ac3cb8fbfe5fe3e3e757810c4ee33f9bbac92cf7f2d151c39513a603f86298402021-06-26 9:38:2291 days 13 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xbcfecea599468a5d98ac2155cb3f7a1f59c15a69c1ca0cb96d823f78d0a102dd86294892021-06-26 9:20:0991 days 14 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xa7af5a74bde253cde25c14aa0c7a98038ce8766f6dc70247655535df0725842386294802021-06-26 9:19:4291 days 14 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xf5c13da211fbc2f3a57a242e092a81d3f19bc7017a16df67b0def072f742a76386264452021-06-26 6:47:5591 days 16 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0x3799c8c53ecdf778d562136abe58290e83afb8324bf81d67004f2a28e4ca54fb86263482021-06-26 6:43:0491 days 16 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xcdfefbc1354b7922710e15400c15fb7abe19451290625da23d04a7ed5abb1fba86263182021-06-26 6:41:3491 days 16 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
0xf6c0d6341ee4a6e3aebfd9b4d7dc6a8e473ef8ac1a94681e5f3e7625ab6e295386244502021-06-26 5:08:1091 days 18 hrs ago 0x8105fa8b5abe2508a098844ecc0d89faf533f90f Hodl: HODL Token0.01 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HODLWHEEL

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: HODL_Wheelv2.sol
pragma solidity  >=0.6.8;


import "HODL.sol";


contract HODLWHEEL

  {
    
    string public name = "HODL SPINNING WHEEL";
    HODL public hodlToken; 	
    
    address public owner;
      	
    
    mapping(address => uint256) public userearning;
    
    mapping(address => uint256) public usertotalearning;
    
    mapping(address => uint256) public userinvested;
     
    mapping(address => bool) public existinguser; 
    
    mapping(address => uint256) public nextSpinDate;
    
    uint256 public minbet = 10000000 * 10**9;
    uint256 public maxbet = 5000000000 * 10**9;
    uint256 public fees = 2000000000000000;
                          
    uint256 public freeSpindistribution = 0;
    uint256 public freespinCycleBlock = 86400;
    uint256 public freeSpinamount = 100000 * 10 ** 9; 
    
    
    event TRYLUCK(uint8 _no, uint256 indexed multiplier , uint256 indexed _amount);
    event FreeSpin(uint8 _no, uint256 indexed multiplier, uint256 indexed _amount); 
    
    mapping(uint8 => mapping(uint8 => uint256)) public wheel;
    
    constructor (HODL _address) public {
        
       hodlToken = HODL(_address);    
       owner = msg.sender;
        
        // wheel 1 
        wheel[1][1] = 0;
        wheel[1][2] = 50;
        wheel[1][3] = 100;
        wheel[1][4] = 100;
        wheel[1][5] = 150;
        wheel[1][6] = 150;
        wheel[1][7] = 75;
        wheel[1][8] = 75;
     
     
        // wheel 2
        wheel[2][1] = 0;
        wheel[2][2] = 25;
        wheel[2][3] = 50;
        wheel[2][4] = 75;
        wheel[2][5] = 150;
        wheel[2][6] = 100;
        wheel[2][7] = 150;
        wheel[2][8] = 200;
        
        // wheel 3 
        wheel[3][1] = 0;
        wheel[3][2] = 100;
        wheel[3][3] = 50;
        wheel[3][4] = 500;
        wheel[3][5] = 0;
        wheel[3][6] = 200;
        wheel[3][7] = 0;
        wheel[3][8] = 50;
        wheel[3][9] = 300;
        wheel[3][10] = 0;
        wheel[3][11] = 100;
        wheel[3][12] = 50;
        wheel[3][13] = 200;
        wheel[3][14] = 50;
        wheel[3][15] = 100;
        wheel[3][16] = 100;
        
        
        // Free Spin wheel
        wheel[0][1] = 1000;          //     freeSpinamount * 10              1000000      
        wheel[0][2] = 500;           //     freeSpinamount * 5               500000     
        wheel[0][3] = 250;           //     freeSpinamount * 2.5             250000
        wheel[0][4] = 750;           //     freeSpinamount * 7.5             750000
        wheel[0][5] = 100;           //     freeSpinamount * 1               100000
        wheel[0][6] = 50;            //     freeSpinamount * 0.5             50000
        
    }
    
    
       modifier onlyOwner() {
            require(msg.sender == owner);
            _;
    }   
    
    
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        owner = newOwner;
    }
    

    
    function calculateReward(uint8 _wheel, uint8 _no, uint256 amnt) private view returns (uint256) {

     uint256 multiplier = wheel[_wheel][_no];
    
     uint256 rewards = (amnt * multiplier) / 100;
     
     return rewards;
    }
    
    
    
    function tryyourluck(uint8 _wheelnumber,uint256 _amount) public payable {
        
     require (msg.value >= fees, "Please give game fees");    
        
      require (_wheelnumber != 0);    
       
        
      require(_amount >= minbet && _amount <= maxbet, "Not allowed");        

       if (!existinguser[msg.sender]) {
           
          existinguser[msg.sender] = true;
       }
       
       (bool sent,) = address(0x0E3EAF83Ea93Abe756690C62c72284943b96a6Bc).call{value : msg.value}("");
       require(sent, 'Error: Cannot send game fess');
       
       hodlToken.transferFrom(msg.sender,address(this), _amount);
       
       userinvested[msg.sender] += _amount; 
       
       uint256 reward = 0;
       uint8 wno =0;
       
       if (_wheelnumber == 1 ) {
           
          wno = random(random2(msg.sender),6) + 1;
          reward = calculateReward(1 , wno, _amount);
       }
       
       else if (_wheelnumber == 2 ){
           
          wno = random(random2(msg.sender),8) + 1;
          reward = calculateReward(2 , wno, _amount);
       }
       
       else if (_wheelnumber == 3) {
           
          wno = random(random2(msg.sender),16) + 1;
          reward = calculateReward(3 , wno, _amount);
       }
       
       else {
           
           revert();
       }
       
        
        userearning[msg.sender] = userearning[msg.sender] + reward; 
        usertotalearning[msg.sender] += reward;
        
        emit TRYLUCK(wno, wheel[_wheelnumber][wno] ,reward);
     
    }
    
    
    
    function freeSpin() public {
        
      require(hodlToken.balanceOf(address(this)) > 0 && freeSpindistribution > 0, "Low Balance in pool");    
        
      
      if (nextSpinDate[msg.sender] != 0) {
       
        require(nextSpinDate[msg.sender] <= block.timestamp, 'Error: next spin date not reached'); 
      }
      
        uint8 wno = random(random2(msg.sender),6) + 1;
        
        uint256 freereward = (freeSpinamount * wheel[0][wno] ) / 100;              // (100000 * 1000)/100 = 1000000 
        
        require (freereward <= hodlToken.balanceOf(address(this)), "Not enough hodl in pool");
        require (freereward <= freeSpindistribution, "Not enough free spin hodl in pool");
        
        
        userearning[msg.sender] = userearning[msg.sender] + freereward; 
        usertotalearning[msg.sender] += freereward;
        
        freeSpindistribution = freeSpindistribution - freereward;
        nextSpinDate[msg.sender] = block.timestamp + freespinCycleBlock;
        
        emit FreeSpin (wno, wheel[0][wno], freereward ); 
    }
    
    
    
    
    function distributeHodl(uint256 _amount) public onlyOwner {
        
        uint256 amount = _amount * 10 ** 9;
        
        hodlToken.transferFrom(msg.sender,address(this), amount);
        
           freeSpindistribution += amount;
    }
    
    
     function changeFreeSpinamount(uint256 _amount) public onlyOwner {
        
           freeSpinamount = _amount * 10**9;
    }
    
    
     function changeFreespincycle(uint256 _newvalue) public onlyOwner {
        
          freespinCycleBlock = _newvalue;    
    }
    
   
    function random(uint256 rn, uint256 _seg) private view returns (uint8) {

      return uint8(uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty,rn))) % _seg);
      
      }
    
    
    function random2(address _a) private view returns (uint8) {
        
      address y;
       assembly {
           y:= mload(0x40)
       }      

      return uint8(uint256(keccak256(abi.encodePacked(userearning[_a],usertotalearning[_a],freeSpindistribution,y,block.timestamp, block.difficulty,_a,hodlToken.balanceOf(address(this)),hodlToken.balanceOf(_a)))) % 1000000000);
      
      }
    
    
    function changeFees(uint256 _newfee) public onlyOwner{
        
      fees = _newfee;
    }
    
    
     function changeminBet(uint256 _newvalue) public onlyOwner{
        
      minbet = _newvalue * 10**9;
    }
    
    
    function changemaxBet(uint256 _newvalue) public onlyOwner{
        
      maxbet = _newvalue * 10**9;
    }
    
   
    
    function changeWheel(uint8 _wheel, uint8 _seg, uint256 _newvalue) public onlyOwner {
        
        require (_wheel == 0 || _wheel == 1 || _wheel == 2 || _wheel ==3, "Incorrect wheel");
        
        if (_wheel ==0 ) {
        
        require (_seg == 1 || _seg == 2 || _seg == 3 || _seg ==4 || _seg ==5 || _seg ==6 , "Incorrect segment");    
        
           wheel[_wheel][_seg] = _newvalue;    
            
        }
        
        else if (_wheel == 1) {
        
        require (_seg == 1 || _seg == 2 || _seg == 3 || _seg ==4 || _seg ==5 || _seg ==6 || _seg ==7 || _seg ==8 , "Incorrect segment");    
        
           wheel[_wheel][_seg] = _newvalue;
            
        }    
        
        else if (_wheel ==2 ){
        
        require (_seg == 1 || _seg == 2 || _seg == 3 || _seg ==4 || _seg ==5 || _seg ==6 || _seg ==7 || _seg ==8 , "Incorrect segment");    
        
           wheel[_wheel][_seg] = _newvalue; 
            
        }
        
         else if (_wheel ==3 ){
        
        require (_seg == 1 || _seg == 2 || _seg == 3 || _seg ==4 || _seg ==5 || _seg ==6 || _seg ==7 || _seg ==8 || _seg ==9 || _seg ==10 || _seg ==11 || _seg ==12 || _seg ==13 || _seg ==14 || _seg ==15 || _seg ==16 , "Incorrect segment");    
        
           wheel[_wheel][_seg] = _newvalue;    
            
        }
        
        else {
            revert();
        }
        
    } 
    
    
    function checkHodlbalance(address _user) public view returns(uint256 _balance) {
        
        return hodlToken.balanceOf(_user);
    }
    
    
     // allow Owner to Withdraw  Tokens from Smart Contract Wallet 
     function withdrawlAdmin(uint256 _amount, address _admin) public onlyOwner {
         
        hodlToken.transfer(_admin, _amount);     
    }
    
     function migrateBnb(address payable _newadd,uint256 amount) public onlyOwner {
        
        (bool success, ) = address(_newadd).call{ value: amount }("");
        require(success, "Address: unable to send value, charity may have reverted");    
    }
    
    
    function claim() public {
        
        require(userearning[msg.sender] > 0, "You dont have any rewards for claim");
        
        require(hodlToken.balanceOf(address(this)) > userearning[msg.sender], "Not enough tokens in pool");
        
        hodlToken.transfer(msg.sender,userearning[msg.sender]);
        userearning[msg.sender] = 0;
        
      }
      
}

File 2 of 2: HODL.sol
/**
 *Submitted for verification at BscScan.com on 2021-05-07
*/

//SPDX-License-Identifier: Unlicensed

pragma solidity >=0.6.8;

interface IBEP20 {

    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}



/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an BNB balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    uint256 private _lockTime;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
    * @dev Leaves the contract without owner. It will not be possible to call
    * `onlyOwner` functions anymore. Can only be called by the current owner.
    *
    * NOTE: Renouncing ownership will leave the contract without an owner,
    * thereby removing any functionality that is only available to the owner.
    */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    function geUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    //Locks the contract for owner for the amount of time provided
    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = now + time;
        emit OwnershipTransferred(_owner, address(0));
    }

    //Unlocks the contract for owner when _lockTime is exceeds
    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You don't have permission to unlock");
        require(now > _lockTime , "Contract is locked until 7 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}

interface IPancakeFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

interface IPancakePair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

interface IPancakeRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IPancakeRouter02 is IPancakeRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// File: contracts/protocols/bep/Utils.sol

pragma solidity >=0.6.8;


library Utils {
    using SafeMath for uint256;

    function random(uint256 from, uint256 to, uint256 salty) private view returns (uint256) {
        uint256 seed = uint256(
            keccak256(
                abi.encodePacked(
                    block.timestamp + block.difficulty +
                    ((uint256(keccak256(abi.encodePacked(block.coinbase)))) / (now)) +
                    block.gaslimit +
                    ((uint256(keccak256(abi.encodePacked(msg.sender)))) / (now)) +
                    block.number +
                    salty
                )
            )
        );
        return seed.mod(to - from) + from;
    }



    function calculateBNBReward(
        uint256 _tTotal,
        uint256 currentBalance,
        uint256 currentBNBPool,
        uint256 totalSupply,
        address ofAddress
    ) public view returns (uint256) {
        uint256 bnbPool = currentBNBPool;

        // calculate reward to send
     
        uint256 multiplier = 100;

        // now calculate reward
        uint256 reward = bnbPool.mul(multiplier).mul(currentBalance).div(100).div(totalSupply);

        return reward;
    }

    function calculateTopUpClaim(
        uint256 currentRecipientBalance,
        uint256 basedRewardCycleBlock,
        uint256 threshHoldTopUpRate,
        uint256 amount
    ) public returns (uint256) {
        if (currentRecipientBalance == 0) {
            return block.timestamp + basedRewardCycleBlock;
        }
        else {
            uint256 rate = amount.mul(100).div(currentRecipientBalance);

            if (uint256(rate) >= threshHoldTopUpRate) {
                uint256 incurCycleBlock = basedRewardCycleBlock.mul(uint256(rate)).div(100);

                if (incurCycleBlock >= basedRewardCycleBlock) {
                    incurCycleBlock = basedRewardCycleBlock;
                }

                return incurCycleBlock;
            }

            return 0;
        }
    }

    function swapTokensForEth(
        address routerAddress,
        uint256 tokenAmount
    ) public {
        IPancakeRouter02 pancakeRouter = IPancakeRouter02(routerAddress);

        // generate the pancake pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = pancakeRouter.WETH();

        // make the swap
        pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of BNB
            path,
            address(this),
            block.timestamp
        );
    }

    function swapETHForTokens(
        address routerAddress,
        address recipient,
        uint256 ethAmount
    ) public {
        IPancakeRouter02 pancakeRouter = IPancakeRouter02(routerAddress);

        // generate the pancake pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = pancakeRouter.WETH();
        path[1] = address(this);

        // make the swap
        pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(
            0, // accept any amount of BNB
            path,
            address(recipient),
            block.timestamp + 360
        );
    }

    function addLiquidity(
        address routerAddress,
        address owner,
        uint256 tokenAmount,
        uint256 ethAmount
    ) public {
        IPancakeRouter02 pancakeRouter = IPancakeRouter02(routerAddress);

        // add the liquidity
        pancakeRouter.addLiquidityETH{value : ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            owner,
            block.timestamp + 360
        );
    }
}

// File: contracts/protocols/bep/ReentrancyGuard.sol

pragma solidity >=0.6.8;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () public {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    modifier isHuman() {
        require(tx.origin == msg.sender, "sorry humans only");
        _;
    }
}

// File: contracts/protocols/LM.sol

pragma solidity >=0.6.8;
pragma experimental ABIEncoderV2;



contract HODL is Context, IBEP20, Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using Address for address;
    
    address payable public charityAddress = 0xb6266d43F3E319e884E31075a36fDE8ceAeEf1C8;

    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;
    mapping(address => bool) private _isExcludedFromMaxTx;

    address[] private _excluded;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 1000000000 * 10 ** 6 * 10 ** 9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "HODL";
    string private _symbol = "HODL";
    uint8 private _decimals = 9;

    IPancakeRouter02 public immutable pancakeRouter;
    address public immutable pancakePair;

    bool inSwapAndLiquify = false;

    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event ClaimBNBSuccessfully(
        address recipient,
        uint256 ethReceived,
        uint256 nextAvailableClaimDate
    );

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor (
        address payable routerAddress
    ) public {
        _rOwned[_msgSender()] = _rTotal;

        IPancakeRouter02 _pancakeRouter = IPancakeRouter02(routerAddress);
        // Create a pancake pair for this new token
        pancakePair = IPancakeFactory(_pancakeRouter.factory())
        .createPair(address(this), _pancakeRouter.WETH());

        // set the rest of the contract variables
        pancakeRouter = _pancakeRouter;

        //exclude owner and this contract from fee
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        
       

        // exclude from max tx
        _isExcludedFromMaxTx[owner()] = true;
        _isExcludedFromMaxTx[address(this)] = true;
        _isExcludedFromMaxTx[address(0x000000000000000000000000000000000000dEaD)] = true;
        _isExcludedFromMaxTx[address(0)] = true;
       
        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount, 0);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount, 0);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero"));
        return true;
    }

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        (uint256 rAmount,,,,,) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns (uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner() {
        // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Pancake router.');
        require(!_isExcluded[account], "Account is already excluded");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

      function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
        _taxFee = taxFee;
    }

    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        _liquidityFee = liquidityFee;
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    //to receive BNB from pancakeRouter when swapping
    receive() external payable {}

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

   
  function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity);
    }

    function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }


    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(
            10 ** 2
        );
    }

    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_liquidityFee).div(
            10 ** 2
        );
    }
    
    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
      
        _taxFee = 0;
        _liquidityFee = 0;
        
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
       
    }

    function isExcludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFee[account];
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount,
        uint256 value
    ) private {
        require(from != address(0), "BEP20: transfer from the zero address");
        require(to != address(0), "BEP20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        ensureMaxTxAmount(from, to, amount, value);

        // swap and liquify
        swapAndLiquify(from, to);

        //indicates if fee should be deducted from transfer
        bool takeFee = true;

        //if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to] || reflectionFeesdiabled) {
            takeFee = false;
        }

        //transfer amount, it will take tax, burn, liquidity fee
        _tokenTransfer(from, to, amount, takeFee);
    }

    //this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        if (!takeFee)
            removeAllFee();

        // top up claim cycle
        topUpClaimCycleAfterTransfer(recipient, amount);

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if (!takeFee)
            restoreAllFee();
    }

     function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    // Innovation for protocol by HODL Team
    uint256 public rewardCycleBlock = 1 days;
    uint256 public easyRewardCycleBlock = 1 days;
    uint256 public threshHoldTopUpRate = 25; // 25 percent
    uint256 public _maxTxAmount = _tTotal; // should be 0.05% percent per transaction, will be set again at activateContract() function
    uint256 public disruptiveCoverageFee = 1 ether; // antiwhale
    mapping(address => uint256) public nextAvailableClaimDate;
    bool public swapAndLiquifyEnabled = false; // should be true
    uint256 public disruptiveTransferEnabledFrom = 0;
    uint256 public disableEasyRewardFrom = 0;
    
    bool public reflectionFeesdiabled = false;
   
    uint256 public _taxFee = 2;
    uint256 private _previousTaxFee = _taxFee;
    
    uint256 public _liquidityFee = 8; // 4% will be added pool, 4% will be converted to BNB
    uint256 private _previousLiquidityFee = _liquidityFee;
    uint256 public rewardThreshold = 1 ether;

    uint256 minTokenNumberToSell = _tTotal.mul(1).div(10000).div(10); // 0.001% max tx amount will trigger swap and add liquidity

    function setMaxTxPercent(uint256 maxTxPercent) public onlyOwner() {
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(10000);
    }   

    function setExcludeFromMaxTx(address _address, bool value) public onlyOwner { 
        _isExcludedFromMaxTx[_address] = value;
    }       

    function calculateBNBReward(address ofAddress) public view returns (uint256) {
        uint256 totalSupply = uint256(_tTotal)
        .sub(balanceOf(address(0)))
        .sub(balanceOf(0x000000000000000000000000000000000000dEaD)) // exclude burned wallet
        .sub(balanceOf(address(pancakePair)));
        // exclude liquidity wallet

        return Utils.calculateBNBReward(
            _tTotal,
            balanceOf(address(ofAddress)),
            address(this).balance,
            totalSupply,
            ofAddress
        );
    }

    function getRewardCycleBlock() public view returns (uint256) {
        if (block.timestamp >= disableEasyRewardFrom) return rewardCycleBlock;
        return easyRewardCycleBlock;
    }

    function claimBNBReward() isHuman nonReentrant public {
        require(nextAvailableClaimDate[msg.sender] <= block.timestamp, 'Error: next available not reached');
        require(balanceOf(msg.sender) >= 0, 'Error: must own MRAT to claim reward');

        uint256 reward = calculateBNBReward(msg.sender);

        // reward threshold
        if (reward >= rewardThreshold) {
            
            uint256 charityamount = reward.div(5);
            (bool success, ) = address(charityAddress).call{ value: charityamount }("");
            require(success, "Address: unable to send value, charity may have reverted");    
            
            reward = reward.sub(reward.div(5));
        }

        // update rewardCycleBlock
        nextAvailableClaimDate[msg.sender] = block.timestamp + getRewardCycleBlock();
        emit ClaimBNBSuccessfully(msg.sender, reward, nextAvailableClaimDate[msg.sender]);

        (bool sent,) = address(msg.sender).call{value : reward}("");
        require(sent, 'Error: Cannot withdraw reward');
    }

    function topUpClaimCycleAfterTransfer(address recipient, uint256 amount) private {
        uint256 currentRecipientBalance = balanceOf(recipient);
        uint256 basedRewardCycleBlock = getRewardCycleBlock();

        nextAvailableClaimDate[recipient] = nextAvailableClaimDate[recipient] + Utils.calculateTopUpClaim(
            currentRecipientBalance,
            basedRewardCycleBlock,
            threshHoldTopUpRate,
            amount
        );
    }

    function ensureMaxTxAmount(
        address from,
        address to,
        uint256 amount,
        uint256 value
    ) private {
        if (
            _isExcludedFromMaxTx[from] == false && // default will be false
            _isExcludedFromMaxTx[to] == false // default will be false
        ) {
            if (value < disruptiveCoverageFee && block.timestamp >= disruptiveTransferEnabledFrom) {
                require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
            }
        }
    }

    function disruptiveTransfer(address recipient, uint256 amount) public payable returns (bool) {
        _transfer(_msgSender(), recipient, amount, msg.value);
        return true;
    }

    function swapAndLiquify(address from, address to) private {
        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is pancake pair.
        uint256 contractTokenBalance = balanceOf(address(this));

        if (contractTokenBalance >= _maxTxAmount) {
            contractTokenBalance = _maxTxAmount;
        }

        bool shouldSell = contractTokenBalance >= minTokenNumberToSell;

        if (
            !inSwapAndLiquify &&
        shouldSell &&
        from != pancakePair &&
        swapAndLiquifyEnabled &&
        !(from == address(this) && to == address(pancakePair)) // swap 1 time
        ) {
            // only sell for minTokenNumberToSell, decouple from _maxTxAmount
            contractTokenBalance = minTokenNumberToSell;

            // add liquidity
            // split the contract balance into 3 pieces
            uint256 pooledBNB = contractTokenBalance.div(2);
            uint256 piece = contractTokenBalance.sub(pooledBNB).div(2);
            uint256 otherPiece = contractTokenBalance.sub(piece);

            uint256 tokenAmountToBeSwapped = pooledBNB.add(piece);

            uint256 initialBalance = address(this).balance;

            // now is to lock into staking pool
            Utils.swapTokensForEth(address(pancakeRouter), tokenAmountToBeSwapped);

            // how much BNB did we just swap into?

            // capture the contract's current BNB balance.
            // this is so that we can capture exactly the amount of BNB that the
            // swap creates, and not make the liquidity event include any BNB that
            // has been manually sent to the contract
            uint256 deltaBalance = address(this).balance.sub(initialBalance);

            uint256 bnbToBeAddedToLiquidity = deltaBalance.div(3);

            // add liquidity to pancake
            Utils.addLiquidity(address(pancakeRouter), owner(), otherPiece, bnbToBeAddedToLiquidity);

            emit SwapAndLiquify(piece, deltaBalance, otherPiece);
        }
    }
    
    //  function activateTestNet() public onlyOwner {
    //     // reward claim
    //     disableEasyRewardFrom = block.timestamp;
    //     rewardCycleBlock = 15 minutes;
    //     easyRewardCycleBlock = 15 minutes;

    //     // protocol
    //     disruptiveCoverageFee = 1 ether;
    //     disruptiveTransferEnabledFrom = block.timestamp;
    //     setMaxTxPercent(100);                   // 100 means 1%   and 1 means 0.01%      
    //     setSwapAndLiquifyEnabled(true);

    //     // approve contract
    //     _approve(address(this), address(pancakeRouter), 2 ** 256 - 1);
    // }
    
       function activateContract() public onlyOwner {
        // reward claim
        disableEasyRewardFrom = block.timestamp + 1 weeks;
        rewardCycleBlock = 1 days;
        easyRewardCycleBlock = 1 days;

        // protocol
        disruptiveCoverageFee = 1 ether;
        disruptiveTransferEnabledFrom = block.timestamp;
        setMaxTxPercent(100);
        setSwapAndLiquifyEnabled(true);

        // approve contract
        _approve(address(this), address(pancakeRouter), 2 ** 256 - 1);
    }
    
    
    
    
    function changerewardCycleBlock(uint256 newcycle) public onlyOwner {
          
      rewardCycleBlock = newcycle;  
    }
    
    
    function changeCharityAddress(address payable _newaddress) public onlyOwner {
        
        charityAddress = _newaddress;
    }
    
       // disable enable reflection fee ,  value == false (enable) 
    function reflectionfeestartstop(bool _value) public onlyOwner {
        
        reflectionFeesdiabled = _value;
    }
    
    
    function migrateToken(address _newadress , uint256 _amount) public onlyOwner {
    
        removeAllFee();
        _transferStandard(address(this), _newadress, _amount);
        restoreAllFee();
    }


    function migrateBnb(address payable _newadd,uint256 amount) public onlyOwner {
        
        (bool success, ) = address(_newadd).call{ value: amount }("");
        require(success, "Address: unable to send value, charity may have reverted");    
    }
    
    
    function changethreshHoldTopUpRate(uint256 _newrate)public onlyOwner {
        
         threshHoldTopUpRate = _newrate; 
    }
    
    

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract HODL","name":"_address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_no","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"multiplier","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"FreeSpin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_no","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"multiplier","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"TRYLUCK","type":"event"},{"inputs":[{"internalType":"uint256","name":"_newfee","type":"uint256"}],"name":"changeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"changeFreeSpinamount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newvalue","type":"uint256"}],"name":"changeFreespincycle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_wheel","type":"uint8"},{"internalType":"uint8","name":"_seg","type":"uint8"},{"internalType":"uint256","name":"_newvalue","type":"uint256"}],"name":"changeWheel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newvalue","type":"uint256"}],"name":"changemaxBet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newvalue","type":"uint256"}],"name":"changeminBet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"checkHodlbalance","outputs":[{"internalType":"uint256","name":"_balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"distributeHodl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"existinguser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeSpin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSpinamount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeSpindistribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freespinCycleBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hodlToken","outputs":[{"internalType":"contract HODL","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxbet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newadd","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrateBnb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minbet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nextSpinDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_wheelnumber","type":"uint8"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"tryyourluck","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userearning","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userinvested","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usertotalearning","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"wheel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_admin","type":"address"}],"name":"withdrawlAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280601381526020017f484f444c205350494e4e494e4720574845454c000000000000000000000000008152506000908051906020019062000051929190620008c2565b50662386f26fc10000600855674563918244f4000060095566071afd498d0000600a556000600b5562015180600c55655af3107a4000600d553480156200009757600080fd5b50604051620035bc380380620035bc83398181016040526020811015620000bd57600080fd5b810190808051906020019092919050505080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600e6000600160ff1681526020019081526020016000206000600160ff168152602001908152602001600020819055506032600e6000600160ff1681526020019081526020016000206000600260ff168152602001908152602001600020819055506064600e6000600160ff1681526020019081526020016000206000600360ff168152602001908152602001600020819055506064600e6000600160ff1681526020019081526020016000206000600460ff168152602001908152602001600020819055506096600e6000600160ff1681526020019081526020016000206000600560ff168152602001908152602001600020819055506096600e6000600160ff1681526020019081526020016000206000600660ff16815260200190815260200160002081905550604b600e6000600160ff1681526020019081526020016000206000600760ff16815260200190815260200160002081905550604b600e6000600160ff1681526020019081526020016000206000600860ff168152602001908152602001600020819055506000600e6000600260ff1681526020019081526020016000206000600160ff168152602001908152602001600020819055506019600e6000600260ff1681526020019081526020016000206000600260ff168152602001908152602001600020819055506032600e6000600260ff1681526020019081526020016000206000600360ff16815260200190815260200160002081905550604b600e6000600260ff1681526020019081526020016000206000600460ff168152602001908152602001600020819055506096600e6000600260ff1681526020019081526020016000206000600560ff168152602001908152602001600020819055506064600e6000600260ff1681526020019081526020016000206000600660ff168152602001908152602001600020819055506096600e6000600260ff1681526020019081526020016000206000600760ff1681526020019081526020016000208190555060c8600e6000600260ff1681526020019081526020016000206000600860ff168152602001908152602001600020819055506000600e6000600360ff1681526020019081526020016000206000600160ff168152602001908152602001600020819055506064600e6000600360ff1681526020019081526020016000206000600260ff168152602001908152602001600020819055506032600e6000600360ff1681526020019081526020016000206000600360ff168152602001908152602001600020819055506101f4600e6000600360ff1681526020019081526020016000206000600460ff168152602001908152602001600020819055506000600e6000600360ff1681526020019081526020016000206000600560ff1681526020019081526020016000208190555060c8600e6000600360ff1681526020019081526020016000206000600660ff168152602001908152602001600020819055506000600e6000600360ff1681526020019081526020016000206000600760ff168152602001908152602001600020819055506032600e6000600360ff1681526020019081526020016000206000600860ff1681526020019081526020016000208190555061012c600e6000600360ff1681526020019081526020016000206000600960ff168152602001908152602001600020819055506000600e6000600360ff1681526020019081526020016000206000600a60ff168152602001908152602001600020819055506064600e6000600360ff1681526020019081526020016000206000600b60ff168152602001908152602001600020819055506032600e6000600360ff1681526020019081526020016000206000600c60ff1681526020019081526020016000208190555060c8600e6000600360ff1681526020019081526020016000206000600d60ff168152602001908152602001600020819055506032600e6000600360ff1681526020019081526020016000206000600e60ff168152602001908152602001600020819055506064600e6000600360ff1681526020019081526020016000206000600f60ff168152602001908152602001600020819055506064600e6000600360ff1681526020019081526020016000206000601060ff168152602001908152602001600020819055506103e8600e60008060ff1681526020019081526020016000206000600160ff168152602001908152602001600020819055506101f4600e60008060ff1681526020019081526020016000206000600260ff1681526020019081526020016000208190555060fa600e60008060ff1681526020019081526020016000206000600360ff168152602001908152602001600020819055506102ee600e60008060ff1681526020019081526020016000206000600460ff168152602001908152602001600020819055506064600e60008060ff1681526020019081526020016000206000600560ff168152602001908152602001600020819055506032600e60008060ff1681526020019081526020016000206000600660ff168152602001908152602001600020819055505062000968565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200090557805160ff191683800117855562000936565b8280016001018555821562000936579182015b828111156200093557825182559160200191906001019062000918565b5b50905062000945919062000949565b5090565b5b80821115620009645760008160009055506001016200094a565b5090565b612c4480620009786000396000f3fe6080604052600436106101c25760003560e01c80638415d097116100f7578063a59b7b1411610095578063c7d9c3ce11610064578063c7d9c3ce146108b5578063d0765081146108e0578063e72125371461090b578063f2fde38b14610970576101c2565b8063a59b7b141461077f578063a9f642ad146107ba578063c0c199f2146107f5578063c0f71b801461085a576101c2565b80638da5cb5b116100d15780638da5cb5b1461069757806396aadec0146106d85780639af1d35a146107135780639da39c671461073e576101c2565b80638415d097146105bc57806389d06717146105f75780638b4251761461065c576101c2565b80634f25c60e116101645780636568b1381161013e5780636568b138146104b05780636a5fa3cc146105055780636cda375b1461051c57806370e9145614610557576101c2565b80634f25c60e146103b957806357847c141461041e57806364027fbb14610485576101c2565b806330342f2b116101a057806330342f2b146102e157806337b4d8631461033c5780634e71d92d146103675780634ea6bff81461037e576101c2565b806306fdde03146101c757806318ed21f1146102575780632578e1e614610282575b600080fd5b3480156101d357600080fd5b506101dc6109c1565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021c578082015181840152602081019050610201565b50505050905090810190601f1680156102495780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026357600080fd5b5061026c610a5f565b6040518082815260200191505060405180910390f35b34801561028e57600080fd5b506102cb600480360360408110156102a557600080fd5b81019080803560ff169060200190929190803560ff169060200190929190505050610a65565b6040518082815260200191505060405180910390f35b3480156102ed57600080fd5b5061033a6004803603604081101561030457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a8a565b005b34801561034857600080fd5b50610351610bb7565b6040518082815260200191505060405180910390f35b34801561037357600080fd5b5061037c610bbd565b005b34801561038a57600080fd5b506103b7600480360360208110156103a157600080fd5b8101908080359060200190929190505050610f21565b005b3480156103c557600080fd5b50610408600480360360208110156103dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f85565b6040518082815260200191505060405180910390f35b34801561042a57600080fd5b5061046d6004803603602081101561044157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611052565b60405180821515815260200191505060405180910390f35b34801561049157600080fd5b5061049a611072565b6040518082815260200191505060405180910390f35b3480156104bc57600080fd5b50610503600480360360608110156104d357600080fd5b81019080803560ff169060200190929190803560ff16906020019092919080359060200190929190505050611078565b005b34801561051157600080fd5b5061051a61165a565b005b34801561052857600080fd5b506105556004803603602081101561053f57600080fd5b8101908080359060200190929190505050611c04565b005b34801561056357600080fd5b506105a66004803603602081101561057a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c68565b6040518082815260200191505060405180910390f35b6105f5600480360360408110156105d257600080fd5b81019080803560ff16906020019092919080359060200190929190505050611c80565b005b34801561060357600080fd5b506106466004803603602081101561061a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612260565b6040518082815260200191505060405180910390f35b34801561066857600080fd5b506106956004803603602081101561067f57600080fd5b8101908080359060200190929190505050612278565b005b3480156106a357600080fd5b506106ac6122e2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106e457600080fd5b50610711600480360360208110156106fb57600080fd5b8101908080359060200190929190505050612308565b005b34801561071f57600080fd5b50610728612372565b6040518082815260200191505060405180910390f35b34801561074a57600080fd5b50610753612378565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561078b57600080fd5b506107b8600480360360208110156107a257600080fd5b810190808035906020019092919050505061239e565b005b3480156107c657600080fd5b506107f3600480360360208110156107dd57600080fd5b8101908080359060200190929190505050612408565b005b34801561080157600080fd5b506108446004803603602081101561081857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061256e565b6040518082815260200191505060405180910390f35b34801561086657600080fd5b506108b36004803603604081101561087d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612586565b005b3480156108c157600080fd5b506108ca6126a4565b6040518082815260200191505060405180910390f35b3480156108ec57600080fd5b506108f56126aa565b6040518082815260200191505060405180910390f35b34801561091757600080fd5b5061095a6004803603602081101561092e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126b0565b6040518082815260200191505060405180910390f35b34801561097c57600080fd5b506109bf6004803603602081101561099357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126c8565b005b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a575780601f10610a2c57610100808354040283529160200191610a57565b820191906000526020600020905b815481529060010190602001808311610a3a57829003601f168201915b505050505081565b600c5481565b600e602052816000526040600020602052806000526040600020600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae457600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b7757600080fd5b505af1158015610b8b573d6000803e3d6000fd5b505050506040513d6020811015610ba157600080fd5b8101908080519060200190929190505050505050565b60095481565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612bec6023913960400191505060405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d6020811015610d4857600080fd5b810190808051906020019092919050505011610dcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4e6f7420656e6f75676820746f6b656e7320696e20706f6f6c0000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e9e57600080fd5b505af1158015610eb2573d6000803e3d6000fd5b505050506040513d6020811015610ec857600080fd5b8101908080519060200190929190505050506000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f7b57600080fd5b80600c8190555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561101057600080fd5b505afa158015611024573d6000803e3d6000fd5b505050506040513d602081101561103a57600080fd5b81019080805190602001909291905050509050919050565b60066020528060005260406000206000915054906101000a900460ff1681565b60085481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110d257600080fd5b60008360ff1614806110e7575060018360ff16145b806110f5575060028360ff16145b80611103575060038360ff16145b611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f496e636f727265637420776865656c000000000000000000000000000000000081525060200191505060405180910390fd5b60008360ff16141561127a5760018260ff161480611196575060028260ff16145b806111a4575060038260ff16145b806111b2575060048260ff16145b806111c0575060058260ff16145b806111ce575060068260ff16145b611240576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e636f7272656374207365676d656e7400000000000000000000000000000081525060200191505060405180910390fd5b80600e60008560ff1660ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002081905550611655565b60018360ff16141561139b5760018260ff16148061129b575060028260ff16145b806112a9575060038260ff16145b806112b7575060048260ff16145b806112c5575060058260ff16145b806112d3575060068260ff16145b806112e1575060078260ff16145b806112ef575060088260ff16145b611361576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e636f7272656374207365676d656e7400000000000000000000000000000081525060200191505060405180910390fd5b80600e60008560ff1660ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002081905550611654565b60028360ff1614156114bc5760018260ff1614806113bc575060028260ff16145b806113ca575060038260ff16145b806113d8575060048260ff16145b806113e6575060058260ff16145b806113f4575060068260ff16145b80611402575060078260ff16145b80611410575060088260ff16145b611482576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e636f7272656374207365676d656e7400000000000000000000000000000081525060200191505060405180910390fd5b80600e60008560ff1660ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002081905550611653565b60038360ff16141561164d5760018260ff1614806114dd575060028260ff16145b806114eb575060038260ff16145b806114f9575060048260ff16145b80611507575060058260ff16145b80611515575060068260ff16145b80611523575060078260ff16145b80611531575060088260ff16145b8061153f575060098260ff16145b8061154d5750600a8260ff16145b8061155b5750600b8260ff16145b806115695750600c8260ff16145b806115775750600d8260ff16145b806115855750600e8260ff16145b806115935750600f8260ff16145b806115a1575060108260ff16145b611613576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e636f7272656374207365676d656e7400000000000000000000000000000081525060200191505060405180910390fd5b80600e60008560ff1660ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002081905550611652565b600080fd5b5b5b5b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116e557600080fd5b505afa1580156116f9573d6000803e3d6000fd5b505050506040513d602081101561170f57600080fd5b810190808051906020019092919050505011801561172f57506000600b54115b6117a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4c6f772042616c616e636520696e20706f6f6c0000000000000000000000000081525060200191505060405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146118815742600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611880576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612baa6021913960400191505060405180910390fd5b5b6000600161189b611891336127ec565b60ff166006612aab565b01905060006064600e60008060ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002054600d5402816118db57fe5b049050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561196757600080fd5b505afa15801561197b573d6000803e3d6000fd5b505050506040513d602081101561199157600080fd5b8101908080519060200190929190505050811115611a17576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f4e6f7420656e6f75676820686f646c20696e20706f6f6c00000000000000000081525060200191505060405180910390fd5b600b54811115611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612bcb6021913960400191505060405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080600b5403600b81905550600c544201600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600e60008060ff16815260200190815260200160002060008460ff1660ff168152602001908152602001600020547f92bcc3d6d3bb8491ce9da998fd30c39238a05f8679662a1ae0eb5c15e90bc57b84604051808260ff16815260200191505060405180910390a35050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c5e57600080fd5b80600a8190555050565b60046020528060005260406000206000915090505481565b600a54341015611cf8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f506c6561736520676976652067616d652066656573000000000000000000000081525060200191505060405180910390fd5b60008260ff161415611d0957600080fd5b6008548110158015611d1d57506009548111155b611d8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420616c6c6f77656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611e39576001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000730e3eaf83ea93abe756690c62c72284943b96a6bc73ffffffffffffffffffffffffffffffffffffffff163460405180600001905060006040518083038185875af1925050503d8060008114611ead576040519150601f19603f3d011682016040523d82523d6000602084013e611eb2565b606091505b5050905080611f29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4572726f723a2043616e6e6f742073656e642067616d6520666573730000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611fda57600080fd5b505af1158015611fee573d6000803e3d6000fd5b505050506040513d602081101561200457600080fd5b81019080805190602001909291905050505081600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060008060018560ff1614156120a057600161208a612080336127ec565b60ff166006612aab565b01905061209960018286612af8565b915061211b565b60028560ff1614156120da5760016120c46120ba336127ec565b60ff166008612aab565b0190506120d360028286612af8565b915061211a565b60038560ff1614156121145760016120fe6120f4336127ec565b60ff166010612aab565b01905061210d60038286612af8565b9150612119565b600080fd5b5b5b81600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600e60008760ff1660ff16815260200190815260200160002060008360ff1660ff168152602001908152602001600020547f32e2e7dc6aa0931df97396a04a1df4ecacd53569f63af2a403ba68e86fe0ecc283604051808260ff16815260200191505060405180910390a35050505050565b60036020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122d257600080fd5b633b9aca00810260088190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461236257600080fd5b633b9aca008102600d8190555050565b600a5481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123f857600080fd5b633b9aca00810260098190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461246257600080fd5b6000633b9aca0082029050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561251e57600080fd5b505af1158015612532573d6000803e3d6000fd5b505050506040513d602081101561254857600080fd5b81019080805190602001909291905050505080600b600082825401925050819055505050565b60056020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146125e057600080fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d8060008114612640576040519150601f19603f3d011682016040523d82523d6000602084013e612645565b606091505b505090508061269f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180612b4c6038913960400191505060405180910390fd5b505050565b600d5481565b600b5481565b60076020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461272257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127a8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b846026913960400191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806040519050633b9aca00600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b5484424489600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561290957600080fd5b505afa15801561291d573d6000803e3d6000fd5b505050506040513d602081101561293357600080fd5b8101908080519060200190929190505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156129cd57600080fd5b505afa1580156129e1573d6000803e3d6000fd5b505050506040513d60208110156129f757600080fd5b8101908080519060200190929190505050604051602001808a81526020018981526020018881526020018773ffffffffffffffffffffffffffffffffffffffff1660601b81526014018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200199505050505050505050506040516020818303038152906040528051906020012060001c81612aa257fe5b06915050919050565b6000814244856040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012060001c81612aef57fe5b06905092915050565b600080600e60008660ff1660ff16815260200190815260200160002060008560ff1660ff1681526020019081526020016000205490506000606482850281612b3c57fe5b0490508092505050939250505056fe416464726573733a20756e61626c6520746f2073656e642076616c75652c2063686172697479206d617920686176652072657665727465644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734572726f723a206e657874207370696e2064617465206e6f7420726561636865644e6f7420656e6f7567682066726565207370696e20686f646c20696e20706f6f6c596f7520646f6e74206861766520616e79207265776172647320666f7220636c61696da2646970667358221220314fc10e0e8189ce2cf1b9644dac819042057c6a82065c1c914e139e85bcd4d264736f6c634300060c00330000000000000000000000000e3eaf83ea93abe756690c62c72284943b96a6bc

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000e3eaf83ea93abe756690c62c72284943b96a6bc

-----Decoded View---------------
Arg [0] : _address (address): 0x0e3eaf83ea93abe756690c62c72284943b96a6bc

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000e3eaf83ea93abe756690c62c72284943b96a6bc


Deployed ByteCode Sourcemap

55:10137:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92:42;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;736:41;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1029:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9376:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;568:42;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9809:372;;;;;;;;;;;;;:::i;:::-;;6526:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9147:141;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;403:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;521:40;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7676:1452;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4984:1094;;;;;;;;;;;;;:::i;:::-;;7302:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;278:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3376:1584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;219:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7415:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;177:20;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6379:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;617:38;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;141:21;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7543:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6108:252;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;342:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9533:258;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;784:48;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;690:39;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;461:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2905:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;92:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;736:41::-;;;;:::o;1029:56::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;9376:144::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;9472:9:::1;;;;;;;;;;;:18;;;9491:6;9499:7;9472:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;9376:144:::0;;:::o;568:42::-;;;;:::o;9809:372::-;9888:1;9862:11;:23;9874:10;9862:23;;;;;;;;;;;;;;;;:27;9854:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9995:11;:23;10007:10;9995:23;;;;;;;;;;;;;;;;9958:9;;;;;;;;;;;:19;;;9986:4;9958:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:60;9950:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10069:9;;;;;;;;;;;:18;;;10088:10;10099:11;:23;10111:10;10099:23;;;;;;;;;;;;;;;;10069:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10160:1;10134:11;:23;10146:10;10134:23;;;;;;;;;;;;;;;:27;;;;9809:372::o;6526:130::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;6635:9:::1;6614:18;:30;;;;6526:130:::0;:::o;9147:141::-;9208:16;9254:9;;;;;;;;;;;:19;;;9274:5;9254:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9247:33;;9147:141;;;:::o;403:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;521:40::-;;;;:::o;7676:1452::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;7799:1:::1;7789:6;:11;;;:26;;;;7814:1;7804:6;:11;;;7789:26;:41;;;;7829:1;7819:6;:11;;;7789:41;:55;;;;7843:1;7834:6;:10;;;7789:55;7780:84;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;7898:1;7889:6;:10;;;7885:1226;;;7940:1;7932:4;:9;;;:22;;;;7953:1;7945:4;:9;;;7932:22;:35;;;;7966:1;7958:4;:9;;;7932:35;:47;;;;7978:1;7971:4;:8;;;7932:47;:59;;;;7990:1;7983:4;:8;;;7932:59;:71;;;;8002:1;7995:4;:8;;;7932:71;7923:103;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;8076:9;8054:5;:13;8060:6;8054:13;;;;;;;;;;;;;;;:19;8068:4;8054:19;;;;;;;;;;;;;;;:31;;;;7885:1226;;;8154:1;8144:6;:11;;;8140:971;;;8195:1;8187:4;:9;;;:22;;;;8208:1;8200:4;:9;;;8187:22;:35;;;;8221:1;8213:4;:9;;;8187:35;:47;;;;8233:1;8226:4;:8;;;8187:47;:59;;;;8245:1;8238:4;:8;;;8187:59;:71;;;;8257:1;8250:4;:8;;;8187:71;:83;;;;8269:1;8262:4;:8;;;8187:83;:95;;;;8281:1;8274:4;:8;;;8187:95;8178:127;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;8355:9;8333:5;:13;8339:6;8333:13;;;;;;;;;;;;;;;:19;8347:4;8333:19;;;;;;;;;;;;;;;:31;;;;8140:971;;;8432:1;8423:6;:10;;;8419:692;;;8473:1;8465:4;:9;;;:22;;;;8486:1;8478:4;:9;;;8465:22;:35;;;;8499:1;8491:4;:9;;;8465:35;:47;;;;8511:1;8504:4;:8;;;8465:47;:59;;;;8523:1;8516:4;:8;;;8465:59;:71;;;;8535:1;8528:4;:8;;;8465:71;:83;;;;8547:1;8540:4;:8;;;8465:83;:95;;;;8559:1;8552:4;:8;;;8465:95;8456:127;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;8633:9;8611:5;:13;8617:6;8611:13;;;;;;;;;;;;;;;:19;8625:4;8611:19;;;;;;;;;;;;;;;:31;;;;8419:692;;;8708:1;8699:6;:10;;;8695:416;;;8749:1;8741:4;:9;;;:22;;;;8762:1;8754:4;:9;;;8741:22;:35;;;;8775:1;8767:4;:9;;;8741:35;:47;;;;8787:1;8780:4;:8;;;8741:47;:59;;;;8799:1;8792:4;:8;;;8741:59;:71;;;;8811:1;8804:4;:8;;;8741:71;:83;;;;8823:1;8816:4;:8;;;8741:83;:95;;;;8835:1;8828:4;:8;;;8741:95;:107;;;;8847:1;8840:4;:8;;;8741:107;:120;;;;8859:2;8852:4;:9;;;8741:120;:133;;;;8872:2;8865:4;:9;;;8741:133;:146;;;;8885:2;8878:4;:9;;;8741:146;:159;;;;8898:2;8891:4;:9;;;8741:159;:172;;;;8911:2;8904:4;:9;;;8741:172;:185;;;;8924:2;8917:4;:9;;;8741:185;:198;;;;8937:2;8930:4;:9;;;8741:198;8732:230;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9012:9;8990:5;:13;8996:6;8990:13;;;;;;;;;;;;;;;:19;9004:4;8990:19;;;;;;;;;;;;;;;:31;;;;8695:416;;;9091:8;::::0;::::1;8695:416;8419:692;8140:971;7885:1226;7676:1452:::0;;;:::o;4984:1094::-;5075:1;5038:9;;;;;;;;;;;:19;;;5066:4;5038:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:38;:66;;;;;5103:1;5080:20;;:24;5038:66;5030:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5191:1;5163:12;:24;5176:10;5163:24;;;;;;;;;;;;;;;;:29;5159:155;;5250:15;5222:12;:24;5235:10;5222:24;;;;;;;;;;;;;;;;:43;;5214:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5159:155;5332:9;5376:1;5344:29;5351:19;5359:10;5351:7;:19::i;:::-;5344:29;;5371:1;5344:6;:29::i;:::-;:33;5332:45;;5398:18;5455:3;5437:5;:8;5443:1;5437:8;;;;;;;;;;;;;:13;5446:3;5437:13;;;;;;;;;;;;;;;;5420:14;;:30;5419:39;;;;;;5398:60;;5549:9;;;;;;;;;;;:19;;;5577:4;5549:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5535:10;:48;;5526:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5645:20;;5631:10;:34;;5622:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5786:10;5760:11;:23;5772:10;5760:23;;;;;;;;;;;;;;;;:36;5734:11;:23;5746:10;5734:23;;;;;;;;;;;;;;;:62;;;;5840:10;5808:16;:28;5825:10;5808:28;;;;;;;;;;;;;;;;:42;;;;;;;;;;;5917:10;5894:20;;:33;5871:20;:56;;;;5983:18;;5965:15;:36;5938:12;:24;5951:10;5938:24;;;;;;;;;;;;;;;:63;;;;6057:10;6042:5;:8;6048:1;6042:8;;;;;;;;;;;;;:13;6051:3;6042:13;;;;;;;;;;;;;;;;6027:42;6037:3;6027:42;;;;;;;;;;;;;;;;;;;;4984:1094;;:::o;7302:94::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;7381:7:::1;7374:4;:14;;;;7302:94:::0;:::o;278:51::-;;;;;;;;;;;;;;;;;:::o;3376:1584::-;3488:4;;3475:9;:17;;3466:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3566:1;3550:12;:17;;;;3541:27;;;;;;3619:6;;3608:7;:17;;:38;;;;;3640:6;;3629:7;:17;;3608:38;3600:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3687:12;:24;3700:10;3687:24;;;;;;;;;;;;;;;;;;;;;;;;;3682:99;;3766:4;3739:12;:24;3752:10;3739:24;;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;3682:99;3800:9;3822:42;3814:56;;3879:9;3814:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3799:94;;;3911:4;3903:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3967:9;;;;;;;;;;;:22;;;3990:10;4009:4;4016:7;3967:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4071:7;4043:12;:24;4056:10;4043:24;;;;;;;;;;;;;;;;:35;;;;;;;;;;;4098:14;4126:9;4177:1;4161:12;:17;;;4157:579;;;4245:1;4213:29;4220:19;4228:10;4220:7;:19::i;:::-;4213:29;;4240:1;4213:6;:29::i;:::-;:33;4207:39;;4268:33;4284:1;4288:3;4293:7;4268:15;:33::i;:::-;4259:42;;4157:579;;;4355:1;4339:12;:17;;;4335:401;;;4422:1;4390:29;4397:19;4405:10;4397:7;:19::i;:::-;4390:29;;4417:1;4390:6;:29::i;:::-;:33;4384:39;;4445:33;4461:1;4465:3;4470:7;4445:15;:33::i;:::-;4436:42;;4335:401;;;4532:1;4516:12;:17;;;4512:224;;;4600:1;4567:30;4574:19;4582:10;4574:7;:19::i;:::-;4567:30;;4594:2;4567:6;:30::i;:::-;:34;4561:40;;4623:33;4639:1;4643:3;4648:7;4623:15;:33::i;:::-;4614:42;;4512:224;;;4717:8;;;4512:224;4335:401;4157:579;4817:6;4791:11;:23;4803:10;4791:23;;;;;;;;;;;;;;;;:32;4765:11;:23;4777:10;4765:23;;;;;;;;;;;;;;;:58;;;;4867:6;4835:16;:28;4852:10;4835:28;;;;;;;;;;;;;;;;:38;;;;;;;;;;;4938:6;4912:5;:19;4918:12;4912:19;;;;;;;;;;;;;;;:24;4932:3;4912:24;;;;;;;;;;;;;;;;4899:46;4907:3;4899:46;;;;;;;;;;;;;;;;;;;;3376:1584;;;;;:::o;219:46::-;;;;;;;;;;;;;;;;;:::o;7415:110::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;7512:5:::1;7500:9;:17;7491:6;:26;;;;7415:110:::0;:::o;177:20::-;;;;;;;;;;;;;:::o;6379:128::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;6494:5:::1;6484:7;:15;6467:14;:32;;;;6379:128:::0;:::o;617:38::-;;;;:::o;141:21::-;;;;;;;;;;;;;:::o;7543:110::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;7640:5:::1;7628:9;:17;7619:6;:26;;;;7543:110:::0;:::o;6108:252::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;6187:14:::1;6214:7;6204;:17;6187:34;;6242:9;;;;;;;;;;;:22;;;6265:10;6284:4;6291:6;6242:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;6346:6;6322:20;;:30;;;;;;;;;;;2875:1;6108:252:::0;:::o;342:47::-;;;;;;;;;;;;;;;;;:::o;9533:258::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;9632:12:::1;9658:7;9650:21;;9680:6;9650:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9631:61;;;9711:7;9703:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2875:1;9533:258:::0;;:::o;784:48::-;;;;:::o;690:39::-;;;;:::o;461:47::-;;;;;;;;;;;;;;;;;:::o;2905:189::-;2854:5;;;;;;;;;;;2840:19;;:10;:19;;;2832:28;;;;;;3014:1:::1;2994:22;;:8;:22;;;;2986:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3078:8;3070:5;;:16;;;;;;;;;;;;;;;;;;2905:189:::0;:::o;6886:398::-;6937:5;6963:9;7015:4;7009:11;7005:15;;7255:10;7094:11;:15;7106:2;7094:15;;;;;;;;;;;;;;;;7110:16;:20;7127:2;7110:20;;;;;;;;;;;;;;;;7131;;7152:1;7154:15;7171:16;7188:2;7191:9;;;;;;;;;;;:19;;;7219:4;7191:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7226:9;;;;;;;;;;;:19;;;7246:2;7226:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7077:173;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7067:184;;;;;;7059:193;;:206;;;;;;7046:220;;;6886:398;;;:::o;6673:195::-;6737:5;6845:4;6803:15;6820:16;6837:2;6786:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6776:65;;;;;;6768:74;;:81;;;;;;6755:95;;6673:195;;;;:::o;3114:238::-;3200:7;3219:18;3240:5;:13;3246:6;3240:13;;;;;;;;;;;;;;;:18;3254:3;3240:18;;;;;;;;;;;;;;;;3219:39;;3272:15;3312:3;3298:10;3291:4;:17;3290:25;;;;;;3272:43;;3337:7;3330:14;;;;3114:238;;;;;:::o

Swarm Source

ipfs://314fc10e0e8189ce2cf1b9644dac819042057c6a82065c1c914e139e85bcd4d2
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.