Contract 0x38a4b0a39851f16476446c3153ad957c0c5485c6

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash
Block
From
To
Value [Txn Fee]
0xa43906e8312a68fecbf8149e254a2ae2a7d12c5263b0389634a9863a210fb2fb84497572021-06-20 3:02:3741 days 16 hrs ago0xc5c9c797a9e6caaca107d0249833fab8c2227b48 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0xd94ccb248bf4ad3c2db6954a49012ba2537957e70a49a6fa20c54f1062b0236d84086142021-06-18 16:28:3843 days 3 hrs ago0xb4768f59d3dba2e8506d18d41d82aa8c0ea75683 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x1c45dbd9875c5e253408460fa2314e328b83c4d3700bbca59c3106b19c3d703f83378262021-06-16 4:59:5645 days 14 hrs ago0x23707fe36caf4ee4c3bf723b9c9666b39bd155b7 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x59c8a41f81b8ff368b258f183aab54d02dbf9073733cac8b424d9d44dd15890383355342021-06-16 3:04:2045 days 16 hrs ago0x2c2da9297da07475221e4208cd8c71932ced670f IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x0420a9fb845aabd8770a3a659ea68dd094082a87d3253295eb4c4a00092e2af583350322021-06-16 2:38:4145 days 17 hrs ago0x7bdd3b64bcfd9a91f19b297bee92cad975f886f5 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00169101
0xe94a82adf16007846f6147050a5ae068727d1cb91157dd335f56e52608e6de7e83348992021-06-16 2:32:0045 days 17 hrs ago0x08a56e0543546c9e81c3466a673a02685376103f IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x19758278f550206052d808f350c6ef7253a93e7e877a263625cb08b2175a2ba683341152021-06-16 1:52:0745 days 17 hrs ago0xac941e4b40875253adce5714d1630a327e89acb6 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x9c3a4ef1b73ebd3ed5ba4ddc16b7618611a10c54080fee6bacb3e2c8668be2e983336262021-06-16 1:27:3645 days 18 hrs ago0xc64844b38286de272d92ac3596cc48b1ed83cf83 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x38d43bb11426f74e813dbef4ad935f3d8fc3485cbc7cf61438ca1548b712596c83336202021-06-16 1:27:1845 days 18 hrs ago0x22f22e00987a56ae96f23c39c860865db42f3243 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x633913b580cf0d869ca4d372564ee56fa2e6fb678f14879e09e13fa907525a6783336032021-06-16 1:26:2745 days 18 hrs ago0x5525138f5c3e0dfbb17123b0e17e552888629101 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x82f5a62410f7ab5a6af731b0f97ad2faec88f8c217637c7d9c2163801c5535a083335922021-06-16 1:25:5445 days 18 hrs ago0xabaca088f2c80862e9a39b5909ebcfc42f6ecd7c IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0xa28b904f9b5d80043c9fd5d06035e21e85e990c9555f5420d55b4d44e23a0fdb83327592021-06-16 0:43:2545 days 18 hrs ago0x8198dacd75059a362e88bf1e6229e3e4fbf78f71 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0xd86629da8434f0a6ea4cbcc9767347ba42e46e3a23dddd78e0884f24c846282783326812021-06-16 0:39:3145 days 18 hrs ago0xba25b3550affcdf836831583e0d38aa083f6bd7a IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.0018013302
0xfdca1b9e0751d959cdb093c12c9b8d0681b143d0502fb40309f348cf48eb3f1c83323772021-06-16 0:24:1945 days 19 hrs ago0xf9d1144f72e59cf2ec1c0a9e1a35a93b41b28f95 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x909da585dac0fd9742553a6c8dce370a41d794e511f0f668ff21220607a5017083312412021-06-15 23:26:4545 days 20 hrs ago0x261e2f1baa2ea4d10e9d6747ef14ae686c585afb IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x86802e7b4eadeb5dde96ee29f4e56a29ebb732274d340ce77b50745963d5f45383301802021-06-15 22:33:4245 days 21 hrs ago0x5c9e9938752739cacf05331ace46dd7756357319 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x7ce08c9e58cce133e318815bff06d8378c0b95581b48f165b4cb1c9c36f7aa6383299082021-06-15 22:19:5645 days 21 hrs ago0x40c160777039d0cd8fc286c124a2ad7045eeacf5 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x6e5e2d2259925bd565e0379e9743dd3f468212a9d860a2f5b41672120967556c83296392021-06-15 22:06:2945 days 21 hrs ago0x15abd21e3c7173d71884e9ec7cc8d167dc6c1e24 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0xb2b2194914c394292ddb010a1259af4885bd2eb34d687bff60add14555e18dc083295592021-06-15 22:02:2945 days 21 hrs ago0x143c5864df0954dfe401caac2319e6ba946033c7 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x9e5fd87eef2f7ff04207b244823c9f0eaddf121fcf740d64b4a102e67b4731b383292892021-06-15 21:48:5945 days 21 hrs ago0x7af2ff329a621afd41d8429a3980c89e86d3504c IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x55606208c51446e4cc0dc0da7a11454ce79e2f1c0d9a2f9d2b9896f4d563c26183291512021-06-15 21:42:0545 days 21 hrs ago0x8bc1686fe03e7cf594dcc6707f90b3a0ffdaeb83 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00170559
0x861c57d86185acb7c7e4b5b5098b796cf71e737de036bc05b3f28e49948a7d1583290452021-06-15 21:36:4745 days 22 hrs ago0xa6bcbe4d523b56bf6046e7968f8528ee40b14cd7 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x6a3af0360d6edd0b4ccc39f976953729aec571bcaab9f1889f3f5508cd51459e83289602021-06-15 21:32:3145 days 22 hrs ago0xd65f1daead79e1704f4a00803c495fb27df64b1c IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0xfef486a155d882f4a928aee61964d18b809d8fd999199e3f0c437e19698392a583288762021-06-15 21:27:5145 days 22 hrs ago0x4b04179523cfe232046be9bc59a8fa2439d2e13a IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00176601
0x385a551617d7f0d988c7fe2ef620a85ea4b24198477957f5abcbb05ada5154b883288062021-06-15 21:24:0045 days 22 hrs ago0xe7b4dda183eeca43cce102afe888d417281d70a0 IN  0x38a4b0a39851f16476446c3153ad957c0c5485c60 BNB0.00020854
[ Download CSV Export 
Latest 4 internal transactions
Parent Txn Hash Block From To Value
0xe10e1a103bacc7895eb6ab7d68563faddf092743b06ec282784754f759e55d0583285192021-06-15 21:09:3945 days 22 hrs ago 0x38a4b0a39851f16476446c3153ad957c0c5485c60x985224943da2fa15a4edd83919e2b7ae8a29026443.125634615486725135 BNB
0xe10e1a103bacc7895eb6ab7d68563faddf092743b06ec282784754f759e55d0583285192021-06-15 21:09:3945 days 22 hrs ago 0x38a4b0a39851f16476446c3153ad957c0c5485c60xaa3d85ad9d128dfecb55424085754f6dfa643eb12.634967491781266301 BNB
0xe10e1a103bacc7895eb6ab7d68563faddf092743b06ec282784754f759e55d0583285192021-06-15 21:09:3945 days 22 hrs ago 0x38a4b0a39851f16476446c3153ad957c0c5485c6 Binance: WBNB Token100.626480769469025313 BNB
0xfb39d9182b2d2b1bac05cf73b49f0c920be1de6a6a1dc63cd3a00d70a41f469b82678632021-06-13 17:54:0348 days 1 hr ago 0x38644df306aa0480b52953ce5550f2901066a7d7  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x8f7C1b3AA3FCE13835bD437a5e8D46aeFdC1F789

Contract Name:
Presale01

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity Multiple files format)

File 1 of 6: Presale01.sol
// SPDX-License-Identifier: UNLICENSED
// ALL RIGHTS RESERVED
// Unicrypt reserves all rights on this code. You may NOT copy these contracts.

// Forked from Ethereum mainnet for Pancakeswap on Binance Smart Chain with no code changes
// WETH = WBNB
// ETH = BNB

// Presale contract. Version 2

/**
  Allows a decentralised presale to take place, and on success creates a uniswap pair and locks liquidity on Unicrypt.
  B_TOKEN, or base token, is the token the presale attempts to raise. (Usally ETH).
  S_TOKEN, or sale token, is the token being sold, which investors buy with the base token.
  If the base currency is set to the WETH9 address, the presale is in ETH.
  Otherwise it is for an ERC20 token - such as DAI, USDC, WBTC etc.
  For the Base token - It is advised to only use tokens such as ETH (WETH), DAI, USDC or tokens that have no rebasing, or complex fee on transfers. 1 token should ideally always be 1 token.
  Token withdrawls are done on a percent of total contribution basis (opposed to via a hardcoded 'amount'). This allows 
  fee on transfer, rebasing, or any magically changing balances to still work for the Sale token.
*/

pragma solidity 0.6.12;

import "./TransferHelper.sol";
import "./EnumerableSet.sol";
import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
import "./IERC20.sol";

interface IUniswapV2Factory {
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IPresaleLockForwarder {
    function lockLiquidity (IERC20 _baseToken, IERC20 _saleToken, uint256 _baseAmount, uint256 _saleAmount, uint256 _unlock_date, address payable _withdrawer) external;
    function uniswapPairIsInitialised (address _token0, address _token1) external view returns (bool);
}

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

interface IPresaleSettings {
    function getMaxPresaleLength () external view returns (uint256);
    function getRound1Length () external view returns (uint256);
    function userHoldsSufficientRound1Token (address _user) external view returns (bool);
    function referrerIsValid(address _referrer) external view returns (bool);
    function getBaseFee () external view returns (uint256);
    function getTokenFee () external view returns (uint256);
    function getEthAddress () external view returns (address payable);
    function getTokenAddress () external view returns (address payable);
    function getReferralFee () external view returns (uint256);
    function getEthCreationFee () external view returns (uint256);
}

contract Presale01 is ReentrancyGuard {
  using SafeMath for uint256;
  using EnumerableSet for EnumerableSet.AddressSet;
  
  /// @notice Presale Contract Version, used to choose the correct ABI to decode the contract
  uint256 public CONTRACT_VERSION = 2;
  
  struct PresaleInfo {
    address payable PRESALE_OWNER;
    IERC20 S_TOKEN; // sale token
    IERC20 B_TOKEN; // base token // usually WETH (ETH)
    uint256 TOKEN_PRICE; // 1 base token = ? s_tokens, fixed price
    uint256 MAX_SPEND_PER_BUYER; // maximum base token BUY amount per account
    uint256 AMOUNT; // the amount of presale tokens up for presale
    uint256 HARDCAP;
    uint256 SOFTCAP;
    uint256 LIQUIDITY_PERCENT; // divided by 1000
    uint256 LISTING_RATE; // fixed rate at which the token will list on uniswap
    uint256 START_BLOCK;
    uint256 END_BLOCK;
    uint256 LOCK_PERIOD; // unix timestamp -> e.g. 2 weeks
    bool PRESALE_IN_ETH; // if this flag is true the presale is raising ETH, otherwise an ERC20 token such as DAI
  }
  
  struct PresaleFeeInfo {
    uint256 UNICRYPT_BASE_FEE; // divided by 1000
    uint256 UNICRYPT_TOKEN_FEE; // divided by 1000
    uint256 REFERRAL_FEE; // divided by 1000
    address payable BASE_FEE_ADDRESS;
    address payable TOKEN_FEE_ADDRESS;
    address payable REFERRAL_FEE_ADDRESS; // if this is not address(0), there is a valid referral
  }
  
  struct PresaleStatus {
    bool WHITELIST_ONLY; // if set to true only whitelisted members may participate
    bool LP_GENERATION_COMPLETE; // final flag required to end a presale and enable withdrawls
    bool FORCE_FAILED; // set this flag to force fail the presale
    uint256 TOTAL_BASE_COLLECTED; // total base currency raised (usually ETH)
    uint256 TOTAL_TOKENS_SOLD; // total presale tokens sold
    uint256 TOTAL_TOKENS_WITHDRAWN; // total tokens withdrawn post successful presale
    uint256 TOTAL_BASE_WITHDRAWN; // total base tokens withdrawn on presale failure
    uint256 ROUND1_LENGTH; // in blocks
    uint256 NUM_BUYERS; // number of unique participants
  }

  struct BuyerInfo {
    uint256 baseDeposited; // total base token (usually ETH) deposited by user, can be withdrawn on presale failure
    uint256 tokensOwed; // num presale tokens a user is owed, can be withdrawn on presale success
  }
  
  PresaleInfo public PRESALE_INFO;
  PresaleFeeInfo public PRESALE_FEE_INFO;
  PresaleStatus public STATUS;
  address public PRESALE_GENERATOR;
  IPresaleLockForwarder public PRESALE_LOCK_FORWARDER;
  IPresaleSettings public PRESALE_SETTINGS;
  address UNICRYPT_DEV_ADDRESS;
  IUniswapV2Factory public UNI_FACTORY;
  IWETH public WETH;
  mapping(address => BuyerInfo) public BUYERS;
  EnumerableSet.AddressSet private WHITELIST;

  constructor(address _presaleGenerator) public {
    PRESALE_GENERATOR = _presaleGenerator;
    UNI_FACTORY = IUniswapV2Factory(0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73);
    WETH = IWETH(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
    PRESALE_SETTINGS = IPresaleSettings(0x8a5e208C1cA217Db8Ee64e8d390CF1f25De35A4e);
    PRESALE_LOCK_FORWARDER = IPresaleLockForwarder(0x46ae2bE0585e7f03d7A22411a76C0fd5CD24FCc3);
    UNICRYPT_DEV_ADDRESS = 0xAA3d85aD9D128DFECb55424085754F6dFa643eb1;
  }
  
  function init1 (
    address payable _presaleOwner, 
    uint256 _amount,
    uint256 _tokenPrice, 
    uint256 _maxEthPerBuyer, 
    uint256 _hardcap, 
    uint256 _softcap,
    uint256 _liquidityPercent,
    uint256 _listingRate,
    uint256 _startblock,
    uint256 _endblock,
    uint256 _lockPeriod
    ) external {
          
      require(msg.sender == PRESALE_GENERATOR, 'FORBIDDEN');
      PRESALE_INFO.PRESALE_OWNER = _presaleOwner;
      PRESALE_INFO.AMOUNT = _amount;
      PRESALE_INFO.TOKEN_PRICE = _tokenPrice;
      PRESALE_INFO.MAX_SPEND_PER_BUYER = _maxEthPerBuyer;
      PRESALE_INFO.HARDCAP = _hardcap;
      PRESALE_INFO.SOFTCAP = _softcap;
      PRESALE_INFO.LIQUIDITY_PERCENT = _liquidityPercent;
      PRESALE_INFO.LISTING_RATE = _listingRate;
      PRESALE_INFO.START_BLOCK = _startblock;
      PRESALE_INFO.END_BLOCK = _endblock;
      PRESALE_INFO.LOCK_PERIOD = _lockPeriod;
  }
  
  function init2 (
    IERC20 _baseToken,
    IERC20 _presaleToken,
    uint256 _unicryptBaseFee,
    uint256 _unicryptTokenFee,
    uint256 _referralFee,
    address payable _baseFeeAddress,
    address payable _tokenFeeAddress,
    address payable _referralAddress
    ) external {
          
      require(msg.sender == PRESALE_GENERATOR, 'FORBIDDEN');
      // require(!PRESALE_LOCK_FORWARDER.uniswapPairIsInitialised(address(_presaleToken), address(_baseToken)), 'PAIR INITIALISED');
      
      PRESALE_INFO.PRESALE_IN_ETH = address(_baseToken) == address(WETH);
      PRESALE_INFO.S_TOKEN = _presaleToken;
      PRESALE_INFO.B_TOKEN = _baseToken;
      PRESALE_FEE_INFO.UNICRYPT_BASE_FEE = _unicryptBaseFee;
      PRESALE_FEE_INFO.UNICRYPT_TOKEN_FEE = _unicryptTokenFee;
      PRESALE_FEE_INFO.REFERRAL_FEE = _referralFee;
      
      PRESALE_FEE_INFO.BASE_FEE_ADDRESS = _baseFeeAddress;
      PRESALE_FEE_INFO.TOKEN_FEE_ADDRESS = _tokenFeeAddress;
      PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS = _referralAddress;
      STATUS.ROUND1_LENGTH = PRESALE_SETTINGS.getRound1Length();
  }
  
  modifier onlyPresaleOwner() {
    require(PRESALE_INFO.PRESALE_OWNER == msg.sender, "NOT PRESALE OWNER");
    _;
  }
  
  function presaleStatus () public view returns (uint256) {
    if (STATUS.FORCE_FAILED) {
      return 3; // FAILED - force fail
    }
    if ((block.number > PRESALE_INFO.END_BLOCK) && (STATUS.TOTAL_BASE_COLLECTED < PRESALE_INFO.SOFTCAP)) {
      return 3; // FAILED - softcap not met by end block
    }
    if (STATUS.TOTAL_BASE_COLLECTED >= PRESALE_INFO.HARDCAP) {
      return 2; // SUCCESS - hardcap met
    }
    if ((block.number > PRESALE_INFO.END_BLOCK) && (STATUS.TOTAL_BASE_COLLECTED >= PRESALE_INFO.SOFTCAP)) {
      return 2; // SUCCESS - endblock and soft cap reached
    }
    if ((block.number >= PRESALE_INFO.START_BLOCK) && (block.number <= PRESALE_INFO.END_BLOCK)) {
      return 1; // ACTIVE - deposits enabled
    }
    return 0; // QUED - awaiting start block
  }
  
  // accepts msg.value for eth or _amount for ERC20 tokens
  function userDeposit (uint256 _amount) external payable nonReentrant {
    require(presaleStatus() == 1, 'NOT ACTIVE'); // ACTIVE
    // Presale Round 1 - require participant to hold a certain token and balance
    bool userHoldsUnicryptTokens = PRESALE_SETTINGS.userHoldsSufficientRound1Token(msg.sender);
    if (block.number < PRESALE_INFO.START_BLOCK + STATUS.ROUND1_LENGTH) { // 276 blocks = 1 hour
        require(userHoldsUnicryptTokens, 'INSUFFICENT ROUND 1 TOKEN BALANCE');
    } else if (STATUS.WHITELIST_ONLY && !userHoldsUnicryptTokens) {
      // Round 2
      require(WHITELIST.contains(msg.sender), 'NOT WHITELISTED');
    }
    BuyerInfo storage buyer = BUYERS[msg.sender];
    uint256 amount_in = PRESALE_INFO.PRESALE_IN_ETH ? msg.value : _amount;
    uint256 allowance = PRESALE_INFO.MAX_SPEND_PER_BUYER.sub(buyer.baseDeposited);
    uint256 remaining = PRESALE_INFO.HARDCAP - STATUS.TOTAL_BASE_COLLECTED;
    allowance = allowance > remaining ? remaining : allowance;
    if (amount_in > allowance) {
      amount_in = allowance;
    }
    uint256 tokensSold = amount_in.mul(PRESALE_INFO.TOKEN_PRICE).div(10 ** uint256(PRESALE_INFO.B_TOKEN.decimals()));
    require(tokensSold > 0, 'ZERO TOKENS');
    if (buyer.baseDeposited == 0) {
        STATUS.NUM_BUYERS++;
    }
    buyer.baseDeposited = buyer.baseDeposited.add(amount_in);
    buyer.tokensOwed = buyer.tokensOwed.add(tokensSold);
    STATUS.TOTAL_BASE_COLLECTED = STATUS.TOTAL_BASE_COLLECTED.add(amount_in);
    STATUS.TOTAL_TOKENS_SOLD = STATUS.TOTAL_TOKENS_SOLD.add(tokensSold);
    
    // return unused ETH
    if (PRESALE_INFO.PRESALE_IN_ETH && amount_in < msg.value) {
      msg.sender.transfer(msg.value.sub(amount_in));
    }
    // deduct non ETH token from user
    if (!PRESALE_INFO.PRESALE_IN_ETH) {
      TransferHelper.safeTransferFrom(address(PRESALE_INFO.B_TOKEN), msg.sender, address(this), amount_in);
    }
  }
  
  // withdraw presale tokens
  // percentile withdrawls allows fee on transfer or rebasing tokens to still work
  function userWithdrawTokens () external nonReentrant {
    require(STATUS.LP_GENERATION_COMPLETE, 'AWAITING LP GENERATION');
    BuyerInfo storage buyer = BUYERS[msg.sender];
    uint256 tokensRemainingDenominator = STATUS.TOTAL_TOKENS_SOLD.sub(STATUS.TOTAL_TOKENS_WITHDRAWN);
    uint256 tokensOwed = PRESALE_INFO.S_TOKEN.balanceOf(address(this)).mul(buyer.tokensOwed).div(tokensRemainingDenominator);
    require(tokensOwed > 0, 'NOTHING TO WITHDRAW');
    STATUS.TOTAL_TOKENS_WITHDRAWN = STATUS.TOTAL_TOKENS_WITHDRAWN.add(buyer.tokensOwed);
    buyer.tokensOwed = 0;
    TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), msg.sender, tokensOwed);
  }
  
  // on presale failure
  // percentile withdrawls allows fee on transfer or rebasing tokens to still work
  function userWithdrawBaseTokens () external nonReentrant {
    require(presaleStatus() == 3, 'NOT FAILED'); // FAILED
    BuyerInfo storage buyer = BUYERS[msg.sender];
    uint256 baseRemainingDenominator = STATUS.TOTAL_BASE_COLLECTED.sub(STATUS.TOTAL_BASE_WITHDRAWN);
    uint256 remainingBaseBalance = PRESALE_INFO.PRESALE_IN_ETH ? address(this).balance : PRESALE_INFO.B_TOKEN.balanceOf(address(this));
    uint256 tokensOwed = remainingBaseBalance.mul(buyer.baseDeposited).div(baseRemainingDenominator);
    require(tokensOwed > 0, 'NOTHING TO WITHDRAW');
    STATUS.TOTAL_BASE_WITHDRAWN = STATUS.TOTAL_BASE_WITHDRAWN.add(buyer.baseDeposited);
    buyer.baseDeposited = 0;
    TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), msg.sender, tokensOwed, !PRESALE_INFO.PRESALE_IN_ETH);
  }
  
  // on presale failure
  // allows the owner to withdraw the tokens they sent for presale & initial liquidity
  function ownerWithdrawTokens () external onlyPresaleOwner {
    require(presaleStatus() == 3); // FAILED
    TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), PRESALE_INFO.PRESALE_OWNER, PRESALE_INFO.S_TOKEN.balanceOf(address(this)));
  }
  

  // Can be called at any stage before or during the presale to cancel it before it ends.
  // If the pair already exists on uniswap and it contains the presale token as liquidity 
  // the final stage of the presale 'addLiquidity()' will fail. This function 
  // allows anyone to end the presale prematurely to release funds in such a case.
  function forceFailIfPairExists () external {
    require(!STATUS.LP_GENERATION_COMPLETE && !STATUS.FORCE_FAILED);
    if (PRESALE_LOCK_FORWARDER.uniswapPairIsInitialised(address(PRESALE_INFO.S_TOKEN), address(PRESALE_INFO.B_TOKEN))) {
        STATUS.FORCE_FAILED = true;
    }
  }
  
  // if something goes wrong in LP generation
  function forceFailByUnicrypt () external {
      require(msg.sender == UNICRYPT_DEV_ADDRESS);
      STATUS.FORCE_FAILED = true;
  }
  
  // on presale success, this is the final step to end the presale, lock liquidity and enable withdrawls of the sale token.
  // This function does not use percentile distribution. Rebasing mechanisms, fee on transfers, or any deflationary logic
  // are not taken into account at this stage to ensure stated liquidity is locked and the pool is initialised according to 
  // the presale parameters and fixed prices.
  function addLiquidity() external nonReentrant {
    require(!STATUS.LP_GENERATION_COMPLETE, 'GENERATION COMPLETE');
    require(presaleStatus() == 2, 'NOT SUCCESS'); // SUCCESS
    // Fail the presale if the pair exists and contains presale token liquidity
    if (PRESALE_LOCK_FORWARDER.uniswapPairIsInitialised(address(PRESALE_INFO.S_TOKEN), address(PRESALE_INFO.B_TOKEN))) {
        STATUS.FORCE_FAILED = true;
        return;
    }
    
    uint256 unicryptBaseFee = STATUS.TOTAL_BASE_COLLECTED.mul(PRESALE_FEE_INFO.UNICRYPT_BASE_FEE).div(1000);
    
    // base token liquidity
    uint256 baseLiquidity = STATUS.TOTAL_BASE_COLLECTED.sub(unicryptBaseFee).mul(PRESALE_INFO.LIQUIDITY_PERCENT).div(1000);
    if (PRESALE_INFO.PRESALE_IN_ETH) {
        WETH.deposit{value : baseLiquidity}();
    }
    TransferHelper.safeApprove(address(PRESALE_INFO.B_TOKEN), address(PRESALE_LOCK_FORWARDER), baseLiquidity);
    
    // sale token liquidity
    uint256 tokenLiquidity = baseLiquidity.mul(PRESALE_INFO.LISTING_RATE).div(10 ** uint256(PRESALE_INFO.B_TOKEN.decimals()));
    TransferHelper.safeApprove(address(PRESALE_INFO.S_TOKEN), address(PRESALE_LOCK_FORWARDER), tokenLiquidity);
    
    PRESALE_LOCK_FORWARDER.lockLiquidity(PRESALE_INFO.B_TOKEN, PRESALE_INFO.S_TOKEN, baseLiquidity, tokenLiquidity, block.timestamp + PRESALE_INFO.LOCK_PERIOD, PRESALE_INFO.PRESALE_OWNER);
    
    // transfer fees
    uint256 unicryptTokenFee = STATUS.TOTAL_TOKENS_SOLD.mul(PRESALE_FEE_INFO.UNICRYPT_TOKEN_FEE).div(1000);
    // referrals are checked for validity in the presale generator
    if (PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS != address(0)) {
        // Base token fee
        uint256 referralBaseFee = unicryptBaseFee.mul(PRESALE_FEE_INFO.REFERRAL_FEE).div(1000);
        TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS, referralBaseFee, !PRESALE_INFO.PRESALE_IN_ETH);
        unicryptBaseFee = unicryptBaseFee.sub(referralBaseFee);
        // Token fee
        uint256 referralTokenFee = unicryptTokenFee.mul(PRESALE_FEE_INFO.REFERRAL_FEE).div(1000);
        TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS, referralTokenFee);
        unicryptTokenFee = unicryptTokenFee.sub(referralTokenFee);
    }
    TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), PRESALE_FEE_INFO.BASE_FEE_ADDRESS, unicryptBaseFee, !PRESALE_INFO.PRESALE_IN_ETH);
    TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), PRESALE_FEE_INFO.TOKEN_FEE_ADDRESS, unicryptTokenFee);
    
    // burn unsold tokens
    uint256 remainingSBalance = PRESALE_INFO.S_TOKEN.balanceOf(address(this));
    if (remainingSBalance > STATUS.TOTAL_TOKENS_SOLD) {
        uint256 burnAmount = remainingSBalance.sub(STATUS.TOTAL_TOKENS_SOLD);
        TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), 0x000000000000000000000000000000000000dEaD, burnAmount);
    }
    
    // send remaining base tokens to presale owner
    uint256 remainingBaseBalance = PRESALE_INFO.PRESALE_IN_ETH ? address(this).balance : PRESALE_INFO.B_TOKEN.balanceOf(address(this));
    TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), PRESALE_INFO.PRESALE_OWNER, remainingBaseBalance, !PRESALE_INFO.PRESALE_IN_ETH);
    
    STATUS.LP_GENERATION_COMPLETE = true;
  }
  
  function updateMaxSpendLimit(uint256 _maxSpend) external onlyPresaleOwner {
    require(PRESALE_INFO.START_BLOCK > block.number);
    PRESALE_INFO.MAX_SPEND_PER_BUYER = _maxSpend;
  }
  
  // postpone or bring a presale forward, this will only work when a presale is inactive.
  // i.e. current start block > block.number
  function updateBlocks(uint256 _startBlock, uint256 _endBlock) external onlyPresaleOwner {
    require(PRESALE_INFO.START_BLOCK > block.number);
    require(_endBlock.sub(_startBlock) <= PRESALE_SETTINGS.getMaxPresaleLength());
    PRESALE_INFO.START_BLOCK = _startBlock;
    PRESALE_INFO.END_BLOCK = _endBlock;
  }

  // editable at any stage of the presale
  function setWhitelistFlag(bool _flag) external onlyPresaleOwner {
    STATUS.WHITELIST_ONLY = _flag;
  }

  // editable at any stage of the presale
  function editWhitelist(address[] memory _users, bool _add) external onlyPresaleOwner {
    if (_add) {
        for (uint i = 0; i < _users.length; i++) {
          WHITELIST.add(_users[i]);
        }
    } else {
        for (uint i = 0; i < _users.length; i++) {
          WHITELIST.remove(_users[i]);
        }
    }
  }

  // whitelist getters
  function getWhitelistedUsersLength () external view returns (uint256) {
    return WHITELIST.length();
  }
  
  function getWhitelistedUserAtIndex (uint256 _index) external view returns (address) {
    return WHITELIST.at(_index);
  }
  
  function getUserWhitelistStatus (address _user) external view returns (bool) {
    return WHITELIST.contains(_user);
  }
}

File 2 of 6: EnumerableSet.sol
// SPDX-License-Identifier: MIT

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/EnumerableSet.sol
// Subject to the MIT license.

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 3 of 6: IERC20.sol
pragma solidity >=0.5.0;

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

    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

File 4 of 6: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol
// Subject to the MIT license.

pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 6: SafeMath.sol
// SPDX-License-Identifier: MIT

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol
// Subject to the MIT license.

pragma solidity >=0.6.0 <0.8.0;

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

File 6 of 6: TransferHelper.sol
pragma solidity 0.6.12;

/**
    helper methods for interacting with ERC20 tokens that do not consistently return true/false
    with the addition of a transfer function to send eth or an erc20 token
*/
library TransferHelper {
    function safeApprove(address token, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(address token, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(address token, address from, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }
    
    // sends ETH or an erc20 token
    function safeTransferBaseToken(address token, address payable to, uint value, bool isERC20) internal {
        if (!isERC20) {
            to.transfer(value);
        } else {
            (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
            require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
        }
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_presaleGenerator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"BUYERS","outputs":[{"internalType":"uint256","name":"baseDeposited","type":"uint256"},{"internalType":"uint256","name":"tokensOwed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_FEE_INFO","outputs":[{"internalType":"uint256","name":"UNICRYPT_BASE_FEE","type":"uint256"},{"internalType":"uint256","name":"UNICRYPT_TOKEN_FEE","type":"uint256"},{"internalType":"uint256","name":"REFERRAL_FEE","type":"uint256"},{"internalType":"address payable","name":"BASE_FEE_ADDRESS","type":"address"},{"internalType":"address payable","name":"TOKEN_FEE_ADDRESS","type":"address"},{"internalType":"address payable","name":"REFERRAL_FEE_ADDRESS","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_GENERATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_INFO","outputs":[{"internalType":"address payable","name":"PRESALE_OWNER","type":"address"},{"internalType":"contract IERC20","name":"S_TOKEN","type":"address"},{"internalType":"contract IERC20","name":"B_TOKEN","type":"address"},{"internalType":"uint256","name":"TOKEN_PRICE","type":"uint256"},{"internalType":"uint256","name":"MAX_SPEND_PER_BUYER","type":"uint256"},{"internalType":"uint256","name":"AMOUNT","type":"uint256"},{"internalType":"uint256","name":"HARDCAP","type":"uint256"},{"internalType":"uint256","name":"SOFTCAP","type":"uint256"},{"internalType":"uint256","name":"LIQUIDITY_PERCENT","type":"uint256"},{"internalType":"uint256","name":"LISTING_RATE","type":"uint256"},{"internalType":"uint256","name":"START_BLOCK","type":"uint256"},{"internalType":"uint256","name":"END_BLOCK","type":"uint256"},{"internalType":"uint256","name":"LOCK_PERIOD","type":"uint256"},{"internalType":"bool","name":"PRESALE_IN_ETH","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_LOCK_FORWARDER","outputs":[{"internalType":"contract IPresaleLockForwarder","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_SETTINGS","outputs":[{"internalType":"contract IPresaleSettings","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STATUS","outputs":[{"internalType":"bool","name":"WHITELIST_ONLY","type":"bool"},{"internalType":"bool","name":"LP_GENERATION_COMPLETE","type":"bool"},{"internalType":"bool","name":"FORCE_FAILED","type":"bool"},{"internalType":"uint256","name":"TOTAL_BASE_COLLECTED","type":"uint256"},{"internalType":"uint256","name":"TOTAL_TOKENS_SOLD","type":"uint256"},{"internalType":"uint256","name":"TOTAL_TOKENS_WITHDRAWN","type":"uint256"},{"internalType":"uint256","name":"TOTAL_BASE_WITHDRAWN","type":"uint256"},{"internalType":"uint256","name":"ROUND1_LENGTH","type":"uint256"},{"internalType":"uint256","name":"NUM_BUYERS","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNI_FACTORY","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"bool","name":"_add","type":"bool"}],"name":"editWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceFailByUnicrypt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceFailIfPairExists","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserWhitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getWhitelistedUserAtIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedUsersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_presaleOwner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_maxEthPerBuyer","type":"uint256"},{"internalType":"uint256","name":"_hardcap","type":"uint256"},{"internalType":"uint256","name":"_softcap","type":"uint256"},{"internalType":"uint256","name":"_liquidityPercent","type":"uint256"},{"internalType":"uint256","name":"_listingRate","type":"uint256"},{"internalType":"uint256","name":"_startblock","type":"uint256"},{"internalType":"uint256","name":"_endblock","type":"uint256"},{"internalType":"uint256","name":"_lockPeriod","type":"uint256"}],"name":"init1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_baseToken","type":"address"},{"internalType":"contract IERC20","name":"_presaleToken","type":"address"},{"internalType":"uint256","name":"_unicryptBaseFee","type":"uint256"},{"internalType":"uint256","name":"_unicryptTokenFee","type":"uint256"},{"internalType":"uint256","name":"_referralFee","type":"uint256"},{"internalType":"address payable","name":"_baseFeeAddress","type":"address"},{"internalType":"address payable","name":"_tokenFeeAddress","type":"address"},{"internalType":"address payable","name":"_referralAddress","type":"address"}],"name":"init2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ownerWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setWhitelistFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"updateBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSpend","type":"uint256"}],"name":"updateMaxSpendLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"userDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"userWithdrawBaseTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600260015534801561001557600080fd5b5060405162004592380380620045928339818101604052602081101561003a57600080fd5b8101908080519060200190929190505050600160008190555080601d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ca143ce32fe78f1f7019d7d551a6402fc5350c73602160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c602260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738a5e208c1ca217db8ee64e8d390cf1f25de35a4e601f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507346ae2be0585e7f03d7a22411a76c0fd5cd24fcc3601e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073aa3d85ad9d128dfecb55424085754f6dfa643eb1602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050614344806200024e6000396000f3fe60806040526004361061019c5760003560e01c8063927ac44d116100ec578063c39e7dbb1161008a578063e8078d9411610064578063e8078d94146109db578063e86e6340146109f2578063f868e76614610a09578063fe8121de14610a375761019c565b8063c39e7dbb1461091a578063c870279e14610931578063e33865b3146109725761019c565b8063acfb2355116100c6578063acfb235514610791578063ad5c4648146107bc578063b93ac792146107fd578063b9863a44146108b35761019c565b8063927ac44d14610619578063a5d0de8c146106ea578063a94e7e801461077a5761019c565b806346ed62c911610159578063760fe56e11610133578063760fe56e146104ed5780637bfc66001461053257806389fc0056146105735780638c301df8146105b45761019c565b806346ed62c9146103bb5780634bb18e3f146104ab57806373c30b6c146104d65761019c565b80630bbebba4146101a157806310c55f2b146101e257806324ef1bc71461024e57806338b90333146102895780633f74aa38146102b45780634200e4fc1461037e575b600080fd5b3480156101ad57600080fd5b506101b6610a4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101ee57600080fd5b506102316004803603602081101561020557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a74565b604051808381526020018281526020019250505060405180910390f35b34801561025a57600080fd5b506102876004803603602081101561027157600080fd5b8101908080359060200190929190505050610a98565b005b34801561029557600080fd5b5061029e610b7c565b6040518082815260200191505060405180910390f35b3480156102c057600080fd5b506102c9610b82565b604051808f73ffffffffffffffffffffffffffffffffffffffff1681526020018e73ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff1681526020018c81526020018b81526020018a815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182151581526020019e50505050505050505050505050505060405180910390f35b34801561038a57600080fd5b506103b9600480360360208110156103a157600080fd5b81019080803515159060200190929190505050610c49565b005b3480156103c757600080fd5b506104a960048036036101008110156103df57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d2f565b005b3480156104b757600080fd5b506104c0611086565b6040518082815260200191505060405180910390f35b3480156104e257600080fd5b506104eb611097565b005b3480156104f957600080fd5b506105306004803603604081101561051057600080fd5b810190808035906020019092919080359060200190929190505050611111565b005b34801561053e57600080fd5b506105476112c1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561057f57600080fd5b506105886112e7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105c057600080fd5b506105ed600480360360208110156105d757600080fd5b810190808035906020019092919050505061130d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561062557600080fd5b506106e86004803603604081101561063c57600080fd5b810190808035906020019064010000000081111561065957600080fd5b82018360208201111561066b57600080fd5b8035906020019184602083028401116401000000008311171561068d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080351515906020019092919050505061132a565b005b3480156106f657600080fd5b506106ff611484565b604051808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001965050505050505060405180910390f35b34801561078657600080fd5b5061078f61150e565b005b34801561079d57600080fd5b506107a6611705565b6040518082815260200191505060405180910390f35b3480156107c857600080fd5b506107d16117c9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561080957600080fd5b506108b1600480360361016081101561082157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506117ef565b005b3480156108bf57600080fd5b50610902600480360360208110156108d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611967565b60405180821515815260200191505060405180910390f35b34801561092657600080fd5b5061092f611984565b005b34801561093d57600080fd5b50610946611cf1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561097e57600080fd5b50610987611d17565b604051808a1515815260200189151581526020018815158152602001878152602001868152602001858152602001848152602001838152602001828152602001995050505050505050505060405180910390f35b3480156109e757600080fd5b506109f0611d7a565b005b3480156109fe57600080fd5b50610a0761298c565b005b610a3560048036036020811015610a1f57600080fd5b8101908080359060200190929190505050612b16565b005b348015610a4357600080fd5b50610a4c613170565b005b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60236020528060005260406000206000915090508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b436002600a015411610b6f57600080fd5b8060026004018190555050565b60015481565b60028060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600301549080600401549080600501549080600601549080600701549080600801549080600901549080600a01549080600b01549080600c01549080600d0160009054906101000a900460ff1690508e565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b80601660000160006101000a81548160ff02191690831515021790555050565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610df2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146002600d0160006101000a81548160ff02191690831515021790555086600260010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550876002800160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085601060000181905550846010600101819055508360106002018190555082601060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aac912166040518163ffffffff1660e01b815260040160206040518083038186803b15801561103857600080fd5b505afa15801561104c573d6000803e3d6000fd5b505050506040513d602081101561106257600080fd5b81019080805190602001909291905050506016600501819055505050505050505050565b600061109260246134af565b905090565b602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110f157600080fd5b6001601660000160026101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b436002600a0154116111e857600080fd5b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663120ac7e66040518163ffffffff1660e01b815260040160206040518083038186803b15801561125057600080fd5b505afa158015611264573d6000803e3d6000fd5b505050506040513d602081101561127a57600080fd5b810190808051906020019092919050505061129e83836134c490919063ffffffff16565b11156112a957600080fd5b816002600a0181905550806002600b01819055505050565b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061132382602461350e90919063ffffffff16565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b801561143d5760005b82518110156114375761142983828151811061141157fe5b6020026020010151602461352890919063ffffffff16565b5080806001019150506113f9565b50611480565b60005b825181101561147e5761147083828151811061145857fe5b6020026020010151602461355890919063ffffffff16565b508080600101915050611440565b505b5050565b60108060000154908060010154908060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905086565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b60036115de611705565b146115e857600080fd5b611703600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116c357600080fd5b505afa1580156116d7573d6000803e3d6000fd5b505050506040513d60208110156116ed57600080fd5b8101908080519060200190929190505050613588565b565b6000601660000160029054906101000a900460ff161561172857600390506117c6565b6002600b0154431180156117455750600260070154601660010154105b1561175357600390506117c6565b6002600601546016600101541061176d57600290506117c6565b6002600b01544311801561178b575060026007015460166001015410155b1561179957600290506117c6565b6002600a015443101580156117b357506002600b01544311155b156117c157600190506117c6565b600090505b90565b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8a600260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555089600260050181905550886002600301819055508760026004018190555086600260060181905550856002600701819055508460026008018190555083600260090181905550826002600a0181905550816002600b0181905550806002600c01819055505050505050505050505050565b600061197d82602461376b90919063ffffffff16565b9050919050565b600260005414156119fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506003611a0f611705565b14611a82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e4f54204641494c45440000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611ae46016600401546016600101546134c490919063ffffffff16565b905060006002600d0160009054906101000a900460ff16611bca576002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b8a57600080fd5b505afa158015611b9e573d6000803e3d6000fd5b505050506040513d6020811015611bb457600080fd5b8101908080519060200190929190505050611bcc565b475b90506000611bf983611beb86600001548561379b90919063ffffffff16565b61382190919063ffffffff16565b905060008111611c71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e4f5448494e4720544f2057495448445241570000000000000000000000000081525060200191505060405180910390fd5b611c8d846000015460166004015461386b90919063ffffffff16565b60166004018190555060008460000181905550611ce36002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836002600d0160009054906101000a900460ff16156138f3565b505050506001600081905550565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60168060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060060154905089565b60026000541415611df3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550601660000160019054906101000a900460ff1615611e81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f47454e45524154494f4e20434f4d504c4554450000000000000000000000000081525060200191505060405180910390fd5b6002611e8b611705565b14611efe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e4f54205355434345535300000000000000000000000000000000000000000081525060200191505060405180910390fd5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d8c70bb600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611fee57600080fd5b505afa158015612002573d6000803e3d6000fd5b505050506040513d602081101561201857600080fd5b810190808051906020019092919050505015612051576001601660000160026101000a81548160ff021916908315150217905550612982565b60006120846103e861207660106000015460166001015461379b90919063ffffffff16565b61382190919063ffffffff16565b905060006120cb6103e86120bd6002600801546120af866016600101546134c490919063ffffffff16565b61379b90919063ffffffff16565b61382190919063ffffffff16565b90506002600d0160009054906101000a900460ff161561216957602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561214f57600080fd5b505af1158015612163573d6000803e3d6000fd5b50505050505b6121ba6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613b29565b60006122906002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561222957600080fd5b505afa15801561223d573d6000803e3d6000fd5b505050506040513d602081101561225357600080fd5b810190808051906020019092919050505060ff16600a0a6122826002600901548561379b90919063ffffffff16565b61382190919063ffffffff16565b90506122e4600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613b29565b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632277d0e36002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685856002600c01544201600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019650505050505050600060405180830381600087803b15801561243857600080fd5b505af115801561244c573d6000803e3d6000fd5b5050505060006124836103e861247560106001015460166002015461379b90919063ffffffff16565b61382190919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461262857600061250c6103e86124fe6010600201548861379b90919063ffffffff16565b61382190919063ffffffff16565b90506125766002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002600d0160009054906101000a900460ff16156138f3565b61258981866134c490919063ffffffff16565b945060006125b96103e86125ab6010600201548661379b90919063ffffffff16565b61382190919063ffffffff16565b9050612610600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613588565b61262381846134c490919063ffffffff16565b925050505b6126906002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866002600d0160009054906101000a900460ff16156138f3565b6126e5600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613588565b6000600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561277357600080fd5b505afa158015612787573d6000803e3d6000fd5b505050506040513d602081101561279d57600080fd5b8101908080519060200190929190505050905060166002015481111561280d5760006127d7601660020154836134c490919063ffffffff16565b905061280b600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661dead83613588565b505b60006002600d0160009054906101000a900460ff166128f1576002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128b157600080fd5b505afa1580156128c5573d6000803e3d6000fd5b505050506040513d60208110156128db57600080fd5b81019080805190602001909291905050506128f3565b475b905061295d6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002600d0160009054906101000a900460ff16156138f3565b6001601660000160016101000a81548160ff0219169083151502179055505050505050505b6001600081905550565b601660000160019054906101000a900460ff161580156129bc5750601660000160029054906101000a900460ff16155b6129c557600080fd5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d8c70bb600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612ab557600080fd5b505afa158015612ac9573d6000803e3d6000fd5b505050506040513d6020811015612adf57600080fd5b810190808051906020019092919050505015612b14576001601660000160026101000a81548160ff0219169083151502179055505b565b60026000541415612b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506001612ba1611705565b14612c14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e4f54204143544956450000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a6da481336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612c9f57600080fd5b505afa158015612cb3573d6000803e3d6000fd5b505050506040513d6020811015612cc957600080fd5b810190808051906020019092919050505090506016600501546002600a015401431015612d4b5780612d46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806142876021913960400191505060405180910390fd5b612df5565b601660000160009054906101000a900460ff168015612d68575080155b15612df457612d8133602461376b90919063ffffffff16565b612df3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e4f542057484954454c4953544544000000000000000000000000000000000081525060200191505060405180910390fd5b5b5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006002600d0160009054906101000a900460ff16612e575783612e59565b345b90506000612e7983600001546002600401546134c490919063ffffffff16565b90506000601660010154600260060154039050808211612e995781612e9b565b805b915081831115612ea9578192505b6000612f7f6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015612f1857600080fd5b505afa158015612f2c573d6000803e3d6000fd5b505050506040513d6020811015612f4257600080fd5b810190808051906020019092919050505060ff16600a0a612f716002600301548761379b90919063ffffffff16565b61382190919063ffffffff16565b905060008111612ff7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20544f4b454e5300000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008560000154141561301a576016600601600081548092919060010191905055505b61303184866000015461386b90919063ffffffff16565b856000018190555061305081866001015461386b90919063ffffffff16565b85600101819055506130708460166001015461386b90919063ffffffff16565b6016600101819055506130918160166002015461386b90919063ffffffff16565b6016600201819055506002600d0160009054906101000a900460ff1680156130b857503484105b15613117573373ffffffffffffffffffffffffffffffffffffffff166108fc6130ea86346134c490919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015613115573d6000803e3d6000fd5b505b6002600d0160009054906101000a900460ff1661315f5761315e6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16333087613d0c565b5b505050505050600160008190555050565b600260005414156131e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550601660000160019054906101000a900460ff16613276576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4157414954494e47204c502047454e45524154494f4e0000000000000000000081525060200191505060405180910390fd5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006132d86016600301546016600201546134c490919063ffffffff16565b905060006133cb826133bd8560010154600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561337457600080fd5b505afa158015613388573d6000803e3d6000fd5b505050506040513d602081101561339e57600080fd5b810190808051906020019092919050505061379b90919063ffffffff16565b61382190919063ffffffff16565b905060008111613443576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e4f5448494e4720544f2057495448445241570000000000000000000000000081525060200191505060405180910390fd5b61345f836001015460166003015461386b90919063ffffffff16565b601660030181905550600083600101819055506134a2600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163383613588565b5050506001600081905550565b60006134bd82600001613ef1565b9050919050565b600061350683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613f02565b905092915050565b600061351d8360000183613fc2565b60001c905092915050565b6000613550836000018373ffffffffffffffffffffffffffffffffffffffff1660001b614045565b905092915050565b6000613580836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6140b5565b905092915050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061364b5780518252602082019150602081019050602083039250613628565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146136ad576040519150601f19603f3d011682016040523d82523d6000602084013e6136b2565b606091505b50915091508180156136f257506000815114806136f157508080602001905160208110156136df57600080fd5b81019080805190602001909291905050505b5b613764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5472616e7366657248656c7065723a205452414e534645525f4641494c45440081525060200191505060405180910390fd5b5050505050565b6000613793836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61419d565b905092915050565b6000808314156137ae576000905061381b565b60008284029050828482816137bf57fe5b0414613816576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806142ca6021913960400191505060405180910390fd5b809150505b92915050565b600061386383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506141c0565b905092915050565b6000808284019050838110156138e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b80613944578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561393e573d6000803e3d6000fd5b50613b23565b600060608573ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8686604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613a0757805182526020820191506020810190506020830392506139e4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613a69576040519150601f19603f3d011682016040523d82523d6000602084013e613a6e565b606091505b5091509150818015613aae5750600081511480613aad5750808060200190516020811015613a9b57600080fd5b81019080805190602001909291905050505b5b613b20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5472616e7366657248656c7065723a205452414e534645525f4641494c45440081525060200191505060405180910390fd5b50505b50505050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663095ea7b38585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613bec5780518252602082019150602081019050602083039250613bc9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613c4e576040519150601f19603f3d011682016040523d82523d6000602084013e613c53565b606091505b5091509150818015613c935750600081511480613c925750808060200190516020811015613c8057600080fd5b81019080805190602001909291905050505b5b613d05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f5472616e7366657248656c7065723a20415050524f56455f4641494c4544000081525060200191505060405180910390fd5b5050505050565b600060608573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200193505050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613ded5780518252602082019150602081019050602083039250613dca565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613e4f576040519150601f19603f3d011682016040523d82523d6000602084013e613e54565b606091505b5091509150818015613e945750600081511480613e935750808060200190516020811015613e8157600080fd5b81019080805190602001909291905050505b5b613ee9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806142eb6024913960400191505060405180910390fd5b505050505050565b600081600001805490509050919050565b6000838311158290613faf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f74578082015181840152602081019050613f59565b50505050905090810190601f168015613fa15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600081836000018054905011614023576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806142a86022913960400191505060405180910390fd5b82600001828154811061403257fe5b9060005260206000200154905092915050565b6000614051838361419d565b6140aa5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506140af565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114614191576000600182039050600060018660000180549050039050600086600001828154811061410057fe5b906000526020600020015490508087600001848154811061411d57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061415557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050614197565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000808311829061426c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614231578082015181840152602081019050614216565b50505050905090810190601f16801561425e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161427857fe5b04905080915050939250505056fe494e535546464943454e5420524f554e44203120544f4b454e2042414c414e4345456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544a26469706673582212209e8c968ce4fff2fa68ca3345bf02624299d45fe621c66ecce5b0a641d0cf3dc864736f6c634300060c003300000000000000000000000038644df306aa0480b52953ce5550f2901066a7d7

Deployed ByteCode Sourcemap

2799:16646:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5352:40;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5493:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;17856:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3025:35;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5148:31;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18555:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7033:1113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19072:108;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13885:134;;;;;;;;;;;;;:::i;:::-;;18187:319;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5296:51;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5430:36;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19188:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18710:332;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5184:38;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12938:250;;;;;;;;;;;;;:::i;:::-;;8281:801;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5471:17;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6094:931;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19320:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12001:816;;;;;;;;;;;;;:::i;:::-;;5259:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5227:27;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14448:3400;;;;;;;;;;;;;:::i;:::-;;13545:285;;;;;;;;;;;;;:::i;:::-;;9150:1942;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;11214:670;;;;;;;;;;;;;:::i;:::-;;5352:40;;;;;;;;;;;;;:::o;5493:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;17856:186::-;8227:10;8197:40;;:12;:26;;;;;;;;;;;;:40;;;8189:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17972:12:::1;17945;:24;;;:39;17937:48;;;::::0;::::1;;18027:9;17992:12;:32;;:44;;;;17856:186:::0;:::o;3025:35::-;;;;:::o;5148:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18555:106::-;8227:10;8197:40;;:12;:26;;;;;;;;;;;;:40;;;8189:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18650:5:::1;18626:6;:21;;;:29;;;;;;;;;;;;;;;;;;18555:106:::0;:::o;7033:1113::-;7365:17;;;;;;;;;;;7351:31;;:10;:31;;;7343:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7608:4;;;;;;;;;;;7577:36;;7585:10;7577:36;;;7547:12;:27;;;:66;;;;;;;;;;;;;;;;;;7645:13;7622:12;:20;;;:36;;;;;;;;;;;;;;;;;;7690:10;7667:12;:20;;;:33;;;;;;;;;;;;;;;;;;7746:16;7709;:34;;:53;;;;7809:17;7771:16;:35;;:55;;;;7867:12;7835:16;:29;;:44;;;;7932:15;7896:16;:33;;;:51;;;;;;;;;;;;;;;;;;7993:16;7956;:34;;;:53;;;;;;;;;;;;;;;;;;8058:16;8018;:37;;;:56;;;;;;;;;;;;;;;;;;8106:16;;;;;;;;;;;:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8083:6;:20;;:57;;;;7033:1113;;;;;;;;:::o;19072:108::-;19133:7;19156:18;:9;:16;:18::i;:::-;19149:25;;19072:108;:::o;13885:134::-;13957:20;;;;;;;;;;;13943:34;;:10;:34;;;13935:43;;;;;;14009:4;13987:6;:19;;;:26;;;;;;;;;;;;;;;;;;13885:134::o;18187:319::-;8227:10;8197:40;;:12;:26;;;;;;;;;;;;:40;;;8189:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18317:12:::1;18290;:24;;;:39;18282:48;;;::::0;::::1;;18375:16;;;;;;;;;;;:36;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;18345:26;18359:11;18345:9;:13;;:26;;;;:::i;:::-;:68;;18337:77;;;::::0;::::1;;18448:11;18421:12;:24;;:38;;;;18491:9;18466:12;:22;;:34;;;;18187:319:::0;;:::o;5296:51::-;;;;;;;;;;;;;:::o;5430:36::-;;;;;;;;;;;;;:::o;19188:124::-;19263:7;19286:20;19299:6;19286:9;:12;;:20;;;;:::i;:::-;19279:27;;19188:124;;;:::o;18710:332::-;8227:10;8197:40;;:12;:26;;;;;;;;;;;;:40;;;8189:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18806:4:::1;18802:235;;;18828:6;18823:90;18844:6;:13;18840:1;:17;18823:90;;;18877:24;18891:6;18898:1;18891:9;;;;;;;;;;;;;;18877;:13;;:24;;;;:::i;:::-;;18859:3;;;;;;;18823:90;;;;18802:235;;;18942:6;18937:93;18958:6;:13;18954:1;:17;18937:93;;;18991:27;19008:6;19015:1;19008:9;;;;;;;;;;;;;;18991;:16;;:27;;;;:::i;:::-;;18973:3;;;;;;;18937:93;;;;18802:235;18710:332:::0;;:::o;5184:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;12938:250::-;8227:10;8197:40;;:12;:26;;;;;;;;;;;;:40;;;8189:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13030:1:::1;13011:15;:13;:15::i;:::-;:20;13003:29;;;::::0;::::1;;13049:133;13085:12;:20;;;;;;;;;;;;13108:12;:26;;;;;;;;;;;;13136:12;:20;;;;;;;;;;;;:30;;;13175:4;13136:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;13049:27;:133::i;:::-;12938:250::o:0;8281:801::-;8328:7;8348:6;:19;;;;;;;;;;;;8344:73;;;8385:1;8378:8;;;;8344:73;8443:12;:22;;;8428:12;:37;8427:95;;;;;8501:12;:20;;;8471:6;:27;;;:50;8427:95;8423:167;;;8540:1;8533:8;;;;8423:167;8631:12;:20;;;8600:6;:27;;;:51;8596:107;;8669:1;8662:8;;;;8596:107;8729:12;:22;;;8714:12;:37;8713:96;;;;;8788:12;:20;;;8757:6;:27;;;:51;;8713:96;8709:170;;;8827:1;8820:8;;;;8709:170;8906:12;:24;;;8890:12;:40;;8889:86;;;;;8952:12;:22;;;8936:12;:38;;8889:86;8885:146;;;8993:1;8986:8;;;;8885:146;9044:1;9037:8;;8281:801;;:::o;5471:17::-;;;;;;;;;;;;;:::o;6094:931::-;6468:17;;;;;;;;;;;6454:31;;:10;:31;;;6446:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6537:13;6508:12;:26;;;:42;;;;;;;;;;;;;;;;;;6581:7;6559:12;:19;;:29;;;;6624:11;6597:12;:24;;:38;;;;6679:15;6644:12;:32;;:50;;;;6726:8;6703:12;:20;;:31;;;;6766:8;6743:12;:20;;:31;;;;6816:17;6783:12;:30;;:50;;;;6870:12;6842;:25;;:40;;;;6918:11;6891:12;:24;;:38;;;;6963:9;6938:12;:22;;:34;;;;7008:11;6981:12;:24;;:38;;;;6094:931;;;;;;;;;;;:::o;19320:122::-;19391:4;19411:25;19430:5;19411:9;:18;;:25;;;;:::i;:::-;19404:32;;19320:122;;;:::o;12001:816::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;12092:1:2::1;12073:15;:13;:15::i;:::-;:20;12065:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;12125:23;12151:6;:18;12158:10;12151:18;;;;;;;;;;;;;;;12125:44;;12176:32;12211:60;12243:6;:27;;;12211:6;:27;;;:31;;:60;;;;:::i;:::-;12176:95;;12278:28;12309:12;:27;;;;;;;;;;;;:99;;12363:12;:20:::0;::::1;;;;;;;;;;;:30;;;12402:4;12363:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;12309:99;;;12339:21;12309:99;12278:130;;12415:18;12436:75;12486:24;12436:45;12461:5;:19;;;12436:20;:24;;:45;;;;:::i;:::-;:49;;:75;;;;:::i;:::-;12415:96;;12539:1;12526:10;:14;12518:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;12601:52;12633:5;:19;;;12601:6;:27;;;:31;;:52;;;;:::i;:::-;12571:6;:27;;:82;;;;12682:1;12660:5;:19;;:23;;;;12690:121;12735:12;:20:::0;::::1;;;;;;;;;;;12758:10;12770;12783:12;:27;;;;;;;;;;;;12782:28;12690:36;:121::i;:::-;2637:1:3;;;;1823::::0;2785:7;:22;;;;12001:816:2:o;5259:32::-;;;;;;;;;;;;;:::o;5227:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14448:3400::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;14510:6:2::1;:29;;;;;;;;;;;;14509:30;14501:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14597:1;14578:15;:13;:15::i;:::-;:20;14570:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14717:22;;;;;;;;;;;:47;;;14773:12;:20;;;;;;;;;;;;14804:12;:20:::0;::::1;;;;;;;;;;;14717:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;14713:177;;;14861:4;14839:6;:19;;;:26;;;;;;;;;;;;;;;;;;14876:7;;14713:177;14902:23;14928:77;15000:4;14928:67;14960:16;:34;;;14928:6;:27;;;:31;;:67;;;;:::i;:::-;:71;;:77;;;;:::i;:::-;14902:103;;15047:21;15071:94;15160:4;15071:84;15124:12;:30;;;15071:48;15103:15;15071:6;:27;;;:31;;:48;;;;:::i;:::-;:52;;:84;;;;:::i;:::-;:88;;:94;;;;:::i;:::-;15047:118;;15176:12;:27;;;;;;;;;;;;15172:89;;;15216:4;;;;;;;;;;;:12;;;15237:13;15216:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;15172:89;15267:105;15302:12;:20:::0;::::1;;;;;;;;;;;15333:22;;;;;;;;;;;15358:13;15267:26;:105::i;:::-;15414:22;15439:96;15502:12;:20:::0;::::1;;;;;;;;;;;:29;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;15494:40;;15488:2;:46;15439:44;15457:12;:25;;;15439:13;:17;;:44;;;;:::i;:::-;:48;;:96;;;;:::i;:::-;15414:121;;15542:106;15577:12;:20;;;;;;;;;;;;15608:22;;;;;;;;;;;15633:14;15542:26;:106::i;:::-;15661:22;;;;;;;;;;;:36;;;15698:12;:20:::0;::::1;;;;;;;;;;;15720:12;:20;;;;;;;;;;;;15742:13;15757:14;15791:12;:24;;;15773:15;:42;15817:12;:26;;;;;;;;;;;;15661:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;15879:24;15906:75;15976:4;15906:65;15935:16;:35;;;15906:6;:24;;;:28;;:65;;;;:::i;:::-;:69;;:75;;;;:::i;:::-;15879:102;;16109:1;16060:51;;:16;:37;;;;;;;;;;;;:51;;;16056:733;;16151:23;16177:60;16232:4;16177:50;16197:16;:29;;;16177:15;:19;;:50;;;;:::i;:::-;:54;;:60;;;;:::i;:::-;16151:86;;16248:153;16293:12;:20:::0;::::1;;;;;;;;;;;16316:16;:37;;;;;;;;;;;;16355:15;16373:12;:27;;;;;;;;;;;;16372:28;16248:36;:153::i;:::-;16430:36;16450:15;16430;:19;;:36;;;;:::i;:::-;16412:54;;16499:24;16526:61;16582:4;16526:51;16547:16;:29;;;16526:16;:20;;:51;;;;:::i;:::-;:55;;:61;;;;:::i;:::-;16499:88;;16598:115;16634:12;:20;;;;;;;;;;;;16657:16;:37;;;;;;;;;;;;16696:16;16598:27;:115::i;:::-;16743:38;16764:16;16743;:20;;:38;;;;:::i;:::-;16724:57;;16056:733;;;16795:149;16840:12;:20:::0;::::1;;;;;;;;;;;16863:16;:33;;;;;;;;;;;;16898:15;16916:12;:27;;;;;;;;;;;;16915:28;16795:36;:149::i;:::-;16951:112;16987:12;:20;;;;;;;;;;;;17010:16;:34;;;;;;;;;;;;17046:16;16951:27;:112::i;:::-;17103:25;17131:12;:20;;;;;;;;;;;;:30;;;17170:4;17131:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;17103:73;;17207:6;:24;;;17187:17;:44;17183:262;;;17244:18;17265:47;17287:6;:24;;;17265:17;:21;;:47;;;;:::i;:::-;17244:68;;17323:114;17359:12;:20;;;;;;;;;;;;17382:42;17426:10;17323:27;:114::i;:::-;17183:262;;17509:28;17540:12;:27;;;;;;;;;;;;:99;;17594:12;:20:::0;::::1;;;;;;;;;;;:30;;;17633:4;17594:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;17540:99;;;17570:21;17540:99;17509:130;;17646:147;17691:12;:20:::0;::::1;;;;;;;;;;;17714:12;:26;;;;;;;;;;;;17742:20;17765:12;:27;;;;;;;;;;;;17764:28;17646:36;:147::i;:::-;17838:4;17806:6;:29;;;:36;;;;;;;;;;;;;;;;;;2637:1:3;;;;;;;1823::::0;2785:7;:22;;;;14448:3400:2:o;13545:285::-;13604:6;:29;;;;;;;;;;;;13603:30;:54;;;;;13638:6;:19;;;;;;;;;;;;13637:20;13603:54;13595:63;;;;;;13669:22;;;;;;;;;;;:47;;;13725:12;:20;;;;;;;;;;;;13756:12;:20;;;;;;;;;;;;13669:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13665:160;;;13813:4;13791:6;:19;;;:26;;;;;;;;;;;;;;;;;;13665:160;13545:285::o;9150:1942::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;9253:1:2::1;9234:15;:13;:15::i;:::-;:20;9226:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9368:28;9399:16;;;;;;;;;;;:47;;;9447:10;9399:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;9368:90;;9511:6;:20;;;9484:12;:24;;;:47;9469:12;:62;9465:333;;;9575:23;9567:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9465:333;;;9654:6;:21;;;;;;;;;;;;:49;;;;;9680:23;9679:24;9654:49;9650:148;;;9740:30;9759:10;9740:9;:18;;:30;;;;:::i;:::-;9732:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9650:148;9465:333;9804:23;9830:6;:18;9837:10;9830:18;;;;;;;;;;;;;;;9804:44;;9855:17;9875:12;:27;;;;;;;;;;;;:49;;9917:7;9875:49;;;9905:9;9875:49;9855:69;;9931:17;9951:57;9988:5;:19;;;9951:12;:32;;;:36;;:57;;;;:::i;:::-;9931:77;;10015:17;10058:6;:27;;;10035:12;:20;;;:50;10015:70;;10116:9;10104;:21;:45;;10140:9;10104:45;;;10128:9;10104:45;10092:57;;10172:9;10160;:21;10156:65;;;10204:9;10192:21;;10156:65;10227:18;10248:91;10306:12;:20:::0;::::1;;;;;;;;;;;:29;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;10298:40;;10292:2;:46;10248:39;10262:12;:24;;;10248:9;:13;;:39;;;;:::i;:::-;:43;;:91;;;;:::i;:::-;10227:112;;10367:1;10354:10;:14;10346:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;10418:1;10395:5;:19;;;:24;10391:68;;;10432:6;:17;;;:19;;;;;;;;;;;;;10391:68;10487:34;10511:9;10487:5;:19;;;:23;;:34;;;;:::i;:::-;10465:5;:19;;:56;;;;10547:32;10568:10;10547:5;:16;;;:20;;:32;;;;:::i;:::-;10528:5;:16;;:51;;;;10616:42;10648:9;10616:6;:27;;;:31;;:42;;;;:::i;:::-;10586:6;:27;;:72;;;;10692:40;10721:10;10692:6;:24;;;:28;;:40;;;;:::i;:::-;10665:6;:24;;:67;;;;10775:12;:27;;;;;;;;;;;;:52;;;;;10818:9;10806;:21;10775:52;10771:120;;;10838:10;:19;;:45;10858:24;10872:9;10858;:13;;:24;;;;:::i;:::-;10838:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;10771:120;10941:12;:27;;;;;;;;;;;;10936:151;;10979:100;11019:12;:20:::0;::::1;;;;;;;;;;;11042:10;11062:4;11069:9;10979:31;:100::i;:::-;10936:151;2637:1:3;;;;;;1823::::0;2785:7;:22;;;;9150:1942:2;:::o;11214:670::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;11282:6:2::1;:29;;;;;;;;;;;;11274:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11345:23;11371:6;:18;11378:10;11371:18;;;;;;;;;;;;;;;11345:44;;11396:34;11433:59;11462:6;:29;;;11433:6;:24;;;:28;;:59;;;;:::i;:::-;11396:96;;11499:18;11520:99;11592:26;11520:67;11570:5;:16;;;11520:12;:20;;;;;;;;;;;;:30;;;11559:4;11520:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:49;;:67;;;;:::i;:::-;:71;;:99;;;;:::i;:::-;11499:120;;11647:1;11634:10;:14;11626:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11711:51;11745:5;:16;;;11711:6;:29;;;:33;;:51;;;;:::i;:::-;11679:6;:29;;:83;;;;11788:1;11769:5;:16;;:20;;;;11796:82;11832:12;:20;;;;;;;;;;;;11855:10;11867;11796:27;:82::i;:::-;2637:1:3;;;1823::::0;2785:7;:22;;;;11214:670:2:o;7571:117:0:-;7634:7;7661:19;7669:3;:10;;7661:7;:19::i;:::-;7654:26;;7571:117;;;:::o;1512:136:4:-;1570:7;1597:43;1601:1;1604;1597:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1590:50;;1512:136;;;;:::o;8032:149:0:-;8106:7;8149:22;8153:3;:10;;8165:5;8149:3;:22::i;:::-;8141:31;;8126:47;;8032:149;;;;:::o;6773:143::-;6843:4;6867:41;6872:3;:10;;6900:5;6892:14;;6884:23;;6867:4;:41::i;:::-;6860:48;;6773:143;;;;:::o;7092:149::-;7165:4;7189:44;7197:3;:10;;7225:5;7217:14;;7209:23;;7189:7;:44::i;:::-;7182:51;;7092:149;;;;:::o;539:294:5:-;621:12;635:17;656:5;:10;;690;702:2;706:5;667:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;656:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;620:93;;;;732:7;:57;;;;;759:1;744:4;:11;:16;:44;;;;775:4;764:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;744:44;732:57;724:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;539:294;;;;;:::o;7327:158:0:-;7407:4;7431:46;7441:3;:10;;7469:5;7461:14;;7453:23;;7431:9;:46::i;:::-;7424:53;;7327:158;;;;:::o;2402:471:4:-;2460:7;2710:1;2705;:6;2701:47;;;2735:1;2728:8;;;;2701:47;2760:9;2776:1;2772;:5;2760:17;;2805:1;2800;2796;:5;;;;;;:10;2788:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2864:1;2857:8;;;2402:471;;;;;:::o;3349:132::-;3407:7;3434:39;3438:1;3441;3434:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3427:46;;3349:132;;;;:::o;1048:181::-;1106:7;1126:9;1142:1;1138;:5;1126:17;;1167:1;1162;:6;;1154:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1220:1;1213:8;;;1048:181;;;;:::o;1212:420:5:-;1329:7;1324:301;;1353:2;:11;;:18;1365:5;1353:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1324:301;;;1405:12;1419:17;1440:5;:10;;1474;1486:2;1490:5;1451:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1440:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1404:93;;;;1520:7;:57;;;;;1547:1;1532:4;:11;:16;:44;;;;1563:4;1552:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1532:44;1520:57;1512:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1324:301;;;1212:420;;;;:::o;239:292::-;320:12;334:17;355:5;:10;;389;401:2;405:5;366:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;355:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;319:93;;;;431:7;:57;;;;;458:1;443:4;:11;:16;:44;;;;474:4;463:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;443:44;431:57;423:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;239:292;;;;;:::o;841:323::-;941:12;955:17;976:5;:10;;1010;1022:4;1028:2;1032:5;987:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;976:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;940:99;;;;1058:7;:57;;;;;1085:1;1070:4;:11;:16;:44;;;;1101:4;1090:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1070:44;1058:57;1050:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;841:323;;;;;;:::o;4272:109:0:-;4328:7;4355:3;:11;;:18;;;;4348:25;;4272:109;;;:::o;1951:192:4:-;2037:7;2070:1;2065;:6;;2073:12;2057:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2097:9;2113:1;2109;:5;2097:17;;2134:1;2127:8;;;1951:192;;;;;:::o;4725:204:0:-;4792:7;4841:5;4820:3;:11;;:18;;;;:26;4812:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4903:3;:11;;4915:5;4903:18;;;;;;;;;;;;;;;;4896:25;;4725:204;;;;:::o;1837:414::-;1900:4;1922:21;1932:3;1937:5;1922:9;:21::i;:::-;1917:327;;1960:3;:11;;1977:5;1960:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2143:3;:11;;:18;;;;2121:3;:12;;:19;2134:5;2121:19;;;;;;;;;;;:40;;;;2183:4;2176:11;;;;1917:327;2227:5;2220:12;;1837:414;;;;;:::o;2427:1544::-;2493:4;2611:18;2632:3;:12;;:19;2645:5;2632:19;;;;;;;;;;;;2611:40;;2682:1;2668:10;:15;2664:1300;;3030:21;3067:1;3054:10;:14;3030:38;;3083:17;3124:1;3103:3;:11;;:18;;;;:22;3083:42;;3370:17;3390:3;:11;;3402:9;3390:22;;;;;;;;;;;;;;;;3370:42;;3536:9;3507:3;:11;;3519:13;3507:26;;;;;;;;;;;;;;;:38;;;;3655:1;3639:13;:17;3613:3;:12;;:23;3626:9;3613:23;;;;;;;;;;;:43;;;;3765:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;3860:3;:12;;:19;3873:5;3860:19;;;;;;;;;;;3853:26;;;3903:4;3896:11;;;;;;;;2664:1300;3947:5;3940:12;;;2427:1544;;;;;:::o;4057:129::-;4130:4;4177:1;4154:3;:12;;:19;4167:5;4154:19;;;;;;;;;;;;:24;;4147:31;;4057:129;;;;:::o;3977:278:4:-;4063:7;4095:1;4091;:5;4098:12;4083:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4122:9;4138:1;4134;:5;;;;;;4122:17;;4246:1;4239:8;;;3977:278;;;;;:::o

Swarm Source

ipfs://9e8c968ce4fff2fa68ca3345bf02624299d45fe621c66ecce5b0a641d0cf3dc8
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.