Contract 0x506a3d18b1307F79ff1D080991Ff55fD54714078

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2a7a0022c85140331a3d6bf7109309458cb0257e7f99553c4ed8c5890f5289dbNew Mecenas Pool195762492021-09-27 14:40:4224 days 23 hrs ago0xaef68c6b81fd82e6d8292524d0723f9dae201b36 IN  0x506a3d18b1307f79ff1d080991ff55fd547140780 MATIC0.050725228135
0x9f8ae0b20fb88229d7161cdea34d16191eefcf436adf69b7b740def3373e9371New Mecenas Pool194750182021-09-24 22:44:0127 days 15 hrs ago0x64659892693a1aaf2244617ebe0505a25b3d7a09 IN  0x506a3d18b1307f79ff1d080991ff55fd547140780 MATIC0.004300422
0x7ca4c8e2bac0e030a7af83ccef7cb679c006553db6e8e80c73cdd51e86e17dcaNew Mecenas Pool194750172021-09-24 22:43:5927 days 15 hrs ago0x64659892693a1aaf2244617ebe0505a25b3d7a09 IN  0x506a3d18b1307f79ff1d080991ff55fd547140780 MATIC0.00435171
0x1e3bbeba5455542a34d2b67bdfd10f8fb5537d58b048ae8fb02794d97b0e399aNew Mecenas Pool194352092021-09-23 22:14:2528 days 15 hrs ago0xaef68c6b81fd82e6d8292524d0723f9dae201b36 IN  0x506a3d18b1307f79ff1d080991ff55fd547140780 MATIC0.005304132
0xd7a888da54f39859321872cf553160977f80015a88764cf0f019d9a297edcc200x60806040194340562021-09-23 21:34:0428 days 16 hrs ago0xaef68c6b81fd82e6d8292524d0723f9dae201b36 IN  Contract Creation0 MATIC0.005347267
[ Download CSV Export 
Latest 4 internal transactions
Parent Txn Hash Block From To Value
0x2a7a0022c85140331a3d6bf7109309458cb0257e7f99553c4ed8c5890f5289db195762492021-09-27 14:40:4224 days 23 hrs ago 0x506a3d18b1307f79ff1d080991ff55fd54714078  Contract Creation0 MATIC
0x9f8ae0b20fb88229d7161cdea34d16191eefcf436adf69b7b740def3373e9371194750182021-09-24 22:44:0127 days 15 hrs ago 0x506a3d18b1307f79ff1d080991ff55fd54714078  Contract Creation0 MATIC
0x7ca4c8e2bac0e030a7af83ccef7cb679c006553db6e8e80c73cdd51e86e17dca194750172021-09-24 22:43:5927 days 15 hrs ago 0x506a3d18b1307f79ff1d080991ff55fd54714078  Contract Creation0 MATIC
0x1e3bbeba5455542a34d2b67bdfd10f8fb5537d58b048ae8fb02794d97b0e399a194352092021-09-23 22:14:2528 days 15 hrs ago 0x506a3d18b1307f79ff1d080991ff55fd54714078  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MecenasFactoryV2

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 6: MecenasFactoryV2.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./MecenasV2.sol";


contract MecenasFactoryV2 {

    address public constant EMPTY_ADDRESS_FACTORY = address(0);

    uint public counterpools;
    MecenasV2[] public pools;
    address[] public markets;
    address[] public tokens;

    address public factoryowner;
    address public factorydeveloper;
    address public factoryseeker;

    bool public lockfactory;

    mapping(address => MecenasV2[]) public ownerPools;
    mapping(address => address[]) public ownerMarkets;
    mapping(address => address[]) public ownerUnderlying;

    event ChildCreated(address childAddress, address indexed yield, address indexed underlying, address indexed owner, uint _mindeposit, uint _agedeposit, uint _agelottery);
    event ChangeFactoryDeveloper(address indexed olddeveloper, address indexed newdeveloper);
    event ChangeFactorySeeker(address indexed oldseeker, address indexed newseeker);
    event ChangeFactoryOwner(address indexed oldowner, address indexed newowner);
    event ChangeFactoryLock(bool oldlock, bool newlock);


    constructor(address _developer, address _seeker) {
        factoryowner = msg.sender;
        factorydeveloper = _developer;
        factoryseeker = _seeker;
        lockfactory = false;
    }    


    function changedeveloper(address _newdeveloper) public {
        require(msg.sender != EMPTY_ADDRESS_FACTORY);
        require(_newdeveloper != EMPTY_ADDRESS_FACTORY, "New developer is the zero address");
        require(msg.sender == factoryowner, "Caller is not the owner");
        address olddeveloper = factorydeveloper;
        factorydeveloper = _newdeveloper;
    
        emit ChangeFactoryDeveloper(olddeveloper, factorydeveloper);
    }


    function changeseeker(address _newseeker) public {
        require(msg.sender != EMPTY_ADDRESS_FACTORY);
        require(_newseeker != EMPTY_ADDRESS_FACTORY, "New seeker is the zero address");
        require(msg.sender == factoryowner, "Caller is not the owner");
        address oldseeker = factoryseeker;
        factoryseeker = _newseeker;
    
        emit ChangeFactorySeeker(oldseeker, factoryseeker);
    }


    function changeowner(address _newowner) public {
        require(msg.sender != EMPTY_ADDRESS_FACTORY);
        require(_newowner != EMPTY_ADDRESS_FACTORY, "New owner is the zero address");
        require(msg.sender == factoryowner, "Caller is not the owner");
        address oldowner = factoryowner;
        factoryowner = _newowner;
    
        emit ChangeFactoryOwner(oldowner, factoryowner);
    }


    function changelockfactory(bool _newlock) public {
        require(msg.sender != EMPTY_ADDRESS_FACTORY);
        require(_newlock == true || _newlock == false, "Incorrect parameters");
        require(msg.sender == factoryowner, "Caller is not the owner");
        bool oldlock = lockfactory;
        lockfactory = _newlock;
    
        emit ChangeFactoryLock(oldlock, lockfactory);
    }


    function newMecenasPool(address _yield, address _underlying, uint mindeposit, uint agedeposit, uint agelottery) external {
        require(lockfactory == false);
        require(msg.sender != EMPTY_ADDRESS_FACTORY);
        require(_yield != EMPTY_ADDRESS_FACTORY);
        require(_underlying != EMPTY_ADDRESS_FACTORY);
        
        require(mindeposit > 0);
        require(agedeposit > 0);
        require(agelottery > 0);
        
        counterpools++;
        MecenasV2 newpool = new MecenasV2(msg.sender, _yield, _underlying, factorydeveloper, factoryseeker, mindeposit, agedeposit, agelottery);
        pools.push(newpool);
        markets.push(_yield);
        tokens.push(_underlying);
        
        ownerPools[msg.sender].push(newpool);
        ownerMarkets[msg.sender].push(_yield);
        ownerUnderlying[msg.sender].push(_underlying);
        
        emit ChildCreated(address(newpool), _yield, _underlying, msg.sender, mindeposit, agedeposit, agelottery);
    }
    
    
    function getOwnerPools(address _account) external view returns (MecenasV2[] memory) {
      return ownerPools[_account];
    } 
    
    
    function getOwnerMarkets(address _account) external view returns (address[] memory) {
      return ownerMarkets[_account];
    }

    
    function getOwnerUnderlying(address _account) external view returns (address[] memory) {
      return ownerUnderlying[_account];
        
    }
    
    
    function getTotalPools() external view returns (MecenasV2[] memory) {
      return pools;
    }

    
    function getTotalMarkets() external view returns (address[] memory) {
      return markets;
    }
    
    
    function getTotalUnderlying() external view returns (address[] memory) {
      return tokens;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 3 of 6: ERC20m.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20m.sol";
//import "./IERC20Metadatam.sol";
import "./Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

    

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

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

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


        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

}

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

pragma solidity ^0.8.0;

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

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

/**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
/**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);
    
}

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

pragma solidity ^0.8.0;

import "./ERC20m.sol";
import "./ReentrancyGuard.sol";


contract ERC20 {

    function balanceOf(address account) external view returns (uint256){}
    function transfer(address recipient, uint256 amount) external returns (bool){}
    function allowance(address owner, address spender) external view returns (uint256){}
    function approve(address spender, uint256 amount) external returns (bool){}
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool){}
}


contract CreamYield {
    
    function mint(uint mintAmount) external returns (uint){}
    function redeemUnderlying(uint redeemAmount) external returns (uint) {}
    function balanceOfUnderlying(address owner) external returns (uint) {}
    function getCash() external view returns (uint) {}
}


contract MecenasV2 is ERC20m, ReentrancyGuard {

    address public constant EMPTY_ADDRESS = address(0);
    uint public immutable LOT_DEPOSIT;
    uint public immutable LOCK_PLAYERS;
    uint public immutable LOCK_LOTTERY;

    CreamYield public marketcream;
    ERC20 public underlying;
    
    uint public totalseekerinterest;
    uint public totaldevelopinterest;
    uint public reservevalue;
    uint public totalinterestpaid;
    uint public totalreservepaid;
    uint public supporters;
    uint public lockdeposits;
    uint public jackpotvalue;
    uint public interestvalue;
    uint private nonce;
    uint private blockNumber;
    
    bool public spinning;
    bool public picking;

    uint public jackpotsettled;
    uint public timejackpot;
    uint public supporterslottery;
    uint public jackpotspaid;
    uint public lastjackpotresult;
    address public lastjackpotwinner;
    uint public lastjackpotamount;
    uint public lastjackpotdate;
    uint public developsettled;
    uint public seekersettled;
    
    uint public lastjackpotcounter;
    
    uint public balancedonations;
    uint public totaldonations;
    uint public totaldonationspaid;
    mapping(address => uint) public balancedonators;

    address[] private players;
    
    mapping(address => uint) public timeplayers;
    
    mapping(address => uint) private indexplayers;
    
    address public owner;
    address public developer;
    address public seeker;

    uint public lotterycounter;
    
    struct Lottery {
        uint lotteryid;
        uint lotterydate;
        uint lotteryresult;
        address lotterywinner;
        uint lotteryamount;
    }    
    
    Lottery[] public LotteryResults;
    
    event Deposit(address indexed from, uint amount);
    event Withdraw(address indexed to, uint amount);
    event DepositDonation(address indexed from, uint amount);
    event WithdrawDonation(address indexed to, uint amount);
    
    event CollectInterest(address indexed to, uint amount);
    event CollectReserve(address indexed to, uint amount);
    
    event PayWinner(address indexed to, uint amount);
    event PayDeveloper(address indexed to, uint amount);
    event PaySeeker(address indexed to, uint amount);
    
    event ChangeOwner(address indexed oldowner, address indexed newowner);
    event ChangeDeveloper(address indexed olddeveloper, address indexed newdeveloper);
    event ChangeSeeker(address indexed oldseeker, address indexed newseeker);
    
    event ChangePoolLock(address indexed ownerchanger, uint oldlock, uint newlock);

    event LotteryAwarded(uint counter, uint date, address indexed thewinner, uint amount, uint result);
    
    
    constructor(address _owner, address _marketcream, address _underlying, address _developer, address _seeker, uint _mindeposit, uint _agedeposit, uint _agelottery)
    ERC20m("crMECENASPOOLS", "crMEC") {
        
        marketcream = CreamYield(_marketcream);
        underlying = ERC20(_underlying);
        lockdeposits = 0;
        owner = _owner;
        developer = _developer;
        seeker = _seeker;
        spinning = false;
        picking = false;
        LOT_DEPOSIT = _mindeposit;
        LOCK_PLAYERS = _agedeposit;
        LOCK_LOTTERY = _agelottery;
    }


    // this modifier checks if msg.sender is the owner
    
    modifier onlyowner() {
        require(msg.sender == owner, "Caller is not the owner");
        _;
    }

    
    // this function modifies the address of the owner
    
    function transferowner(address _newowner) public onlyowner {
        require(msg.sender != EMPTY_ADDRESS);
        require(_newowner != EMPTY_ADDRESS, "New owner is the zero address");
        address oldowner = owner;
        owner = _newowner;
    
        emit ChangeOwner(oldowner, owner);
    }


    // this function modifies the address of the developer

    function transferdeveloper(address _newdeveloper) public {
        require(msg.sender != EMPTY_ADDRESS);
        require(_newdeveloper != EMPTY_ADDRESS, "New developer is the zero address");
        require(msg.sender == developer, "Caller is not the developer");
        address olddeveloper = developer;
        developer = _newdeveloper;
    
        emit ChangeDeveloper(olddeveloper, developer);
    }


    // this function modifies the address of the seeker

    function transferseeker(address _newseeker) public {
        require(msg.sender != EMPTY_ADDRESS);
        require(_newseeker != EMPTY_ADDRESS, "New developer is the zero address");
        require(msg.sender == seeker, "Caller is not the seeker");
        address oldseeker = seeker;
        seeker = _newseeker;
    
        emit ChangeSeeker(oldseeker, seeker);
    }


    // this function is used to lock or unlock functions deposit() and depositdonation()
    // 1 = lock
    // 0 = unlock 

    function lockpool(uint _lockdeposits) public onlyowner {
        require(_lockdeposits == 1 || _lockdeposits == 0, "Invalid lock parameter");
        uint oldlockdeposits = lockdeposits;
        lockdeposits = _lockdeposits;
    
        emit ChangePoolLock(owner, oldlockdeposits, lockdeposits);
    }
    
    
    // this function is used to deposit underlying and transfer it to yield source
    // evaluates if is a jackpot participant
    
    function deposit(uint _amount) external nonReentrant {
        require(spinning == false, "Lottery is being drawn");
        require(lockdeposits == 0, "Deposits are suspended");
        require(msg.sender != EMPTY_ADDRESS);
        require(_amount > 0 && underlying.balanceOf(msg.sender) >= _amount, "Amount cannot be 0");
        require(underlying.allowance(msg.sender, address(this)) >= _amount, "Allowance is less than spending");
        
        require(underlying.transferFrom(msg.sender, address(this), _amount) == true, "Something went wrong");
        
        uint balancesupporter = balanceOf(msg.sender);
        
        if (balancesupporter == 0) {
            supporters += 1;
            if (_amount >= LOT_DEPOSIT) {
                supporterslottery += 1;
                players.push(msg.sender);
                indexplayers[msg.sender] = players.length - 1;
                timeplayers[msg.sender] = block.timestamp;
            } 
        }
        
        if (balancesupporter > 0) {
            if (balancesupporter < LOT_DEPOSIT && (balancesupporter + _amount) >= LOT_DEPOSIT) {
                supporterslottery += 1;
                players.push(msg.sender);
                indexplayers[msg.sender] = players.length - 1;
                timeplayers[msg.sender] = block.timestamp;
            }
        }
        
        if (supporterslottery > 0 && timejackpot == 0 && spinning == false) {
            timejackpot = block.timestamp;
        }
        
        require(underlying.approve(address(marketcream), _amount) == true);
        _mint(msg.sender, _amount);
        require(marketcream.mint(_amount) == 0);   
        
        emit Deposit(msg.sender, _amount);
    }
    
    
    // this function is used to deposit underlying and transfer it to yield source
  
    function depositdonation(uint _amount) external nonReentrant {
        require(lockdeposits == 0, "Deposits are suspended");
        require(msg.sender != EMPTY_ADDRESS);
        require(_amount > 0 && underlying.balanceOf(msg.sender) >= _amount, "Amount cannot be 0");
        require(underlying.allowance(msg.sender, address(this)) >= _amount, "Allowance is less than spending");
        
        require(underlying.transferFrom(msg.sender, address(this), _amount) == true, "Something went wrong");
        
        require(underlying.approve(address(marketcream), _amount) == true);
        
        balancedonations += _amount;
        require(marketcream.mint(_amount) == 0);   
        
        totaldonations += _amount;
        balancedonators[msg.sender] += _amount;
        
        emit DepositDonation(msg.sender, _amount);
    }
    
    
    // this function is used to redeem underlying from yield source and withdraw
    // evaluates if is a jackpot participant
    
    function withdraw(uint _amount) external nonReentrant {
        require(spinning == false, "Lottery is being drawn");
        require(msg.sender != EMPTY_ADDRESS);
        require(_amount > 0 && balanceOf(msg.sender) >= _amount, "Amount cannot be 0");
        require(marketcream.getCash() >= _amount, "Not enough market liquidity");
        
        require(marketcream.redeemUnderlying(_amount) == 0, "something went wrong");
        
        _burn(msg.sender, _amount);
        
        uint balancesupporter = balanceOf(msg.sender);
        
        if (balancesupporter == 0) {
            supporters -= 1;
        }
    
        if (balancesupporter >= 0) {
            if (balancesupporter < LOT_DEPOSIT && (balancesupporter + _amount) >= LOT_DEPOSIT) {
                supporterslottery -= 1;
                timeplayers[msg.sender] = 0;
                
                uint index = indexplayers[msg.sender];
                uint indexmove = players.length - 1;
                address addressmove = players[indexmove];
                
                if (index == indexmove || players.length == 1) {
                    delete indexplayers[msg.sender];
                    players.pop();
                
                    
                } else {
                    delete indexplayers[msg.sender];
                    players[index] = addressmove;
                    indexplayers[addressmove] = index;
                    players.pop();
                }
                    
            }
        } 
        
        if (supporterslottery == 0) {
            timejackpot = 0;
            spinning = false;
            picking = false;
            jackpotsettled = 0;
            developsettled = 0;
            seekersettled = 0;
        }    
        
        require(underlying.transfer(msg.sender, _amount) == true, "Something went wrong");
    
        emit Withdraw(msg.sender, _amount);
    }


    // this function accrues the yield
    
    function splityield() internal {
        uint interest = interestaccrued();
        
        uint totransferinterest = interest * (0.5 * 10 ** 18);
        totransferinterest = totransferinterest / 10 ** 18;
        
        interestvalue += totransferinterest;
        
        uint jackpotinterest = interest * (0.25 * 10 ** 18);
        jackpotinterest = jackpotinterest / 10 ** 18;
        jackpotvalue += jackpotinterest;
        
        uint reserveinterest = interest - totransferinterest - jackpotinterest;
        reservevalue += reserveinterest;
        
        assert(interest == (totransferinterest + jackpotinterest + reserveinterest));
        assert(marketcream.balanceOfUnderlying(address(this)) >= (interestvalue + jackpotvalue + reservevalue + totalSupply() + balancedonations));
    }


    // this function is used to redeem underlying from yield source and withdraw interests     

    function withdrawinterest(uint _amount) external nonReentrant onlyowner {
        
        splityield();
        
        require(_amount <= interestvalue, "Not enough interests accrued");
        require(marketcream.getCash() >= _amount, "Not enough market liquidity");  
        
        uint totransferinterestnet = _amount;
        totalinterestpaid += _amount;
        
        require(marketcream.redeemUnderlying(totransferinterestnet) == 0, "Something went wrong");
        interestvalue -= _amount;
        
        require(underlying.transfer(owner, totransferinterestnet) == true, "Something went wrong");

        emit CollectInterest(owner, totransferinterestnet);
    }


    // this function is used to calculate interest accrued in yield source
    
    function interestaccrued() internal returns (uint) {
        uint interest = (marketcream.balanceOfUnderlying(address(this)) - totalSupply() - balancedonations - reservevalue - jackpotvalue - interestvalue); 
        return interest;
    }


    // this function is used to settle the prize and seeds with block number and nonce to be used to generate random number
    
    function settlejackpot() external nonReentrant {
        
        require(spinning == false);
        require(supporterslottery > 0);
        require(timejackpot > 0);
        require(block.number - blockNumber > 0);
        
        uint end = block.timestamp;
        uint totaltime = end - timejackpot;
        require(totaltime >= LOCK_LOTTERY);

        spinning = true;
        timejackpot = 0;
        blockNumber = block.number;

        splityield();
    
        require(jackpotvalue > 0, "No interest accrued");
        
        jackpotsettled = jackpotvalue;
        uint distjackpot = jackpotsettled;
        
        developsettled = distjackpot * (0.20 * 10 ** 18);
        developsettled = developsettled / 10 ** 18;
        seekersettled = distjackpot * (0.05 * 10 ** 18);
        seekersettled = seekersettled / 10 ** 18;
        
        jackpotsettled = jackpotsettled - developsettled - seekersettled;
        
        assert(distjackpot == (jackpotsettled + developsettled + seekersettled));
        
        nonce += 1;
        picking = true;
    }
    
    
    // this function generates a random number using future Blockhash
    
    function generaterandomnumber() internal view returns (uint) {
        uint randnum = uint(keccak256(abi.encode(blockhash(blockNumber), nonce))) % players.length;
        return randnum;  
    }


    // this function is used to pick a winner, redeem underlying from yield source and transfer to
    // the winner, to the developer and to the seeker
    
    function pickawinner() external nonReentrant {
        
        require(spinning == true);
        require(picking == true);
        picking = false;
        require(block.number - blockNumber > 0);
        uint toredeem =  jackpotsettled + developsettled + seekersettled;
        require(marketcream.getCash() >= toredeem, "Not enough market liquidity");  
        require(supporterslottery > 0);
        
        uint totransferbeneficiary = jackpotsettled;
        uint totransferdevelop = developsettled;
        uint totransferseeker = seekersettled;
        
        jackpotsettled = 0;
        developsettled = 0;
        seekersettled = 0;
        
        lotterycounter++;
        uint end = block.timestamp;
        
        if (block.number - blockNumber > 250) {
    
            lastjackpotresult = 2;
            
            LotteryResults.push(Lottery(lotterycounter, end, 2, EMPTY_ADDRESS, 0));

            emit LotteryAwarded(lotterycounter, end, EMPTY_ADDRESS, 0, 2);
        
        } else {
        
        uint w = 0;
        uint winner = 0;
        address beneficiary;
        
        uint randomnumber;
        
        while(w < players.length && winner < 1 ) {
        
            w++;
        
            randomnumber = generaterandomnumber();
        
            address candidate = players[randomnumber];
        
                if (timeplayers[candidate] > 0 && balanceOf(candidate) >= LOT_DEPOSIT) { 
        
                    uint totaltime = end - timeplayers[candidate];
                        if (totaltime >= LOCK_PLAYERS) {
                            winner = 1;
                            beneficiary = candidate;
                        }
                }
            
            nonce++; 
        }        

        if (winner == 1) {
            
            jackpotspaid += totransferbeneficiary;
            totaldevelopinterest += totransferdevelop;
            totalseekerinterest += totransferseeker;
            
            require(marketcream.redeemUnderlying(toredeem) == 0, "Something went wrong");
            jackpotvalue -= toredeem;
            
            require(underlying.transfer(beneficiary, totransferbeneficiary) == true, "Something went wrong");
            require(underlying.transfer(developer, totransferdevelop) == true, "Something went wrong");
            require(underlying.transfer(seeker, totransferseeker) == true, "Something went wrong");
        
            lastjackpotresult = 1;
            lastjackpotwinner = beneficiary;
            lastjackpotamount = totransferbeneficiary;
            lastjackpotdate = end;
            lastjackpotcounter = lotterycounter;
        
            LotteryResults.push(Lottery(lotterycounter, end, 1, beneficiary, totransferbeneficiary));
        
            emit PayWinner(beneficiary, totransferbeneficiary);
            emit PayDeveloper(developer, totransferdevelop);
            emit PaySeeker(seeker, totransferseeker);
            
            emit LotteryAwarded(lotterycounter, end, beneficiary, totransferbeneficiary, 1);
            
        } else {
        
            lastjackpotresult = 2;
            
            LotteryResults.push(Lottery(lotterycounter, end, 2, EMPTY_ADDRESS, 0));
            
            emit LotteryAwarded(lotterycounter, end, EMPTY_ADDRESS, 0, 2);
        }    
          
        }
          
        timejackpot = block.timestamp;
        spinning = false;
    }
        
    
    // this function returns the timeleft to execute function settlejackpot() - 0 no time left

    function calculatetimeleft() public view returns (uint) {
        uint end = block.timestamp;
        uint totaltime = end - timejackpot;
        
        if(totaltime < LOCK_LOTTERY) {
            uint timeleft = LOCK_LOTTERY - totaltime;
            return timeleft;
        } else {
            return 0;
        }
    }
    
    
    // this function returns if conditions are met to execute function settlejackpot() - 1 met - 2 not met 
    
    function calculatesettlejackpot() public view returns (uint) {
        
        uint end = block.timestamp;
        uint totaltime = end - timejackpot;

        if (spinning == false && supporterslottery > 0 && timejackpot > 0 && (block.number - blockNumber) > 0 && totaltime >= LOCK_LOTTERY) {
            return 1;
    
        } else {
            return 2;
        }    
    }        
            
    
    // this function returns if conditions are met to execute function pickawinner() - 1 met - 2 not met 
        
    function calculatepickawinner() public view returns (uint) {
        
        uint toredeem = jackpotsettled + developsettled + seekersettled;
        uint metwinner;
        
            
            if (spinning == true && block.number - blockNumber > 0 && supporterslottery > 0 && marketcream.getCash() >= toredeem) {
                metwinner = 1;
        
            } else {
                metwinner = 2;
            }
        
        
        return metwinner;
    }
    
    
    // this function returns if account is the owner - 1 is owner - 2 is not owner
    
    function verifyowner(address _account) public view returns (uint) {
        
        if (_account == owner) {
            return 1;
        } else {
            return 2;
        }
    }
    
  
    // this  function returns an array of struct of jackpots drawn results
  
    function getLotteryResults() public view returns (Lottery[] memory) {
    return LotteryResults;
    }
  
    
    // this function is used to redeem underlying from yield source and withdraw reserves     
    
    function withdrawreserves(uint _amount) external nonReentrant onlyowner {
        
        splityield();
        
        require(_amount <= reservevalue, "Not enough reserves accrued");
        
        require(marketcream.getCash() >= _amount, "Not enough market liquidity");  
        
        uint totransferinterestnet = _amount;
        totalreservepaid += _amount;
        
        require(marketcream.redeemUnderlying(totransferinterestnet) == 0, "Something went wrong");
        reservevalue -= _amount;
        
        require(underlying.transfer(owner, totransferinterestnet) == true, "Something went wrong");
    
        emit CollectReserve(owner, totransferinterestnet);
    }
    
    
    // this function is used to redeem underlying from yield source and withdraw donations     
    
    function withdrawdonations(uint _amount) external nonReentrant onlyowner {
        require(_amount > 0 , "Amount cannot be zero");
        require(balancedonations >= _amount, "Not enough donations balance");
        require(marketcream.getCash() >= _amount, "Not enough market liquidity");  
        
        require(marketcream.redeemUnderlying(_amount) == 0, "Something went wrong");
        balancedonations -= _amount;
        totaldonationspaid += _amount;
        
        require(underlying.transfer(owner, _amount) == true, "Something went wrong");

        emit WithdrawDonation(owner, _amount);
    }
    

    // this function returns yield generated. Parameter should be balance of underlying of yieldsource
    
    function calculateinterest(uint _amount) external view returns(uint, uint, uint) {
        
        uint yield = (_amount - totalSupply() - balancedonations - reservevalue - jackpotvalue - interestvalue);
        
        uint interest = yield * (0.5 * 10 ** 18);
        interest = interest / 10 ** 18;
        
        uint reserve = yield * (0.25 * 10 ** 18);
        reserve = reserve / 10 ** 18;
        
        uint jackpot = yield - interest - reserve;
        
        interest = interest + interestvalue;
        reserve = reserve + reservevalue;
        jackpot = jackpot + jackpotvalue - jackpotsettled - developsettled - seekersettled;
    
        jackpot = jackpot * (0.75 * 10 ** 18);
        jackpot = jackpot / 10 ** 18;
        
        return (interest, reserve, jackpot);
    }
    

    // this function returns data to the front end

    function calculatedata() external view returns (uint [] memory) {
        
        uint deposits = totalSupply() + balancedonations;
        uint liquidity = marketcream.getCash();
        uint lefttime = calculatetimeleft();
        uint metsettlejackpot = calculatesettlejackpot();
        uint metpickawinner =  calculatepickawinner();
        
        uint[] memory datafront = new uint[](21);
        
        datafront[0] = deposits;
        datafront[1] = liquidity;
        datafront[2] = lefttime;
        datafront[3] = metsettlejackpot;
        datafront[4] = metpickawinner;
        
        datafront[5] = totalinterestpaid;
        datafront[6] = totalreservepaid;
        datafront[7] = totaldonationspaid;
        datafront[8] = balancedonations;
        
        datafront[9] = totaldonations;
        datafront[10] = jackpotsettled;
        datafront[11] = jackpotspaid;
        
        datafront[12] = lastjackpotamount;
        datafront[13] = supporters;
        datafront[14] = supporterslottery;
        
        datafront[15] = lastjackpotresult;
        datafront[16] = lastjackpotdate;
        datafront[17] = lastjackpotcounter;
        
        datafront[18] = LOT_DEPOSIT;
        datafront[19] = LOCK_PLAYERS;
        datafront[20] = LOCK_LOTTERY;
        
        return (datafront);
    }

   
   // this function returns data to the front end
    
    function calculatedataaccount(address _account) external view returns (uint [] memory) {
        require(_account != EMPTY_ADDRESS);
        uint staked = balanceOf(_account);
        uint balwallet = underlying.balanceOf(_account);
        uint allow = underlying.allowance(_account, address(this));
        uint baldonators = balancedonators[_account];
        uint isowner = verifyowner(_account);
        
        uint spinningstate;
        if (spinning == false) {
            spinningstate = 2;
        } 
        if (spinning == true) {
            spinningstate = 1;
        }
    
        uint[] memory datafrontaccount = new uint[](7);
        
        datafrontaccount[0] = staked;
        datafrontaccount[1] = balwallet;
        datafrontaccount[2] = allow;
        datafrontaccount[3] = lockdeposits;
        datafrontaccount[4] = baldonators;
        datafrontaccount[5] = isowner;
        datafrontaccount[6] = spinningstate;
        
        return (datafrontaccount);
    }


    // this  function is used by the front end. Checks if deposits amount is greater than balance of underlying

    function checkamountdeposits(uint _amount, address _account) external view returns (uint) {
        require(_account != EMPTY_ADDRESS);
        require(_amount > 0);
        if (_amount > underlying.balanceOf(_account)) {
            return 1;
        } else {
            return 0;
        }
    }
        

    // this  function is used by the front end. Checks if underlying withdraw amount is greater than staked

    function checkamountwithdraw(uint _amount, address _account) external view returns (uint) {
        require(_account != EMPTY_ADDRESS);
        require(_amount > 0);
        if (_amount > balanceOf(_account)) {
            return 1;
        } else {
            return 0;
        }
    }


    // this  function is used by the front end. Checks if underlying liquidity is greater than withdraws

    function checkliquidity(uint _amount) external view returns (uint) {
        require(_amount > 0);
        if (marketcream.getCash() >= _amount) {
            return 1;
        } else {
            return 0;
        }
    }


    // this  function is used by the front end. Checks if underlying withdraw of interests, reserves and donations is greater than accrued

    function checkinterestwithdraw(uint _amount1, uint _amount2) external pure returns (uint) {
        require(_amount1 > 0);
    
        if (_amount1 > _amount2) {
            return 1;
        } else {
            return 0;
        }
    }
}

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

pragma solidity ^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() {
        _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;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_developer","type":"address"},{"internalType":"address","name":"_seeker","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"olddeveloper","type":"address"},{"indexed":true,"internalType":"address","name":"newdeveloper","type":"address"}],"name":"ChangeFactoryDeveloper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"oldlock","type":"bool"},{"indexed":false,"internalType":"bool","name":"newlock","type":"bool"}],"name":"ChangeFactoryLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldowner","type":"address"},{"indexed":true,"internalType":"address","name":"newowner","type":"address"}],"name":"ChangeFactoryOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldseeker","type":"address"},{"indexed":true,"internalType":"address","name":"newseeker","type":"address"}],"name":"ChangeFactorySeeker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"childAddress","type":"address"},{"indexed":true,"internalType":"address","name":"yield","type":"address"},{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_mindeposit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_agedeposit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_agelottery","type":"uint256"}],"name":"ChildCreated","type":"event"},{"inputs":[],"name":"EMPTY_ADDRESS_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newdeveloper","type":"address"}],"name":"changedeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newlock","type":"bool"}],"name":"changelockfactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newowner","type":"address"}],"name":"changeowner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newseeker","type":"address"}],"name":"changeseeker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"counterpools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factorydeveloper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factoryowner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factoryseeker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getOwnerMarkets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getOwnerPools","outputs":[{"internalType":"contract MecenasV2[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getOwnerUnderlying","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalMarkets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPools","outputs":[{"internalType":"contract MecenasV2[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalUnderlying","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockfactory","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"markets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_yield","type":"address"},{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"uint256","name":"mindeposit","type":"uint256"},{"internalType":"uint256","name":"agedeposit","type":"uint256"},{"internalType":"uint256","name":"agelottery","type":"uint256"}],"name":"newMecenasPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerMarkets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerPools","outputs":[{"internalType":"contract MecenasV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerUnderlying","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"contract MecenasV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405162005f7c38038062005f7c83398101604081905261003191610090565b60048054336001600160a01b0319918216179091556005805482166001600160a01b0394851617905560068054909116919092161760ff60a01b191690556100c2565b80516001600160a01b038116811461008b57600080fd5b919050565b600080604083850312156100a2578182fd5b6100ab83610074565b91506100b960208401610074565b90509250929050565b615eaa80620000d26000396000f3fe60806040523480156200001157600080fd5b50600436106200016c5760003560e01c8063ae99664d11620000d5578063d3ffe67a1162000087578063d3ffe67a14620002e2578063d6e4183a14620002ec578063dac17de21462000303578063df9e4c22146200030d578063f6f029141462000324578063fcdb4711146200033d576200016c565b8063ae99664d1462000263578063b1283e77146200027a578063b40494e51462000291578063b5809d1b146200029b578063c5675f5914620002b2578063cb4a936814620002c9576200016c565b80637792c580116200012f5780637792c5801462000200578063789a7b0b146200021757806381ebf209146200022157806387926c8d146200022b578063a60e1c2b1462000235578063ac4afa38146200024c576200016c565b8063488a0d2f14620001715780634f64b2be14620001a05780635246fb8a14620001c6578063662e4ee414620001df578063751c8b1a14620001f6575b600080fd5b620001886200018236600462000c67565b62000354565b60405162000197919062000dc8565b60405180910390f35b620001b7620001b136600462000d2a565b620003cd565b60405162000197919062000d43565b620001dd620001d736600462000c67565b620003f8565b005b620001dd620001f036600462000c67565b620004b6565b620001b76200056b565b620001b76200021136600462000cdc565b6200057a565b620001b7620005b3565b62000188620005b8565b620001b76200061c565b620001dd6200024636600462000d08565b6200062b565b620001b76200025d36600462000d2a565b620006f9565b620001dd6200027436600462000c8b565b6200070a565b620001b76200028b36600462000d2a565b6200096c565b620001886200097d565b62000188620002ac36600462000c67565b620009df565b62000188620002c336600462000c67565b62000a55565b620002d362000acb565b60405162000197919062000e17565b6200018862000adb565b620001b7620002fd36600462000cdc565b62000b3d565b620001b762000b5a565b620001dd6200031e36600462000c67565b62000b69565b6200032e62000c1e565b60405162000197919062000f48565b620001b76200034e36600462000cdc565b62000c24565b6001600160a01b038116600090815260096020908152604091829020805483518184028101840190945280845260609392830182828015620003c057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620003a1575b505050505090505b919050565b60038181548110620003de57600080fd5b6000918252602090912001546001600160a01b0316905081565b336200040357600080fd5b6001600160a01b038116620004355760405162461bcd60e51b81526004016200042c9062000e6b565b60405180910390fd5b6004546001600160a01b03163314620004625760405162461bcd60e51b81526004016200042c9062000e34565b600680546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907fb6d779092e744a55bfbd14f79a5e14960cbe681b56050d437a0efbce933b829b90600090a35050565b33620004c157600080fd5b6001600160a01b038116620004ea5760405162461bcd60e51b81526004016200042c9062000f11565b6004546001600160a01b03163314620005175760405162461bcd60e51b81526004016200042c9062000e34565b600480546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907f7eee5cbc033ec172b73198088b64e108dc7242d7d8722dbdd10945c3c05d4c3f90600090a35050565b6004546001600160a01b031681565b600960205281600052604060002081815481106200059757600080fd5b6000918252602090912001546001600160a01b03169150829050565b600081565b606060028054806020026020016040519081016040528092919081815260200182805480156200061257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620005f3575b5050505050905090565b6006546001600160a01b031681565b336200063657600080fd5b6001811515148062000646575080155b620006655760405162461bcd60e51b81526004016200042c9062000ea2565b6004546001600160a01b03163314620006925760405162461bcd60e51b81526004016200042c9062000e34565b60068054821515600160a01b90810260ff60a01b198316179283905560405160ff928290048316937fbe7d1cb79f3095a7130e4c3390d628e846d218e281792d2ccfbc7611f21d44cd93620006ed9386939204169062000e22565b60405180910390a15050565b60018181548110620003de57600080fd5b600654600160a01b900460ff16156200072257600080fd5b336200072d57600080fd5b6001600160a01b0385166200074157600080fd5b6001600160a01b0384166200075557600080fd5b600083116200076357600080fd5b600082116200077157600080fd5b600081116200077f57600080fd5b600080549080620007908362000f51565b90915550506005546006546040516000923392899289926001600160a01b03908116921690899089908990620007c69062000c41565b620007d998979695949392919062000d57565b604051809103906000f080158015620007f6573d6000803e3d6000fd5b506001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b038085166001600160a01b03199283168117909355600280548086019091557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180548c83169084168117909155600380548087019091557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018054928c16928416831790553360008181526007602090815260408083208054808b0182559084528284200180548816909817909755828252600881528682208054808a01825590835281832001805487168517905582825260098152868220805498890181558252902090950180549093168217909255915193945091929091907f03563f5d73f944c303453d8d2c50d1873cf2ee3f5efc53596a4dc4e3487928d4906200095c9086908a908a908a9062000da2565b60405180910390a4505050505050565b60028181548110620003de57600080fd5b6060600380548060200260200160405190810160405280929190818152602001828054801562000612576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311620005f3575050505050905090565b6001600160a01b038116600090815260076020908152604091829020805483518184028101840190945280845260609392830182828015620003c0576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311620003a15750505050509050919050565b6001600160a01b038116600090815260086020908152604091829020805483518184028101840190945280845260609392830182828015620003c0576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311620003a15750505050509050919050565b600654600160a01b900460ff1681565b6060600180548060200260200160405190810160405280929190818152602001828054801562000612576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311620005f3575050505050905090565b600760205281600052604060002081815481106200059757600080fd5b6005546001600160a01b031681565b3362000b7457600080fd5b6001600160a01b03811662000b9d5760405162461bcd60e51b81526004016200042c9062000ed0565b6004546001600160a01b0316331462000bca5760405162461bcd60e51b81526004016200042c9062000e34565b600580546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907f999d368309e1bd77323845a60ea9e56ac0436ad448c1f110a355b37508fc461a90600090a35050565b60005481565b600860205281600052604060002081815481106200059757600080fd5b614efb8062000f7a83390190565b80356001600160a01b0381168114620003c857600080fd5b60006020828403121562000c79578081fd5b62000c848262000c4f565b9392505050565b600080600080600060a0868803121562000ca3578081fd5b62000cae8662000c4f565b945062000cbe6020870162000c4f565b94979496505050506040830135926060810135926080909101359150565b6000806040838503121562000cef578182fd5b62000cfa8362000c4f565b946020939093013593505050565b60006020828403121562000d1a578081fd5b8135801515811462000c84578182fd5b60006020828403121562000d3c578081fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b0398891681529688166020880152948716604087015292861660608601529416608084015260a083019390935260c082019290925260e08101919091526101000190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b6020808252825182820181905260009190848201906040850190845b8181101562000e0b5783516001600160a01b03168352928401929184019160010162000de4565b50909695505050505050565b901515815260200190565b91151582521515602082015260400190565b60208082526017908201527f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b6020808252601e908201527f4e6577207365656b657220697320746865207a65726f20616464726573730000604082015260600190565b602080825260149082015273496e636f727265637420706172616d657465727360601b604082015260600190565b60208082526021908201527f4e657720646576656c6f70657220697320746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601d908201527f4e6577206f776e657220697320746865207a65726f2061646472657373000000604082015260600190565b90815260200190565b600060001982141562000f7257634e487b7160e01b81526011600452602481fd5b506001019056fe60e06040523480156200001157600080fd5b5060405162004efb38038062004efb8339810160408190526200003491620001e8565b604080518082018252600e81526d63724d4543454e4153504f4f4c5360901b60208083019182528351808501909452600584526463724d454360d81b908401528151919291620000879160039162000125565b5080516200009d90600490602084019062000125565b5050600160055550600680546001600160a01b03199081166001600160a01b03998a1617909155600780548216978916979097179096556000600e5560268054871698881698909817909755602780548616948716949094179093556028805490941691909416179091556013805461ffff1916905560809190915260a05260c052620002b1565b828054620001339062000274565b90600052602060002090601f016020900481019282620001575760008555620001a2565b82601f106200017257805160ff1916838001178555620001a2565b82800160010185558215620001a2579182015b82811115620001a257825182559160200191906001019062000185565b50620001b0929150620001b4565b5090565b5b80821115620001b05760008155600101620001b5565b80516001600160a01b0381168114620001e357600080fd5b919050565b600080600080600080600080610100898b03121562000205578384fd5b6200021089620001cb565b97506200022060208a01620001cb565b96506200023060408a01620001cb565b95506200024060608a01620001cb565b94506200025060808a01620001cb565b935060a0890151925060c0890151915060e089015190509295985092959890939650565b6002810460018216806200028957607f821691505b60208210811415620002ab57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051614bb8620003436000396000818161192601528181611fe5015281816131c80152818161392801528181613e2b0152613e5901526000818161077d015281816112230152611f9701526000818161083a01528181610a7501528181610a9f015281816111cc01528181611f49015281816135580152818161360c01526136360152614bb86000f3fe608060405234801561001057600080fd5b50600436106103f15760003560e01c806383db2c6a11610215578063bfa4f29611610125578063d12bdbec116100b8578063eb39c3af11610087578063eb39c3af14610753578063f3ab7ea91461075b578063f641a52914610763578063fdc31f6f1461076b578063ff7f286714610773576103f1565b8063d12bdbec1461071d578063dabf048814610730578063dcdf098214610738578063e352557714610740576103f1565b8063ca4b208b116100f4578063ca4b208b146106d6578063cd698753146106de578063cfb00f3214610702578063d02aa46a1461070a576103f1565b8063bfa4f296146106ab578063c0d2b8bb146106b3578063c30e14a8146106c6578063c6b9b541146106ce576103f1565b806396866fda116101a8578063ae08abe411610177578063ae08abe414610662578063b076731c1461066a578063b5fba7371461067d578063b64fbe5f14610685578063b6b55f2514610698576103f1565b806396866fda1461062c578063a27cd02b1461063f578063a696a88914610647578063a8a87d491461065a576103f1565b80638e90ab67116101e45780638e90ab67146105f65780639408f1ec146105fe578063954e72971461061157806395d89b4114610624576103f1565b806383db2c6a146105c957806386b833c9146105d157806387c45591146105e65780638da5cb5b146105ee576103f1565b80634bb4285f116103105780636f307dc3116102a357806375cfbac91161027257806375cfbac9146105715780637681fd56146105845780637b040eba146105a65780637cd58520146105ae5780637e86b38e146105c1576103f1565b80636f307dc31461053057806370a082311461053857806371eb3d311461054b57806375388cc91461055e576103f1565b80635f5737fd116102df5780635f5737fd146104f8578063664095d314610500578063697fb6e5146105135780636be94a1a1461051b576103f1565b80634bb4285f146104d857806355ac3481146104e057806359780c33146104e85780635debc466146104f0576103f1565b80633312cbf4116103885780634111a810116103575780634111a810146104ab57806348892853146104b357806349ae9143146104c85780634a17410a146104d0576103f1565b80633312cbf4146104805780633ae19642146104935780633de15e361461049b5780633df153dc146104a3576103f1565b806321f72fd0116103c457806321f72fd01461043957806325a165111461044e5780632e1a7d4d14610456578063313ce5671461046b576103f1565b806305ebb47b146103f657806306fdde031461041457806318160ddd146104295780631e4aef7014610431575b600080fd5b6103fe61077b565b60405161040b9190614a16565b60405180910390f35b61041c61079f565b60405161040b919061452e565b6103fe610832565b6103fe610838565b61044161085c565b60405161040b9190614515565b610441610865565b610469610464366004614373565b610873565b005b610473610d88565b60405161040b9190614a7c565b61046961048e366004614332565b610d8d565b6103fe610e3b565b610469610e41565b6103fe611909565b6103fe61190f565b6104bb611915565b60405161040b91906143ef565b6103fe611924565b6103fe611948565b6103fe61194e565b6103fe611954565b6103fe61195a565b6103fe611960565b6103fe611966565b6103fe61050e366004614373565b61196c565b6103fe611a0c565b610523611b01565b60405161040b91906144d1565b6104bb61203a565b6103fe610546366004614332565b612049565b610469610559366004614373565b612064565b61052361056c366004614332565b612334565b61046961057f366004614332565b612622565b610597610592366004614373565b6126d0565b60405161040b93929190614a3a565b6103fe612817565b6103fe6105bc3660046143a3565b61281d565b6103fe6128d8565b6103fe6128de565b6105d96128e4565b60405161040b919061445a565b6103fe612978565b6104bb61297e565b6103fe61298d565b6103fe61060c366004614332565b612993565b61046961061f366004614373565b6129bc565b61041c612cb1565b61046961063a366004614373565b612cc0565b6103fe6130a9565b610469610655366004614332565b6130af565b6104bb61315d565b6103fe61316c565b610469610678366004614373565b613206565b6103fe6132ae565b6103fe610693366004614332565b6132b4565b6104696106a6366004614373565b6132c6565b6103fe61387e565b6103fe6106c13660046143ce565b613884565b6104696138a2565b6103fe613a7e565b6104bb613a84565b6106f16106ec366004614373565b613a93565b60405161040b959493929190614a50565b6103fe613ae0565b6103fe6107183660046143a3565b613ae6565b61046961072b366004614373565b613b11565b6103fe613de1565b6103fe613de7565b6103fe61074e366004614332565b613ded565b6104bb613dff565b6104bb613e04565b6103fe613e13565b6103fe613e93565b6103fe613e99565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060600380546107ae90614aec565b80601f01602080910402602001604051908101604052809291908181526020018280546107da90614aec565b80156108275780601f106107fc57610100808354040283529160200191610827565b820191906000526020600020905b81548152906001019060200180831161080a57829003601f168201915b505050505090505b90565b60025490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60135460ff1681565b601354610100900460ff1681565b6002600554141561089f5760405162461bcd60e51b815260040161089690614943565b60405180910390fd5b600260055560135460ff16156108c75760405162461bcd60e51b815260040161089690614581565b336108d157600080fd5b6000811180156108e95750806108e633612049565b10155b6109055760405162461bcd60e51b815260040161089690614868565b60065460408051631d8e90d160e11b8152905183926001600160a01b031691633b1d21a2916004808301926020929190829003018186803b15801561094957600080fd5b505afa15801561095d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610981919061438b565b101561099f5760405162461bcd60e51b8152600401610896906147c1565b60065460405163852a12e360e01b81526001600160a01b039091169063852a12e3906109cf908490600401614a16565b602060405180830381600087803b1580156109e957600080fd5b505af11580156109fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a21919061438b565b15610a3e5760405162461bcd60e51b81526004016108969061497a565b610a483382613e9f565b6000610a5333612049565b905080610a73576001600d6000828254610a6d9190614ad5565b90915550505b7f000000000000000000000000000000000000000000000000000000000000000081108015610acb57507f0000000000000000000000000000000000000000000000000000000000000000610ac88383614a8a565b10155b15610c7257600160166000828254610ae39190614ad5565b90915550503360009081526024602090815260408083208390556025909152812054602354909190610b1790600190614ad5565b9050600060238281548110610b3c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316905082821480610b6357506023546001145b15610bbe57336000908152602560205260408120556023805480610b9757634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610c6e565b336000908152602560205260408120556023805482919085908110610bf357634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905591831681526025909152604090208390556023805480610c4b57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555b5050505b601654610c9957600060158190556013805461ffff191690556014819055601c819055601d555b60075460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb90610ccb9033908690600401614441565b602060405180830381600087803b158015610ce557600080fd5b505af1158015610cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1d9190614353565b1515600114610d3e5760405162461bcd60e51b8152600401610896906146be565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610d779190614a16565b60405180910390a250506001600555565b601290565b6026546001600160a01b03163314610db75760405162461bcd60e51b8152600401610896906145f3565b33610dc157600080fd5b6001600160a01b038116610de75760405162461bcd60e51b815260040161089690614894565b602680546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907f9aecf86140d81442289f667eb72e1202a8fbb3478a686659952e145e8531965690600090a35050565b60175481565b60026005541415610e645760405162461bcd60e51b815260040161089690614943565b600260055560135460ff161515600114610e7d57600080fd5b60135460ff610100909104161515600114610e9757600080fd5b6013805461ff0019169055601254600090610eb29043614ad5565b11610ebc57600080fd5b6000601d54601c54601454610ed19190614a8a565b610edb9190614a8a565b905080600660009054906101000a90046001600160a01b03166001600160a01b0316633b1d21a26040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2c57600080fd5b505afa158015610f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f64919061438b565b1015610f825760405162461bcd60e51b8152600401610896906147c1565b600060165411610f9157600080fd5b60148054601c8054601d805460009586905592859055849055602980549394919391610fbc83614b27565b9091555050601254429060fa90610fd39043614ad5565b111561114257600260188190556040805160a0810182526029805482526020820185815282840185815260006060850181815260808601828152602a805460018101825590845296517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d260059098029788015593517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d387015591517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d486015590517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d5850180546001600160a01b0319166001600160a01b0390921691909117905590517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d69093019290925554915190927f0ea40012165a20f800adbe7d44e3d2d460cf9048a7a2b7b6cf86980fc6513b22926111359290918691869190614a1f565b60405180910390a26118ef565b6000806000805b6023548410801561115a5750600183105b1561126d578361116981614b27565b945050611174613f86565b905060006023828154811061119957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168083526024909152604090912054909150158015906111f757507f00000000000000000000000000000000000000000000000000000000000000006111f482612049565b10155b15611252576001600160a01b03811660009081526024602052604081205461121f9088614ad5565b90507f0000000000000000000000000000000000000000000000000000000000000000811061125057600194508193505b505b6011805490600061126283614b27565b919050555050611149565b82600114156117855787601760008282546112889190614a8a565b9250508190555086600960008282546112a19190614a8a565b9250508190555085600860008282546112ba9190614a8a565b909155505060065460405163852a12e360e01b81526001600160a01b039091169063852a12e3906112ef908c90600401614a16565b602060405180830381600087803b15801561130957600080fd5b505af115801561131d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611341919061438b565b1561135e5760405162461bcd60e51b8152600401610896906146be565b88600f60008282546113709190614ad5565b909155505060075460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906113a79085908c90600401614441565b602060405180830381600087803b1580156113c157600080fd5b505af11580156113d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f99190614353565b151560011461141a5760405162461bcd60e51b8152600401610896906146be565b60075460275460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92611450929116908b90600401614441565b602060405180830381600087803b15801561146a57600080fd5b505af115801561147e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a29190614353565b15156001146114c35760405162461bcd60e51b8152600401610896906146be565b60075460285460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb926114f9929116908a90600401614441565b602060405180830381600087803b15801561151357600080fd5b505af1158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190614353565b151560011461156c5760405162461bcd60e51b8152600401610896906146be565b600160188190555081601960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555087601a8190555084601b81905550602954601e81905550602a6040518060a00160405280602954815260200187815260200160018152602001846001600160a01b031681526020018a815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550608082015181600401555050816001600160a01b03167faffd7eb38f11b70f6657a98f30dc78203c499888d35801fbce07a6d5c944f94c896040516116a09190614a16565b60405180910390a26027546040516001600160a01b03909116907f2dbf449051f38d992cd6ff2d5750cbbaf97180c5c9fcd9556cec6adeb6e9c231906116e7908a90614a16565b60405180910390a26028546040516001600160a01b03909116907f2a6a96d7419fd0b4ce7f9aa79483240989a0bd228af7d45e9bc8ec4ddf1dc7199061172e908990614a16565b60405180910390a2816001600160a01b03167f0ea40012165a20f800adbe7d44e3d2d460cf9048a7a2b7b6cf86980fc6513b22602954878b60016040516117789493929190614a1f565b60405180910390a26118ea565b600260188190556040805160a0810182526029805482526020820189815282840185815260006060850181815260808601828152602a805460018101825590845296517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d260059098029788015593517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d387015591517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d486015590517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d5850180546001600160a01b0319166001600160a01b0390921691909117905590517fbeced09521047d05b8960b7e7bcc1d1292cf3e4b2a6b63f48335cbde5f7545d69093019290925554915190927f0ea40012165a20f800adbe7d44e3d2d460cf9048a7a2b7b6cf86980fc6513b22926118e19290918a91869190614a1f565b60405180910390a25b505050505b50504260155550506013805460ff19169055506001600555565b60295481565b601d5481565b6006546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b601e5481565b601c5481565b600f5481565b60205481565b601f5481565b600e5481565b600080821161197a57600080fd5b60065460408051631d8e90d160e11b8152905184926001600160a01b031691633b1d21a2916004808301926020929190829003018186803b1580156119be57600080fd5b505afa1580156119d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f6919061438b565b10611a0357506001611a07565b5060005b919050565b600080601d54601c54601454611a229190614a8a565b611a2c9190614a8a565b60135490915060009060ff1615156001148015611a565750600060125443611a549190614ad5565b115b8015611a6457506000601654115b8015611aea575060065460408051631d8e90d160e11b8152905184926001600160a01b031691633b1d21a2916004808301926020929190829003018186803b158015611aaf57600080fd5b505afa158015611ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae7919061438b565b10155b15611af757506001611afb565b5060025b91505090565b60606000601f54611b10610832565b611b1a9190614a8a565b90506000600660009054906101000a90046001600160a01b03166001600160a01b0316633b1d21a26040518163ffffffff1660e01b815260040160206040518083038186803b158015611b6c57600080fd5b505afa158015611b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba4919061438b565b90506000611bb0613e13565b90506000611bbc61316c565b90506000611bc8611a0c565b6040805160158082526102c0820190925291925060009190602082016102a0803683370190505090508581600081518110611c1357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508481600181518110611c4157634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508381600281518110611c6f57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508281600381518110611c9d57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508181600481518110611ccb57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600b5481600581518110611cfb57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600c5481600681518110611d2b57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505060215481600781518110611d5b57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050601f5481600881518110611d8b57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505060205481600981518110611dbb57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505060145481600a81518110611deb57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505060175481600b81518110611e1b57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050601a5481600c81518110611e4b57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600d5481600d81518110611e7b57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505060165481600e81518110611eab57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505060185481600f81518110611edb57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050601b5481601081518110611f0b57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050601e5481601181518110611f3b57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250507f000000000000000000000000000000000000000000000000000000000000000081601281518110611f8957634e487b7160e01b600052603260045260246000fd5b6020026020010181815250507f000000000000000000000000000000000000000000000000000000000000000081601381518110611fd757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250507f00000000000000000000000000000000000000000000000000000000000000008160148151811061202557634e487b7160e01b600052603260045260246000fd5b60209081029190910101529550505050505090565b6007546001600160a01b031681565b6001600160a01b031660009081526020819052604090205490565b600260055414156120875760405162461bcd60e51b815260040161089690614943565b60026005556026546001600160a01b031633146120b65760405162461bcd60e51b8152600401610896906145f3565b6120be613fca565b600a548111156120e05760405162461bcd60e51b815260040161089690614723565b60065460408051631d8e90d160e11b8152905183926001600160a01b031691633b1d21a2916004808301926020929190829003018186803b15801561212457600080fd5b505afa158015612138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215c919061438b565b101561217a5760405162461bcd60e51b8152600401610896906147c1565b600081905081600c60008282546121919190614a8a565b909155505060065460405163852a12e360e01b81526001600160a01b039091169063852a12e3906121c6908490600401614a16565b602060405180830381600087803b1580156121e057600080fd5b505af11580156121f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612218919061438b565b156122355760405162461bcd60e51b8152600401610896906146be565b81600a60008282546122479190614ad5565b909155505060075460265460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92612282929116908590600401614441565b602060405180830381600087803b15801561229c57600080fd5b505af11580156122b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d49190614353565b15156001146122f55760405162461bcd60e51b8152600401610896906146be565b6026546040516001600160a01b03909116907fe8ba20a8ed6b554b0883b861bead01a8cc072b1e5eef3cf125536dad835481f190610d77908490614a16565b60606001600160a01b03821661234957600080fd5b600061235483612049565b6007546040516370a0823160e01b81529192506000916001600160a01b03909116906370a082319061238a9087906004016143ef565b60206040518083038186803b1580156123a257600080fd5b505afa1580156123b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123da919061438b565b600754604051636eb1769f60e11b81529192506000916001600160a01b039091169063dd62ed3e906124129088903090600401614403565b60206040518083038186803b15801561242a57600080fd5b505afa15801561243e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612462919061438b565b6001600160a01b03861660009081526022602052604081205491925061248787612993565b60135490915060009060ff1661249b575060025b60135460ff161515600114156124af575060015b60408051600780825261010082019092526000916020820160e08036833701905050905086816000815181106124f557634e487b7160e01b600052603260045260246000fd5b602002602001018181525050858160018151811061252357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050848160028151811061255157634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600e548160038151811061258157634e487b7160e01b600052603260045260246000fd5b60200260200101818152505083816004815181106125af57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505082816005815181106125dd57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050818160068151811061260b57634e487b7160e01b600052603260045260246000fd5b602090810291909101015298975050505050505050565b3361262c57600080fd5b6001600160a01b0381166126525760405162461bcd60e51b815260040161089690614827565b6027546001600160a01b0316331461267c5760405162461bcd60e51b81526004016108969061478a565b602780546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907f869504a2007ee0aecc33d77ea774c0e0aee67a4fe83cc90155a5fab7c6a87dbc90600090a35050565b600080600080601054600f54600a54601f546126ea610832565b6126f4908a614ad5565b6126fe9190614ad5565b6127089190614ad5565b6127129190614ad5565b61271c9190614ad5565b90506000612732826706f05b59d3b20000614ab6565b9050612746670de0b6b3a764000082614aa2565b9050600061275c836703782dace9d90000614ab6565b9050612770670de0b6b3a764000082614aa2565b905060008161277f8486614ad5565b6127899190614ad5565b9050601054836127999190614a8a565b9250600a54826127a99190614a8a565b9150601d54601c54601454600f54846127c29190614a8a565b6127cc9190614ad5565b6127d69190614ad5565b6127e09190614ad5565b90506127f481670a688906bd8b0000614ab6565b9050612808670de0b6b3a764000082614aa2565b92989197509195509350505050565b60095481565b60006001600160a01b03821661283257600080fd5b6000831161283f57600080fd5b6007546040516370a0823160e01b81526001600160a01b03909116906370a082319061286f9085906004016143ef565b60206040518083038186803b15801561288757600080fd5b505afa15801561289b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bf919061438b565b8311156128ce575060016128d2565b5060005b92915050565b60085481565b60105481565b6060602a805480602002602001604051908101604052809291908181526020016000905b8282101561296f5760008481526020908190206040805160a08101825260058602909201805483526001808201548486015260028201549284019290925260038101546001600160a01b031660608401526004015460808301529083529092019101612908565b50505050905090565b601b5481565b6026546001600160a01b031681565b600c5481565b6026546000906001600160a01b03838116911614156129b457506001611a07565b506002611a07565b600260055414156129df5760405162461bcd60e51b815260040161089690614943565b60026005556026546001600160a01b03163314612a0e5760405162461bcd60e51b8152600401610896906145f3565b60008111612a2e5760405162461bcd60e51b8152600401610896906147f8565b80601f541015612a505760405162461bcd60e51b8152600401610896906149a8565b60065460408051631d8e90d160e11b8152905183926001600160a01b031691633b1d21a2916004808301926020929190829003018186803b158015612a9457600080fd5b505afa158015612aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612acc919061438b565b1015612aea5760405162461bcd60e51b8152600401610896906147c1565b60065460405163852a12e360e01b81526001600160a01b039091169063852a12e390612b1a908490600401614a16565b602060405180830381600087803b158015612b3457600080fd5b505af1158015612b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b6c919061438b565b15612b895760405162461bcd60e51b8152600401610896906146be565b80601f6000828254612b9b9190614ad5565b925050819055508060216000828254612bb49190614a8a565b909155505060075460265460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92612bef929116908590600401614441565b602060405180830381600087803b158015612c0957600080fd5b505af1158015612c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c419190614353565b1515600114612c625760405162461bcd60e51b8152600401610896906146be565b6026546040516001600160a01b03909116907f916d90440c92dba9d7754ff7631fe1ad9cced57d553043148a9f75580388844990612ca1908490614a16565b60405180910390a2506001600555565b6060600480546107ae90614aec565b60026005541415612ce35760405162461bcd60e51b815260040161089690614943565b6002600555600e5415612d085760405162461bcd60e51b81526004016108969061475a565b33612d1257600080fd5b600081118015612da057506007546040516370a0823160e01b815282916001600160a01b0316906370a0823190612d4d9033906004016143ef565b60206040518083038186803b158015612d6557600080fd5b505afa158015612d79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9d919061438b565b10155b612dbc5760405162461bcd60e51b815260040161089690614868565b600754604051636eb1769f60e11b815282916001600160a01b03169063dd62ed3e90612dee9033903090600401614403565b60206040518083038186803b158015612e0657600080fd5b505afa158015612e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3e919061438b565b1015612e5c5760405162461bcd60e51b815260040161089690614657565b6007546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90612e909033903090869060040161441d565b602060405180830381600087803b158015612eaa57600080fd5b505af1158015612ebe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ee29190614353565b1515600114612f035760405162461bcd60e51b8152600401610896906146be565b60075460065460405163095ea7b360e01b81526001600160a01b039283169263095ea7b392612f39929116908590600401614441565b602060405180830381600087803b158015612f5357600080fd5b505af1158015612f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f8b9190614353565b1515600114612f9957600080fd5b80601f6000828254612fab9190614a8a565b909155505060065460405163140e25ad60e31b81526001600160a01b039091169063a0712d6890612fe0908490600401614a16565b602060405180830381600087803b158015612ffa57600080fd5b505af115801561300e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613032919061438b565b1561303c57600080fd5b806020600082825461304e9190614a8a565b90915550503360009081526022602052604081208054839290613072908490614a8a565b909155505060405133907fcb5e406a2abc0d032ba33712dd7369bd632cbc91ff68b8e896acf029b44e2a9490612ca1908490614a16565b601a5481565b336130b957600080fd5b6001600160a01b0381166130df5760405162461bcd60e51b815260040161089690614827565b6028546001600160a01b031633146131095760405162461bcd60e51b81526004016108969061490c565b602880546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907ff59aa6ab5fb95b0390dedb0bd38890d17da90c749dad873393463a52b51765c090600090a35050565b6019546001600160a01b031681565b601554600090429082906131809083614ad5565b60135490915060ff1615801561319857506000601654115b80156131a657506000601554115b80156131bf57506000601254436131bd9190614ad5565b115b80156131eb57507f00000000000000000000000000000000000000000000000000000000000000008110155b156131fb5760019250505061082f565b60029250505061082f565b6026546001600160a01b031633146132305760405162461bcd60e51b8152600401610896906145f3565b806001148061323d575080155b6132595760405162461bcd60e51b81526004016108969061468e565b600e8054908290556026546040516001600160a01b03909116907f44046e7be7d848149abebac2b643d261ef302311c3928a58ace78cba0a0c3fd7906132a29084908690614520565b60405180910390a25050565b600a5481565b60246020526000908152604090205481565b600260055414156132e95760405162461bcd60e51b815260040161089690614943565b600260055560135460ff16156133115760405162461bcd60e51b815260040161089690614581565b600e54156133315760405162461bcd60e51b81526004016108969061475a565b3361333b57600080fd5b6000811180156133c957506007546040516370a0823160e01b815282916001600160a01b0316906370a08231906133769033906004016143ef565b60206040518083038186803b15801561338e57600080fd5b505afa1580156133a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133c6919061438b565b10155b6133e55760405162461bcd60e51b815260040161089690614868565b600754604051636eb1769f60e11b815282916001600160a01b03169063dd62ed3e906134179033903090600401614403565b60206040518083038186803b15801561342f57600080fd5b505afa158015613443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613467919061438b565b10156134855760405162461bcd60e51b815260040161089690614657565b6007546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906134b99033903090869060040161441d565b602060405180830381600087803b1580156134d357600080fd5b505af11580156134e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350b9190614353565b151560011461352c5760405162461bcd60e51b8152600401610896906146be565b600061353733612049565b905080613604576001600d60008282546135519190614a8a565b90915550507f00000000000000000000000000000000000000000000000000000000000000008210613604576001601660008282546135909190614a8a565b9091555050602380546001818101835560008390527fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f423090910180546001600160a01b0319163317905590546135e59190614ad5565b3360009081526025602090815260408083209390935560249052204290555b80156136ee577f00000000000000000000000000000000000000000000000000000000000000008110801561366257507f000000000000000000000000000000000000000000000000000000000000000061365f8383614a8a565b10155b156136ee5760016016600082825461367a9190614a8a565b9091555050602380546001818101835560008390527fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f423090910180546001600160a01b0319163317905590546136cf9190614ad5565b3360009081526025602090815260408083209390935560249052204290555b60006016541180156137005750601554155b801561370f575060135460ff16155b1561371957426015555b60075460065460405163095ea7b360e01b81526001600160a01b039283169263095ea7b39261374f929116908690600401614441565b602060405180830381600087803b15801561376957600080fd5b505af115801561377d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a19190614353565b15156001146137af57600080fd5b6137b9338361419c565b60065460405163140e25ad60e31b81526001600160a01b039091169063a0712d68906137e9908590600401614a16565b602060405180830381600087803b15801561380357600080fd5b505af1158015613817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061383b919061438b565b1561384557600080fd5b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c83604051610d779190614a16565b60165481565b600080831161389257600080fd5b818311156128ce575060016128d2565b600260055414156138c55760405162461bcd60e51b815260040161089690614943565b600260055560135460ff16156138da57600080fd5b6000601654116138e957600080fd5b6000601554116138f857600080fd5b6000601254436139089190614ad5565b1161391257600080fd5b60155442906000906139249083614ad5565b90507f000000000000000000000000000000000000000000000000000000000000000081101561395357600080fd5b6013805460ff19166001179055600060155543601255613971613fca565b6000600f54116139935760405162461bcd60e51b81526004016108969061462a565b600f5460148190556139ad816702c68af0bb140000614ab6565b601c8190556139c590670de0b6b3a764000090614aa2565b601c556139d98166b1a2bc2ec50000614ab6565b601d8190556139f190670de0b6b3a764000090614aa2565b601d819055601c54601454613a069190614ad5565b613a109190614ad5565b6014819055601d54601c549091613a279190614a8a565b613a319190614a8a565b8114613a4d57634e487b7160e01b600052600160045260246000fd5b600160116000828254613a609190614a8a565b90915550506013805461ff0019166101001790555050600160055550565b60185481565b6027546001600160a01b031681565b602a8181548110613aa357600080fd5b600091825260209091206005909102018054600182015460028301546003840154600490940154929450909290916001600160a01b039091169085565b60215481565b60006001600160a01b038216613afb57600080fd5b60008311613b0857600080fd5b6128bf82612049565b60026005541415613b345760405162461bcd60e51b815260040161089690614943565b60026005556026546001600160a01b03163314613b635760405162461bcd60e51b8152600401610896906145f3565b613b6b613fca565b601054811115613b8d5760405162461bcd60e51b8152600401610896906146ec565b60065460408051631d8e90d160e11b8152905183926001600160a01b031691633b1d21a2916004808301926020929190829003018186803b158015613bd157600080fd5b505afa158015613be5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c09919061438b565b1015613c275760405162461bcd60e51b8152600401610896906147c1565b600081905081600b6000828254613c3e9190614a8a565b909155505060065460405163852a12e360e01b81526001600160a01b039091169063852a12e390613c73908490600401614a16565b602060405180830381600087803b158015613c8d57600080fd5b505af1158015613ca1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cc5919061438b565b15613ce25760405162461bcd60e51b8152600401610896906146be565b8160106000828254613cf49190614ad5565b909155505060075460265460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92613d2f929116908590600401614441565b602060405180830381600087803b158015613d4957600080fd5b505af1158015613d5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d819190614353565b1515600114613da25760405162461bcd60e51b8152600401610896906146be565b6026546040516001600160a01b03909116907f0ea642e516217541a1e2dc773348c8478ff8a42b293518739a126c10215b36a690610d77908490614a16565b60145481565b60155481565b60226020526000908152604090205481565b600081565b6028546001600160a01b031681565b60155460009042908290613e279083614ad5565b90507f0000000000000000000000000000000000000000000000000000000000000000811015613e88576000613e7d827f0000000000000000000000000000000000000000000000000000000000000000614ad5565b935061082f92505050565b60009250505061082f565b600d5481565b600b5481565b6001600160a01b038216613ec55760405162461bcd60e51b8152600401610896906148cb565b6001600160a01b03821660009081526020819052604090205481811015613efe5760405162461bcd60e51b8152600401610896906145b1565b613f088282614ad5565b6001600160a01b03841660009081526020819052604081209190915560028054849290613f36908490614ad5565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90613f79908690614a16565b60405180910390a3505050565b60008060238054905060125440601154604051602001613fa7929190614520565b6040516020818303038152906040528051906020012060001c611afb9190614b42565b6000613fd4614250565b90506000613fea826706f05b59d3b20000614ab6565b9050613ffe670de0b6b3a764000082614aa2565b905080601060008282546140129190614a8a565b909155506000905061402c836703782dace9d90000614ab6565b9050614040670de0b6b3a764000082614aa2565b905080600f60008282546140549190614a8a565b9091555060009050816140678486614ad5565b6140719190614ad5565b905080600a60008282546140859190614a8a565b909155508190506140968385614a8a565b6140a09190614a8a565b84146140bc57634e487b7160e01b600052600160045260246000fd5b601f546140c7610832565b600a54600f546010546140da9190614a8a565b6140e49190614a8a565b6140ee9190614a8a565b6140f89190614a8a565b600654604051633af9e66960e01b81526001600160a01b0390911690633af9e669906141289030906004016143ef565b602060405180830381600087803b15801561414257600080fd5b505af1158015614156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061417a919061438b565b101561419657634e487b7160e01b600052600160045260246000fd5b50505050565b6001600160a01b0382166141c25760405162461bcd60e51b8152600401610896906149df565b80600260008282546141d49190614a8a565b90915550506001600160a01b03821660009081526020819052604081208054839290614201908490614a8a565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90614244908590614a16565b60405180910390a35050565b600080601054600f54600a54601f54614267610832565b600654604051633af9e66960e01b81526001600160a01b0390911690633af9e669906142979030906004016143ef565b602060405180830381600087803b1580156142b157600080fd5b505af11580156142c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142e9919061438b565b6142f39190614ad5565b6142fd9190614ad5565b6143079190614ad5565b6143119190614ad5565b611afb9190614ad5565b80356001600160a01b0381168114611a0757600080fd5b600060208284031215614343578081fd5b61434c8261431b565b9392505050565b600060208284031215614364578081fd5b8151801515811461434c578182fd5b600060208284031215614384578081fd5b5035919050565b60006020828403121561439c578081fd5b5051919050565b600080604083850312156143b5578081fd5b823591506143c56020840161431b565b90509250929050565b600080604083850312156143e0578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156144c457815180518552868101518786015285810151868601526060808201516001600160a01b0316908601526080908101519085015260a09093019290850190600101614477565b5091979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015614509578351835292840192918401916001016144ed565b50909695505050505050565b901515815260200190565b918252602082015260400190565b6000602080835283518082850152825b8181101561455a5785810183015185820160400152820161453e565b8181111561456b5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601690820152752637ba3a32b93c9034b9903132b4b73390323930bbb760511b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526017908201527f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b602080825260139082015272139bc81a5b9d195c995cdd081858d8dc9d5959606a1b604082015260600190565b6020808252601f908201527f416c6c6f77616e6365206973206c657373207468616e207370656e64696e6700604082015260600190565b60208082526016908201527524b73b30b634b2103637b1b5903830b930b6b2ba32b960511b604082015260600190565b602080825260149082015273536f6d657468696e672077656e742077726f6e6760601b604082015260600190565b6020808252601c908201527f4e6f7420656e6f75676820696e74657265737473206163637275656400000000604082015260600190565b6020808252601b908201527f4e6f7420656e6f75676820726573657276657320616363727565640000000000604082015260600190565b60208082526016908201527511195c1bdcda5d1cc8185c99481cdd5cdc195b99195960521b604082015260600190565b6020808252601b908201527f43616c6c6572206973206e6f742074686520646576656c6f7065720000000000604082015260600190565b6020808252601b908201527f4e6f7420656e6f756768206d61726b6574206c69717569646974790000000000604082015260600190565b602080825260159082015274416d6f756e742063616e6e6f74206265207a65726f60581b604082015260600190565b60208082526021908201527f4e657720646576656c6f70657220697320746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601290820152710416d6f756e742063616e6e6f7420626520360741b604082015260600190565b6020808252601d908201527f4e6577206f776e657220697320746865207a65726f2061646472657373000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526018908201527f43616c6c6572206973206e6f7420746865207365656b65720000000000000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b602080825260149082015273736f6d657468696e672077656e742077726f6e6760601b604082015260600190565b6020808252601c908201527f4e6f7420656e6f75676820646f6e6174696f6e732062616c616e636500000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b93845260208401929092526040830152606082015260800190565b9283526020830191909152604082015260600190565b948552602085019390935260408401919091526001600160a01b03166060830152608082015260a00190565b60ff91909116815260200190565b60008219821115614a9d57614a9d614b56565b500190565b600082614ab157614ab1614b6c565b500490565b6000816000190483118215151615614ad057614ad0614b56565b500290565b600082821015614ae757614ae7614b56565b500390565b600281046001821680614b0057607f821691505b60208210811415614b2157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614b3b57614b3b614b56565b5060010190565b600082614b5157614b51614b6c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfea26469706673582212205dd2c565aac79c3aca2980abf56eff5458e67df1b9f33a5024b3865a6e7d37a564736f6c63430008000033a2646970667358221220556f2aee78cf3e1d3a80a75ce8aa23ac4b2b9a7b7e808d43e09de63724a7e41f64736f6c6343000800003300000000000000000000000034eed477bf8287e79659711799a1e3057ec1a03f00000000000000000000000034eed477bf8287e79659711799a1e3057ec1a03f

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000034eed477bf8287e79659711799a1e3057ec1a03f00000000000000000000000034eed477bf8287e79659711799a1e3057ec1a03f

-----Decoded View---------------
Arg [0] : _developer (address): 0x34eed477bf8287e79659711799a1e3057ec1a03f
Arg [1] : _seeker (address): 0x34eed477bf8287e79659711799a1e3057ec1a03f

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000034eed477bf8287e79659711799a1e3057ec1a03f
Arg [1] : 00000000000000000000000034eed477bf8287e79659711799a1e3057ec1a03f


Deployed ByteCode Sourcemap

93:4789:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4386:146;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;288:23;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1811:422::-;;;;;;:::i;:::-;;:::i;:::-;;2243:411;;;;;;:::i;:::-;;:::i;320:27::-;;;:::i;573:52::-;;;;;;:::i;:::-;;:::i;128:58::-;;;:::i;4661:99::-;;;:::i;392:28::-;;;:::i;2664:397::-;;;;;;:::i;:::-;;:::i;226:24::-;;;;;;:::i;:::-;;:::i;3071:1006::-;;;;;;:::i;:::-;;:::i;257:24::-;;;;;;:::i;:::-;;:::i;4778:101::-;;;:::i;4095:128::-;;;;;;:::i;:::-;;:::i;4242:130::-;;;;;;:::i;:::-;;:::i;429:23::-;;;:::i;:::-;;;;;;;:::i;4550:97::-;;;:::i;461:49::-;;;;;;:::i;:::-;;:::i;354:31::-;;;:::i;1346:455::-;;;;;;:::i;:::-;;:::i;195:24::-;;;:::i;:::-;;;;;;;:::i;517:49::-;;;;;;:::i;:::-;;:::i;4386:146::-;-1:-1:-1;;;;;4489:25:3;;;;;;:15;:25;;;;;;;;;4482:32;;;;;;;;;;;;;;;;;4455:16;;4482:32;;;4489:25;4482:32;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4482:32:3;;;;;;;;;;;;;;;;;;;;;;;4386:146;;;;:::o;288:23::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;288:23:3;;-1:-1:-1;288:23:3;:::o;1811:422::-;1879:10;1871:44;;;;;;-1:-1:-1;;;;;1934:35:3;;1926:78;;;;-1:-1:-1;;;1926:78:3;;;;;;;:::i;:::-;;;;;;;;;2037:12;;-1:-1:-1;;;;;2037:12:3;2023:10;:26;2015:62;;;;-1:-1:-1;;;2015:62:3;;;;;;;:::i;:::-;2108:13;;;-1:-1:-1;;;;;2132:26:3;;;-1:-1:-1;;;;;;2132:26:3;;;;;;;2180:45;;2108:13;;;;2211;;2108;;2180:45;;2088:17;;2180:45;1811:422;;:::o;2243:411::-;2309:10;2301:44;;;;;;-1:-1:-1;;;;;2364:34:3;;2356:76;;;;-1:-1:-1;;;2356:76:3;;;;;;;:::i;:::-;2465:12;;-1:-1:-1;;;;;2465:12:3;2451:10;:26;2443:62;;;;-1:-1:-1;;;2443:62:3;;;;;;;:::i;:::-;2535:12;;;-1:-1:-1;;;;;2558:24:3;;;-1:-1:-1;;;;;;2558:24:3;;;;;;;2604:42;;2535:12;;;;2633;;2535;;2604:42;;2516:16;;2604:42;2243:411;;:::o;320:27::-;;;-1:-1:-1;;;;;320:27:3;;:::o;573:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;573:52:3;;-1:-1:-1;573:52:3;;-1:-1:-1;573:52:3:o;128:58::-;184:1;128:58;:::o;4661:99::-;4711:16;4745:7;4738:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4738:14:3;;;;;;;;;;;;;;;;;;;;;;;4661:99;:::o;392:28::-;;;-1:-1:-1;;;;;392:28:3;;:::o;2664:397::-;2732:10;2724:44;;;;;;2799:4;2787:16;;;;;:37;;-1:-1:-1;2807:17:3;;2787:37;2779:70;;;;-1:-1:-1;;;2779:70:3;;;;;;;:::i;:::-;2882:12;;-1:-1:-1;;;;;2882:12:3;2868:10;:26;2860:62;;;;-1:-1:-1;;;2860:62:3;;;;;;;:::i;:::-;2948:11;;;2970:22;;;-1:-1:-1;;;2970:22:3;;;-1:-1:-1;;;;2970:22:3;;;;;;;3014:39;;2948:11;;;;;;;;3014:39;;;;2948:11;;3041;;;;3014:39;:::i;:::-;;;;;;;;2664:397;;:::o;226:24::-;;;;;;;;;;;;3071:1006;3211:11;;-1:-1:-1;;;3211:11:3;;;;:20;3203:29;;;;;;3251:10;3243:44;;;;;;-1:-1:-1;;;;;3306:31:3;;3298:40;;;;;;-1:-1:-1;;;;;3357:36:3;;3349:45;;;;;;3436:1;3423:10;:14;3415:23;;;;;;3470:1;3457:10;:14;3449:23;;;;;;3504:1;3491:10;:14;3483:23;;;;;;3527:12;:14;;;:12;:14;;;:::i;:::-;;;;-1:-1:-1;;3619:16:3;;3637:13;;3572:115;;3552:17;;3586:10;;3598:6;;3606:11;;-1:-1:-1;;;;;3619:16:3;;;;3637:13;;3652:10;;3664;;3676;;3572:115;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3698:5:3;:19;;;;;;;;;;;-1:-1:-1;;;;;3698:19:3;;;-1:-1:-1;;;;;;3698:19:3;;;;;;;;3728:7;:20;;;;;;;;;;;;;;;;;;;;;;;3759:6;:24;;;;;;;;;;;;;;;;;;;;;;3815:10;-1:-1:-1;3804:22:3;;;:10;3698:19;3804:22;;;;;;;:36;;;;;;;;;;;;;;;;;;;;;;;;3851:24;;;:12;:24;;;;;:37;;;;;;;;;;;;;;;;;;;;;;3899:27;;;:15;:27;;;;;:45;;;;;;;;;;;;;;;;;;;;;;;;3970:99;;3552:135;;-1:-1:-1;3815:10:3;;3759:24;;3728:20;3970:99;;;;3552:135;;4034:10;;4046;;4058;;3970:99;:::i;:::-;;;;;;;;3071:1006;;;;;;:::o;257:24::-;;;;;;;;;;;;4778:101;4831:16;4865:6;4858:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4858:13:3;;;;;;;;;;;;;;;;;;;;;;4778:101;:::o;4095:128::-;-1:-1:-1;;;;;4195:20:3;;;;;;:10;:20;;;;;;;;;4188:27;;;;;;;;;;;;;;;;;4159:18;;4188:27;;;4195:20;4188:27;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4188:27:3;;;;;;;;;;;;;;;;;;;;;;4095:128;;;:::o;4242:130::-;-1:-1:-1;;;;;4342:22:3;;;;;;:12;:22;;;;;;;;;4335:29;;;;;;;;;;;;;;;;;4308:16;;4335:29;;;4342:22;4335:29;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4335:29:3;;;;;;;;;;;;;;;;;;;;;;4242:130;;;:::o;429:23::-;;;-1:-1:-1;;;429:23:3;;;;;:::o;4550:97::-;4598:18;4634:5;4627:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4627:12:3;;;;;;;;;;;;;;;;;;;;;;4550:97;:::o;461:49::-;;;;;;;;;;;;;;;;;;;;354:31;;;-1:-1:-1;;;;;354:31:3;;:::o;1346:455::-;1420:10;1412:44;;;;;;-1:-1:-1;;;;;1475:38:3;;1467:84;;;;-1:-1:-1;;;1467:84:3;;;;;;;:::i;:::-;1584:12;;-1:-1:-1;;;;;1584:12:3;1570:10;:26;1562:62;;;;-1:-1:-1;;;1562:62:3;;;;;;;:::i;:::-;1658:16;;;-1:-1:-1;;;;;1685:32:3;;;-1:-1:-1;;;;;;1685:32:3;;;;;;;1739:54;;1658:16;;;;1776;;1658;;1739:54;;1635:20;;1739:54;1346:455;;:::o;195:24::-;;;;:::o;517:49::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;:::o;14:175:6:-;84:20;;-1:-1:-1;;;;;133:31:6;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;:::-;345:41;264:128;-1:-1:-1;;;264:128:6:o;397:480::-;;;;;;577:3;565:9;556:7;552:23;548:33;545:2;;;599:6;591;584:22;545:2;627:31;648:9;627:31;:::i;:::-;617:41;;677:40;713:2;702:9;698:18;677:40;:::i;:::-;535:342;;667:50;;-1:-1:-1;;;;764:2:6;749:18;;736:32;;815:2;800:18;;787:32;;866:3;851:19;;;838:33;;-1:-1:-1;535:342:6:o;882:266::-;;;1011:2;999:9;990:7;986:23;982:32;979:2;;;1032:6;1024;1017:22;979:2;1060:31;1081:9;1060:31;:::i;:::-;1050:41;1138:2;1123:18;;;;1110:32;;-1:-1:-1;;;969:179:6:o;1153:293::-;;1262:2;1250:9;1241:7;1237:23;1233:32;1230:2;;;1283:6;1275;1268:22;1230:2;1327:9;1314:23;1380:5;1373:13;1366:21;1359:5;1356:32;1346:2;;1407:6;1399;1392:22;1451:190;;1563:2;1551:9;1542:7;1538:23;1534:32;1531:2;;;1584:6;1576;1569:22;1531:2;-1:-1:-1;1612:23:6;;1521:120;-1:-1:-1;1521:120:6:o;1646:203::-;-1:-1:-1;;;;;1810:32:6;;;;1792:51;;1780:2;1765:18;;1747:102::o;1854:762::-;-1:-1:-1;;;;;2253:15:6;;;2235:34;;2305:15;;;2300:2;2285:18;;2278:43;2357:15;;;2352:2;2337:18;;2330:43;2409:15;;;2404:2;2389:18;;2382:43;2462:15;;2456:3;2441:19;;2434:44;2215:3;2494:19;;2487:35;;;;2553:3;2538:19;;2531:35;;;;2597:3;2582:19;;2575:35;;;;2184:3;2169:19;;2151:465::o;2621:417::-;-1:-1:-1;;;;;2870:32:6;;;;2852:51;;2934:2;2919:18;;2912:34;;;;2977:2;2962:18;;2955:34;3020:2;3005:18;;2998:34;2839:3;2824:19;;2806:232::o;3043:661::-;3214:2;3266:21;;;3336:13;;3239:18;;;3358:22;;;3043:661;;3214:2;3437:15;;;;3411:2;3396:18;;;3043:661;3483:195;3497:6;3494:1;3491:13;3483:195;;;3562:13;;-1:-1:-1;;;;;3558:39:6;3546:52;;3653:15;;;;3618:12;;;;3594:1;3512:9;3483:195;;;-1:-1:-1;3695:3:6;;3194:510;-1:-1:-1;;;;;;3194:510:6:o;4393:187::-;4558:14;;4551:22;4533:41;;4521:2;4506:18;;4488:92::o;4585:268::-;4772:14;;4765:22;4747:41;;4831:14;4824:22;4819:2;4804:18;;4797:50;4735:2;4720:18;;4702:151::o;5084:347::-;5286:2;5268:21;;;5325:2;5305:18;;;5298:30;5364:25;5359:2;5344:18;;5337:53;5422:2;5407:18;;5258:173::o;5436:354::-;5638:2;5620:21;;;5677:2;5657:18;;;5650:30;5716:32;5711:2;5696:18;;5689:60;5781:2;5766:18;;5610:180::o;5795:344::-;5997:2;5979:21;;;6036:2;6016:18;;;6009:30;-1:-1:-1;;;6070:2:6;6055:18;;6048:50;6130:2;6115:18;;5969:170::o;6144:397::-;6346:2;6328:21;;;6385:2;6365:18;;;6358:30;6424:34;6419:2;6404:18;;6397:62;-1:-1:-1;;;6490:2:6;6475:18;;6468:31;6531:3;6516:19;;6318:223::o;6546:353::-;6748:2;6730:21;;;6787:2;6767:18;;;6760:30;6826:31;6821:2;6806:18;;6799:59;6890:2;6875:18;;6720:179::o;6904:177::-;7050:25;;;7038:2;7023:18;;7005:76::o;7086:236::-;;-1:-1:-1;;7146:17:6;;7143:2;;;-1:-1:-1;;;7186:33:6;;7242:4;7239:1;7232:15;7272:4;7193:3;7260:17;7143:2;-1:-1:-1;7314:1:6;7303:13;;7133:189::o

Swarm Source

ipfs://556f2aee78cf3e1d3a80a75ce8aa23ac4b2b9a7b7e808d43e09de63724a7e41f
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.