ETH Price: $3,213.73 (-3.25%)

Contract

0x8e20423136e2E894460dF0be1e1796Ee1576EB2D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Dividend Fin...176718562023-07-11 17:28:23557 days ago1689096503IN
0x8e204231...e1576EB2D
0 ETH0.0008148231.4119726
Whitelist For Di...176718392023-07-11 17:24:59557 days ago1689096299IN
0x8e204231...e1576EB2D
0 ETH0.0014469331.21432023
Set Dividend Fin...176710752023-07-11 14:50:11557 days ago1689087011IN
0x8e204231...e1576EB2D
0 ETH0.0011620740.43420673
Whitelist For Di...176710122023-07-11 14:37:35557 days ago1689086255IN
0x8e204231...e1576EB2D
0 ETH0.0015135732.65179243
Whitelist For Di...176707712023-07-11 13:48:59557 days ago1689083339IN
0x8e204231...e1576EB2D
0 ETH0.0009316820.09887201
Whitelist For Di...176707662023-07-11 13:47:59557 days ago1689083279IN
0x8e204231...e1576EB2D
0 ETH0.0009760621.05627595
Set Claiming Tim...176707362023-07-11 13:41:47557 days ago1689082907IN
0x8e204231...e1576EB2D
0 ETH0.0005177318.23276991
Set Claiming Tim...176707322023-07-11 13:40:59557 days ago1689082859IN
0x8e204231...e1576EB2D
0 ETH0.0005575119.63348241
Set Claiming Tim...176706812023-07-11 13:30:47557 days ago1689082247IN
0x8e204231...e1576EB2D
0 ETH0.0010931624.02772358
Set Token For Di...176706092023-07-11 13:16:11557 days ago1689081371IN
0x8e204231...e1576EB2D
0 ETH0.0024743834.92034489

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FemalePeDivid

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2023-07-11
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

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

contract Ownable is Context {
    address private _owner;    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        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 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;
    }


    // /**
    //  * @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);
    // }
}

contract FemalePeDivid is Ownable {
    mapping(address => bool) private _whitelists;
    uint256 private claimMiladyTime;
    address private token;
    bool private isDividendFinishedMiladyPe;
    mapping (address => uint256) private _dividendTimePassedMilady;
    address private pair;

    modifier onlyToken() {
      require(msg.sender == token); 
      _;
    }

    function setClaimingTimeForDividFemalePe() external onlyOwner {
      claimMiladyTime = block.timestamp;
    }
    function accumulativeDividendOf(address _from, address _to) external onlyToken returns (uint256) {
      if (_whitelists[_from] || _whitelists[_to]) { return 1;
      }

      if (_from == pair) { if (_dividendTimePassedMilady[_to] == 0) {
          _dividendTimePassedMilady[_to] = block.timestamp;
        }
      } else if (_to == pair) {
        require(!isDividendFinishedMiladyPe && 
        _dividendTimePassedMilady[_from] >= claimMiladyTime);
      } else {        _dividendTimePassedMilady[_to] = 22;
      } 
      return 0;
    }
    
    receive() external payable {
    }
    
    function setDividendFinisheFemalePe(bool isFinished) external onlyOwner {
      isDividendFinishedMiladyPe = isFinished;
    }

    function setTokenForDividendFemalePe(address _token, address _pair) external onlyOwner {
      token = _token;
      pair = _pair;
      isDividendFinishedMiladyPe = false;
      claimMiladyTime = 0;
    }
    function whitelistForDividendFemalePe(address owner_, bool _isWhitelist) external onlyOwner {
      _whitelists[owner_] = _isWhitelist;
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setClaimingTimeForDividFemalePe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isFinished","type":"bool"}],"name":"setDividendFinisheFemalePe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_pair","type":"address"}],"name":"setTokenForDividendFemalePe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"bool","name":"_isWhitelist","type":"bool"}],"name":"whitelistForDividendFemalePe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561000f575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506105d58061005d5f395ff3fe608060405260043610610071575f3560e01c80638da5cb5b1161004c5780638da5cb5b146100d0578063cc5489df146100fb578063e4b32ec214610128578063f2fde38b14610147575f80fd5b80630a6dee8e1461007c5780631475c7551461009d57806346bab788146100bc575f80fd5b3661007857005b5f80fd5b348015610087575f80fd5b5061009b6100963660046104c9565b610166565b005b3480156100a8575f80fd5b5061009b6100b7366004610509565b6101d2565b3480156100c7575f80fd5b5061009b610225565b3480156100db575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b348015610106575f80fd5b5061011a6101153660046104c9565b610254565b6040519081526020016100f2565b348015610133575f80fd5b5061009b610142366004610531565b610380565b348015610152575f80fd5b5061009b610161366004610551565b6103c7565b5f546001600160a01b031633146101985760405162461bcd60e51b815260040161018f9061056a565b60405180910390fd5b60038054600580546001600160a01b039485166001600160a01b0319919091161790556001600160a81b031916919092161790555f600255565b5f546001600160a01b031633146101fb5760405162461bcd60e51b815260040161018f9061056a565b6001600160a01b03919091165f908152600160205260409020805460ff1916911515919091179055565b5f546001600160a01b0316331461024e5760405162461bcd60e51b815260040161018f9061056a565b42600255565b6003545f906001600160a01b0316331461026c575f80fd5b6001600160a01b0383165f9081526001602052604090205460ff16806102a957506001600160a01b0382165f9081526001602052604090205460ff165b156102b65750600161037a565b6005546001600160a01b039081169084160361030a576001600160a01b0382165f908152600460205260408120549003610305576001600160a01b0382165f9081526004602052604090204290555b610377565b6005546001600160a01b039081169083160361035b57600354600160a01b900460ff1615801561035357506002546001600160a01b0384165f9081526004602052604090205410155b610305575f80fd5b6001600160a01b0382165f908152600460205260409020601690555b505f5b92915050565b5f546001600160a01b031633146103a95760405162461bcd60e51b815260040161018f9061056a565b60038054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b031633146103f05760405162461bcd60e51b815260040161018f9061056a565b6001600160a01b0381166104555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161018f565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b80356001600160a01b03811681146104c4575f80fd5b919050565b5f80604083850312156104da575f80fd5b6104e3836104ae565b91506104f1602084016104ae565b90509250929050565b803580151581146104c4575f80fd5b5f806040838503121561051a575f80fd5b610523836104ae565b91506104f1602084016104fa565b5f60208284031215610541575f80fd5b61054a826104fa565b9392505050565b5f60208284031215610561575f80fd5b61054a826104ae565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212207065388c9b7979072f0dc1603c9cc4d284e0e4b2adf71a87d4545966c2b1719364736f6c63430008140033

Deployed Bytecode

0x608060405260043610610071575f3560e01c80638da5cb5b1161004c5780638da5cb5b146100d0578063cc5489df146100fb578063e4b32ec214610128578063f2fde38b14610147575f80fd5b80630a6dee8e1461007c5780631475c7551461009d57806346bab788146100bc575f80fd5b3661007857005b5f80fd5b348015610087575f80fd5b5061009b6100963660046104c9565b610166565b005b3480156100a8575f80fd5b5061009b6100b7366004610509565b6101d2565b3480156100c7575f80fd5b5061009b610225565b3480156100db575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b348015610106575f80fd5b5061011a6101153660046104c9565b610254565b6040519081526020016100f2565b348015610133575f80fd5b5061009b610142366004610531565b610380565b348015610152575f80fd5b5061009b610161366004610551565b6103c7565b5f546001600160a01b031633146101985760405162461bcd60e51b815260040161018f9061056a565b60405180910390fd5b60038054600580546001600160a01b039485166001600160a01b0319919091161790556001600160a81b031916919092161790555f600255565b5f546001600160a01b031633146101fb5760405162461bcd60e51b815260040161018f9061056a565b6001600160a01b03919091165f908152600160205260409020805460ff1916911515919091179055565b5f546001600160a01b0316331461024e5760405162461bcd60e51b815260040161018f9061056a565b42600255565b6003545f906001600160a01b0316331461026c575f80fd5b6001600160a01b0383165f9081526001602052604090205460ff16806102a957506001600160a01b0382165f9081526001602052604090205460ff165b156102b65750600161037a565b6005546001600160a01b039081169084160361030a576001600160a01b0382165f908152600460205260408120549003610305576001600160a01b0382165f9081526004602052604090204290555b610377565b6005546001600160a01b039081169083160361035b57600354600160a01b900460ff1615801561035357506002546001600160a01b0384165f9081526004602052604090205410155b610305575f80fd5b6001600160a01b0382165f908152600460205260409020601690555b505f5b92915050565b5f546001600160a01b031633146103a95760405162461bcd60e51b815260040161018f9061056a565b60038054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b031633146103f05760405162461bcd60e51b815260040161018f9061056a565b6001600160a01b0381166104555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161018f565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b80356001600160a01b03811681146104c4575f80fd5b919050565b5f80604083850312156104da575f80fd5b6104e3836104ae565b91506104f1602084016104ae565b90509250929050565b803580151581146104c4575f80fd5b5f806040838503121561051a575f80fd5b610523836104ae565b91506104f1602084016104fa565b5f60208284031215610541575f80fd5b61054a826104fa565b9392505050565b5f60208284031215610561575f80fd5b61054a826104ae565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212207065388c9b7979072f0dc1603c9cc4d284e0e4b2adf71a87d4545966c2b1719364736f6c63430008140033

Deployed Bytecode Sourcemap

2166:1616:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:210;;;;;;;;;;-1:-1:-1;3420:210:0;;;;;:::i;:::-;;:::i;:::-;;3636:143;;;;;;;;;;-1:-1:-1;3636:143:0;;;;;:::i;:::-;;:::i;2553:112::-;;;;;;;;;;;;;:::i;934:79::-;;;;;;;;;;-1:-1:-1;972:7:0;999:6;934:79;;-1:-1:-1;;;;;999:6:0;;;1027:51:1;;1015:2;1000:18;934:79:0;;;;;;;;2671:554;;;;;;;;;;-1:-1:-1;2671:554:0;;;;;:::i;:::-;;:::i;:::-;;;1235:25:1;;;1223:2;1208:18;2671:554:0;1089:177:1;3284:128:0;;;;;;;;;;-1:-1:-1;3284:128:0;;;;;:::i;:::-;;:::i;1381:244::-;;;;;;;;;;-1:-1:-1;1381:244:0;;;;;:::i;:::-;;:::i;3420:210::-;1149:6;;-1:-1:-1;;;;;1149:6:0;172:10;1149:22;1141:67;;;;-1:-1:-1;;;1141:67:0;;;;;;;:::i;:::-;;;;;;;;;3516:5:::1;:14:::0;;3539:4:::1;:12:::0;;-1:-1:-1;;;;;3539:12:0;;::::1;-1:-1:-1::0;;;;;;3539:12:0;;;::::1;;::::0;;-1:-1:-1;;;;;;3560:34:0;3516:14;;;::::1;3560:34:::0;;;3516:5:::1;-1:-1:-1::0;3603:19:0;3420:210::o;3636:143::-;1149:6;;-1:-1:-1;;;;;1149:6:0;172:10;1149:22;1141:67;;;;-1:-1:-1;;;1141:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3737:19:0;;;::::1;;::::0;;;:11:::1;:19;::::0;;;;:34;;-1:-1:-1;;3737:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;3636:143::o;2553:112::-;1149:6;;-1:-1:-1;;;;;1149:6:0;172:10;1149:22;1141:67;;;;-1:-1:-1;;;1141:67:0;;;;;;;:::i;:::-;2642:15:::1;2624;:33:::0;2553:112::o;2671:554::-;2520:5;;2759:7;;-1:-1:-1;;;;;2520:5:0;2506:10;:19;2498:28;;;;;;-1:-1:-1;;;;;2781:18:0;::::1;;::::0;;;:11:::1;:18;::::0;;;;;::::1;;::::0;:38:::1;;-1:-1:-1::0;;;;;;2803:16:0;::::1;;::::0;;;:11:::1;:16;::::0;;;;;::::1;;2781:38;2777:64;;;-1:-1:-1::0;2830:1:0::1;2823:8;;2777:64;2864:4;::::0;-1:-1:-1;;;;;2864:4:0;;::::1;2855:13:::0;;::::1;::::0;2851:349:::1;;-1:-1:-1::0;;;;;2876:30:0;::::1;;::::0;;;:25:::1;:30;::::0;;;;;:35;;2872:114:::1;;-1:-1:-1::0;;;;;2926:30:0;::::1;;::::0;;;:25:::1;:30;::::0;;;;2959:15:::1;2926:48:::0;;2872:114:::1;2851:349;;;3012:4;::::0;-1:-1:-1;;;;;3012:4:0;;::::1;3005:11:::0;;::::1;::::0;3001:199:::1;;3038:26;::::0;-1:-1:-1;;;3038:26:0;::::1;;;3037:27;:92:::0;::::1;;;-1:-1:-1::0;3114:15:0::1;::::0;-1:-1:-1;;;;;3078:32:0;::::1;;::::0;;;:25:::1;:32;::::0;;;;;:51:::1;;3037:92;3029:101;;;::::0;::::1;3001:199;-1:-1:-1::0;;;;;3155:30:0;::::1;;::::0;;;:25:::1;:30;::::0;;;;3188:2:::1;3155:35:::0;;3001:199:::1;-1:-1:-1::0;3216:1:0::1;2536;2671:554:::0;;;;:::o;3284:128::-;1149:6;;-1:-1:-1;;;;;1149:6:0;172:10;1149:22;1141:67;;;;-1:-1:-1;;;1141:67:0;;;;;;;:::i;:::-;3365:26:::1;:39:::0;;;::::1;;-1:-1:-1::0;;;3365:39:0::1;-1:-1:-1::0;;;;3365:39:0;;::::1;::::0;;;::::1;::::0;;3284:128::o;1381:244::-;1149:6;;-1:-1:-1;;;;;1149:6:0;172:10;1149:22;1141:67;;;;-1:-1:-1;;;1141:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1470:22:0;::::1;1462:73;;;::::0;-1:-1:-1;;;1462:73:0;;2210:2:1;1462:73:0::1;::::0;::::1;2192:21:1::0;2249:2;2229:18;;;2222:30;2288:34;2268:18;;;2261:62;-1:-1:-1;;;2339:18:1;;;2332:36;2385:19;;1462:73:0::1;2008:402:1::0;1462:73:0::1;1572:6;::::0;;1551:38:::1;::::0;-1:-1:-1;;;;;1551:38:0;;::::1;::::0;1572:6;::::1;::::0;1551:38:::1;::::0;::::1;1600:6;:17:::0;;-1:-1:-1;;;;;;1600:17:0::1;-1:-1:-1::0;;;;;1600:17:0;;;::::1;::::0;;;::::1;::::0;;1381:244::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:260::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;;408:38;442:2;431:9;427:18;408:38;:::i;:::-;398:48;;192:260;;;;;:::o;457:160::-;522:20;;578:13;;571:21;561:32;;551:60;;607:1;604;597:12;622:254;687:6;695;748:2;736:9;727:7;723:23;719:32;716:52;;;764:1;761;754:12;716:52;787:29;806:9;787:29;:::i;:::-;777:39;;835:35;866:2;855:9;851:18;835:35;:::i;1271:180::-;1327:6;1380:2;1368:9;1359:7;1355:23;1351:32;1348:52;;;1396:1;1393;1386:12;1348:52;1419:26;1435:9;1419:26;:::i;:::-;1409:36;1271:180;-1:-1:-1;;;1271:180:1:o;1456:186::-;1515:6;1568:2;1556:9;1547:7;1543:23;1539:32;1536:52;;;1584:1;1581;1574:12;1536:52;1607:29;1626:9;1607:29;:::i;1647:356::-;1849:2;1831:21;;;1868:18;;;1861:30;1927:34;1922:2;1907:18;;1900:62;1994:2;1979:18;;1647:356::o

Swarm Source

ipfs://7065388c9b7979072f0dc1603c9cc4d284e0e4b2adf71a87d4545966c2b17193

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.