Contract 0x900f401f5a067211f6d672b2f1b1d59a5df2e6b8 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x902a26fa33c35f0227a451a026881cd0b58570da626500f9168dba9592d3f031Withdraw80550912021-06-06 7:55:20107 days 22 hrs agoCowSwap Finance: Deployer IN  0x900f401f5a067211f6d672b2f1b1d59a5df2e6b80 BNB0.000225605
0x2bef1084122c94e326c392117e316700a9a0548da150f1280d19ba994fa5f4280x6080604080496582021-06-06 3:23:30108 days 2 hrs agoCowSwap Finance: Deployer IN  Contract Creation0 BNB0.029963135
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

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

Contract Name:
LuckyDrawClaim

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at BscScan.com on 2021-06-06
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

//
/**
 * @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 payable private _owner;

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address payable) {
        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 payable newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

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

//
/**
 * @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;
        }
    }
}
interface IBEP20 {
    function transfer(address recipient, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    function balanceOf(address account) external view returns (uint256);
}

interface LuckyDraw {
    function getWin(uint _type) external view returns(address[] memory);
    function getUser(address _user) external view returns(uint _time500,
    uint _time100, uint _time10, uint _result, bool _win);
}
contract LuckyDrawClaim is Ownable{
    using SafeMath for uint256;
    LuckyDraw public luckydraw = LuckyDraw(0xDC2459B626eF76B4F808e0694f0627A17Fce2D03);
    IBEP20 public GOUDA;
    uint[] results;
    mapping(uint => uint) public percents;
    address[] public win500;
    address[] public win100;
    address[] public win10;
    struct user {
        mapping(uint => uint) times;
        uint result;
        bool win;
        uint prize;
        bool claim;
    }
    mapping(address => user) public users;
    function mapWinner(uint _type) internal {
        address[] memory winlist = luckydraw.getWin(_type);
        
        if(_type == 500) win500 = winlist;
        else if(_type == 100) win100 = win100;
        else win10 = winlist;
        for(uint i = 0; i < winlist.length; i++) {
            (uint _time500, uint _time100, uint _time10, uint _result, ) = luckydraw.getUser(winlist[i]);
            uint _time = _type == 500 ? _time500 : (_type == 100 ? _time100 : _time10);
            users[winlist[i]].prize = _type;
            users[winlist[i]].result = _result;
            users[winlist[i]].win = true;
            users[winlist[i]].times[_type] = _time;
        }
    }
    constructor () public {
        percents[500] = 990;
        percents[100] = 950;
        percents[10] = 800;
        mapWinner(500);
        mapWinner(100);
        mapWinner(10);
        GOUDA = IBEP20(0x14B06bF2C5B0AFd259c47c4be39cB9368ef0be3f);
    }
    function claim() public {
        require(!users[msg.sender].claim && users[msg.sender].win == true, 'User already claimed !');
        GOUDA.transfer(msg.sender, users[msg.sender].prize.mul(1 ether));
        users[msg.sender].claim = true;
    }
    function getWin(uint _type) public view returns(address[] memory) {
        if(_type == 500) return win500;
        else if(_type == 100) return win100;
        return win10;
    }
    function getUser(address _user) public view returns(uint _time500,
    uint _time100, uint _time10, uint _result, bool _win, uint _prize, bool _claim){
        return(users[_user].times[500],
        users[_user].times[100],
        users[_user].times[10],
        users[_user].result,
        users[_user].win, 
        users[_user].prize, 
        users[_user].claim);
    }
    function random(uint _type) public {
        require(users[msg.sender].times[_type] < 3 && users[msg.sender].win == false, 'user won or over time');
        uint result = uint(keccak256(abi.encodePacked(now, msg.sender, results.length))) % block.number;
        results.push(result);
        bool _win = result % 999 > percents[_type];
        if(_win) {
            if(_type == 500) {
                require(win500.length < 3, 'full slot');
                win500.push(msg.sender);
            } else if(_type == 100) {
                require(win100.length < 10, 'full slot');
                win100.push(msg.sender);
            } else {
                require(win10.length < 1000, 'full slot');
                win10.push(msg.sender);
            }
            users[msg.sender].prize = _type;
        }
        users[msg.sender].result = result;
        users[msg.sender].win = _win;
        users[msg.sender].times[_type]++;
    }
    function withdraw(address _address) public onlyOwner {
        uint tokenBalanceOfContract = getRemainingToken();
        GOUDA.transfer(_address, tokenBalanceOfContract);
    }

    /**
    * @dev Get the remaining amount of token user can receive.
    * @return Uint256 the amount of token that user can reveive.
    */
    function getRemainingToken() public view returns (uint256) {
        return GOUDA.balanceOf(address(this));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"GOUDA","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRemainingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUser","outputs":[{"internalType":"uint256","name":"_time500","type":"uint256"},{"internalType":"uint256","name":"_time100","type":"uint256"},{"internalType":"uint256","name":"_time10","type":"uint256"},{"internalType":"uint256","name":"_result","type":"uint256"},{"internalType":"bool","name":"_win","type":"bool"},{"internalType":"uint256","name":"_prize","type":"uint256"},{"internalType":"bool","name":"_claim","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_type","type":"uint256"}],"name":"getWin","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"luckydraw","outputs":[{"internalType":"contract LuckyDraw","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"percents","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_type","type":"uint256"}],"name":"random","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"result","type":"uint256"},{"internalType":"bool","name":"win","type":"bool"},{"internalType":"uint256","name":"prize","type":"uint256"},{"internalType":"bool","name":"claim","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"win10","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"win100","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"win500","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405273dc2459b626ef76b4f808e0694f0627a17fce2d03600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b50600062000079620001fb60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506103de600460006101f48152602001908152602001600020819055506103b660046000606481526020019081526020016000208190555061032060046000600a8152602001908152602001600020819055506200017c6101f46200020360201b60201c565b6200018e60646200020360201b60201c565b620001a0600a6200020360201b60201c565b7314b06bf2c5b0afd259c47c4be39cb9368ef0be3f600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620007d2565b600033905090565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663412c0c2d836040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b1580156200027957600080fd5b505afa1580156200028e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015620002b957600080fd5b8101908080516040519392919084640100000000821115620002da57600080fd5b83820191506020820185811115620002f157600080fd5b82518660208202830111640100000000821117156200030f57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015620003485780820151818401526020810190506200032b565b5050505090500160405250505090506101f4821415620003815780600590805190602001906200037a929190620006af565b50620003bf565b6064821415620003a45760068080546200039d9291906200073e565b50620003be565b8060079080519060200190620003bc929190620006af565b505b5b60005b8151811015620006aa57600080600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636f77926b8787815181106200041d57fe5b60200260200101516040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060a06040518083038186803b1580156200047057600080fd5b505afa15801562000485573d6000803e3d6000fd5b505050506040513d60a08110156200049c57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505050935093509350935060006101f48814620005025760648814620004fa5782620004fc565b835b62000504565b845b905087600860008989815181106200051857fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206003018190555081600860008989815181106200057357fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550600160086000898981518110620005cf57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160006101000a81548160ff02191690831515021790555080600860008989815181106200063d57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008a81526020019081526020016000208190555050505050508080600101915050620003c2565b505050565b8280548282559060005260206000209081019282156200072b579160200282015b828111156200072a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620006d0565b5b5090506200073a919062000795565b5090565b828054828255906000526020600020908101928215620007825760005260206000209182015b828111156200078157825482559160010191906001019062000764565b5b50905062000791919062000795565b5090565b5b80821115620007ce57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010162000796565b5090565b611a9280620007e26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635c48bf2c116100975780638db1342d116100665780638db1342d14610428578063a87430ba1461046a578063b863bd37146104db578063f2fde38b1461050957610100565b80635c48bf2c1461030c5780636f77926b14610364578063715018a6146103ea5780638da5cb5b146103f457610100565b8063489986be116100d3578063489986be146102325780634e71d92d1461028a57806351cff8d9146102945780635929cbdf146102d857610100565b806308b002f3146101055780633bedfd69146101395780633efe644114610191578063412c0c2d146101af575b600080fd5b61010d61054d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101656004803603602081101561014f57600080fd5b8101908080359060200190929190505050610573565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101996105af565b6040518082815260200191505060405180910390f35b6101db600480360360208110156101c557600080fd5b810190808035906020019092919050505061067a565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561021e578082015181840152602081019050610203565b505050509050019250505060405180910390f35b61025e6004803603602081101561024857600080fd5b810190808035906020019092919050505061083a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610292610876565b005b6102d6600480360360208110156102aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b20565b005b6102e0610cc7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103386004803603602081101561032257600080fd5b8101908080359060200190929190505050610ced565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a66004803603602081101561037a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d29565b604051808881526020018781526020018681526020018581526020018415158152602001838152602001821515815260200197505050505050505060405180910390f35b6103f2610f73565b005b6103fc6110f9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104546004803603602081101561043e57600080fd5b8101908080359060200190929190505050611122565b6040518082815260200191505060405180910390f35b6104ac6004803603602081101561048057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061113a565b604051808581526020018415158152602001838152602001821515815260200194505050505060405180910390f35b610507600480360360208110156104f157600080fd5b8101908080359060200190929190505050611184565b005b61054b6004803603602081101561051f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611770565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6007818154811061058057fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561063a57600080fd5b505afa15801561064e573d6000803e3d6000fd5b505050506040513d602081101561066457600080fd5b8101908080519060200190929190505050905090565b60606101f482141561071457600580548060200260200160405190810160405280929190818152602001828054801561070857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116106be575b50505050509050610835565b60648214156107ab57600680548060200260200160405190810160405280929190818152602001828054801561079f57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610755575b50505050509050610835565b600780548060200260200160405190810160405280929190818152602001828054801561082d57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116107e3575b505050505090505b919050565b6005818154811061084757fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff16158015610926575060011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900460ff161515145b610998576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f5573657220616c726561647920636c61696d656420210000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33610a34670de0b6b3a7640000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206003015461184490919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610a8757600080fd5b505af1158015610a9b573d6000803e3d6000fd5b505050506040513d6020811015610ab157600080fd5b8101908080519060200190929190505050506001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff021916908315150217905550565b610b286118ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610be8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000610bf26105af565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610c8757600080fd5b505af1158015610c9b573d6000803e3d6000fd5b505050506040513d6020811015610cb157600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60068181548110610cfa57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806000806000600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101f4815260200190815260200160002054600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006064815260200190815260200160002054600860008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000600a815260200190815260200160002054600860008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600860008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900460ff16600860008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030154600860008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff169650965096509650965096509650919395979092949650565b610f7b6118ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461103b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528060005260406000206000915090505481565b60086020528060005260406000206000915090508060010154908060020160009054906101000a900460ff16908060030154908060040160009054906101000a900460ff16905084565b6003600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008381526020019081526020016000205410801561123a575060001515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900460ff161515145b6112ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f7573657220776f6e206f72206f7665722074696d65000000000000000000000081525060200191505060405180910390fd5b6000434233600380549050604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff1660601b815260140182815260200193505050506040516020818303038152906040528051906020012060001c8161130e57fe5b0690506003819080600181540180825580915050600190039060005260206000200160009091909190915055600060046000848152602001908152602001600020546103e7838161135b57fe5b061190508015611667576101f4831415611452576003600580549050106113ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f66756c6c20736c6f74000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6005339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061161f565b606483141561153e57600a600680549050106114d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f66756c6c20736c6f74000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6006339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061161e565b6103e8600780549050106115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f66756c6c20736c6f74000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6007339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b82600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301819055505b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018190555080600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160006101000a81548160ff021916908315150217905550600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600084815260200190815260200160002060008154809291906001019190505550505050565b6117786118ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611838576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611841816118d2565b50565b60008083141561185757600090506118c4565b600082840290508284828161186857fe5b04146118bf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611a3c6021913960400191505060405180910390fd5b809150505b92915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611958576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611a166026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220700a94b3a42d59acafdee02d316c443ce784db53205f744c8cbf0ade937b320e64736f6c634300060c0033

Deployed ByteCode Sourcemap

9518:3756:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9681:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9832:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13156:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11275:184;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9772:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11018:251;;;:::i;:::-;;12821:180;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9592:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9802:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11465:385;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2290:140;;;:::i;:::-;;1640:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9728:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10008;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11856:959;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2585:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9681:19;;;;;;;;;;;;;:::o;9832:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;13156:115::-;13206:7;13233:5;;;;;;;;;;;:15;;;13257:4;13233:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13226:37;;13156:115;:::o;11275:184::-;11323:16;11364:3;11355:5;:12;11352:76;;;11376:6;11369:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11352:76;11410:3;11401:5;:12;11398:30;;;11422:6;11415:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11398:30;11446:5;11439:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11275:184;;;;:::o;9772:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11018:251::-;11062:5;:17;11068:10;11062:17;;;;;;;;;;;;;;;:23;;;;;;;;;;;;11061:24;:57;;;;;11114:4;11089:29;;:5;:17;11095:10;11089:17;;;;;;;;;;;;;;;:21;;;;;;;;;;;;:29;;;11061:57;11053:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11156:5;;;;;;;;;;;:14;;;11171:10;11183:36;11211:7;11183:5;:17;11189:10;11183:17;;;;;;;;;;;;;;;:23;;;:27;;:36;;;;:::i;:::-;11156:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11257:4;11231:5;:17;11237:10;11231:17;;;;;;;;;;;;;;;:23;;;:30;;;;;;;;;;;;;;;;;;11018:251::o;12821:180::-;1870:12;:10;:12::i;:::-;1860:22;;:6;;;;;;;;;;:22;;;1852:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12885:27:::1;12915:19;:17;:19::i;:::-;12885:49;;12945:5;;;;;;;;;;;:14;;;12960:8;12970:22;12945:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;1930:1;12821:180:::0;:::o;9592:82::-;;;;;;;;;;;;;:::o;9802:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11465:385::-;11517:13;11537;11552:12;11566;11580:9;11591:11;11604;11634:5;:12;11640:5;11634:12;;;;;;;;;;;;;;;:18;;:23;11653:3;11634:23;;;;;;;;;;;;11668:5;:12;11674:5;11668:12;;;;;;;;;;;;;;;:18;;:23;11687:3;11668:23;;;;;;;;;;;;11702:5;:12;11708:5;11702:12;;;;;;;;;;;;;;;:18;;:22;11721:2;11702:22;;;;;;;;;;;;11735:5;:12;11741:5;11735:12;;;;;;;;;;;;;;;:19;;;11765:5;:12;11771:5;11765:12;;;;;;;;;;;;;;;:16;;;;;;;;;;;;11793:5;:12;11799:5;11793:12;;;;;;;;;;;;;;;:18;;;11823:5;:12;11829:5;11823:12;;;;;;;;;;;;;;;:18;;;;;;;;;;;;11627:215;;;;;;;;;;;;;;11465:385;;;;;;;;;:::o;2290:140::-;1870:12;:10;:12::i;:::-;1860:22;;:6;;;;;;;;;;:22;;;1852:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2389:1:::1;2352:40;;2373:6;::::0;::::1;;;;;;;;2352:40;;;;;;;;;;;;2420:1;2403:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2290:140::o:0;1640:87::-;1678:15;1713:6;;;;;;;;;;;1706:13;;1640:87;:::o;9728:37::-;;;;;;;;;;;;;;;;;:::o;10008:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11856:959::-;11943:1;11910:5;:17;11916:10;11910:17;;;;;;;;;;;;;;;:23;;:30;11934:5;11910:30;;;;;;;;;;;;:34;:68;;;;;11973:5;11948:30;;:5;:17;11954:10;11948:17;;;;;;;;;;;;;;;:21;;;;;;;;;;;;:30;;;11910:68;11902:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12015:11;12098:12;12061:3;12066:10;12078:7;:14;;;;12044:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12034:60;;;;;;12029:66;;:81;;;;;;12015:95;;12121:7;12134:6;12121:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12152:9;12179:8;:15;12188:5;12179:15;;;;;;;;;;;;12173:3;12164:6;:12;;;;;;:30;12152:42;;12208:4;12205:477;;;12241:3;12232:5;:12;12229:396;;;12289:1;12273:6;:13;;;;:17;12265:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12323:6;12335:10;12323:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12229:396;;;12380:3;12371:5;:12;12368:257;;;12428:2;12412:6;:13;;;;:18;12404:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12463:6;12475:10;12463:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12368:257;;;12550:4;12535:5;:12;;;;:19;12527:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12587:5;12598:10;12587:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12368:257;12229:396;12665:5;12639;:17;12645:10;12639:17;;;;;;;;;;;;;;;:23;;:31;;;;12205:477;12719:6;12692:5;:17;12698:10;12692:17;;;;;;;;;;;;;;;:24;;:33;;;;12760:4;12736:5;:17;12742:10;12736:17;;;;;;;;;;;;;;;:21;;;:28;;;;;;;;;;;;;;;;;;12775:5;:17;12781:10;12775:17;;;;;;;;;;;;;;;:23;;:30;12799:5;12775:30;;;;;;;;;;;;:32;;;;;;;;;;;;;11856:959;;;:::o;2585:117::-;1870:12;:10;:12::i;:::-;1860:22;;:6;;;;;;;;;;:22;;;1852:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2666:28:::1;2685:8;2666:18;:28::i;:::-;2585:117:::0;:::o;5284:471::-;5342:7;5592:1;5587;:6;5583:47;;;5617:1;5610:8;;;;5583:47;5642:9;5658:1;5654;:5;5642:17;;5687:1;5682;5678;:5;;;;;;:10;5670:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5746:1;5739:8;;;5284:471;;;;;:::o;275:98::-;320:15;355:10;348:17;;275:98;:::o;2808:237::-;2910:1;2890:22;;:8;:22;;;;2882:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3000:8;2971:38;;2992:6;;;;;;;;;;2971:38;;;;;;;;;;;;3029:8;3020:6;;:17;;;;;;;;;;;;;;;;;;2808:237;:::o

Swarm Source

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