ETH Price: $2,407.96 (-2.59%)
 

Overview

ETH Balance

0.008260337253819484 ETH

Eth Value

$19.89 (@ $2,407.96/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve195117752024-03-25 13:24:59224 days ago1711373099IN
0xf833290c...4C81072b1
0 ETH0.0006057525.0238019
Approve195052632024-03-24 15:23:11225 days ago1711293791IN
0xf833290c...4C81072b1
0 ETH0.0004840419.99627524
Approve186945982023-12-01 22:39:23339 days ago1701470363IN
0xf833290c...4C81072b1
0 ETH0.000769231.69765279
Approve184234932023-10-24 23:48:47377 days ago1698191327IN
0xf833290c...4C81072b1
0 ETH0.0004825719.93534226
Approve184234222023-10-24 23:34:35377 days ago1698190475IN
0xf833290c...4C81072b1
0 ETH0.0005188721.3820924
Transfer181750612023-09-20 5:36:23411 days ago1695188183IN
0xf833290c...4C81072b1
0 ETH0.000572347.83112266
Approve181068532023-09-10 15:24:59421 days ago1694359499IN
0xf833290c...4C81072b1
0 ETH0.0003142910.80369878
Approve181017782023-09-09 22:21:47422 days ago1694298107IN
0xf833290c...4C81072b1
0 ETH0.000410968.83958124
Approve181000182023-09-09 16:27:23422 days ago1694276843IN
0xf833290c...4C81072b1
0 ETH0.0004787810.3652293
Approve180981362023-09-09 10:06:59422 days ago1694254019IN
0xf833290c...4C81072b1
0 ETH0.000446359.65069263
Approve180980352023-09-09 9:46:23422 days ago1694252783IN
0xf833290c...4C81072b1
0 ETH0.0005137611.05089448
Approve180980292023-09-09 9:45:11422 days ago1694252711IN
0xf833290c...4C81072b1
0 ETH0.0006098113.1848949
Approve180974492023-09-09 7:47:47422 days ago1694245667IN
0xf833290c...4C81072b1
0 ETH0.0003628212.34492488
Transfer180974452023-09-09 7:46:59422 days ago1694245619IN
0xf833290c...4C81072b1
0 ETH0.0007781911.39416939
Approve180952512023-09-09 0:25:11423 days ago1694219111IN
0xf833290c...4C81072b1
0 ETH0.0006104213.11300783
Approve180951772023-09-09 0:10:23423 days ago1694218223IN
0xf833290c...4C81072b1
0 ETH0.00023529.71624978
Approve180951512023-09-09 0:05:11423 days ago1694217911IN
0xf833290c...4C81072b1
0 ETH0.0005578912
Approve180949032023-09-08 23:15:11423 days ago1694214911IN
0xf833290c...4C81072b1
0 ETH0.0004719110.21930724
Approve180943062023-09-08 21:15:23423 days ago1694207723IN
0xf833290c...4C81072b1
0 ETH0.000565612.16590265
Approve180938172023-09-08 19:35:47423 days ago1694201747IN
0xf833290c...4C81072b1
0 ETH0.000783416.96022199
Approve180936142023-09-08 18:54:47423 days ago1694199287IN
0xf833290c...4C81072b1
0 ETH0.0013969430.04767084
Approve180936052023-09-08 18:52:59423 days ago1694199179IN
0xf833290c...4C81072b1
0 ETH0.0015390333.10401863
Approve180933742023-09-08 18:06:23423 days ago1694196383IN
0xf833290c...4C81072b1
0 ETH0.0018458839.91020143
Approve180930662023-09-08 17:04:11423 days ago1694192651IN
0xf833290c...4C81072b1
0 ETH0.0015549133.66281859
Approve180930552023-09-08 17:01:59423 days ago1694192519IN
0xf833290c...4C81072b1
0 ETH0.0016681235.88059004
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
181056692023-09-10 11:26:47421 days ago1694345207
0xf833290c...4C81072b1
0.00043724 ETH
181056692023-09-10 11:26:47421 days ago1694345207
0xf833290c...4C81072b1
0.00524691 ETH
181056692023-09-10 11:26:47421 days ago1694345207
0xf833290c...4C81072b1
0.00524691 ETH
181056692023-09-10 11:26:47421 days ago1694345207
0xf833290c...4C81072b1
0.01093107 ETH
181000212023-09-09 16:27:59422 days ago1694276879
0xf833290c...4C81072b1
0.00067088 ETH
181000212023-09-09 16:27:59422 days ago1694276879
0xf833290c...4C81072b1
0.00805063 ETH
181000212023-09-09 16:27:59422 days ago1694276879
0xf833290c...4C81072b1
0.00805063 ETH
181000212023-09-09 16:27:59422 days ago1694276879
0xf833290c...4C81072b1
0.01677216 ETH
180980352023-09-09 9:46:23422 days ago1694252783
0xf833290c...4C81072b1
0.00063224 ETH
180980352023-09-09 9:46:23422 days ago1694252783
0xf833290c...4C81072b1
0.00758688 ETH
180980352023-09-09 9:46:23422 days ago1694252783
0xf833290c...4C81072b1
0.00758688 ETH
180980352023-09-09 9:46:23422 days ago1694252783
0xf833290c...4C81072b1
0.015806 ETH
180951942023-09-09 0:13:47423 days ago1694218427
0xf833290c...4C81072b1
0.00038713 ETH
180951942023-09-09 0:13:47423 days ago1694218427
0xf833290c...4C81072b1
0.00464556 ETH
180951942023-09-09 0:13:47423 days ago1694218427
0xf833290c...4C81072b1
0.00464556 ETH
180951942023-09-09 0:13:47423 days ago1694218427
0xf833290c...4C81072b1
0.00967825 ETH
180947282023-09-08 22:39:59423 days ago1694212799
0xf833290c...4C81072b1
0.0005849 ETH
180947282023-09-08 22:39:59423 days ago1694212799
0xf833290c...4C81072b1
0.00701885 ETH
180947282023-09-08 22:39:59423 days ago1694212799
0xf833290c...4C81072b1
0.00701885 ETH
180947282023-09-08 22:39:59423 days ago1694212799
0xf833290c...4C81072b1
0.01462262 ETH
180938262023-09-08 19:37:35423 days ago1694201855
0xf833290c...4C81072b1
0.00053475 ETH
180938262023-09-08 19:37:35423 days ago1694201855
0xf833290c...4C81072b1
0.00641702 ETH
180938262023-09-08 19:37:35423 days ago1694201855
0xf833290c...4C81072b1
0.00641702 ETH
180938262023-09-08 19:37:35423 days ago1694201855
0xf833290c...4C81072b1
0.0133688 ETH
180936072023-09-08 18:53:23423 days ago1694199203
0xf833290c...4C81072b1
0.00053391 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xfF833976...4F5c4112B
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
OperaToken

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 9 : OperaToken.sol
pragma solidity ^0.8.17;
//SPDX-License-Identifier: MIT

import "IERC20.sol";
import "Auth.sol";
import "SafeMath.sol";
import "IDEXRouter.sol";
import "IDEXFactory.sol";
import "OperaRevenue.sol";

//This Token was deployed using the Opera Protocol
//The Opera Protocol is a token deployer with the ability to deploy using borrowed initial liquidity
//This token can be configured at construction to have NO taxes or to HAVE taxes
//If the taxable variable (this cannot be updated after deployment) is true then this token is taxed
//If the borrowedLP variable (this cannot be updated after deployment) is true then the max tax is 10% buy / sell, otherwise the max can be 50% buy / sell
//Swap Threshold must be between 0.2% and 5% of supply, only if the token is taxable
//The Opera Dao will control the LP tokens for tokens that borrow Liquidity

contract OperaToken is IERC20, Auth {
    using SafeMath for uint256;

    string _name;
    string _symbol;
    string _telegram;
    string _website;

    uint8 constant _decimals = 9;

    uint256 public _totalSupply;

    uint256 public _maxWalletToken;
    uint256 public _swapThreshold;

    uint256 public _operaTax;
    uint256 public _marketingBuyTax;
    uint256 public _marketingSellTax;
    uint256 public _devBuyTax;
    uint256 public _devSellTax;
    uint256 public _liquidityBuyTax;
    uint256 public _liquiditySellTax;

    mapping(address => uint256) _balances;
    mapping(address => mapping(address => uint256)) _allowances;
    mapping(address => bool) isFeeExempt;

    address public pair;
    address public routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address public _devAddress;
    address public _marketingAddress;
    address public OperaRevenueAddress;
    address public OperaFactoryAddress;
    address public WETHAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    IDEXRouter public router;

    bool inSwap;
    bool public taxable;
    bool public borrowedLP;
    modifier swapping() {
        inSwap = true;
        _;
        inSwap = false;
    }
    event AutoLiquify(uint256 amountETH, uint256 amountCoin);

    constructor(
        string[] memory _stringData,
        address[] memory _addressData,
        uint256[] memory _intData,
        address rewardsAddress
    ) Auth(msg.sender) {
        require(_stringData.length == 4, "String List needs 4 string inputs");
        require(
            _addressData.length == 2,
            "Address List needs 2 address inputs"
        );
        require(_intData.length == 11, "Int List needs 11 int inputs");
        if (_intData[9] == 1) {
            taxable = true;
        }
        if (_intData[10] == 1 && _intData[9] == 1) {
            borrowedLP = true;
        }
        OperaRevenueAddress = rewardsAddress;
        OperaFactoryAddress = msg.sender;
        router = IDEXRouter(routerAddress);
        pair = IDEXFactory(router.factory()).createPair(
            router.WETH(),
            address(this)
        );

        authorizations[routerAddress] = true;

        _name = _stringData[0];
        _symbol = _stringData[1];
        _telegram = _stringData[2];
        _website = _stringData[3];

        require(_intData[0] > 0 && _intData[0] < 999999999999999999);
        _totalSupply = _intData[0] * 10 ** _decimals;
        _balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);

        _maxWalletToken = (_totalSupply * _intData[1]) / 1000;
        if (taxable) {
            _devAddress = _addressData[0];
            _marketingAddress = _addressData[1];
            _swapThreshold = (_totalSupply * _intData[2]) / 1000;
            _marketingBuyTax = _intData[3];
            _marketingSellTax = _intData[4];
            _devBuyTax = _intData[5];
            _devSellTax = _intData[6];
            _liquidityBuyTax = _intData[7];
            _liquiditySellTax = _intData[8];
            if (borrowedLP) {
                if (getTotalTax() > 192) {
                    _operaTax = 20;
                } else {
                    _operaTax = 4;
                }
            } else {
                _operaTax = 2;
            }

            require(
                _swapThreshold <= (_totalSupply / 20) &&
                    _swapThreshold >= (_totalSupply / 500),
                "Swap Threshold must be less than 5% of total supply, or greater than 0.2%."
            );
            require(getSellTax() <= 500, "Sell tax can't be greater than 50%.");
            require(getBuyTax() <= 500, "Buy tax can't be greater than 50%.");
            require(
                _devAddress != address(0) && _marketingAddress != address(0),
                "Reciever wallets can't be Zero address."
            );
        }

        _allowances[address(this)][address(router)] = _totalSupply;

        require(
            _maxWalletToken >= (_totalSupply / 500),
            "Max Wallet must be greater than 0.2%."
        );
    }

    receive() external payable {}

    function totalSupply() external view override returns (uint256) {
        return _totalSupply;
    }

    function decimals() external pure override returns (uint8) {
        return _decimals;
    }

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

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

    function getOwner() external view override returns (address) {
        return owner;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

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

    function approve(
        address spender,
        uint256 amount
    ) public override returns (bool) {
        _allowances[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function approveMax(address spender) external returns (bool) {
        return approve(spender, _totalSupply);
    }

    function transfer(
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        if (owner == msg.sender) {
            return _basicTransfer(msg.sender, recipient, amount);
        } else {
            return _transferFrom(msg.sender, recipient, amount);
        }
    }

    function _basicTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        _balances[sender] = _balances[sender].sub(
            amount,
            "Insufficient Balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        if (_allowances[sender][msg.sender] != _totalSupply) {
            _allowances[sender][msg.sender] = _allowances[sender][msg.sender]
                .sub(amount, "Insufficient Allowance");
        }
        return _transferFrom(sender, recipient, amount);
    }

    function _transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        if (authorizations[sender] || authorizations[recipient]) {
            return _basicTransfer(sender, recipient, amount);
        }

        if (inSwap) {
            return _basicTransfer(sender, recipient, amount);
        }

        checkLimits(sender, recipient, amount);
        if (shouldTokenSwap(recipient)) {
            tokenSwap();
        }

        _balances[sender] = _balances[sender].sub(
            amount,
            "Insufficient Balance"
        );
        uint256 amountReceived = (taxable &&
            (recipient == pair || sender == pair))
            ? takeFee(sender, recipient, amount)
            : amount;

        _balances[recipient] = _balances[recipient].add(amountReceived);

        emit Transfer(sender, recipient, amountReceived);
        return true;
    }

    function takeFee(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (uint256) {
        if (isFeeExempt[sender] || isFeeExempt[recipient]) {
            return amount;
        }
        if (recipient == OperaFactoryAddress) {
            return amount;
        }
        uint256 _totalFee;

        _totalFee = (recipient == pair) ? getSellTax() : getBuyTax();

        uint256 feeAmount = amount.mul(_totalFee).div(1000);

        _balances[address(this)] = _balances[address(this)].add(feeAmount);

        emit Transfer(sender, address(this), feeAmount);

        return amount.sub(feeAmount);
    }

    function getBuyTax() public view returns (uint) {
        return _liquidityBuyTax + _devBuyTax + _marketingBuyTax + _operaTax;
    }

    function getSellTax() public view returns (uint) {
        return _liquiditySellTax + _devSellTax + _marketingSellTax + _operaTax;
    }

    function getTotalTax() public view returns (uint) {
        return getSellTax() + getBuyTax();
    }

    function setTaxes(
        uint256 _marketingBuyPercent,
        uint256 _marketingSellPercent,
        uint256 _devBuyPercent,
        uint256 _devSellPercent,
        uint256 _liquidityBuyPercent,
        uint256 _liquiditySellPercent
    ) external onlyOwner {
        require(inSwap == false, "Cannot call when in swap");
        require(taxable, "This token has no taxes.");
        uint256 amount = _balances[address(this)];
        if (_operaTax == 20) {
            if (amount > 0) {
                tokenSwap();
            }

            _operaTax = 4;
        }
        _marketingBuyTax = _marketingBuyPercent;
        _liquidityBuyTax = _liquidityBuyPercent;
        _devBuyTax = _devBuyPercent;
        _marketingSellTax = _marketingSellPercent;
        _liquiditySellTax = _liquiditySellPercent;
        _devSellTax = _devSellPercent;
        require(
            getBuyTax() <= (borrowedLP ? 100 : 500),
            "Buy tax can't be greater than 10% if borrowed lp and 50% if not."
        );
        require(
            getSellTax() <= (borrowedLP ? 100 : 500),
            "Sell tax can't be greater than 10% if borrowed lp and 50% if not."
        );
    }

    function tokenSwap() internal swapping {
        uint256 amount = _balances[address(this)];

        uint256 amountToLiquify = (_liquidityBuyTax + _liquiditySellTax > 0)
            ? amount
                .mul(_liquidityBuyTax + _liquiditySellTax)
                .div(getTotalTax())
                .div(2)
            : 0;

        uint256 amountToSwap = amount.sub(amountToLiquify);

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETHAddress;

        uint256 balanceBefore = address(this).balance;

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountToSwap,
            0,
            path,
            address(this),
            block.timestamp
        );

        bool tmpSuccess;

        uint256 amountETH = address(this).balance.sub(balanceBefore);
        uint256 totalETHFee = (_liquidityBuyTax + _liquiditySellTax > 0)
            ? getTotalTax().sub((_liquidityBuyTax + _liquiditySellTax).div(2))
            : getTotalTax();

        uint256 amountETHLiquidity = amountETH
            .mul(_liquidityBuyTax + _liquiditySellTax)
            .div(totalETHFee)
            .div(2);
        if (_devBuyTax + _devSellTax > 0) {
            uint256 amountETHDev = amountETH.mul(_devBuyTax + _devSellTax).div(
                totalETHFee
            );
            (tmpSuccess, ) = payable(_devAddress).call{
                value: amountETHDev,
                gas: 100000
            }("");
            tmpSuccess = false;
        }

        if (_marketingBuyTax + _marketingSellTax > 0) {
            uint256 amountETHMarketing = amountETH
                .mul(_marketingBuyTax + _marketingSellTax)
                .div(totalETHFee);
            (tmpSuccess, ) = payable(_marketingAddress).call{
                value: amountETHMarketing,
                gas: 100000
            }("");
            tmpSuccess = false;
        }

        if (amountToLiquify > 0) {
            address liqAddress = borrowedLP
                ? OperaFactoryAddress
                : _marketingAddress;
            router.addLiquidityETH{value: amountETHLiquidity}(
                address(this),
                amountToLiquify,
                0,
                0,
                liqAddress,
                block.timestamp
            );
            emit AutoLiquify(amountETHLiquidity, amountToLiquify);
        }
        uint256 operaFee = amountETH.mul(_operaTax.mul(2)).div(totalETHFee);

        OperaRevenue rewardContract = OperaRevenue(
            payable(OperaRevenueAddress)
        );
        rewardContract.recieveRewards{value: operaFee}();
    }

    function shouldTokenSwap(address recipient) internal view returns (bool) {
        return ((recipient == pair) &&
            taxable &&
            !inSwap &&
            _balances[address(this)] >= _swapThreshold);
    }

    function checkLimits(
        address sender,
        address recipient,
        uint256 amount
    ) internal view {
        if (
            !authorizations[sender] &&
            !authorizations[recipient] &&
            recipient != address(this) &&
            sender != address(this) &&
            recipient != 0x000000000000000000000000000000000000dEaD &&
            recipient != pair &&
            recipient != _marketingAddress &&
            recipient != _devAddress &&
            recipient != OperaFactoryAddress
        ) {
            uint256 heldTokens = balanceOf(recipient);
            require(
                (heldTokens + amount) <= _maxWalletToken,
                "Total Holding is currently limited, you can not buy that much."
            );
        }
    }

    function setMaxWallet(uint256 percent) external onlyOwner {
        require(inSwap == false, "Cannot call when in swap");
        _maxWalletToken = (_totalSupply * percent) / 1000;
        require(
            _maxWalletToken >= (_totalSupply / 500),
            "Max Wallet must be greater than 0.2%."
        );
    }

    function setTokenSwapSettings(uint256 percent) external onlyOwner {
        require(inSwap == false, "Cannot call when in swap");
        require(taxable, "This token has no taxes.");
        _swapThreshold = (_totalSupply * percent) / 1000;
        require(
            _swapThreshold <= (_totalSupply / 20) &&
                _swapThreshold >= (_totalSupply / 500),
            "Swap Threshold must be less than 5% of total supply, or greater than 0.2%."
        );
    }

    // function getAddress() external view returns (address) {
    //     return address(this);
    // }

    function aboutMe() external view returns (string memory, string memory) {
        return (_telegram, _website);
    }

    function updateAboutMe(
        string memory telegram,
        string memory website
    ) external onlyOwner {
        _telegram = telegram;
        _website = website;
    }

    function setAddresses(
        address marketingAddress,
        address devAddress
    ) external onlyOwner {
        require(inSwap == false, "Cannot call when in swap");
        require(taxable, "This token has no taxes.");
        if (marketingAddress != address(0)) {
            _marketingAddress = marketingAddress;
        }
        if (devAddress != address(0)) {
            _devAddress = devAddress;
        }

        require(
            _devAddress != address(0) && _marketingAddress != address(0),
            "Reciever wallets can't be Zero address."
        );
    }

    function setFeeExemption(address user, bool status) external onlyOwner {
        isFeeExempt[user] = status;
    }

    function clearStuckBalance() external onlyOwner {
        require(inSwap == false, "Cannot call when in swap");
        payable(msg.sender).transfer(address(this).balance);
    }
}

File 2 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function decimals() external view returns (uint8);

    function symbol() external view returns (string memory);

    function name() external view returns (string memory);

    function getOwner() external view returns (address);

    function balanceOf(address account) external view returns (uint256);

    function transfer(
        address recipient,
        uint256 amount
    ) external returns (bool);

    function allowance(
        address _owner,
        address spender
    ) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

File 3 of 9 : Auth.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

abstract contract Auth {
    address internal owner;
    mapping(address => bool) internal authorizations;

    constructor(address _owner) {
        owner = _owner;
        authorizations[_owner] = true;
    }

    modifier onlyOwner() {
        require(isOwner(msg.sender), "!OWNER");
        _;
    }

    modifier authorized() {
        require(isAuthorized(msg.sender), "!AUTHORIZED");
        _;
    }

    function authorize(address adr) public onlyOwner {
        authorizations[adr] = true;
    }

    function unauthorize(address adr) public onlyOwner {
        authorizations[adr] = false;
    }

    function isOwner(address account) public view returns (bool) {
        return account == owner;
    }

    function isAuthorized(address adr) public view returns (bool) {
        return authorizations[adr];
    }

    function transferOwnership(address payable adr) public onlyOwner {
        owner = adr;
        authorizations[adr] = true;
        emit OwnershipTransferred(adr);
    }

    event OwnershipTransferred(address owner);
}

File 4 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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;
    }
}

File 5 of 9 : IDEXRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IDEXRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    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 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 6 of 9 : IDEXFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IDEXFactory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

File 7 of 9 : OperaRevenue.sol
pragma solidity ^0.8.17;

//SPDX-License-Identifier: MIT
import "OperaToken.sol";
import "OperaLendingPool.sol";
import "IERC20.sol";

// import "Math.sol";

contract OperaRevenue {
    address public owner;
    address public teamAlpha;
    address public teamBeta = 0xB0241BD37223F8c55096A2e15A13534A57938716;
    uint256 public revenueShareAmount;
    uint256 public lendersCut;
    uint256 public teamsCut;
    uint256 public revShareCut;
    mapping(address => uint256) public claimableRewardsForAddress;
    address public lendingPoolAddress;
    event rewardsMoved(
        address account,
        uint256 amount,
        uint256 blocktime,
        bool incoming
    );
    event rewardsAwarded(address user, uint256 amount, uint256 blocktime);

    constructor(address _lendingPool) {
        owner = msg.sender;
        teamAlpha = msg.sender;
        lendingPoolAddress = _lendingPool;
    }

    modifier onlyOwner() {
        require(owner == msg.sender, "only owner");
        _;
    }

    function withdraw() external onlyOwner {
        payable(owner).transfer(address(this).balance);
    }

    function requestReward() external {
        uint256 usersRewardAmount = claimableRewardsForAddress[msg.sender];
        require(usersRewardAmount > 0, "You have no rewards.");
        claimableRewardsForAddress[msg.sender] = 0;
        payable(msg.sender).transfer(usersRewardAmount);
        emit rewardsMoved(
            msg.sender,
            usersRewardAmount,
            block.timestamp,
            false
        );
    }

    function setLendingPoolAddress(address addy) external onlyOwner {
        lendingPoolAddress = addy;
    }

    function setBetaAddress(address addy) external onlyOwner {
        teamBeta = addy;
    }

    function setAlphaAddress(address addy) external onlyOwner {
        teamAlpha = addy;
    }

    function getAddressBalance(address _address) public view returns (uint256) {
        return _address.balance;
    }

    function removeRevenueShare() external onlyOwner {
        uint256 amount = revenueShareAmount;
        revenueShareAmount = 0;
        payable(owner).transfer(amount);
    }

    function awardRevenue(address user) external payable onlyOwner {
        claimableRewardsForAddress[user] += msg.value;
    }

    function changeFees(
        uint256 lenders,
        uint256 team,
        uint256 revShare
    ) external payable onlyOwner {
        lendersCut = lenders;
        teamsCut = team;
        revShareCut = revShare;
        require(
            100 == lendersCut + teamsCut + teamsCut + revShareCut,
            "Fees have to equal 100%"
        );
    }

    receive() external payable {}

    function recieveRewards() external payable {
        OperaPool lender = OperaPool(payable(lendingPoolAddress));
        uint256 totalEthLent = lender.totalEthLent();
        if (totalEthLent == 0) {
            uint256 getTeamFee = (msg.value * 50) / 100;
            claimableRewardsForAddress[teamAlpha] += getTeamFee;
            claimableRewardsForAddress[teamBeta] += getTeamFee;
        } else {
            uint256 numberOfLenders = lender.numberOfLenders();
            uint256 getLenderFee = (msg.value * 60) / 100;
            uint256 getTeamFee = (msg.value * 10) / 100;
            uint256 getRevenueFee = (msg.value * 20) / 100;
            uint256 rewardsPerShare = getLenderFee / totalEthLent;
            address tempAddress;
            uint256 tempLentAmount;
            claimableRewardsForAddress[teamAlpha] += getTeamFee;
            claimableRewardsForAddress[teamBeta] += getTeamFee;
            revenueShareAmount += getRevenueFee;
            for (uint256 i = 0; i < numberOfLenders; i++) {
                tempAddress = lender.lenderIdToAddress(i + 1);
                tempLentAmount = lender.usersCurrentLentAmount(tempAddress);
                claimableRewardsForAddress[tempAddress] +=
                    tempLentAmount *
                    rewardsPerShare;
                emit rewardsAwarded(
                    tempAddress,
                    tempLentAmount * rewardsPerShare,
                    block.timestamp
                );
            }
        }

        emit rewardsMoved(msg.sender, msg.value, block.timestamp, true);
    }
}

File 8 of 9 : OperaLendingPool.sol
pragma solidity ^0.8.17;
//SPDX-License-Identifier: MIT
import "Auth.sol";
import "IERC20.sol";

contract OperaPool is Auth {
    uint256 public totalEthLent;
    uint256 public totalAvailableEth;
    uint256 public numberOfLenders;
    uint256 public borrowLimit = 3;
    uint256 public _tokenDecimals = 1 * 10 ** 18;
    bool public borrowingEnable = true;
    mapping(address => uint256) public usersCurrentLentAmount;
    mapping(uint256 => address) public lenderIdToAddress;
    mapping(address => uint256) public lenderAddressToId;
    mapping(address => bool) public authorizedFactoryAddresses;

    event ethMoved(
        address account,
        uint256 amount,
        uint256 code,
        uint256 blocktime
    ); // 1 lent 2 borrowed 3 returned 4 withdrawn

    event factoryStatusChange(address factoryAddress, bool status);

    constructor() Auth(msg.sender) {}

    modifier onlyFactoryAuthorized() {
        require(
            authorizedFactoryAddresses[msg.sender],
            "only factory contracts can borrow eth"
        );
        _;
    }

    function updateFactoryAuthorization(
        address addy,
        bool status
    ) external onlyOwner {
        authorizedFactoryAddresses[addy] = status;
        emit factoryStatusChange(addy, status);
    }

    function updateBorrowLimit(uint256 limit) external onlyOwner {
        borrowLimit = limit;
    }

    function updateBorrowingEnabled(bool status) external onlyOwner {
        borrowingEnable = status;
    }

    function lendForAddress(address addy) external payable returns (bool) {
        require(
            msg.value > 0 && msg.value % _tokenDecimals == 0,
            "Only send full ether."
        );
        if (lenderAddressToId[addy] == 0) {
            lenderAddressToId[addy] = numberOfLenders + 1;
            lenderIdToAddress[numberOfLenders + 1] = addy;
            numberOfLenders += 1;
        }
        uint256 amountReceived = msg.value / _tokenDecimals;
        emit ethMoved(addy, amountReceived, 1, block.timestamp);
        totalEthLent += amountReceived;

        usersCurrentLentAmount[addy] += amountReceived;
        totalAvailableEth += amountReceived;

        return true;
    }

    receive() external payable {}

    function lendEth() external payable returns (bool) {
        require(
            msg.value > 0 && msg.value % _tokenDecimals == 0,
            "Only send full ether."
        );
        if (lenderAddressToId[msg.sender] == 0) {
            lenderAddressToId[msg.sender] = numberOfLenders + 1;
            lenderIdToAddress[numberOfLenders + 1] = msg.sender;
            numberOfLenders += 1;
        }
        uint256 amountReceived = msg.value / _tokenDecimals;
        emit ethMoved(msg.sender, amountReceived, 1, block.timestamp);
        totalEthLent += amountReceived;

        usersCurrentLentAmount[msg.sender] += amountReceived;
        totalAvailableEth += amountReceived;

        return true;
    }

    function borrowEth(uint256 _amount) external onlyFactoryAuthorized {
        require(_amount <= totalAvailableEth, "Not Enough eth to borrow");
        require(_amount > 0, "Cannot borrow 0");
        require(borrowingEnable, "Borrowing is not enabled.");
        require(_amount <= borrowLimit, "Can't borrow that much.");
        totalAvailableEth -= _amount;
        payable(msg.sender).transfer(_amount * _tokenDecimals);
        emit ethMoved(msg.sender, _amount, 2, block.timestamp);
    }

    function returnLentEth(uint256 amountEth) external payable returns (bool) {
        require(
            (amountEth * _tokenDecimals) - msg.value == 0,
            "Did not send enough eth."
        );

        emit ethMoved(msg.sender, amountEth, 3, block.timestamp);
        totalAvailableEth += amountEth;

        return true;
    }

    function withdrawLentEth(uint256 _amountEther) external payable {
        require(
            usersCurrentLentAmount[msg.sender] >= _amountEther,
            "You Did not lend that much."
        );

        require(_amountEther > 0, "Cant withdraw 0.");
        require(_amountEther <= totalAvailableEth, "Not enough eth available.");
        if (usersCurrentLentAmount[msg.sender] == _amountEther) {
            uint256 tempIdOfUser = lenderAddressToId[msg.sender];
            address addressOfLastUser = lenderIdToAddress[numberOfLenders];
            if (addressOfLastUser != msg.sender) {
                delete lenderAddressToId[msg.sender];
                lenderAddressToId[addressOfLastUser] = tempIdOfUser;
                lenderIdToAddress[tempIdOfUser] = addressOfLastUser;
                delete lenderIdToAddress[numberOfLenders];
                numberOfLenders -= 1;
            } else {
                delete lenderAddressToId[msg.sender];
                delete lenderIdToAddress[tempIdOfUser];
                numberOfLenders -= 1;
            }
        }
        usersCurrentLentAmount[msg.sender] -= _amountEther;
        totalAvailableEth -= _amountEther;
        totalEthLent -= _amountEther;
        payable(msg.sender).transfer(_amountEther * _tokenDecimals);
        emit ethMoved(msg.sender, _amountEther, 4, block.timestamp);
    }

    //safe gaurd so no funds get locked
    function withdraw(uint256 amount) external onlyOwner {
        payable(owner).transfer(amount);
    }

    function rescueToken(address token, uint256 amount) external onlyOwner {
        IERC20 tokenToRescue = IERC20(token);
        tokenToRescue.transfer(owner, amount);
    }

    function removeExcess() external payable onlyOwner {
        require(
            address(this).balance > totalAvailableEth * _tokenDecimals,
            "There is no excess eth"
        );
        uint256 excessAmount = address(this).balance -
            (totalAvailableEth * _tokenDecimals);
        payable(owner).transfer(excessAmount);
    }
}

File 9 of 9 : Math.sol
/// math.sol -- mixin for inline numerical wizardry

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity >0.4.13;

contract DSMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, "ds-math-sub-underflow");
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }

    function min(uint x, uint y) internal pure returns (uint z) {
        return x <= y ? x : y;
    }

    function max(uint x, uint y) internal pure returns (uint z) {
        return x >= y ? x : y;
    }

    function imin(int x, int y) internal pure returns (int z) {
        return x <= y ? x : y;
    }

    function imax(int x, int y) internal pure returns (int z) {
        return x >= y ? x : y;
    }

    uint constant WAD = 10 ** 18;
    uint constant RAY = 10 ** 27;

    //rounds to zero if x*y < WAD / 2
    function wmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }

    //rounds to zero if x*y < WAD / 2
    function rmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }

    //rounds to zero if x*y < WAD / 2
    function wdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, WAD), y / 2) / y;
    }

    //rounds to zero if x*y < RAY / 2
    function rdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    // This famous algorithm is called "exponentiation by squaring"
    // and calculates x^n with x as fixed-point and n as regular unsigned.
    //
    // It's O(log n), instead of O(n) for naive repeated multiplication.
    //
    // These facts are why it works:
    //
    //  If n is even, then x^n = (x^2)^(n/2).
    //  If n is odd,  then x^n = x * x^(n-1),
    //   and applying the equation for even x gives
    //    x^n = x * (x^2)^((n-1) / 2).
    //
    //  Also, EVM division is flooring and
    //    floor[(n-1) / 2] = floor[n / 2].
    //
    function rpow(uint x, uint n) internal pure returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "OperaToken.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string[]","name":"_stringData","type":"string[]"},{"internalType":"address[]","name":"_addressData","type":"address[]"},{"internalType":"uint256[]","name":"_intData","type":"uint256[]"},{"internalType":"address","name":"rewardsAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountCoin","type":"uint256"}],"name":"AutoLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OperaFactoryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OperaRevenueAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETHAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquiditySellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aboutMe","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"authorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"borrowedLP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"},{"internalType":"address","name":"devAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_marketingSellPercent","type":"uint256"},{"internalType":"uint256","name":"_devBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_devSellPercent","type":"uint256"},{"internalType":"uint256","name":"_liquidityBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_liquiditySellPercent","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setTokenSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"website","type":"string"}],"name":"updateAboutMe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x60806040526004361061028c5760003560e01c80636af659291161015a578063bc7a2898116100c1578063e5f2758f1161007a578063e5f2758f146107a5578063f0b37c04146107c5578063f2fde38b146107e5578063f887ea4014610805578063fb4aa58514610825578063fe9fbb801461083b57600080fd5b8063bc7a2898146106d0578063caac7934146106f3578063d9d9666c14610713578063dd03bf8614610733578063dd62ed3e14610749578063e42029541461078f57600080fd5b806390107afe1161011357806390107afe1461062657806395d89b4114610646578063a8aa1b311461065b578063a9059cbb1461067b578063b0bc85de1461069b578063b6a5d7de146106b057600080fd5b80636af659291461055b5780636edabb171461057b57806370a082311461059c578063751fd179146105d257806378109e54146105f2578063893d20e81461060857600080fd5b80632d2fe717116101fe57806343e67270116101b757806343e67270146104a4578063571ac8b0146104ba5780635b64c5a9146104da5780635d0044ca146104fa57806360959b561461051a578063622f9cd61461053a57600080fd5b80632d2fe717146103f85780632f54bf6e1461040e578063313ce5671461043d5780633268cc5614610459578063364333f4146104795780633eaaf86b1461048e57600080fd5b80630e5a9231116102505780630e5a92311461036d57806318160ddd146103835780631f1b845b1461039857806323b872dd146103ae578063252d723a146103ce578063276ef2d5146103e357600080fd5b8063010cf5591461029857806304d4c990146102c157806306fdde03146102e3578063095ea7b3146103055780630af88b241461033557600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ae600d5481565b6040519081526020015b60405180910390f35b3480156102cd57600080fd5b506102e16102dc366004612122565b610874565b005b3480156102ef57600080fd5b506102f8610a93565b6040516102b891906121ab565b34801561031157600080fd5b506103256103203660046121d3565b610b25565b60405190151581526020016102b8565b34801561034157600080fd5b50601954610355906001600160a01b031681565b6040516001600160a01b0390911681526020016102b8565b34801561037957600080fd5b506102ae60085481565b34801561038f57600080fd5b506006546102ae565b3480156103a457600080fd5b506102ae600b5481565b3480156103ba57600080fd5b506103256103c93660046121ff565b610b92565b3480156103da57600080fd5b506102ae610ca2565b3480156103ef57600080fd5b506102ae610cd3565b34801561040457600080fd5b506102ae60095481565b34801561041a57600080fd5b50610325610429366004612240565b6000546001600160a01b0391821691161490565b34801561044957600080fd5b50604051600981526020016102b8565b34801561046557600080fd5b50601454610355906001600160a01b031681565b34801561048557600080fd5b506102e1610ce5565b34801561049a57600080fd5b506102ae60065481565b3480156104b057600080fd5b506102ae600f5481565b3480156104c657600080fd5b506103256104d5366004612240565b610d68565b3480156104e657600080fd5b50601854610355906001600160a01b031681565b34801561050657600080fd5b506102e161051536600461225d565b610d76565b34801561052657600080fd5b506102e1610535366004612319565b610e57565b34801561054657600080fd5b50601a5461032590600160a81b900460ff1681565b34801561056757600080fd5b50601554610355906001600160a01b031681565b34801561058757600080fd5b50601a5461032590600160b01b900460ff1681565b3480156105a857600080fd5b506102ae6105b7366004612240565b6001600160a01b031660009081526010602052604090205490565b3480156105de57600080fd5b506102e16105ed36600461237d565b610e9f565b3480156105fe57600080fd5b506102ae60075481565b34801561061457600080fd5b506000546001600160a01b0316610355565b34801561063257600080fd5b506102e16106413660046123bb565b610ef4565b34801561065257600080fd5b506102f861104b565b34801561066757600080fd5b50601354610355906001600160a01b031681565b34801561068757600080fd5b506103256106963660046121d3565b61105a565b3480156106a757600080fd5b506102ae61108c565b3480156106bc57600080fd5b506102e16106cb366004612240565b6110a4565b3480156106dc57600080fd5b506106e56110f5565b6040516102b89291906123e9565b3480156106ff57600080fd5b50601654610355906001600160a01b031681565b34801561071f57600080fd5b50601754610355906001600160a01b031681565b34801561073f57600080fd5b506102ae600c5481565b34801561075557600080fd5b506102ae6107643660046123bb565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561079b57600080fd5b506102ae600e5481565b3480156107b157600080fd5b506102e16107c036600461225d565b61121c565b3480156107d157600080fd5b506102e16107e0366004612240565b61136d565b3480156107f157600080fd5b506102e1610800366004612240565b6113b8565b34801561081157600080fd5b50601a54610355906001600160a01b031681565b34801561083157600080fd5b506102ae600a5481565b34801561084757600080fd5b50610325610856366004612240565b6001600160a01b031660009081526001602052604090205460ff1690565b6000546001600160a01b031633146108a75760405162461bcd60e51b815260040161089e9061240e565b60405180910390fd5b601a54600160a01b900460ff16156108d15760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff166108fa5760405162461bcd60e51b815260040161089e90612465565b306000908152601060205260409020546009546014036109285780156109225761092261144e565b60046009555b600a879055600e839055600c859055600b869055600f829055600d849055601a54600160b01b900460ff1661095f576101f4610962565b60645b61ffff1661096e610ca2565b11156109e4576040805162461bcd60e51b81526020600482015260248101919091527f427579207461782063616e27742062652067726561746572207468616e20313060448201527f2520696620626f72726f776564206c7020616e6420353025206966206e6f742e606482015260840161089e565b601a54600160b01b900460ff166109fd576101f4610a00565b60645b61ffff16610a0c61108c565b1115610a8a5760405162461bcd60e51b815260206004820152604160248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201527f302520696620626f72726f776564206c7020616e6420353025206966206e6f746064820152601760f91b608482015260a40161089e565b50505050505050565b606060028054610aa29061249c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace9061249c565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b809086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038416610bba5760405162461bcd60e51b815260040161089e906124d6565b6001600160a01b038316610be05760405162461bcd60e51b815260040161089e9061251b565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610c8d576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610c6891849061191c565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610c98848484611956565b90505b9392505050565b6000600954600a54600c54600e54610cba9190612574565b610cc49190612574565b610cce9190612574565b905090565b6000610cdd610ca2565b610cc461108c565b6000546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610d395760405162461bcd60e51b815260040161089e9061242e565b60405133904780156108fc02916000818181858888f19350505050158015610d65573d6000803e3d6000fd5b50565b6000610b8c82600654610b25565b6000546001600160a01b03163314610da05760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610dca5760405162461bcd60e51b815260040161089e9061242e565b6103e881600654610ddb9190612587565b610de5919061259e565b600755600654610df8906101f49061259e565b6007541015610d655760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161089e565b6000546001600160a01b03163314610e815760405162461bcd60e51b815260040161089e9061240e565b6004610e8d838261260e565b506005610e9a828261260e565b505050565b6000546001600160a01b03163314610ec95760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610f1e5760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610f485760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff16610f715760405162461bcd60e51b815260040161089e90612465565b6001600160a01b03821615610f9c57601680546001600160a01b0319166001600160a01b0384161790555b6001600160a01b03811615610fc757601580546001600160a01b0319166001600160a01b0383161790555b6015546001600160a01b031615801590610feb57506016546001600160a01b031615155b6110475760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161089e565b5050565b606060038054610aa29061249c565b60008054336001600160a01b03909116036110815761107a338484611b85565b9050610b8c565b61107a338484611956565b6000600954600b54600d54600f54610cba9190612574565b6000546001600160a01b031633146110ce5760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b606080600460058180546111089061249c565b80601f01602080910402602001604051908101604052809291908181526020018280546111349061249c565b80156111815780601f1061115657610100808354040283529160200191611181565b820191906000526020600020905b81548152906001019060200180831161116457829003601f168201915b505050505091508080546111949061249c565b80601f01602080910402602001604051908101604052809291908181526020018280546111c09061249c565b801561120d5780601f106111e25761010080835404028352916020019161120d565b820191906000526020600020905b8154815290600101906020018083116111f057829003601f168201915b50505050509050915091509091565b6000546001600160a01b031633146112465760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff16156112705760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff166112995760405162461bcd60e51b815260040161089e90612465565b6103e8816006546112aa9190612587565b6112b4919061259e565b6008556006546112c69060149061259e565b600854111580156112e857506101f46006546112e2919061259e565b60085410155b610d655760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161089e565b6000546001600160a01b031633146113975760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b031633146113e25760405162461bcd60e51b815260040161089e9061240e565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b601a805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e54919291829161148591612574565b116114915760006114c1565b6114c160026114bb6114a1610cd3565b6114bb600f54600e546114b49190612574565b8790611c6b565b90611ced565b905060006114cf8383611d2f565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611509576115096126ce565b6001600160a01b03928316602091820292909201015260195482519116908290600190811061153a5761153a6126ce565b6001600160a01b039283166020918202929092010152601a5460405163791ac94760e01b81524792919091169063791ac947906115849086906000908790309042906004016126e4565b600060405180830381600087803b15801561159e57600080fd5b505af11580156115b2573d6000803e3d6000fd5b505050506000806115cc8347611d2f90919063ffffffff16565b9050600080600f54600e546115e19190612574565b116115f3576115ee610cd3565b611619565b61161961160b6002600f54600e546114bb9190612574565b611613610cd3565b90611d2f565b9050600061164060026114bb846114bb600f54600e546116399190612574565b8890611c6b565b90506000600d54600c546116549190612574565b11156116d5576000611673836114bb600d54600c546114b49190612574565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d80600081146116c7576040519150601f19603f3d011682016040523d82523d6000602084013e6116cc565b606091505b50600096505050505b6000600b54600a546116e79190612574565b1115611768576000611706836114bb600b54600a546114b49190612574565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d806000811461175a576040519150601f19603f3d011682016040523d82523d6000602084013e61175f565b606091505b50600096505050505b871561187357601a54600090600160b01b900460ff16611793576016546001600160a01b03166117a0565b6018546001600160a01b03165b601a5460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0380841660848301524260a483015292935091169063f305d71990849060c40160606040518083038185885af1158015611810573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118359190612755565b505060408051848152602081018c90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a1505b6000611892836114bb6114b46002600954611c6b90919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156118e957600080fd5b505af11580156118fd573d6000803e3d6000fd5b5050601a805460ff60a01b191690555050505050505050505050505050565b600081848411156119405760405162461bcd60e51b815260040161089e91906121ab565b50600061194d8486612783565b95945050505050565b60006001600160a01b03841661197e5760405162461bcd60e51b815260040161089e906124d6565b6001600160a01b0383166119a45760405162461bcd60e51b815260040161089e9061251b565b6001600160a01b03841660009081526001602052604090205460ff16806119e357506001600160a01b03831660009081526001602052604090205460ff165b156119fa576119f3848484611b85565b9050610c9b565b601a54600160a01b900460ff1615611a17576119f3848484611b85565b611a22848484611d71565b611a2b83611f01565b15611a3857611a3861144e565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038716600090815260109091529190912054611a8a91849061191c565b6001600160a01b038516600090815260106020526040812091909155601a54600160a81b900460ff168015611ae357506013546001600160a01b0385811691161480611ae357506013546001600160a01b038681169116145b611aed5782611af8565b611af8858585611f62565b6001600160a01b038516600090815260106020526040902054909150611b1e9082612095565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b729085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601090915291822054611bd691849061191c565b6001600160a01b038086166000908152601060205260408082209390935590851681522054611c059083612095565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c599086815260200190565b60405180910390a35060019392505050565b600082600003611c7d57506000610b8c565b6000611c898385612587565b905082611c96858361259e565b14610c9b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161089e565b6000610c9b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506120f4565b6000610c9b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061191c565b6001600160a01b03831660009081526001602052604090205460ff16158015611db357506001600160a01b03821660009081526001602052604090205460ff16155b8015611dc857506001600160a01b0382163014155b8015611ddd57506001600160a01b0383163014155b8015611df4575061dead6001600160a01b03831614155b8015611e0e57506013546001600160a01b03838116911614155b8015611e2857506016546001600160a01b03838116911614155b8015611e4257506015546001600160a01b03838116911614155b8015611e5c57506018546001600160a01b03838116911614155b15610e9a576001600160a01b038216600090815260106020526040902054600754611e878383612574565b1115611efb5760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161089e565b50505050565b6013546000906001600160a01b038381169116148015611f2a5750601a54600160a81b900460ff165b8015611f405750601a54600160a01b900460ff16155b8015610b8c575060085430600090815260106020526040902054101592915050565b6001600160a01b03831660009081526012602052604081205460ff1680611fa157506001600160a01b03831660009081526012602052604090205460ff165b15611fad575080610c9b565b6018546001600160a01b0390811690841603611fca575080610c9b565b6013546000906001600160a01b03858116911614611fef57611fea610ca2565b611ff7565b611ff761108c565b9050600061200b6103e86114bb8685611c6b565b306000908152601060205260409020549091506120289082612095565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906120799085815260200190565b60405180910390a361208b8482611d2f565b9695505050505050565b6000806120a28385612574565b905083811015610c9b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161089e565b600081836121155760405162461bcd60e51b815260040161089e91906121ab565b50600061194d848661259e565b60008060008060008060c0878903121561213b57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000815180845260005b8181101561218b5760208185018101518683018201520161216f565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c9b6020830184612165565b6001600160a01b0381168114610d6557600080fd5b600080604083850312156121e657600080fd5b82356121f1816121be565b946020939093013593505050565b60008060006060848603121561221457600080fd5b833561221f816121be565b9250602084013561222f816121be565b929592945050506040919091013590565b60006020828403121561225257600080fd5b8135610c9b816121be565b60006020828403121561226f57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261229d57600080fd5b813567ffffffffffffffff808211156122b8576122b8612276565b604051601f8301601f19908116603f011681019082821181831017156122e0576122e0612276565b816040528381528660208588010111156122f957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561232c57600080fd5b823567ffffffffffffffff8082111561234457600080fd5b6123508683870161228c565b9350602085013591508082111561236657600080fd5b506123738582860161228c565b9150509250929050565b6000806040838503121561239057600080fd5b823561239b816121be565b9150602083013580151581146123b057600080fd5b809150509250929050565b600080604083850312156123ce57600080fd5b82356123d9816121be565b915060208301356123b0816121be565b6040815260006123fc6040830185612165565b828103602084015261194d8185612165565b60208082526006908201526510a7aba722a960d11b604082015260600190565b60208082526018908201527f43616e6e6f742063616c6c207768656e20696e20737761700000000000000000604082015260600190565b60208082526018908201527f5468697320746f6b656e20686173206e6f2074617865732e0000000000000000604082015260600190565b600181811c908216806124b057607f821691505b6020821081036124d057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b8c57610b8c61255e565b8082028115828204841417610b8c57610b8c61255e565b6000826125bb57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610e9a57600081815260208120601f850160051c810160208610156125e75750805b601f850160051c820191505b81811015612606578281556001016125f3565b505050505050565b815167ffffffffffffffff81111561262857612628612276565b61263c81612636845461249c565b846125c0565b602080601f83116001811461267157600084156126595750858301515b600019600386901b1c1916600185901b178555612606565b600085815260208120601f198616915b828110156126a057888601518255948401946001909101908401612681565b50858210156126be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127345784516001600160a01b03168352938301939183019160010161270f565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561276a57600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610b8c57610b8c61255e56fea2646970667358221220df78f515688eaa6958e683a234db11f15fdf73b7ce41046b121424eb1827371c64736f6c63430008150033

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  ]
[ 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.