Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x9eAeBd7E73D97E78c77fAB743e6FFA1b550e224c
Balance 0.129736 ETH
Nonce 1
Code Size 8506 bytes
Indexed Transactions 1 (24,431,33824,431,338)
Gas Used (indexed) 46,924
External Etherscan · Sourcify

Contract Bytecode

8506 bytes
0x608060405260043610610122575f3560e01c80638a8c523c1161009f578063a9059cbb11610063578063a9059cbb146103e3578063bcda3a031461041f578063dd62ed3e14610447578063ec44acf214610483578063f2fde38b146104ad57610129565b80638a8c523c146103015780638da5cb5b1461031757806395d89b41146103415780639b19251a1461036b578063a457c2d7146103a757610129565b806339509351116100e6578063395093511461022357806353d6fd591461025f578063679a3c591461028757806370a08231146102af578063715018a6146102eb57610129565b806306fdde031461012d578063095ea7b31461015757806318160ddd1461019357806323b872dd146101bd578063313ce567146101f957610129565b3661012957005b5f80fd5b348015610138575f80fd5b506101416104d5565b60405161014e919061174a565b60405180910390f35b348015610162575f80fd5b5061017d600480360381019061017891906117fb565b610565565b60405161018a9190611853565b60405180910390f35b34801561019e575f80fd5b506101a7610582565b6040516101b4919061187b565b60405180910390f35b3480156101c8575f80fd5b506101e360048036038101906101de9190611894565b61058b565b6040516101f09190611853565b60405180910390f35b348015610204575f80fd5b5061020d61065f565b60405161021a91906118ff565b60405180910390f35b34801561022e575f80fd5b50610249600480360381019061024491906117fb565b610674565b6040516102569190611853565b60405180910390f35b34801561026a575f80fd5b5061028560048036038101906102809190611942565b610722565b005b348015610292575f80fd5b506102ad60048036038101906102a89190611980565b61080e565b005b3480156102ba575f80fd5b506102d560048036038101906102d09190611980565b6108e9565b6040516102e2919061187b565b60405180910390f35b3480156102f6575f80fd5b506102ff61092f565b005b34801561030c575f80fd5b50610315610a7d565b005b348015610322575f80fd5b5061032b610b7c565b60405161033891906119ba565b60405180910390f35b34801561034c575f80fd5b50610355610ba3565b604051610362919061174a565b60405180910390f35b348015610376575f80fd5b50610391600480360381019061038c9190611980565b610c33565b60405161039e9190611853565b60405180910390f35b3480156103b2575f80fd5b506103cd60048036038101906103c891906117fb565b610c50565b6040516103da9190611853565b60405180910390f35b3480156103ee575f80fd5b50610409600480360381019061040491906117fb565b610d18565b6040516104169190611853565b60405180910390f35b34801561042a575f80fd5b5061044560048036038101906104409190611894565b610d35565b005b348015610452575f80fd5b5061046d600480360381019061046891906119d3565b610e4a565b60405161047a919061187b565b60405180910390f35b34801561048e575f80fd5b50610497610ecc565b6040516104a49190611853565b60405180910390f35b3480156104b8575f80fd5b506104d360048036038101906104ce9190611980565b610ede565b005b6060600480546104e490611a3e565b80601f016020809104026020016040519081016040528092919081815260200182805461051090611a3e565b801561055b5780601f106105325761010080835404028352916020019161055b565b820191905f5260205f20905b81548152906001019060200180831161053e57829003601f168201915b5050505050905090565b5f61057861057161109b565b84846110a2565b6001905092915050565b5f600754905090565b5f610597848484611265565b610654846105a361109b565b61064f856040518060600160405280603081526020016120d56030913960025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f61060661109b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461161b9092919063ffffffff16565b6110a2565b600190509392505050565b5f60065f9054906101000a900460ff16905090565b5f61071861068061109b565b846107138560025f61069061109b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461167d90919063ffffffff16565b6110a2565b6001905092915050565b61072a61109b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ad90611ab8565b60405180910390fd5b8060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b61081661109b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089990611ab8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156108e5573d5f803e3d5ffd5b5050565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61093761109b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba90611ab8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610a8561109b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890611ab8565b60405180910390fd5b60085f9054906101000a900460ff1615610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5790611b20565b60405180910390fd5b600160085f6101000a81548160ff021916908315150217905550565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054610bb290611a3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90611a3e565b8015610c295780601f10610c0057610100808354040283529160200191610c29565b820191905f5260205f20905b815481529060010190602001808311610c0c57829003601f168201915b5050505050905090565b6003602052805f5260405f205f915054906101000a900460ff1681565b5f610d0e610c5c61109b565b84610d09856040518060600160405280603081526020016120826030913960025f610c8561109b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461161b9092919063ffffffff16565b6110a2565b6001905092915050565b5f610d2b610d2461109b565b8484611265565b6001905092915050565b610d3d61109b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090611ab8565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401610e04929190611b3e565b6020604051808303815f875af1158015610e20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e449190611b79565b50505050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60085f9054906101000a900460ff1681565b610ee661109b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6990611ab8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd790611c14565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790611ca2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361117e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117590611d30565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611258919061187b565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90611dbe565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890611e4c565b60405180910390fd5b5f8111611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90611eda565b60405180910390fd5b60035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015611421575060035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156114755760085f9054906101000a900460ff16611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90611f68565b60405180910390fd5b5b6114df816040518060600160405280602381526020016120b26023913960015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461161b9092919063ffffffff16565b60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055506115708160015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461167d90919063ffffffff16565b60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161160e919061187b565b60405180910390a3505050565b5f838311158290611662576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611659919061174a565b60405180910390fd5b505f83856116709190611fb3565b9050809150509392505050565b5f80828461168b9190611fe6565b9050838110156116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790612063565b60405180910390fd5b8091505092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61171c826116da565b61172681856116e4565b93506117368185602086016116f4565b61173f81611702565b840191505092915050565b5f6020820190508181035f8301526117628184611712565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6117978261176e565b9050919050565b6117a78161178d565b81146117b1575f80fd5b50565b5f813590506117c28161179e565b92915050565b5f819050919050565b6117da816117c8565b81146117e4575f80fd5b50565b5f813590506117f5816117d1565b92915050565b5f80604083850312156118115761181061176a565b5b5f61181e858286016117b4565b925050602061182f858286016117e7565b9150509250929050565b5f8115159050919050565b61184d81611839565b82525050565b5f6020820190506118665f830184611844565b92915050565b611875816117c8565b82525050565b5f60208201905061188e5f83018461186c565b92915050565b5f805f606084860312156118ab576118aa61176a565b5b5f6118b8868287016117b4565b93505060206118c9868287016117b4565b92505060406118da868287016117e7565b9150509250925092565b5f60ff82169050919050565b6118f9816118e4565b82525050565b5f6020820190506119125f8301846118f0565b92915050565b61192181611839565b811461192b575f80fd5b50565b5f8135905061193c81611918565b92915050565b5f80604083850312156119585761195761176a565b5b5f611965858286016117b4565b92505060206119768582860161192e565b9150509250929050565b5f602082840312156119955761199461176a565b5b5f6119a2848285016117b4565b91505092915050565b6119b48161178d565b82525050565b5f6020820190506119cd5f8301846119ab565b92915050565b5f80604083850312156119e9576119e861176a565b5b5f6119f6858286016117b4565b9250506020611a07858286016117b4565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611a5557607f821691505b602082108103611a6857611a67611a11565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f611aa26020836116e4565b9150611aad82611a6e565b602082019050919050565b5f6020820190508181035f830152611acf81611a96565b9050919050565b7f52657861732046696e616e63653a20416c726561647920656e61626c656400005f82015250565b5f611b0a601e836116e4565b9150611b1582611ad6565b602082019050919050565b5f6020820190508181035f830152611b3781611afe565b9050919050565b5f604082019050611b515f8301856119ab565b611b5e602083018461186c565b9392505050565b5f81519050611b7381611918565b92915050565b5f60208284031215611b8e57611b8d61176a565b5b5f611b9b84828501611b65565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f611bfe6026836116e4565b9150611c0982611ba4565b604082019050919050565b5f6020820190508181035f830152611c2b81611bf2565b9050919050565b7f52657861732046696e616e63653a20417070726f76652066726f6d20746865205f8201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b5f611c8c602c836116e4565b9150611c9782611c32565b604082019050919050565b5f6020820190508181035f830152611cb981611c80565b9050919050565b7f52657861732046696e616e63653a20417070726f766520746f20746865207a655f8201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b5f611d1a602a836116e4565b9150611d2582611cc0565b604082019050919050565b5f6020820190508181035f830152611d4781611d0e565b9050919050565b7f52657861732046696e616e63653a205472616e736665722066726f6d207468655f8201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b5f611da8602d836116e4565b9150611db382611d4e565b604082019050919050565b5f6020820190508181035f830152611dd581611d9c565b9050919050565b7f52657861732046696e616e63653a205472616e7366657220746f20746865207a5f8201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b5f611e36602b836116e4565b9150611e4182611ddc565b604082019050919050565b5f6020820190508181035f830152611e6381611e2a565b9050919050565b7f52657861732046696e616e63653a20416d6f756e74206d7573742062652067725f8201527f6561746572207468616e207a65726f0000000000000000000000000000000000602082015250565b5f611ec4602f836116e4565b9150611ecf82611e6a565b604082019050919050565b5f6020820190508181035f830152611ef181611eb8565b9050919050565b7f52657861732046696e616e63653a2054726164696e672069732064697361626c5f8201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b5f611f526021836116e4565b9150611f5d82611ef8565b604082019050919050565b5f6020820190508181035f830152611f7f81611f46565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611fbd826117c8565b9150611fc8836117c8565b9250828203905081811115611fe057611fdf611f86565b5b92915050565b5f611ff0826117c8565b9150611ffb836117c8565b925082820190508082111561201357612012611f86565b5b92915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f61204d601b836116e4565b915061205882612019565b602082019050919050565b5f6020820190508181035f83015261207a81612041565b905091905056fe52657861732046696e616e63653a2044656372656173656420616c6c6f77616e6365206f722062656c6f77207a65726f52657861732046696e616e63653a20496e73756666696369656e742062616c616e636552657861732046696e616e63653a205472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122091548d3bbbe8c29c0bfedceb505659a7efd56906d6660c2922826162eaa53a2564736f6c634300081a0033

Verified Source Code Partial Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
REXAS_FINANCE.sol 359 lines
// 
// ░▒▓███████▓▒░░▒▓█▓▒░░▒▓█▓▒░░▒▓███████▓▒░ 
// ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░        
// ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░        
// ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░  
// ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░      ░▒▓█▓▒░ 
// ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░      ░▒▓█▓▒░ 
// ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░  
//                                      
// Name: Rexas Finance
// Token: RXS
// Website: https://rexas.com
// Twitter/X: https://x.com/rexasfinance
// Telegram: https://t.me/rexasfinance
// 


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

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

    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
    );
}

// Dex Factory contract interface
interface IDexFactory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

// Dex Router contract interface
interface IDexRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(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;
    }
}

contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _owner = _msgSender();
        emit OwnershipTransferred(address(0), _owner);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = payable(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract REXAS_FINANCE is Context, IERC20, Ownable {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) public whitelist;

    string private _name = "Rexas Finance";
    string private _symbol = "RXS";
    uint8 private _decimals = 18;
    uint256 private _totalSupply = 1_000_000_000 * 1e18;

    bool public trading; // once enable can't be disable afterwards


    constructor() {
        whitelist[msg.sender] = true;
        _balances[owner()] = _totalSupply;
        
        emit Transfer(address(0), owner(), _totalSupply);
    }

    //to receive ETH from dexRouter when swapping
    receive() external payable {}

    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 _totalSupply;
    }

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

    function transfer(
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        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);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "Rexas Finance: 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,
                "Rexas Finance: Decreased allowance or below zero"
            )
        );
        return true;
    }

    function removeStuckEth(address _receiver) public onlyOwner {
        payable(_receiver).transfer(address(this).balance);
    }

    function removeStuckToken(address _token, address _receiver, uint256 _amount) public onlyOwner {
        IERC20(_token).transfer(_receiver, _amount);
    }

    function enableTrading() external onlyOwner {
        require(!trading, "Rexas Finance: Already enabled");
        trading = true;
    }

    function setWhitelist(address _user, bool _exmpt) external onlyOwner{
        whitelist[_user] = _exmpt;
    }

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

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

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

        if (!whitelist[from] && !whitelist[to]) {
            // trading disable till launch
            require(trading,"Rexas Finance: Trading is disable");
        }

        _balances[from] = _balances[from].sub(
            amount,
            "Rexas Finance: Insufficient balance"
        );
        _balances[to] = _balances[to].add(amount);

        emit Transfer(from, to, amount);
    }

}

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

    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) {
        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;
    }

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

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
trading 0xec44acf2 → bool
whitelist 0x9b19251a → bool

Write Contract 11 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeStuckEth 0x679a3c59
address _receiver
removeStuckToken 0xbcda3a03
address _token
address _receiver
uint256 _amount
renounceOwnership 0x715018a6
No parameters
setWhitelist 0x53d6fd59
address _user
bool _exmpt
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner

Top Interactions

AddressTxnsSentReceived
0x48f204b3...0568 1 1

Recent Transactions

CSV
|
Hash Method Block Age From/To Value Txn Fee Type
0x0dc16b20...5ada48 approve 24,431,338 IN 0x48f204b3...0568 0 ETH EIP-1559