Contract 0x96cd527581392BCcD79ab9494D96e003413751BA 1

 

Contract Overview

Balance:
2.721687139578230525 BNB

BNB Value:
$1,281.21 (@ $470.74/BNB)
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6053fa809a0348c083cf7a1fae5d9bfa44430c16533152d5807d7dd08f7969a2Approve118254082021-10-16 14:58:321 day 14 hrs ago0xd95efa3b33103ee1015caf899d2f5d102deb0642 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x08228004f2275797267e8317f2dcca78d98a27e698c3dec07c146a2fc173bbb6Sell117990952021-10-15 16:57:392 days 12 hrs ago0xf3147f0c698864b432b2df7e5b7f932f94ecadeb IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00012583
0xb45788989a0444c23f9c2e5897a25b389b4315d4744be18b481bcab38f67dbb0Approve117307112021-10-13 7:27:564 days 21 hrs ago0xb22d9f5126680a9f0265cf7054e2a7235c3468de IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x7dc0e3ea91dac7c87229f173bc0e2c25e362fa3d845f172c68947db83e6b2058Approve117306812021-10-13 7:26:084 days 21 hrs ago0xb22d9f5126680a9f0265cf7054e2a7235c3468de IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0xf1c2670033caba21dbf46d85e5db3c21fb1694e3a4264941fec8ab7650816ad2Approve117239902021-10-13 1:46:265 days 3 hrs ago0xb22d9f5126680a9f0265cf7054e2a7235c3468de IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.000221015
0x5caac944d3822f5d592a2542b8971da1c25bff430bd125a075838a035e76c201Sell117222572021-10-13 0:19:445 days 4 hrs ago0x2a9fba81b9fe54966ccb8881bd04e9212367dcff IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00012583
0x8ecf4d17d63affe6174e8db501f7feea96151d862099a1a7f00f29e31369bae8Sell117112362021-10-12 15:06:375 days 14 hrs ago0x8bae67b4a6d6df32096df855bc55b7cf4d2dc11d IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00024146
0xc34a367fc9d4c8c52f0aad07b9319790b21acd11a5bb347d2a294760133b9e2fSell117091352021-10-12 13:19:035 days 15 hrs ago0xe3df57833c42aa4c498fe2004157b87a4bf16500 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00016664
0xb470d5ef54cdffb9d8219eee61195c2980c02aa9c882a1b8791dabff684a6b34Buy116988422021-10-12 4:42:156 days 34 mins ago0xb22d9f5126680a9f0265cf7054e2a7235c3468de IN  0x96cd527581392bccd79ab9494d96e003413751ba0.0875 BNB0.00035694
0x91c244cf538060c22c9cd09bad2ea53d54179af6435924d29c0112dff487c822Buy116838582021-10-11 15:32:386 days 13 hrs ago0xb22d9f5126680a9f0265cf7054e2a7235c3468de IN  0x96cd527581392bccd79ab9494d96e003413751ba0.09 BNB0.00035694
0x7352dae7ce8904fd46082c0f1332ab4628c725c36c5a4fc55da5ff7629ce0cb2Approve116693442021-10-11 3:24:347 days 1 hr ago0x24d7a966218c074bfa2ee14ffe226dfb5e2d95a9 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0xe4717eb563d2dc0855105e584d7471bb392f9fa765065ab6fde9edd0a7e656c8Approve115644272021-10-07 11:43:4010 days 17 hrs ago0xd12f09752605385b01bc48fb67581dac8f4dd827 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0xa3b6727233588137a9c87dc0827503d4643619776639ece26e737ff591a8867bApprove114526712021-10-03 14:27:1414 days 14 hrs ago0x78984fc1dbb9dd89887db9a32b899f3009e3473a IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x3e4dd86c4b9280ca3260551fcfae61b015d2dbe2cb97fd451dc57cc6e92c947aApprove114523602021-10-03 14:11:4114 days 15 hrs ago0xccdcb0acec8ea9ce582e974de7f05d2cb65298c3 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x4ae444867eed72fb8607bbbea75cb7d75b83e17bbce9b4eccf254a4538b42eedApprove114523332021-10-03 14:10:2014 days 15 hrs ago0xccdcb0acec8ea9ce582e974de7f05d2cb65298c3 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x54835a83ef71ea8937c3305116f92d1e5aeff9283d25dfc6ff61c53ca44a81b8Approve114311312021-10-02 20:23:0015 days 8 hrs ago0x4464e71b50a0a604e4d2e7df14d76bfd462d0fdd IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.000222515
0x1d2cb2a5b385dce69928e9ace03df1a92d5c96b96f0923ea11a7240ca48a75c1Approve114269912021-10-02 16:53:2315 days 12 hrs ago0xbc415fd485403aac964cd68511b40cc6d2f40b4e IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.002184
0xff5ad69cb5cf88b1a3d8b33ca128dd4a6b1442c0804ad7c9465a3f0d5bd64ec8Sell113597952021-09-30 8:14:4917 days 21 hrs ago0xb22d9f5126680a9f0265cf7054e2a7235c3468de IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00012583
0x9bd4da10997b896d040a5be9934c216618e4e05d94a7cdfdf485644ae50abfc4Approve113404802021-09-29 16:00:5418 days 13 hrs ago0x701533cc1ac85fa5f32ec56fe3ea442bd4977e0d IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00010192
0x7a54845cf0a7b069b59c625bbb01d61ab0f4be68f46efa324c1e7e1f35a54942Approve113127942021-09-28 16:42:5119 days 12 hrs ago0x01dc791dca969b44ceb6018dce9f312475119864 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.00010192
0xb697df22425a614cb55835f5bc0ae661389f2b4b734cc1412b0b0f79f5fd6a2bApprove112608242021-09-26 20:54:4121 days 8 hrs ago0x580a3d9501a96a28c76d05c4feef0201bf522f3c IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x7635384b0a9d9552069d32581f2db664db6924d4237de0aa6ab7d510eb63bd5dApprove112607862021-09-26 20:52:4721 days 8 hrs ago0x580a3d9501a96a28c76d05c4feef0201bf522f3c IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x5441bde89b7597a929e6ec063b50256c76b94fbfdd3a30c39d7d3dca0087cd95Approve112607772021-09-26 20:52:2021 days 8 hrs ago0x580a3d9501a96a28c76d05c4feef0201bf522f3c IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
0x24138690c14ce5abda8c71306bed49eca236dc9efffe8a5cb42eefb9a68e0c37Approve112590732021-09-26 19:25:5421 days 9 hrs ago0x74eb555acdc0a00638c75dbd94ec6fbf610caeb2 IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.000221015
0xfeef6d9a7ab9a9229bcbcc7d13bc4e731b4075ee659a9ac5df6aeeba91208e2fApprove112048332021-09-24 21:56:3523 days 7 hrs ago0x889c97ad4157b802b1e34b0120b49a6edf6c6f0a IN  0x96cd527581392bccd79ab9494d96e003413751ba0 BNB0.0000728
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8ecf4d17d63affe6174e8db501f7feea96151d862099a1a7f00f29e31369bae8117112362021-10-12 15:06:375 days 14 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x8bae67b4a6d6df32096df855bc55b7cf4d2dc11d0.01417285918 BNB
0xc34a367fc9d4c8c52f0aad07b9319790b21acd11a5bb347d2a294760133b9e2f117091352021-10-12 13:19:035 days 15 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xe3df57833c42aa4c498fe2004157b87a4bf165000.144394350382747094 BNB
0xb470d5ef54cdffb9d8219eee61195c2980c02aa9c882a1b8791dabff684a6b34116988422021-10-12 4:42:156 days 34 mins ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7f9d43c0d4fb3be21d7d31bc70ab68a1b491d5560.007 BNB
0x91c244cf538060c22c9cd09bad2ea53d54179af6435924d29c0112dff487c822116838582021-10-11 15:32:386 days 13 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7f9d43c0d4fb3be21d7d31bc70ab68a1b491d5560.0072 BNB
0x826c3ce7bcc5e20083b81d7bffc2c01cb49120a7257b71923a90d19a146515c1111673502021-09-23 14:36:1324 days 14 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xde32a61acdd023fe38c994b2d1cb795b2f3741580.00068123660877326 BNB
0x5fc7bdb714e916f30e4efed3eab1cc2da426f9c49213777bb511c922108b51ef111523172021-09-23 1:57:2625 days 3 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xb22d9f5126680a9f0265cf7054e2a7235c3468de0.007765165478860637 BNB
0x93ea94c0c8053849b93560da580726a6dcea2e4ea54105cdb7b67c05ae022dd7111424942021-09-22 17:42:2925 days 11 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7f9d43c0d4fb3be21d7d31bc70ab68a1b491d5560.000712 BNB
0x93ea94c0c8053849b93560da580726a6dcea2e4ea54105cdb7b67c05ae022dd7111424942021-09-22 17:42:2925 days 11 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x70dacfc172eec57553de491e92d9806e28ff69f20.000178 BNB
0x865c2aaed624ee9292c92df0d160ad2ae2d8d6544dd233511e2ac81a5e704b21110694332021-09-20 4:29:5428 days 47 mins ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7f9d43c0d4fb3be21d7d31bc70ab68a1b491d5560.00008 BNB
0x8649ba1801e20e1b0e5daa2d43b8162b45b0e62d836dad917035ab2db60883ed109365472021-09-15 13:21:5532 days 15 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x56f95261d986e18c1f0a85346f0d2c2c3f28bc090.000785710428296417 BNB
0x224a7996639f7dabd6c4a71a4682be1d4eb0cb1125482687f687e2cd1088c66e108392582021-09-12 4:03:2436 days 1 hr ago 0x96cd527581392bccd79ab9494d96e003413751ba0xde8e51145e818def7c40364003e21051fd4474e30.00000185799595 BNB
0x1214be4b40a00aa49f25f0401d4578db67d3aa321d5ebe4bf72ef4dd5bdc0aa7108337232021-09-11 23:25:5836 days 5 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x9d1bfeaf06a7e83f8e8c589fa8f82beb90efb6b20.0006807595 BNB
0x412c740685cf13185656fdbdaaea3e8e9737c40afcd1ba13fde3dd32834a93c5108291322021-09-11 19:32:4536 days 9 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xc560e9f1be29032cbf16eeb594a465889b5da2780.00685795 BNB
0x1ee290a9bebd2ee3685fb3ff48ef47999a7a7270555aa974b905b83b6b570dc5107824752021-09-10 4:13:1938 days 1 hr ago 0x96cd527581392bccd79ab9494d96e003413751ba0xebf3cbcf7f09073d9413656da0e4727d0843229e0.003739248566765184 BNB
0xefa55818133b1fa5ff7581eee31602d2c4f2fe614ca1734bf86dbb593c78821c107370712021-09-08 13:59:4439 days 15 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x68ae261e6ee6c25206b4f78df6fa645d79d38a660.020187997371788682 BNB
0x46f422ba0b30ff2c8a8ffa6d21cbd8363e3786b122e5344f4df34dd30fae7e07107355252021-09-08 12:41:3539 days 16 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xd95efa3b33103ee1015caf899d2f5d102deb06420.0134196875 BNB
0x2b236770827e1dd99d75e11c767cff7f90bffb39fa7c20d69098b6b58fa7745a107269972021-09-08 5:29:3739 days 23 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7b5ab47117e8837a6cc488a774e32ed075e110a70.000004293517208342 BNB
0x75c014f5e583aaa136583a9947a5548d30f53dacac9463d38c917ead163307c8106765492021-09-06 10:46:1341 days 18 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x6f132c7b8fa9971d5fef84d0f1d2836b3a6b2fa30.001206798283906897 BNB
0x7846ab7f76f144d912ad35ec43c8814bb7dab8f178dc2b84510c1859c5cc17e8106690252021-09-06 4:29:1242 days 47 mins ago 0x96cd527581392bccd79ab9494d96e003413751ba0x9d1bfeaf06a7e83f8e8c589fa8f82beb90efb6b20.000469784441313012 BNB
0xcca7bcf2cf95ad3983415852e2546d871c6584c31afb8f28780a267840ac2043106293882021-09-04 19:24:0643 days 9 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xd8f240fa15abe9d8a0c2ba0a56ece5252d5eda030.00807937703392213 BNB
0x49739b28d954b7362c50bf5f0720a2986294b5e052375878984a80d6bd66e651106276482021-09-04 17:51:0943 days 11 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7f9d43c0d4fb3be21d7d31bc70ab68a1b491d5560.0008 BNB
0x1887dcb75fe8027aa8a3e73e4c9cb4272bce42720e18434adb5566eb2d3849f0106118062021-09-04 4:38:5944 days 38 mins ago 0x96cd527581392bccd79ab9494d96e003413751ba0xb22d9f5126680a9f0265cf7054e2a7235c3468de0.008977777195 BNB
0xd1c4d9cec5df234892ffe344bef1859f3d450aa5f15682fa98df69525096f3a6106048002021-09-03 22:48:4144 days 6 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x7f9d43c0d4fb3be21d7d31bc70ab68a1b491d5560.0008 BNB
0xd1c4d9cec5df234892ffe344bef1859f3d450aa5f15682fa98df69525096f3a6106048002021-09-03 22:48:4144 days 6 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0x70dacfc172eec57553de491e92d9806e28ff69f20.0002 BNB
0xa93e307b24748fa6c168e22aaa47a5df9cc6ad4dc0e5037493b47c0f90efd9da105924672021-09-03 12:23:4044 days 16 hrs ago 0x96cd527581392bccd79ab9494d96e003413751ba0xccdcb0acec8ea9ce582e974de7f05d2cb65298c30.002569294896370153 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
squadUpv2Exchange

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: exchange.sol
pragma solidity ^0.6.0;
import "./Squad.sol";

contract Percentage {
    uint256 public baseValue = 100;

    function onePercent(uint256 _value) internal view returns (uint256) {
        uint256 roundValue = SafeMath.ceil(_value, baseValue);
        uint256 Percent =
            SafeMath.div(SafeMath.mul(roundValue, baseValue), 10000);
        return Percent;
    }
}

contract squadUpv2Exchange is SquadUpV2, Percentage {
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlybelievers() {
        require(balanceOf(msg.sender) > 0);
        _;
    }

    // admin can:
    // -> change the name of the contract
    // -> change the name of the token
    // -> change the PoS difficulty
    // they CANNOT:
    // -> take funds
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdmin() {
        require(msg.sender == owner, "Only can owner can call!");
        _;
    }
    /*==============================
    =            EVENTS            =
    ==============================*/
    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy
    );

    event onTokenSell(
        address indexed customerAddress,
        uint256 tokensBurned,
        uint256 ethereumEarned
    );

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

    // ERC20
    event Transfer(address indexed from, address indexed to, uint256 tokens);

    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    address payable owner;
    uint256 internal constant dividendFee_ = 8;
    uint256 internal constant refferalBonus = 2;
    uint256 internal constant tokenPriceInitial_ = 0.005 ether;
    uint256 internal constant tokenPriceIncremental_ = 0.00001 ether;
    uint256 internal constant magnitude = 2**64;

    // proof of stake (defaults at 1 token)

    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 internal constant ambassadorMaxPurchase_ = 1 ether;
    uint256 internal constant ambassadorQuota_ = 1 ether;

    /*================================
    =            DATASETS            =
    ================================*/
    // amount of shares for each address (scaled number)
    mapping(address => int256) internal payoutsTo_;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    uint256 internal profitPerShare_;

    // administrator list (see above on what they can do)
    mapping(bytes32 => bool) public administrators;

    bool public onlyAmbassadors = false;

    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
     * -- APPLICATION ENTRY POINTS --
     */
    constructor() public {
        // add administrators here
        administrators[
            0x9bcc16873606dc04acb98263f74c420525ddef61de0d5f18fd97d16de659131a
        ] = true;

        ambassadors_[0x0000000000000000000000000000000000000000] = true;

        owner = msg.sender;
    }

    /**
     * Converts all incoming Ethereum to tokens for the caller, and passes down the referral address (if any)
     */
    function buy(address payable _referredBy) public payable returns (uint256) {
        purchaseTokens(msg.value, _referredBy);
    }

    /**
     * Liquifies tokens to ethereum.
     */
    function sell(uint256 _amountOfTokens) public onlybelievers() {
        address payable _customerAddress = msg.sender;

        require(_amountOfTokens <= balanceOf(_customerAddress));
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);
        // burn the sold tokens
        _burn(_customerAddress, _amountOfTokens);
        //send bnb back to seller
        _customerAddress.transfer(_ethereum);
        // fire event
        emit onTokenSell(_customerAddress, _tokens, _ethereum);
    }



    /*----------  HELPERS AND CALCULATORS  ----------*/
    /**
     * Method to view the current Ethereum stored in the contract
     * Example: totalEthereumBalance()
     */
    function totalEthereumBalance() public view returns (uint256) {
        return address(this).balance;
    }

    /**
     * Return the buy price of 1 individual token.
     */
    function sellPrice() public view returns (uint256) {
        if (totalSupply() == 0) {
            return tokenPriceInitial_ - tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(_ethereum, dividendFee_);
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }

    /**
     * Return the sell price of 1 individual token.
     */
    function buyPrice() public view returns (uint256) {
        if (totalSupply() == 0) {
            return tokenPriceInitial_ + tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(_ethereum, dividendFee_);
            uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }


    function calculateTokensReceived(uint256 _incomingEthereum)
        public
        view
        returns (uint256)
    {
        uint256 refBonus =
            SafeMath.mul(refferalBonus, onePercent(_incomingEthereum));
        uint256 adminFee =
            SafeMath.mul(dividendFee_, onePercent(_incomingEthereum));
        uint256 totalFee = SafeMath.add(adminFee, refBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, totalFee);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        return _amountOfTokens;
    }

    function calculateEthereumReceived(uint256 _tokensToSell)
        public
        view
        returns (uint256)
    {
        require(_tokensToSell <= totalSupply());
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        return _ethereum;
    }

    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
    function purchaseTokens(
        uint256 _incomingEthereum,
        address payable _referredBy
    ) internal returns (uint256) {
        // data setup
        address _customerAddress = msg.sender;
        uint256 refBonus =
            SafeMath.mul(refferalBonus, onePercent(_incomingEthereum));
        uint256 adminFee =
            SafeMath.mul(dividendFee_, onePercent(_incomingEthereum));
        uint256 totalFee = SafeMath.add(adminFee, refBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, totalFee);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        require(
            _amountOfTokens > 0 &&
                (SafeMath.add(_amountOfTokens, totalSupply()) > totalSupply())
        );

        // is the user referred by a karmalink?
        if (
            // is this a referred purchase?
            (_referredBy != 0x0000000000000000000000000000000000000000 &&
                _referredBy != _customerAddress &&
                balanceOf(_referredBy) > 0) ||
            // no cheating!
            _referredBy == owner
        ) {
            // wealth redistribution
            _referredBy.transfer(refBonus);
        }

        // update  the ledger address for the customer
        _mint(_customerAddress, _amountOfTokens);
        owner.transfer(adminFee);
        // fire event
        emit onTokenPurchase(
            _customerAddress,
            _incomingEthereum,
            _amountOfTokens,
            _referredBy
        );

        return _amountOfTokens;
    }

    /**
     * Calculate Token price based on an amount of incoming ethereum
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
    function ethereumToTokens_(uint256 _ethereum)
        internal
        view
        returns (uint256)
    {
        uint256 _tokenPriceInitial = tokenPriceInitial_ * 1e18;
        uint256 _tokensReceived =
            ((
                // underflow attempts BTFO
                SafeMath.sub(
                    (
                        sqrt(
                            (_tokenPriceInitial**2) +
                                (2 *
                                    (tokenPriceIncremental_ * 1e18) *
                                    (_ethereum * 1e18)) +
                                (((tokenPriceIncremental_)**2) *
                                    (totalSupply()**2)) +
                                (2 *
                                    (tokenPriceIncremental_) *
                                    _tokenPriceInitial *
                                    totalSupply())
                        )
                    ),
                    _tokenPriceInitial
                )
            ) / (tokenPriceIncremental_)) - (totalSupply());

        return _tokensReceived;
    }

    /**
     * Calculate token sell value.
     */
    function tokensToEthereum_(uint256 _tokens)
        internal
        view
        returns (uint256)
    {
        uint256 tokens_ = (_tokens + 1e18);
        uint256 _tokenSupply = (totalSupply() + 1e18);
        uint256 _etherReceived =
            (// underflow attempts BTFO
            SafeMath.sub(
                (((tokenPriceInitial_ +
                    (tokenPriceIncremental_ * (_tokenSupply / 1e18))) -
                    tokenPriceIncremental_) * (tokens_ - 1e18)),
                (tokenPriceIncremental_ * ((tokens_**2 - tokens_) / 1e18)) / 2
            ) / 1e18);
        return _etherReceived;
    }

    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */

File 2 of 2: Squad.sol
pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

    function ceil(uint256 a, uint256 m) internal pure returns (uint256) {
        uint256 c = add(a, m);
        uint256 d = sub(c, 1);
        return mul(div(d, m), m);
    }
}

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT
/*
 * Code is proprietary property of Zin Finance and must not be copied or used elsewhere.
 */
contract SquadUpV2 is ERC20 {
    constructor() public ERC20("SquadUp", "SQD") {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"customerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"incomingEthereum","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensMinted","type":"uint256"},{"indexed":true,"internalType":"address","name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"customerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensBurned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethereumEarned","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"customerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"administrators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokensToSell","type":"uint256"}],"name":"calculateEthereumReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_incomingEthereum","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyAmbassadors","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEthereumBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

608060405260646006556000600d60006101000a81548160ff0219169083151502179055503480156200003157600080fd5b506040518060400160405280600781526020017f53717561645570000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f53514400000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000b6929190620001dc565b508060049080519060200190620000cf929190620001dc565b506012600560006101000a81548160ff021916908360ff16021790555050506001600c60007f9bcc16873606dc04acb98263f74c420525ddef61de0d5f18fd97d16de659131a60001b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600860008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000282565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021f57805160ff191683800117855562000250565b8280016001018555821562000250579182015b828111156200024f57825182559160200191906001019062000232565b5b5090506200025f919062000263565b5090565b5b808211156200027e57600081600090555060010162000264565b5090565b61215980620002926000396000f3fe60806040526004361061012a5760003560e01c80634b750334116100ab57806395d89b411161006f57806395d89b41146105b8578063a457c2d714610648578063a9059cbb146106b9578063dd62ed3e1461072a578063e4849b32146107af578063f088d547146107ea5761012a565b80634b750334146104a757806361bb9c52146104d25780636b2f4632146104fd57806370a08231146105285780638620410b1461058d5761012a565b806323b872dd116100f257806323b872dd146102f957806327defa1f1461038a578063313ce567146103b7578063392efb52146103e557806339509351146104365761012a565b806306fdde031461012f578063095ea7b3146101bf57806310d0ffdd1461023057806318160ddd1461027f57806322609373146102aa575b600080fd5b34801561013b57600080fd5b50610144610842565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610184578082015181840152602081019050610169565b50505050905090810190601f1680156101b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101cb57600080fd5b50610218600480360360408110156101e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108e4565b60405180821515815260200191505060405180910390f35b34801561023c57600080fd5b506102696004803603602081101561025357600080fd5b8101908080359060200190929190505050610902565b6040518082815260200191505060405180910390f35b34801561028b57600080fd5b50610294610967565b6040518082815260200191505060405180910390f35b3480156102b657600080fd5b506102e3600480360360208110156102cd57600080fd5b8101908080359060200190929190505050610971565b6040518082815260200191505060405180910390f35b34801561030557600080fd5b506103726004803603606081101561031c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061099d565b60405180821515815260200191505060405180910390f35b34801561039657600080fd5b5061039f610a76565b60405180821515815260200191505060405180910390f35b3480156103c357600080fd5b506103cc610a89565b604051808260ff16815260200191505060405180910390f35b3480156103f157600080fd5b5061041e6004803603602081101561040857600080fd5b8101908080359060200190929190505050610aa0565b60405180821515815260200191505060405180910390f35b34801561044257600080fd5b5061048f6004803603604081101561045957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ac0565b60405180821515815260200191505060405180910390f35b3480156104b357600080fd5b506104bc610b73565b6040518082815260200191505060405180910390f35b3480156104de57600080fd5b506104e7610bd7565b6040518082815260200191505060405180910390f35b34801561050957600080fd5b50610512610bdd565b6040518082815260200191505060405180910390f35b34801561053457600080fd5b506105776004803603602081101561054b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610be5565b6040518082815260200191505060405180910390f35b34801561059957600080fd5b506105a2610c2d565b6040518082815260200191505060405180910390f35b3480156105c457600080fd5b506105cd610c91565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561060d5780820151818401526020810190506105f2565b50505050905090810190601f16801561063a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561065457600080fd5b506106a16004803603604081101561066b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d33565b60405180821515815260200191505060405180910390f35b3480156106c557600080fd5b50610712600480360360408110156106dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e00565b60405180821515815260200191505060405180910390f35b34801561073657600080fd5b506107996004803603604081101561074d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e1e565b6040518082815260200191505060405180910390f35b3480156107bb57600080fd5b506107e8600480360360208110156107d257600080fd5b8101908080359060200190929190505050610ea5565b005b61082c6004803603602081101561080057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f93565b6040518082815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108da5780601f106108af576101008083540402835291602001916108da565b820191906000526020600020905b8154815290600101906020018083116108bd57829003601f168201915b5050505050905090565b60006108f86108f1610fa5565b8484610fad565b6001905092915050565b6000806109186002610913856111a4565b6111da565b9050600061092f600861092a866111a4565b6111da565b9050600061093d8284611260565b9050600061094b86836112e8565b9050600061095882611332565b90508095505050505050919050565b6000600254905090565b600061097b610967565b82111561098757600080fd5b6000610992836113d2565b905080915050919050565b60006109aa848484611480565b610a6b846109b6610fa5565b610a668560405180606001604052806028815260200161206d60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a1c610fa5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117419092919063ffffffff16565b610fad565b600190509392505050565b600d60009054906101000a900460ff1681565b6000600560009054906101000a900460ff16905090565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000610b69610acd610fa5565b84610b648560016000610ade610fa5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461126090919063ffffffff16565b610fad565b6001905092915050565b600080610b7e610967565b1415610b9b576509184e72a0006611c37937e08000039050610bd4565b6000610bae670de0b6b3a76400006113d2565b90506000610bbd826008611801565b90506000610bcb83836112e8565b90508093505050505b90565b60065481565b600047905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080610c38610967565b1415610c55576509184e72a0006611c37937e08000019050610c8e565b6000610c68670de0b6b3a76400006113d2565b90506000610c77826008611801565b90506000610c858383611260565b90508093505050505b90565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d295780601f10610cfe57610100808354040283529160200191610d29565b820191906000526020600020905b815481529060010190602001808311610d0c57829003601f168201915b5050505050905090565b6000610df6610d40610fa5565b84610df1856040518060600160405280602581526020016120ff6025913960016000610d6a610fa5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117419092919063ffffffff16565b610fad565b6001905092915050565b6000610e14610e0d610fa5565b8484611480565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000610eb033610be5565b11610eba57600080fd5b6000339050610ec881610be5565b821115610ed457600080fd5b60008290506000610ee4826113d2565b9050610ef0838561184b565b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f36573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398383604051808381526020018281526020019250505060405180910390a250505050565b6000610f9f3483611a0f565b50919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611033576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806120db6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806120046022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6000806111b383600654611cac565b905060006111ce6111c6836006546111da565b612710611801565b90508092505050919050565b6000808314156111ed576000905061125a565b60008284029050828482816111fe57fe5b0414611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061204c6021913960400191505060405180910390fd5b809150505b92915050565b6000808284019050838110156112de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061132a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611741565b905092915050565b600080670de0b6b3a76400006611c37937e080000290506000611353610967565b6509184e72a0006113bd6113b7611368610967565b866509184e72a0006002020202600261137f610967565b0a60026509184e72a0000a02670de0b6b3a76400008a02670de0b6b3a76400006509184e72a00002600202026002890a010101611ce7565b856112e8565b816113c457fe5b040390508092505050919050565b600080670de0b6b3a7640000830190506000670de0b6b3a76400006113f5610967565b0190506000670de0b6b3a764000061146b670de0b6b3a764000085036509184e72a000670de0b6b3a7640000868161142957fe5b046509184e72a000026611c37937e080000103026002670de0b6b3a7640000876002890a038161145557fe5b046509184e72a000028161146557fe5b046112e8565b8161147257fe5b049050809350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806120b66025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561158c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611fbf6023913960400191505060405180910390fd5b611597838383611d2c565b61160281604051806060016040528060268152602001612026602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117419092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611695816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461126090919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117b3578082015181840152602081019050611798565b50505050905090810190601f1680156117e05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600061184383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611d31565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120956021913960400191505060405180910390fd5b6118dd82600083611d2c565b61194881604051806060016040528060228152602001611fe2602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117419092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061199f816002546112e890919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000803390506000611a2a6002611a25876111a4565b6111da565b90506000611a416008611a3c886111a4565b6111da565b90506000611a4f8284611260565b90506000611a5d88836112e8565b90506000611a6a82611332565b9050600081118015611a925750611a7f610967565b611a9082611a8b610967565b611260565b115b611a9b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614158015611b0457508573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614155b8015611b1857506000611b1689610be5565b115b80611b705750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15611bbd578773ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015611bbb573d6000803e3d6000fd5b505b611bc78682611df7565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015611c2f573d6000803e3d6000fd5b508773ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58b84604051808381526020018281526020019250505060405180910390a380965050505050505092915050565b600080611cb98484611260565b90506000611cc88260016112e8565b9050611cdd611cd78286611801565b856111da565b9250505092915050565b60008060026001840181611cf757fe5b0490508291505b81811015611d2657809150600281828581611d1557fe5b040181611d1e57fe5b049050611cfe565b50919050565b505050565b60008083118290611ddd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611da2578082015181840152602081019050611d87565b50505050905090810190601f168015611dcf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611de957fe5b049050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b611ea660008383611d2c565b611ebb8160025461126090919063ffffffff16565b600281905550611f12816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461126090919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207ff528734eb9a2ce41fe1b61e636b5e54517ef2f61d6c792a27ec5f37c88759264736f6c634300060c0033

Deployed ByteCode Sourcemap

372:9893:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18011:83:0;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20208:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5469:560:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19086:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6035:260:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20892:454:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2803:35:1;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18938:83:0;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2750:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21755:300:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4547:421:1;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;73:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4367:107;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19249:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5042:420:1;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18213:87:0;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22558:400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19581:216;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19860:201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3645:537:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3456:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18011:83:0;18048:13;18081:5;18074:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18011:83;:::o;20208:210::-;20327:4;20349:39;20358:12;:10;:12::i;:::-;20372:7;20381:6;20349:8;:39::i;:::-;20406:4;20399:11;;20208:210;;;;:::o;5469:560:1:-;5574:7;5597:16;5628:58;1920:1;5656:29;5667:17;5656:10;:29::i;:::-;5628:12;:58::i;:::-;5597:89;;5696:16;5727:57;1871:1;5754:29;5765:17;5754:10;:29::i;:::-;5727:12;:57::i;:::-;5696:88;;5794:16;5813:32;5826:8;5836;5813:12;:32::i;:::-;5794:51;;5855:22;5880:41;5893:17;5912:8;5880:12;:41::i;:::-;5855:66;;5931:23;5957:33;5975:14;5957:17;:33::i;:::-;5931:59;;6007:15;6000:22;;;;;;;5469:560;;;:::o;19086:100:0:-;19139:7;19166:12;;19159:19;;19086:100;:::o;6035:260:1:-;6138:7;6186:13;:11;:13::i;:::-;6169;:30;;6161:39;;;;;;6210:17;6230:32;6248:13;6230:17;:32::i;:::-;6210:52;;6279:9;6272:16;;;6035:260;;;:::o;20892:454:0:-;21032:4;21049:36;21059:6;21067:9;21078:6;21049:9;:36::i;:::-;21096:220;21119:6;21140:12;:10;:12::i;:::-;21167:138;21223:6;21167:138;;;;;;;;;;;;;;;;;:11;:19;21179:6;21167:19;;;;;;;;;;;;;;;:33;21187:12;:10;:12::i;:::-;21167:33;;;;;;;;;;;;;;;;:37;;:138;;;;;:::i;:::-;21096:8;:220::i;:::-;21334:4;21327:11;;20892:454;;;;;:::o;2803:35:1:-;;;;;;;;;;;;;:::o;18938:83:0:-;18979:5;19004:9;;;;;;;;;;;18997:16;;18938:83;:::o;2750:46:1:-;;;;;;;;;;;;;;;;;;;;;;:::o;21755:300:0:-;21870:4;21892:133;21915:12;:10;:12::i;:::-;21942:7;21964:50;22003:10;21964:11;:25;21976:12;:10;:12::i;:::-;21964:25;;;;;;;;;;;;;;;:34;21990:7;21964:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;21892:8;:133::i;:::-;22043:4;22036:11;;21755:300;;;;:::o;4547:421:1:-;4589:7;4629:1;4612:13;:11;:13::i;:::-;:18;4608:354;;;2042:13;1974:11;4653:43;4646:50;;;;4608:354;4727:17;4747:23;4765:4;4747:17;:23::i;:::-;4727:43;;4784:18;4805:37;4818:9;1871:1;4805:12;:37::i;:::-;4784:58;;4856:22;4881:35;4894:9;4905:10;4881:12;:35::i;:::-;4856:60;;4937:14;4930:21;;;;;4547:421;;:::o;73:30::-;;;;:::o;4367:107::-;4420:7;4446:21;4439:28;;4367:107;:::o;19249:119:0:-;19315:7;19342:9;:18;19352:7;19342:18;;;;;;;;;;;;;;;;19335:25;;19249:119;;;:::o;5042:420:1:-;5083:7;5123:1;5106:13;:11;:13::i;:::-;:18;5102:354;;;2042:13;1974:11;5147:43;5140:50;;;;5102:354;5221:17;5241:23;5259:4;5241:17;:23::i;:::-;5221:43;;5278:18;5299:37;5312:9;1871:1;5299:12;:37::i;:::-;5278:58;;5350:22;5375:35;5388:9;5399:10;5375:12;:35::i;:::-;5350:60;;5431:14;5424:21;;;;;5042:420;;:::o;18213:87:0:-;18252:13;18285:7;18278:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18213:87;:::o;22558:400::-;22678:4;22700:228;22723:12;:10;:12::i;:::-;22750:7;22772:145;22829:15;22772:145;;;;;;;;;;;;;;;;;:11;:25;22784:12;:10;:12::i;:::-;22772:25;;;;;;;;;;;;;;;:34;22798:7;22772:34;;;;;;;;;;;;;;;;:38;;:145;;;;;:::i;:::-;22700:8;:228::i;:::-;22946:4;22939:11;;22558:400;;;;:::o;19581:216::-;19703:4;19725:42;19735:12;:10;:12::i;:::-;19749:9;19760:6;19725:9;:42::i;:::-;19785:4;19778:11;;19581:216;;;;:::o;19860:201::-;19994:7;20026:11;:18;20038:5;20026:18;;;;;;;;;;;;;;;:27;20045:7;20026:27;;;;;;;;;;;;;;;;20019:34;;19860:201;;;;:::o;3645:537:1:-;648:1;624:21;634:10;624:9;:21::i;:::-;:25;616:34;;;;;;3717:32:::1;3752:10;3717:45;;3800:27;3810:16;3800:9;:27::i;:::-;3781:15;:46;;3773:55;;;::::0;::::1;;3838:15;3856;3838:33;;3881:17;3901:26;3919:7;3901:17;:26::i;:::-;3881:46;;3969:40;3975:16;3993:15;3969:5;:40::i;:::-;4053:16;:25;;:36;4079:9;4053:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;4138:16;4126:49;;;4156:7;4165:9;4126:49;;;;;;;;;;;;;;;;;;;;;;;;660:1;;;3645:537:::0;:::o;3456:130::-;3522:7;3541:38;3556:9;3567:11;3541:14;:38::i;:::-;;3456:130;;;:::o;570:106:0:-;623:15;658:10;651:17;;570:106;:::o;25944:380::-;26097:1;26080:19;;:5;:19;;;;26072:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26178:1;26159:21;;:7;:21;;;;26151:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26262:6;26232:11;:18;26244:5;26232:18;;;;;;;;;;;;;;;:27;26251:7;26232:27;;;;;;;;;;;;;;;:36;;;;26300:7;26284:32;;26293:5;26284:32;;;26309:6;26284:32;;;;;;;;;;;;;;;;;;25944:380;;;:::o;110:258:1:-;169:7;188:18;209:32;223:6;231:9;;209:13;:32::i;:::-;188:53;;251:15;281:56;294:35;307:10;319:9;;294:12;:35::i;:::-;331:5;281:12;:56::i;:::-;251:86;;354:7;347:14;;;;110:258;;;:::o;3152:471:0:-;3210:7;3460:1;3455;:6;3451:47;;;3485:1;3478:8;;;;3451:47;3510:9;3526:1;3522;:5;3510:17;;3555:1;3550;3546;:5;;;;;;:10;3538:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3614:1;3607:8;;;3152:471;;;;;:::o;1764:181::-;1822:7;1842:9;1858:1;1854;:5;1842:17;;1883:1;1878;:6;;1870:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1936:1;1929:8;;;1764:181;;;;:::o;2228:136::-;2286:7;2313:43;2317:1;2320;2313:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2306:50;;2228:136;;;;:::o;8280:1101:1:-;8373:7;8396:26;8446:4;1974:11;8425:25;8396:54;;8460:23;9327:13;:11;:13::i;:::-;2042;8560:721;8620:581;9161:13;:11;:13::i;:::-;9104:18;2042:13;9001:1;:64;:121;:173;8962:1;8947:13;:11;:13::i;:::-;:16;8905:1;2042:13;8879:27;8878:86;8836:4;8824:9;:16;8779:4;2042:13;8754:29;8713:1;:71;:128;8675:1;8655:18;:21;8654:188;:311;:521;8620:4;:581::i;:::-;9245:18;8560:12;:721::i;:::-;8499:823;;;;;;8498:843;8460:881;;9359:15;9352:22;;;;8280:1101;;;:::o;9438:619::-;9529:7;9552:15;9581:4;9571:7;:14;9552:34;;9596:20;9636:4;9620:13;:11;:13::i;:::-;:20;9596:45;;9651:22;10014:4;9728:283;9911:4;9901:7;:14;2042:13;9844:4;9829:12;:19;;;;;;2042:13;9803:46;1974:11;9761:89;9760:136;9759:157;9996:1;9987:4;9976:7;9972:1;9963:7;:10;:20;9962:29;;;;;;2042:13;9936:56;9935:62;;;;;;9728:12;:283::i;:::-;:290;;;;;;9651:368;;10036:14;10029:21;;;;;9438:619;;;:::o;23448:610:0:-;23606:1;23588:20;;:6;:20;;;;23580:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23690:1;23669:23;;:9;:23;;;;23661:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23745:47;23766:6;23774:9;23785:6;23745:20;:47::i;:::-;23825:108;23861:6;23825:108;;;;;;;;;;;;;;;;;:9;:17;23835:6;23825:17;;;;;;;;;;;;;;;;:21;;:108;;;;;:::i;:::-;23805:9;:17;23815:6;23805:17;;;;;;;;;;;;;;;:128;;;;23967:32;23992:6;23967:9;:20;23977:9;23967:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;23944:9;:20;23954:9;23944:20;;;;;;;;;;;;;;;:55;;;;24032:9;24015:35;;24024:6;24015:35;;;24043:6;24015:35;;;;;;;;;;;;;;;;;;23448:610;;;:::o;2667:226::-;2787:7;2820:1;2815;:6;;2823:12;2807:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2847:9;2863:1;2859;:5;2847:17;;2884:1;2877:8;;;2667:226;;;;;:::o;4099:132::-;4157:7;4184:39;4188:1;4191;4184:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;4177:46;;4099:132;;;;:::o;25049:455::-;25152:1;25133:21;;:7;:21;;;;25125:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25205:49;25226:7;25243:1;25247:6;25205:20;:49::i;:::-;25288:105;25325:6;25288:105;;;;;;;;;;;;;;;;;:9;:18;25298:7;25288:18;;;;;;;;;;;;;;;;:22;;:105;;;;;:::i;:::-;25267:9;:18;25277:7;25267:18;;;;;;;;;;;;;;;:126;;;;25419:24;25436:6;25419:12;;:16;;:24;;;;:::i;:::-;25404:12;:39;;;;25485:1;25459:37;;25468:7;25459:37;;;25489:6;25459:37;;;;;;;;;;;;;;;;;;25049:455;;:::o;6448:1543:1:-;6568:7;6609:24;6636:10;6609:37;;6656:16;6687:58;1920:1;6715:29;6726:17;6715:10;:29::i;:::-;6687:12;:58::i;:::-;6656:89;;6755:16;6786:57;1871:1;6813:29;6824:17;6813:10;:29::i;:::-;6786:12;:57::i;:::-;6755:88;;6853:16;6872:32;6885:8;6895;6872:12;:32::i;:::-;6853:51;;6914:22;6939:41;6952:17;6971:8;6939:12;:41::i;:::-;6914:66;;6990:23;7016:33;7034:14;7016:17;:33::i;:::-;6990:59;;7099:1;7081:15;:19;:101;;;;;7168:13;:11;:13::i;:::-;7121:44;7134:15;7151:13;:11;:13::i;:::-;7121:12;:44::i;:::-;:60;7081:101;7060:132;;;;;;7328:42;7313:57;;:11;:57;;;;:108;;;;;7405:16;7390:31;;:11;:31;;;;7313:108;:154;;;;;7466:1;7441:22;7451:11;7441:9;:22::i;:::-;:26;7313:154;7312:220;;;;7527:5;;;;;;;;;;;7512:20;;:11;:20;;;7312:220;7251:384;;;7594:11;:20;;:30;7615:8;7594:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7251:384;7700:40;7706:16;7724:15;7700:5;:40::i;:::-;7750:5;;;;;;;;;;;:14;;:24;7765:8;7750:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7930:11;7811:140;;7840:16;7811:140;;;7870:17;7901:15;7811:140;;;;;;;;;;;;;;;;;;;;;;;;7969:15;7962:22;;;;;;;;6448:1543;;;;:::o;6327:175:0:-;6386:7;6406:9;6418;6422:1;6425;6418:3;:9::i;:::-;6406:21;;6438:9;6450;6454:1;6457;6450:3;:9::i;:::-;6438:21;;6477:17;6481:9;6485:1;6488;6481:3;:9::i;:::-;6492:1;6477:3;:17::i;:::-;6470:24;;;;6327:175;;;;:::o;10063:200:1:-;10111:9;10132;10154:1;10149;10145;:5;10144:11;;;;;;10132:23;;10169:1;10165:5;;10180:77;10191:1;10187;:5;10180:77;;;10212:1;10208:5;;10245:1;10240;10236;10232;:5;;;;;;:9;10231:15;;;;;;10227:19;;10180:77;;;10063:200;;;;:::o;27349:125:0:-;;;;:::o;4727:312::-;4847:7;4879:1;4875;:5;4882:12;4867:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4906:9;4922:1;4918;:5;;;;;;4906:17;;5030:1;5023:8;;;4727:312;;;;;:::o;24339:378::-;24442:1;24423:21;;:7;:21;;;;24415:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24493:49;24522:1;24526:7;24535:6;24493:20;:49::i;:::-;24570:24;24587:6;24570:12;;:16;;:24;;;;:::i;:::-;24555:12;:39;;;;24626:30;24649:6;24626:9;:18;24636:7;24626:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;24605:9;:18;24615:7;24605:18;;;;;;;;;;;;;;;:51;;;;24693:7;24672:37;;24689:1;24672:37;;;24702:6;24672:37;;;;;;;;;;;;;;;;;;24339:378;;:::o

Swarm Source

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