Contract 0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad 1

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x786efb1f2d8608428115bed98bd1fe2e6b086ebd87faf9086cbe47f34afb18a5Deposit188593142022-08-19 20:38:15101 days 8 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0014174 25
0x2c9b9e7e98ac1efa22703edae8ce334b61ae12d6f9e8f73fa10d437bc2a656a7Play_bet188587412022-08-19 20:19:08101 days 8 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0282372475 27.5
0xfab6357192863259f9cb8f1b7fcc6c7eabca5e95f7886a4e966772a798d91ad3Play_bet188585942022-08-19 20:14:13101 days 8 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0282372475 27.5
0x5fe82e5236ceebbf5ec6358eec34533c51aa2fc690c58716b4005f8ca1273f52Play_bet188585642022-08-19 20:13:13101 days 8 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0282372475 27.5
0xc6f644a4c1cbdc30c822b2f8e3c5ecec661d46f83dfdd7d5cd0541b9c59a0184Deposit188585292022-08-19 20:12:03101 days 8 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0018449 25
0x3950f3399f8170bdf28a81cbcb0d72c813d8062cb9816259e1ab6c23caad615ePlay_bet186948372022-08-15 23:23:57105 days 5 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0214309425 27.5
0x47db730e8e664ff804a85a83de93bf606112b00981ad197e8037d31118b6897dPlay_bet186948092022-08-15 23:23:04105 days 5 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.020574015 27.5
0x47b456041668aa3065a8d760815fd5958b3e25429b2e943f613f1ec75beac131Deposit186947692022-08-15 23:21:44105 days 5 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.001762775 25
0x89df3b469e2970ea1e624a47d0a1c5e276c6fe14018cc15e7ed21ed24f8ee3feDonate_to_house186947432022-08-15 23:20:52105 days 5 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  0x29694beaf1c0c9ecd67d4ba0b460e876da2284ad0 AVAX0.0021869 25
0x71f1db8b428f8381ca50af3a3da87f10ed036c081fefd6e3120c99a93b9c3ad90x60806040186931762022-08-15 22:28:29105 days 6 hrs ago0xe4b844b8c6cb20939ba5b2589c48599ddab6a947 IN  Create: DecCas0 AVAX0.1094719525
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DecCas

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : DecCas.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "@pancakeswap/pancake-swap-lib/contracts/token/BEP20/BEP20.sol";
import "@pancakeswap/pancake-swap-lib/contracts/token/BEP20/IBEP20.sol";
import "@pancakeswap/pancake-swap-lib/contracts/token/BEP20/SafeBEP20.sol";
import './BokkyPooBahsDateTimeLibrary.sol';


contract DecCas is Ownable {
    using SafeMath for uint256;
    using SafeMath for uint;
    using SafeBEP20 for IBEP20;

    PlayInfo[] public plays;

    string public website;

    struct PlayInfo {
        uint256 block_number;
        uint256[] play_numbers;
        uint256[] play_amounts;
        uint result;
        uint earnings;
        address player;
        bool claimed;
        address token;
        uint play_id;
    }

    mapping (address => mapping (address => uint256)) public token_balances;
    mapping (address => uint) public house_balances;

    mapping (address => uint[]) public winners_plays;
    mapping (address => uint []) public wallet_plays;

    mapping (address => string []) public support_client;
    mapping (string => string) public support_reply;
    address[] public contacts;


    event BetPlay(address player, uint play_id);
    event Winner(uint play_id, address token, uint earnings);

    function update_websites(string memory web) public onlyOwner{
        website = web;
    }

    function contact_support(string memory request) public{
        support_client[msg.sender].push(request);
        contacts.push(msg.sender);
    }

    function support_length(address user_wallet) public view returns(uint){
        return support_client[user_wallet].length;
    }

    function contacts_length() public view returns(uint){
        return contacts.length;
    }

    function support_response(string memory address_index, string memory response) public onlyOwner{
        support_reply[address_index] = response;
    }

    function get_latest_wallet_plays(address wallet, uint total) public view returns(PlayInfo [] memory){

        if(wallet_plays[wallet].length == 0){
            return new PlayInfo[](0);
        }
        PlayInfo[] memory wallet_plays_cp;

        if(total > wallet_plays[wallet].length){
            wallet_plays_cp = new PlayInfo[](wallet_plays[wallet].length);
        }else{
            wallet_plays_cp = new PlayInfo[](total);
        }

        for (uint i=0; i< total; i++){
            wallet_plays_cp[i] = plays[wallet_plays[wallet][wallet_plays[wallet].length -1 - i]];
            if(wallet_plays[wallet].length -1 - i == 0){
                break;
            }
        }

        return wallet_plays_cp;
    }

    function get_total_plays() public view returns(uint){
        return plays.length;
    }

    function get_latest_winners_plays(address token, uint total) public view returns(PlayInfo [] memory){

        if(winners_plays[token].length == 0){
            return new PlayInfo[](0);
        }
        PlayInfo[] memory wallet_plays_cp;

        if(total > winners_plays[token].length){
            wallet_plays_cp = new PlayInfo[](winners_plays[token].length);
        }else{
            wallet_plays_cp = new PlayInfo[](total);
        }

        for (uint i=0; i< total; i++){
            wallet_plays_cp[i] = plays[winners_plays[token][winners_plays[token].length -1 - i]];
            if(winners_plays[token].length -1 - i == 0){
                break;
            }
        }

        return wallet_plays_cp;

    }

    function deposit(address token, uint amount) public {

        require(amount > 0, "Incorrect amount");

        IBEP20 token_bep = IBEP20(token);
        token_bep.safeTransferFrom(msg.sender, address(this), amount);
        token_balances[token][msg.sender] = token_balances[token][msg.sender].add(amount);
    }

    function withdraw(address token, uint amount) public {

        require(amount > 0, "Incorrect amount");
        require(token_balances[token][msg.sender] >= amount, "Insuficient funds");

        IBEP20 token_bep = IBEP20(token);
        token_balances[token][msg.sender] = token_balances[token][msg.sender].sub(amount);
        token_bep.safeTransfer(msg.sender, amount);
    }

    function house_withdraw(address token, uint amount) public onlyOwner {

        require(amount > 0, "Incorrect amount");
        require(house_balances[token] >= amount, "Insuficient funds");
        require(get_month_day() == 1, "House can withdraw only first day of month");

        IBEP20 token_bep = IBEP20(token);
        house_balances[token] = house_balances[token].sub(amount);
        token_bep.safeTransfer(msg.sender, amount);
    }

    function get_month_day() public view returns(uint){
        return BokkyPooBahsDateTimeLibrary.getDay(block.timestamp);
    }

    function donate_to_house(address token, uint amount) public {

        require(amount > 0, "Incorrect amount");

        IBEP20 token_bep = IBEP20(token);
        token_bep.safeTransferFrom(msg.sender, address(this), amount);
        house_balances[token] = house_balances[token].add(amount);
    }

    function last_block() public view returns (uint) {

        return block.number;
    }

    function result(uint block_number, uint numbers) public view returns (uint) {
        require(block_number < block.number, "Wait 1 block confirms!");
        require(block_number >= block.number - 250, "Expired block, 256 blocks pass!");

        return uint(blockhash(block_number)) % numbers;
    }

    function play_bet(address token, uint[] memory numbers, uint[] memory amounts) public {
        // TODO: reduce player balance, before place bet

        require(numbers.length == amounts.length, "Bets match error!");
        require(numbers.length > 0, "Numbers required");
        uint bet_total = 0;

        for (uint i=0; i< amounts.length; i++){
            require(amounts[i] > 0, "Bet amounts should be positive!");
            bet_total = bet_total.add(amounts[i]);
        }

        require(token_balances[token][msg.sender] >= bet_total, "Insuficient funds");
        // 0.3% = total*0.3/100 = total*3/1000
        require(house_balances[token].mul(3).div(1000) >= bet_total, "0.3% house balance lower than total bet amount. Please decrease bet or donate to house");

        token_balances[token][msg.sender] = token_balances[token][msg.sender].sub(bet_total);
        house_balances[token] = house_balances[token].add(bet_total);

        plays.push(PlayInfo({block_number: block.number + 1, play_numbers: numbers, play_amounts: amounts, result: 0, earnings: 0, 
            player: msg.sender, claimed: false, token: token, play_id: plays.length}));
        uint play_id = plays.length - 1;

        wallet_plays[msg.sender].push(play_id);

        emit BetPlay(msg.sender, play_id);

    }

    function check_play(uint play_id) public view returns (uint [] memory) {

        PlayInfo memory play = plays[play_id];
        uint res = result(play.block_number, 37);
        uint[] memory results = new uint[](2);
        results[0] = res;
        uint win_amount = 0;

        require(play.play_numbers.length > 0, "Play numbers required");

        for (uint i=0; i< play.play_numbers.length; i++){
          if (play.play_numbers[i] == res){
              win_amount = win_amount.add(play.play_amounts[i].mul(36));
          }
        }

        results[1] = win_amount;

        return results;
    }

    function claim_win(uint play_id) public {

        uint[] memory results = check_play(play_id);
        PlayInfo memory play = plays[play_id];
        address token = play.token;

        require(!play.claimed, "Claim already done!");
        require(play.player ==  msg.sender, "Only player can claim.");
        require(results[1] > 0, "Nothing to claim!");

        play.claimed = true;
        play.result = results[0];
        play.earnings = results[1];
        plays[play_id] = play;

        require(house_balances[token].sub(play.earnings) >= 0, "Insuficient house funds");
        
        token_balances[token][msg.sender] = token_balances[token][msg.sender].add(play.earnings);
        house_balances[token] = house_balances[token].sub(play.earnings);

        winners_plays[token].push(play_id);

        emit Winner(play_id, token, play.earnings);
    }


}

File 2 of 9 : BokkyPooBahsDateTimeLibrary.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;

// ----------------------------------------------------------------------------
// BokkyPooBah's DateTime Library v1.01
//
// A gas-efficient Solidity date and time library
//
// https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary
//
// Tested date range 1970/01/01 to 2345/12/31
//
// Conventions:
// Unit      | Range         | Notes
// :-------- |:-------------:|:-----
// timestamp | >= 0          | Unix timestamp, number of seconds since 1970/01/01 00:00:00 UTC
// year      | 1970 ... 2345 |
// month     | 1 ... 12      |
// day       | 1 ... 31      |
// hour      | 0 ... 23      |
// minute    | 0 ... 59      |
// second    | 0 ... 59      |
// dayOfWeek | 1 ... 7       | 1 = Monday, ..., 7 = Sunday
//
//
// Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018-2019. The MIT Licence.
// ----------------------------------------------------------------------------

library BokkyPooBahsDateTimeLibrary {

    uint constant SECONDS_PER_DAY = 24 * 60 * 60;
    uint constant SECONDS_PER_HOUR = 60 * 60;
    uint constant SECONDS_PER_MINUTE = 60;
    int constant OFFSET19700101 = 2440588;

    uint constant DOW_MON = 1;
    uint constant DOW_TUE = 2;
    uint constant DOW_WED = 3;
    uint constant DOW_THU = 4;
    uint constant DOW_FRI = 5;
    uint constant DOW_SAT = 6;
    uint constant DOW_SUN = 7;

    // ------------------------------------------------------------------------
    // Calculate the number of days from 1970/01/01 to year/month/day using
    // the date conversion algorithm from
    //   https://aa.usno.navy.mil/faq/JD_formula.html
    // and subtracting the offset 2440588 so that 1970/01/01 is day 0
    //
    // days = day
    //      - 32075
    //      + 1461 * (year + 4800 + (month - 14) / 12) / 4
    //      + 367 * (month - 2 - (month - 14) / 12 * 12) / 12
    //      - 3 * ((year + 4900 + (month - 14) / 12) / 100) / 4
    //      - offset
    // ------------------------------------------------------------------------
    function _daysFromDate(uint year, uint month, uint day) internal pure returns (uint _days) {
        require(year >= 1970);
        int _year = int(year);
        int _month = int(month);
        int _day = int(day);

        int __days = _day
          - 32075
          + 1461 * (_year + 4800 + (_month - 14) / 12) / 4
          + 367 * (_month - 2 - (_month - 14) / 12 * 12) / 12
          - 3 * ((_year + 4900 + (_month - 14) / 12) / 100) / 4
          - OFFSET19700101;

        _days = uint(__days);
    }

    // ------------------------------------------------------------------------
    // Calculate year/month/day from the number of days since 1970/01/01 using
    // the date conversion algorithm from
    //   http://aa.usno.navy.mil/faq/docs/JD_Formula.php
    // and adding the offset 2440588 so that 1970/01/01 is day 0
    //
    // int L = days + 68569 + offset
    // int N = 4 * L / 146097
    // L = L - (146097 * N + 3) / 4
    // year = 4000 * (L + 1) / 1461001
    // L = L - 1461 * year / 4 + 31
    // month = 80 * L / 2447
    // dd = L - 2447 * month / 80
    // L = month / 11
    // month = month + 2 - 12 * L
    // year = 100 * (N - 49) + year + L
    // ------------------------------------------------------------------------
    function _daysToDate(uint _days) internal pure returns (uint year, uint month, uint day) {
        int __days = int(_days);

        int L = __days + 68569 + OFFSET19700101;
        int N = 4 * L / 146097;
        L = L - (146097 * N + 3) / 4;
        int _year = 4000 * (L + 1) / 1461001;
        L = L - 1461 * _year / 4 + 31;
        int _month = 80 * L / 2447;
        int _day = L - 2447 * _month / 80;
        L = _month / 11;
        _month = _month + 2 - 12 * L;
        _year = 100 * (N - 49) + _year + L;

        year = uint(_year);
        month = uint(_month);
        day = uint(_day);
    }

    function timestampFromDate(uint year, uint month, uint day) internal pure returns (uint timestamp) {
        timestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY;
    }
    function timestampFromDateTime(uint year, uint month, uint day, uint hour, uint minute, uint second) internal pure returns (uint timestamp) {
        timestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + hour * SECONDS_PER_HOUR + minute * SECONDS_PER_MINUTE + second;
    }
    function timestampToDate(uint timestamp) internal pure returns (uint year, uint month, uint day) {
        (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY);
    }
    function timestampToDateTime(uint timestamp) internal pure returns (uint year, uint month, uint day, uint hour, uint minute, uint second) {
        (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY);
        uint secs = timestamp % SECONDS_PER_DAY;
        hour = secs / SECONDS_PER_HOUR;
        secs = secs % SECONDS_PER_HOUR;
        minute = secs / SECONDS_PER_MINUTE;
        second = secs % SECONDS_PER_MINUTE;
    }

    function isValidDate(uint year, uint month, uint day) internal pure returns (bool valid) {
        if (year >= 1970 && month > 0 && month <= 12) {
            uint daysInMonth = _getDaysInMonth(year, month);
            if (day > 0 && day <= daysInMonth) {
                valid = true;
            }
        }
    }
    function isValidDateTime(uint year, uint month, uint day, uint hour, uint minute, uint second) internal pure returns (bool valid) {
        if (isValidDate(year, month, day)) {
            if (hour < 24 && minute < 60 && second < 60) {
                valid = true;
            }
        }
    }
    function isLeapYear(uint timestamp) internal pure returns (bool leapYear) {
        (uint year,,) = _daysToDate(timestamp / SECONDS_PER_DAY);
        leapYear = _isLeapYear(year);
    }
    function _isLeapYear(uint year) internal pure returns (bool leapYear) {
        leapYear = ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0);
    }
    function isWeekDay(uint timestamp) internal pure returns (bool weekDay) {
        weekDay = getDayOfWeek(timestamp) <= DOW_FRI;
    }
    function isWeekEnd(uint timestamp) internal pure returns (bool weekEnd) {
        weekEnd = getDayOfWeek(timestamp) >= DOW_SAT;
    }
    function getDaysInMonth(uint timestamp) internal pure returns (uint daysInMonth) {
        (uint year, uint month,) = _daysToDate(timestamp / SECONDS_PER_DAY);
        daysInMonth = _getDaysInMonth(year, month);
    }
    function _getDaysInMonth(uint year, uint month) internal pure returns (uint daysInMonth) {
        if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12) {
            daysInMonth = 31;
        } else if (month != 2) {
            daysInMonth = 30;
        } else {
            daysInMonth = _isLeapYear(year) ? 29 : 28;
        }
    }
    // 1 = Monday, 7 = Sunday
    function getDayOfWeek(uint timestamp) internal pure returns (uint dayOfWeek) {
        uint _days = timestamp / SECONDS_PER_DAY;
        dayOfWeek = (_days + 3) % 7 + 1;
    }

    function getYear(uint timestamp) internal pure returns (uint year) {
        (year,,) = _daysToDate(timestamp / SECONDS_PER_DAY);
    }
    function getMonth(uint timestamp) internal pure returns (uint month) {
        (,month,) = _daysToDate(timestamp / SECONDS_PER_DAY);
    }
    function getDay(uint timestamp) internal pure returns (uint day) {
        (,,day) = _daysToDate(timestamp / SECONDS_PER_DAY);
    }
    function getHour(uint timestamp) internal pure returns (uint hour) {
        uint secs = timestamp % SECONDS_PER_DAY;
        hour = secs / SECONDS_PER_HOUR;
    }
    function getMinute(uint timestamp) internal pure returns (uint minute) {
        uint secs = timestamp % SECONDS_PER_HOUR;
        minute = secs / SECONDS_PER_MINUTE;
    }
    function getSecond(uint timestamp) internal pure returns (uint second) {
        second = timestamp % SECONDS_PER_MINUTE;
    }

    function addYears(uint timestamp, uint _years) internal pure returns (uint newTimestamp) {
        (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY);
        year += _years;
        uint daysInMonth = _getDaysInMonth(year, month);
        if (day > daysInMonth) {
            day = daysInMonth;
        }
        newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY;
        require(newTimestamp >= timestamp);
    }
    function addMonths(uint timestamp, uint _months) internal pure returns (uint newTimestamp) {
        (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY);
        month += _months;
        year += (month - 1) / 12;
        month = (month - 1) % 12 + 1;
        uint daysInMonth = _getDaysInMonth(year, month);
        if (day > daysInMonth) {
            day = daysInMonth;
        }
        newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY;
        require(newTimestamp >= timestamp);
    }
    function addDays(uint timestamp, uint _days) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp + _days * SECONDS_PER_DAY;
        require(newTimestamp >= timestamp);
    }
    function addHours(uint timestamp, uint _hours) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp + _hours * SECONDS_PER_HOUR;
        require(newTimestamp >= timestamp);
    }
    function addMinutes(uint timestamp, uint _minutes) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp + _minutes * SECONDS_PER_MINUTE;
        require(newTimestamp >= timestamp);
    }
    function addSeconds(uint timestamp, uint _seconds) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp + _seconds;
        require(newTimestamp >= timestamp);
    }

    function subYears(uint timestamp, uint _years) internal pure returns (uint newTimestamp) {
        (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY);
        year -= _years;
        uint daysInMonth = _getDaysInMonth(year, month);
        if (day > daysInMonth) {
            day = daysInMonth;
        }
        newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY;
        require(newTimestamp <= timestamp);
    }
    function subMonths(uint timestamp, uint _months) internal pure returns (uint newTimestamp) {
        (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY);
        uint yearMonth = year * 12 + (month - 1) - _months;
        year = yearMonth / 12;
        month = yearMonth % 12 + 1;
        uint daysInMonth = _getDaysInMonth(year, month);
        if (day > daysInMonth) {
            day = daysInMonth;
        }
        newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY;
        require(newTimestamp <= timestamp);
    }
    function subDays(uint timestamp, uint _days) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp - _days * SECONDS_PER_DAY;
        require(newTimestamp <= timestamp);
    }
    function subHours(uint timestamp, uint _hours) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp - _hours * SECONDS_PER_HOUR;
        require(newTimestamp <= timestamp);
    }
    function subMinutes(uint timestamp, uint _minutes) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp - _minutes * SECONDS_PER_MINUTE;
        require(newTimestamp <= timestamp);
    }
    function subSeconds(uint timestamp, uint _seconds) internal pure returns (uint newTimestamp) {
        newTimestamp = timestamp - _seconds;
        require(newTimestamp <= timestamp);
    }

    function diffYears(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _years) {
        require(fromTimestamp <= toTimestamp);
        (uint fromYear,,) = _daysToDate(fromTimestamp / SECONDS_PER_DAY);
        (uint toYear,,) = _daysToDate(toTimestamp / SECONDS_PER_DAY);
        _years = toYear - fromYear;
    }
    function diffMonths(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _months) {
        require(fromTimestamp <= toTimestamp);
        (uint fromYear, uint fromMonth,) = _daysToDate(fromTimestamp / SECONDS_PER_DAY);
        (uint toYear, uint toMonth,) = _daysToDate(toTimestamp / SECONDS_PER_DAY);
        _months = toYear * 12 + toMonth - fromYear * 12 - fromMonth;
    }
    function diffDays(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _days) {
        require(fromTimestamp <= toTimestamp);
        _days = (toTimestamp - fromTimestamp) / SECONDS_PER_DAY;
    }
    function diffHours(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _hours) {
        require(fromTimestamp <= toTimestamp);
        _hours = (toTimestamp - fromTimestamp) / SECONDS_PER_HOUR;
    }
    function diffMinutes(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _minutes) {
        require(fromTimestamp <= toTimestamp);
        _minutes = (toTimestamp - fromTimestamp) / SECONDS_PER_MINUTE;
    }
    function diffSeconds(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _seconds) {
        require(fromTimestamp <= toTimestamp);
        _seconds = toTimestamp - fromTimestamp;
    }
}

File 3 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

File 4 of 9 : SafeBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import './IBEP20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IBEP20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IBEP20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: decreased allowance below zero'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}

File 5 of 9 : IBEP20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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

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

pragma solidity >=0.4.0;

import '../../access/Ownable.sol';
import '../../GSN/Context.sol';
import './IBEP20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public virtual onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

File 7 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

File 8 of 9 : Ownable.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

import '../GSN/Context.sol';

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), 'Ownable: caller is not the owner');
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 9 of 9 : Context.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

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

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"play_id","type":"uint256"}],"name":"BetPlay","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"play_id","type":"uint256"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"earnings","type":"uint256"}],"name":"Winner","type":"event"},{"inputs":[{"internalType":"uint256","name":"play_id","type":"uint256"}],"name":"check_play","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"play_id","type":"uint256"}],"name":"claim_win","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"request","type":"string"}],"name":"contact_support","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"contacts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contacts_length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"donate_to_house","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"total","type":"uint256"}],"name":"get_latest_wallet_plays","outputs":[{"components":[{"internalType":"uint256","name":"block_number","type":"uint256"},{"internalType":"uint256[]","name":"play_numbers","type":"uint256[]"},{"internalType":"uint256[]","name":"play_amounts","type":"uint256[]"},{"internalType":"uint256","name":"result","type":"uint256"},{"internalType":"uint256","name":"earnings","type":"uint256"},{"internalType":"address","name":"player","type":"address"},{"internalType":"bool","name":"claimed","type":"bool"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"play_id","type":"uint256"}],"internalType":"struct DecCas.PlayInfo[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"total","type":"uint256"}],"name":"get_latest_winners_plays","outputs":[{"components":[{"internalType":"uint256","name":"block_number","type":"uint256"},{"internalType":"uint256[]","name":"play_numbers","type":"uint256[]"},{"internalType":"uint256[]","name":"play_amounts","type":"uint256[]"},{"internalType":"uint256","name":"result","type":"uint256"},{"internalType":"uint256","name":"earnings","type":"uint256"},{"internalType":"address","name":"player","type":"address"},{"internalType":"bool","name":"claimed","type":"bool"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"play_id","type":"uint256"}],"internalType":"struct DecCas.PlayInfo[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_month_day","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_total_plays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"house_balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"house_withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"last_block","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"numbers","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"play_bet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"plays","outputs":[{"internalType":"uint256","name":"block_number","type":"uint256"},{"internalType":"uint256","name":"result","type":"uint256"},{"internalType":"uint256","name":"earnings","type":"uint256"},{"internalType":"address","name":"player","type":"address"},{"internalType":"bool","name":"claimed","type":"bool"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"play_id","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"block_number","type":"uint256"},{"internalType":"uint256","name":"numbers","type":"uint256"}],"name":"result","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"support_client","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user_wallet","type":"address"}],"name":"support_length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"support_reply","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"address_index","type":"string"},{"internalType":"string","name":"response","type":"string"}],"name":"support_response","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"token_balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"web","type":"string"}],"name":"update_websites","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"wallet_plays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"website","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"winners_plays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600062000024620000c860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620000d0565b600033905090565b614e0880620000e06000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80639c18555311610104578063e0f478cb116100a2578063f2fde38b11610071578063f2fde38b146105a7578063f3fef3a3146105c3578063f403c2ab146105df578063f7b106e7146105fb576101da565b8063e0f478cb146104f9578063e451381814610529578063e720be8f14610559578063ebd4338414610589576101da565b8063d282b521116100de578063d282b52114610461578063d5e1aa8d14610491578063de0ab96d146104c1578063df170201146104dd576101da565b80639c185553146103f7578063af6ed5ca14610427578063beb0a41614610443576101da565b806347e7ef241161017c57806387d59e6f1161014b57806387d59e6f1461035d5780638a74b710146103795780638da5cb5b146103a9578063938ac182146103c7576101da565b806347e7ef24146102ff5780634f84c5f11461031b5780635f1d035514610337578063715018a614610353576101da565b806337eaff12116101b857806337eaff121461025d5780633f302cd51461028d578063438d94ac146102ab57806345d4682a146102c9576101da565b8063222491ca146101df5780632ab68e311461020f578063302eb7e11461022d575b600080fd5b6101f960048036038101906101f49190613bbf565b61062b565b6040516102069190614aba565b60405180910390f35b610217610650565b6040516102249190614aba565b60405180910390f35b61024760048036038101906102429190613b96565b61065d565b6040516102549190614aba565b60405180910390f35b61027760048036038101906102729190613d8c565b610675565b60405161028491906147f6565b60405180910390f35b6102956109ac565b6040516102a29190614aba565b60405180910390f35b6102b36109b9565b6040516102c09190614aba565b60405180910390f35b6102e360048036038101906102de9190613d8c565b6109c1565b6040516102f69796959493929190614b0c565b60405180910390f35b61031960048036038101906103149190613c7a565b610a5d565b005b61033560048036038101906103309190613d8c565b610be6565b005b610351600480360381019061034c9190613c7a565b611347565b005b61035b6115b5565b005b61037760048036038101906103729190613cdf565b611708565b005b610393600480360381019061038e9190613c7a565b6117b7565b6040516103a091906147d4565b60405180910390f35b6103b1611c8b565b6040516103be9190614730565b60405180910390f35b6103e160048036038101906103dc9190613db5565b611cb4565b6040516103ee9190614aba565b60405180910390f35b610411600480360381019061040c9190613c7a565b611d54565b60405161041e9190614aba565b60405180910390f35b610441600480360381019061043c9190613bfb565b611d82565b005b61044b612418565b6040516104589190614818565b60405180910390f35b61047b60048036038101906104769190613b96565b6124b6565b6040516104889190614aba565b60405180910390f35b6104ab60048036038101906104a69190613c7a565b612502565b6040516104b891906147d4565b60405180910390f35b6104db60048036038101906104d69190613c7a565b6129d6565b005b6104f760048036038101906104f29190613d20565b612ae5565b005b610513600480360381019061050e9190613d8c565b612bb1565b6040516105209190614730565b60405180910390f35b610543600480360381019061053e9190613c7a565b612bed565b6040516105509190614aba565b60405180910390f35b610573600480360381019061056e9190613c7a565b612c1b565b6040516105809190614818565b60405180910390f35b610591612ce1565b60405161059e9190614aba565b60405180910390f35b6105c160048036038101906105bc9190613b96565b612cf1565b005b6105dd60048036038101906105d89190613c7a565b612d92565b005b6105f960048036038101906105f49190613cdf565b612fd8565b005b61061560048036038101906106109190613cdf565b6130b7565b6040516106229190614818565b60405180910390f35b6003602052816000526040600020602052806000526040600020600091509150505481565b6000600180549050905090565b60046020528060005260406000206000915090505481565b606061067f61391c565b6001838154811061068c57fe5b90600052602060002090600802016040518061012001604052908160008201548152602001600182018054806020026020016040519081016040528092919081815260200182805480156106ff57602002820191906000526020600020905b8154815260200190600101908083116106eb575b505050505081526020016002820180548060200260200160405190810160405280929190818152602001828054801561075757602002820191906000526020600020905b815481526020019060010190808311610743575b5050505050815260200160038201548152602001600482015481526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160149054906101000a900460ff161515151581526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820154815250509050600061085882600001516025611cb4565b90506060600267ffffffffffffffff8111801561087457600080fd5b506040519080825280602002602001820160405280156108a35781602001602082028036833780820191505090505b50905081816000815181106108b457fe5b60200260200101818152505060008084602001515111610909576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109009061485a565b60405180910390fd5b60005b84602001515181101561098557838560200151828151811061092a57fe5b602002602001015114156109785761097561096660248760400151848151811061095057fe5b602002602001015161317d90919063ffffffff16565b836131ed90919063ffffffff16565b91505b808060010191505061090c565b50808260018151811061099457fe5b60200260200101818152505081945050505050919050565b6000600980549050905090565b600043905090565b600181815481106109ce57fe5b90600052602060002090600802016000915090508060000154908060030154908060040154908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160149054906101000a900460ff16908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060070154905087565b60008111610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9790614a9a565b60405180910390fd5b6000829050610ad23330848473ffffffffffffffffffffffffffffffffffffffff16613242909392919063ffffffff16565b610b6182600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131ed90919063ffffffff16565b600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6060610bf182610675565b9050610bfb61391c565b60018381548110610c0857fe5b9060005260206000209060080201604051806101200160405290816000820154815260200160018201805480602002602001604051908101604052809291908181526020018280548015610c7b57602002820191906000526020600020905b815481526020019060010190808311610c67575b5050505050815260200160028201805480602002602001604051908101604052809291908181526020018280548015610cd357602002820191906000526020600020905b815481526020019060010190808311610cbf575b5050505050815260200160038201548152602001600482015481526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160149054906101000a900460ff161515151581526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600782015481525050905060008160e0015190508160c0015115610e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e089061497a565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168260a0015173ffffffffffffffffffffffffffffffffffffffff1614610e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7a9061499a565b60405180910390fd5b600083600181518110610e9257fe5b602002602001015111610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190614a7a565b60405180910390fd5b60018260c001901515908115158152505082600081518110610ef857fe5b602002602001015182606001818152505082600181518110610f1657fe5b60200260200101518260800181815250508160018581548110610f3557fe5b9060005260206000209060080201600082015181600001556020820151816001019080519060200190610f69929190613996565b506040820151816002019080519060200190610f86929190613996565b50606082015181600301556080820151816004015560a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c08201518160050160146101000a81548160ff02191690831515021790555060e08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610100820151816007015590505060006110af8360800151600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132cb90919063ffffffff16565b10156110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e7906149da565b60405180910390fd5b6111838260800151600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131ed90919063ffffffff16565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112598260800151600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132cb90919063ffffffff16565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208490806001815401808255809150506001900390600052602060002001600090919091909150557f1c2ae1f7e99dbbbfe25aac964f3889ea68259d88b74709f53037a6fb930bb02a8482846080015160405161133993929190614ad5565b60405180910390a150505050565b61134f613315565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d39061495a565b60405180910390fd5b6000811161141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690614a9a565b60405180910390fd5b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156114a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611498906149fa565b60405180910390fd5b60016114ab612ce1565b146114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e2906149ba565b60405180910390fd5b600082905061154282600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132cb90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506115b033838373ffffffffffffffffffffffffffffffffffffffff1661331d9092919063ffffffff16565b505050565b6115bd613315565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461164a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116419061495a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611710613315565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461179d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117949061495a565b60405180910390fd5b80600290805190602001906117b39291906139e3565b5050565b60606000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050141561185e57600067ffffffffffffffff8111801561181c57600080fd5b5060405190808252806020026020018201604052801561185657816020015b61184361391c565b81526020019060019003908161183b5790505b509050611c85565b6060600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905083111561194557600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905067ffffffffffffffff8111801561190357600080fd5b5060405190808252806020026020018201604052801561193d57816020015b61192a61391c565b8152602001906001900390816119225790505b50905061199a565b8267ffffffffffffffff8111801561195c57600080fd5b5060405190808252806020026020018201604052801561199657816020015b61198361391c565b81526020019060019003908161197b5790505b5090505b60005b83811015611c7f576001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020826001600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050030381548110611a3857fe5b906000526020600020015481548110611a4d57fe5b9060005260206000209060080201604051806101200160405290816000820154815260200160018201805480602002602001604051908101604052809291908181526020018280548015611ac057602002820191906000526020600020905b815481526020019060010190808311611aac575b5050505050815260200160028201805480602002602001604051908101604052809291908181526020018280548015611b1857602002820191906000526020600020905b815481526020019060010190808311611b04575b5050505050815260200160038201548152602001600482015481526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160149054906101000a900460ff161515151581526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600782015481525050828281518110611c1257fe5b60200260200101819052506000816001600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003031415611c7257611c7f565b808060010191505061199d565b50809150505b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000438310611cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cef9061491a565b60405180910390fd5b60fa4303831015611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d35906148da565b60405180910390fd5b81834060001c81611d4b57fe5b06905092915050565b60066020528160005260406000208181548110611d6d57fe5b90600052602060002001600091509150505481565b8051825114611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd9061483a565b60405180910390fd5b6000825111611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e019061487a565b60405180910390fd5b6000805b8251811015611ea2576000838281518110611e2557fe5b602002602001015111611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6490614a3a565b60405180910390fd5b611e93838281518110611e7c57fe5b6020026020010151836131ed90919063ffffffff16565b91508080600101915050611e0e565b5080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f59906149fa565b60405180910390fd5b80611fca6103e8611fbc6003600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461317d90919063ffffffff16565b6133a390919063ffffffff16565b101561200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290614a5a565b60405180910390fd5b61209a81600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132cb90919063ffffffff16565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061216c81600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131ed90919063ffffffff16565b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160405180610120016040528060014301815260200185815260200184815260200160008152602001600081526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020018673ffffffffffffffffffffffffffffffffffffffff1681526020016001805490508152509080600181540180825580915050600190039060005260206000209060080201600090919091909150600082015181600001556020820151816001019080519060200190612279929190613996565b506040820151816002019080519060200190612296929190613996565b50606082015181600301556080820151816004015560a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c08201518160050160146101000a81548160ff02191690831515021790555060e08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061010082015181600701555050600060018080549050039050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150557f7e83ac04a1da1bb9626c1b6d5180607ad0dd307783333ed67ffc4d580fedded3338260405161240992919061474b565b60405180910390a15050505050565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156124ae5780601f10612483576101008083540402835291602001916124ae565b820191906000526020600020905b81548152906001019060200180831161249157829003601f168201915b505050505081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b60606000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905014156125a957600067ffffffffffffffff8111801561256757600080fd5b506040519080825280602002602001820160405280156125a157816020015b61258e61391c565b8152602001906001900390816125865790505b5090506129d0565b6060600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905083111561269057600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905067ffffffffffffffff8111801561264e57600080fd5b5060405190808252806020026020018201604052801561268857816020015b61267561391c565b81526020019060019003908161266d5790505b5090506126e5565b8267ffffffffffffffff811180156126a757600080fd5b506040519080825280602002602001820160405280156126e157816020015b6126ce61391c565b8152602001906001900390816126c65790505b5090505b60005b838110156129ca576001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020826001600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003038154811061278357fe5b90600052602060002001548154811061279857fe5b906000526020600020906008020160405180610120016040529081600082015481526020016001820180548060200260200160405190810160405280929190818152602001828054801561280b57602002820191906000526020600020905b8154815260200190600101908083116127f7575b505050505081526020016002820180548060200260200160405190810160405280929190818152602001828054801561286357602002820191906000526020600020905b81548152602001906001019080831161284f575b5050505050815260200160038201548152602001600482015481526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160149054906101000a900460ff161515151581526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160078201548152505082828151811061295d57fe5b60200260200101819052506000816001600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050030314156129bd576129ca565b80806001019150506126e8565b50809150505b92915050565b60008111612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090614a9a565b60405180910390fd5b6000829050612a4b3330848473ffffffffffffffffffffffffffffffffffffffff16613242909392919063ffffffff16565b612a9d82600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131ed90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b612aed613315565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b719061495a565b60405180910390fd5b80600883604051612b8b9190614719565b90815260200160405180910390209080519060200190612bac9291906139e3565b505050565b60098181548110612bbe57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528160005260406000208181548110612c0657fe5b90600052602060002001600091509150505481565b60076020528160005260406000208181548110612c3457fe5b90600052602060002001600091509150508054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612cd95780601f10612cae57610100808354040283529160200191612cd9565b820191906000526020600020905b815481529060010190602001808311612cbc57829003601f168201915b505050505081565b6000612cec426133ed565b905090565b612cf9613315565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7d9061495a565b60405180910390fd5b612d8f81613412565b50565b60008111612dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcc90614a9a565b60405180910390fd5b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8b906149fa565b60405180910390fd5b6000829050612f2882600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132cb90919063ffffffff16565b600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612fd333838373ffffffffffffffffffffffffffffffffffffffff1661331d9092919063ffffffff16565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915090805190602001906130509291906139e3565b506009339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6008818051602081018201805184825260208301602085012081835280955050505050506000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156131755780601f1061314a57610100808354040283529160200191613175565b820191906000526020600020905b81548152906001019060200180831161315857829003601f168201915b505050505081565b60008083141561319057600090506131e7565b60008284029050828482816131a157fe5b04146131e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d99061493a565b60405180910390fd5b809150505b92915050565b600080828401905083811015613238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322f906148fa565b60405180910390fd5b8091505092915050565b6132c5846323b872dd60e01b85858560405160240161326393929190614774565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061353f565b50505050565b600061330d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613606565b905092915050565b600033905090565b61339e8363a9059cbb60e01b848460405160240161333c9291906147ab565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061353f565b505050565b60006133e583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613661565b905092915050565b60006134046201518083816133fe57fe5b046136c2565b909150905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613482576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613479906148ba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606135a1826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137969092919063ffffffff16565b905060008151111561360157808060200190518101906135c19190613cb6565b613600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f79061489a565b60405180910390fd5b5b505050565b600083831115829061364e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136459190614818565b60405180910390fd5b5060008385039050809150509392505050565b600080831182906136a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369f9190614818565b60405180910390fd5b5060008385816136b457fe5b049050809150509392505050565b600080600080849050600062253d8c62010bd98301019050600062023ab182600402816136eb57fe5b059050600460038262023ab102018161370057fe5b0582039150600062164b0960018401610fa0028161371a57fe5b059050601f6004826105b5028161372d57fe5b058403019250600061098f846050028161374357fe5b059050600060508261098f028161375657fe5b0585039050600b828161376557fe5b05945084600c0260028301039150848360318603606402010192508298508197508096505050505050509193909250565b60606137a584846000856137ae565b90509392505050565b60606137b9856138d1565b6137f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ef90614a1a565b60405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040516138229190614702565b60006040518083038185875af1925050503d806000811461385f576040519150601f19603f3d011682016040523d82523d6000602084013e613864565b606091505b509150915081156138795780925050506138c9565b60008151111561388c5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c09190614818565b60405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561391357506000801b8214155b92505050919050565b6040518061012001604052806000815260200160608152602001606081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b8280548282559060005260206000209081019282156139d2579160200282015b828111156139d15782518255916020019190600101906139b6565b5b5090506139df9190613a63565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613a2457805160ff1916838001178555613a52565b82800160010185558215613a52579182015b82811115613a51578251825591602001919060010190613a36565b5b509050613a5f9190613a63565b5090565b5b80821115613a7c576000816000905550600101613a64565b5090565b600081359050613a8f81614d8d565b92915050565b600082601f830112613aa657600080fd5b8135613ab9613ab482614ba8565b614b7b565b91508181835260208401935060208101905083856020840282011115613ade57600080fd5b60005b83811015613b0e5781613af48882613b81565b845260208401935060208301925050600181019050613ae1565b5050505092915050565b600081519050613b2781614da4565b92915050565b600082601f830112613b3e57600080fd5b8135613b51613b4c82614bd0565b614b7b565b91508082526020830160208301858383011115613b6d57600080fd5b613b78838284614d3a565b50505092915050565b600081359050613b9081614dbb565b92915050565b600060208284031215613ba857600080fd5b6000613bb684828501613a80565b91505092915050565b60008060408385031215613bd257600080fd5b6000613be085828601613a80565b9250506020613bf185828601613a80565b9150509250929050565b600080600060608486031215613c1057600080fd5b6000613c1e86828701613a80565b935050602084013567ffffffffffffffff811115613c3b57600080fd5b613c4786828701613a95565b925050604084013567ffffffffffffffff811115613c6457600080fd5b613c7086828701613a95565b9150509250925092565b60008060408385031215613c8d57600080fd5b6000613c9b85828601613a80565b9250506020613cac85828601613b81565b9150509250929050565b600060208284031215613cc857600080fd5b6000613cd684828501613b18565b91505092915050565b600060208284031215613cf157600080fd5b600082013567ffffffffffffffff811115613d0b57600080fd5b613d1784828501613b2d565b91505092915050565b60008060408385031215613d3357600080fd5b600083013567ffffffffffffffff811115613d4d57600080fd5b613d5985828601613b2d565b925050602083013567ffffffffffffffff811115613d7657600080fd5b613d8285828601613b2d565b9150509250929050565b600060208284031215613d9e57600080fd5b6000613dac84828501613b81565b91505092915050565b60008060408385031215613dc857600080fd5b6000613dd685828601613b81565b9250506020613de785828601613b81565b9150509250929050565b6000613dfd8383614618565b905092915050565b6000613e1183836146e4565b60208301905092915050565b613e2681614d04565b82525050565b613e3581614cbc565b82525050565b613e4481614cbc565b82525050565b6000613e5582614c1c565b613e5f8185614c62565b935083602082028501613e7185614bfc565b8060005b85811015613ead5784840389528151613e8e8582613df1565b9450613e9983614c48565b925060208a01995050600181019050613e75565b50829750879550505050505092915050565b6000613eca82614c27565b613ed48185614c73565b9350613edf83614c0c565b8060005b83811015613f10578151613ef78882613e05565b9750613f0283614c55565b925050600181019050613ee3565b5085935050505092915050565b6000613f2882614c27565b613f328185614c84565b9350613f3d83614c0c565b8060005b83811015613f6e578151613f558882613e05565b9750613f6083614c55565b925050600181019050613f41565b5085935050505092915050565b613f8481614cce565b82525050565b613f9381614cce565b82525050565b6000613fa482614c32565b613fae8185614c95565b9350613fbe818560208601614d49565b80840191505092915050565b6000613fd582614c3d565b613fdf8185614ca0565b9350613fef818560208601614d49565b613ff881614d7c565b840191505092915050565b600061400e82614c3d565b6140188185614cb1565b9350614028818560208601614d49565b80840191505092915050565b6000614041601183614ca0565b91507f42657473206d61746368206572726f72210000000000000000000000000000006000830152602082019050919050565b6000614081601583614ca0565b91507f506c6179206e756d6265727320726571756972656400000000000000000000006000830152602082019050919050565b60006140c1601083614ca0565b91507f4e756d62657273207265717569726564000000000000000000000000000000006000830152602082019050919050565b6000614101602a83614ca0565b91507f5361666542455032303a204245503230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000614167602683614ca0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141cd601f83614ca0565b91507f4578706972656420626c6f636b2c2032353620626c6f636b73207061737321006000830152602082019050919050565b600061420d601b83614ca0565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b600061424d601683614ca0565b91507f57616974203120626c6f636b20636f6e6669726d7321000000000000000000006000830152602082019050919050565b600061428d602183614ca0565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142f3602083614ca0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614333601383614ca0565b91507f436c61696d20616c726561647920646f6e6521000000000000000000000000006000830152602082019050919050565b6000614373601683614ca0565b91507f4f6e6c7920706c617965722063616e20636c61696d2e000000000000000000006000830152602082019050919050565b60006143b3602a83614ca0565b91507f486f7573652063616e207769746864726177206f6e6c7920666972737420646160008301527f79206f66206d6f6e7468000000000000000000000000000000000000000000006020830152604082019050919050565b6000614419601783614ca0565b91507f496e737566696369656e7420686f7573652066756e64730000000000000000006000830152602082019050919050565b6000614459601183614ca0565b91507f496e737566696369656e742066756e64730000000000000000000000000000006000830152602082019050919050565b6000614499601d83614ca0565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b60006144d9601f83614ca0565b91507f42657420616d6f756e74732073686f756c6420626520706f73697469766521006000830152602082019050919050565b6000614519605683614ca0565b91507f302e332520686f7573652062616c616e6365206c6f776572207468616e20746f60008301527f74616c2062657420616d6f756e742e20506c656173652064656372656173652060208301527f626574206f7220646f6e61746520746f20686f757365000000000000000000006040830152606082019050919050565b60006145a5601183614ca0565b91507f4e6f7468696e6720746f20636c61696d210000000000000000000000000000006000830152602082019050919050565b60006145e5601083614ca0565b91507f496e636f727265637420616d6f756e74000000000000000000000000000000006000830152602082019050919050565b60006101208301600083015161463160008601826146e4565b50602083015184820360208601526146498282613ebf565b915050604083015184820360408601526146638282613ebf565b915050606083015161467860608601826146e4565b50608083015161468b60808601826146e4565b5060a083015161469e60a0860182613e2c565b5060c08301516146b160c0860182613f7b565b5060e08301516146c460e0860182613e2c565b506101008301516146d96101008601826146e4565b508091505092915050565b6146ed81614cfa565b82525050565b6146fc81614cfa565b82525050565b600061470e8284613f99565b915081905092915050565b60006147258284614003565b915081905092915050565b60006020820190506147456000830184613e3b565b92915050565b60006040820190506147606000830185613e1d565b61476d60208301846146f3565b9392505050565b60006060820190506147896000830186613e3b565b6147966020830185613e3b565b6147a360408301846146f3565b949350505050565b60006040820190506147c06000830185613e3b565b6147cd60208301846146f3565b9392505050565b600060208201905081810360008301526147ee8184613e4a565b905092915050565b600060208201905081810360008301526148108184613f1d565b905092915050565b600060208201905081810360008301526148328184613fca565b905092915050565b6000602082019050818103600083015261485381614034565b9050919050565b6000602082019050818103600083015261487381614074565b9050919050565b60006020820190508181036000830152614893816140b4565b9050919050565b600060208201905081810360008301526148b3816140f4565b9050919050565b600060208201905081810360008301526148d38161415a565b9050919050565b600060208201905081810360008301526148f3816141c0565b9050919050565b6000602082019050818103600083015261491381614200565b9050919050565b6000602082019050818103600083015261493381614240565b9050919050565b6000602082019050818103600083015261495381614280565b9050919050565b60006020820190508181036000830152614973816142e6565b9050919050565b6000602082019050818103600083015261499381614326565b9050919050565b600060208201905081810360008301526149b381614366565b9050919050565b600060208201905081810360008301526149d3816143a6565b9050919050565b600060208201905081810360008301526149f38161440c565b9050919050565b60006020820190508181036000830152614a138161444c565b9050919050565b60006020820190508181036000830152614a338161448c565b9050919050565b60006020820190508181036000830152614a53816144cc565b9050919050565b60006020820190508181036000830152614a738161450c565b9050919050565b60006020820190508181036000830152614a9381614598565b9050919050565b60006020820190508181036000830152614ab3816145d8565b9050919050565b6000602082019050614acf60008301846146f3565b92915050565b6000606082019050614aea60008301866146f3565b614af76020830185613e3b565b614b0460408301846146f3565b949350505050565b600060e082019050614b21600083018a6146f3565b614b2e60208301896146f3565b614b3b60408301886146f3565b614b486060830187613e3b565b614b556080830186613f8a565b614b6260a0830185613e3b565b614b6f60c08301846146f3565b98975050505050505050565b6000604051905081810181811067ffffffffffffffff82111715614b9e57600080fd5b8060405250919050565b600067ffffffffffffffff821115614bbf57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115614be757600080fd5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614cc782614cda565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614d0f82614d16565b9050919050565b6000614d2182614d28565b9050919050565b6000614d3382614cda565b9050919050565b82818337600083830152505050565b60005b83811015614d67578082015181840152602081019050614d4c565b83811115614d76576000848401525b50505050565b6000601f19601f8301169050919050565b614d9681614cbc565b8114614da157600080fd5b50565b614dad81614cce565b8114614db857600080fd5b50565b614dc481614cfa565b8114614dcf57600080fd5b5056fea26469706673582212201a15d145c2663c5406d201013ed22744451f0567bdd2ccdc5cf888e23f0d316864736f6c634300060c0033

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