ETH Price: $3,394.29 (-0.69%)
Gas: 19 Gwei

Contract

0x5EEbb475c95716441123C9f7dfFbD5D6A203471F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Bulk Stake200840862024-06-13 16:26:4735 days ago1718296007IN
0x5EEbb475...6A203471F
0 ETH0.0166314330.11730385
Bulk Stake197538712024-04-28 12:39:2381 days ago1714307963IN
0x5EEbb475...6A203471F
0 ETH0.004939988.31049092
Bulk Stake195301432024-03-28 4:10:47112 days ago1711599047IN
0x5EEbb475...6A203471F
0 ETH0.0118169421.39843584
Bulk Un Stake193708832024-03-05 18:53:35134 days ago1709664815IN
0x5EEbb475...6A203471F
0 ETH0.0073123982.40714861
Bulk Stake193707162024-03-05 18:19:59135 days ago1709662799IN
0x5EEbb475...6A203471F
0 ETH0.0197020690.63337812
Bulk Stake193706922024-03-05 18:15:11135 days ago1709662511IN
0x5EEbb475...6A203471F
0 ETH0.0025249388.59414398
Bulk Stake193706662024-03-05 18:09:59135 days ago1709662199IN
0x5EEbb475...6A203471F
0 ETH0.0024794386.99768714
Bulk Stake193508302024-03-02 23:42:11137 days ago1709422931IN
0x5EEbb475...6A203471F
0 ETH0.00787236.21276296
Bulk Stake192980892024-02-24 14:37:35145 days ago1708785455IN
0x5EEbb475...6A203471F
0 ETH0.0150152827.81009396
Bulk Stake192972742024-02-24 11:53:35145 days ago1708775615IN
0x5EEbb475...6A203471F
0 ETH0.0149096727
Bulk Stake192914192024-02-23 16:15:59146 days ago1708704959IN
0x5EEbb475...6A203471F
0 ETH0.0125974862.98742066
Bulk Stake192845492024-02-22 17:11:59147 days ago1708621919IN
0x5EEbb475...6A203471F
0 ETH0.014092366.29116106
Bulk Stake192773902024-02-21 17:02:59148 days ago1708534979IN
0x5EEbb475...6A203471F
0 ETH0.0396128957.18943323
Bulk Un Stake192761112024-02-21 12:44:11148 days ago1708519451IN
0x5EEbb475...6A203471F
0 ETH0.0038174739.97522627
Bulk Un Stake192760992024-02-21 12:41:35148 days ago1708519295IN
0x5EEbb475...6A203471F
0 ETH0.0210328833.6365737
Bulk Stake192661722024-02-20 3:14:59149 days ago1708398899IN
0x5EEbb475...6A203471F
0 ETH0.0207071725
Bulk Stake192645112024-02-19 21:40:35149 days ago1708378835IN
0x5EEbb475...6A203471F
0 ETH0.0084728334.33328599
Bulk Stake192613112024-02-19 10:53:35150 days ago1708340015IN
0x5EEbb475...6A203471F
0 ETH0.0057364824.46449959
Bulk Stake192505132024-02-17 22:21:47151 days ago1708208507IN
0x5EEbb475...6A203471F
0 ETH0.0049407720.02079653
Bulk Un Stake192499512024-02-17 20:28:35151 days ago1708201715IN
0x5EEbb475...6A203471F
0 ETH0.0083145920.14526506
Bulk Stake192450112024-02-17 3:47:59152 days ago1708141679IN
0x5EEbb475...6A203471F
0 ETH0.0056310715.21468795
Bulk Stake192449292024-02-17 3:31:11152 days ago1708140671IN
0x5EEbb475...6A203471F
0 ETH0.0096963417.55839619
Bulk Stake192431392024-02-16 21:30:47152 days ago1708119047IN
0x5EEbb475...6A203471F
0 ETH0.0144066227.55487317
Bulk Stake192222172024-02-13 23:01:47155 days ago1707865307IN
0x5EEbb475...6A203471F
0 ETH0.0153894527.86823117
Bulk Stake192219422024-02-13 22:06:23155 days ago1707861983IN
0x5EEbb475...6A203471F
0 ETH0.0108192229.2335656
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
167067632023-02-25 17:26:11509 days ago1677345971
0x5EEbb475...6A203471F
0.0018786 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BugattiGenesisStaking

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : BugattiGenesisStaking.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "erc721a/contracts/IERC721A.sol";

// ██████╗░██╗░░░██╗░██████╗░░█████╗░████████╗████████╗██╗  ░██████╗░███████╗███╗░░██╗███████╗░██████╗██╗░██████╗
// ██╔══██╗██║░░░██║██╔════╝░██╔══██╗╚══██╔══╝╚══██╔══╝██║  ██╔════╝░██╔════╝████╗░██║██╔════╝██╔════╝██║██╔════╝
// ██████╦╝██║░░░██║██║░░██╗░███████║░░░██║░░░░░░██║░░░██║  ██║░░██╗░█████╗░░██╔██╗██║█████╗░░╚█████╗░██║╚█████╗░
// ██╔══██╗██║░░░██║██║░░╚██╗██╔══██║░░░██║░░░░░░██║░░░██║  ██║░░╚██╗██╔══╝░░██║╚████║██╔══╝░░░╚═══██╗██║░╚═══██╗
// ██████╦╝╚██████╔╝╚██████╔╝██║░░██║░░░██║░░░░░░██║░░░██║  ╚██████╔╝███████╗██║░╚███║███████╗██████╔╝██║██████╔╝
// ╚═════╝░░╚═════╝░░╚═════╝░╚═╝░░╚═╝░░░╚═╝░░░░░░╚═╝░░░╚═╝  ░╚═════╝░╚══════╝╚═╝░░╚══╝╚══════╝╚═════╝░╚═╝╚═════╝░

// ░██████╗████████╗░█████╗░██╗░░██╗██╗███╗░░██╗░██████╗░
// ██╔════╝╚══██╔══╝██╔══██╗██║░██╔╝██║████╗░██║██╔════╝░
// ╚█████╗░░░░██║░░░███████║█████═╝░██║██╔██╗██║██║░░██╗░
// ░╚═══██╗░░░██║░░░██╔══██║██╔═██╗░██║██║╚████║██║░░╚██╗
// ██████╔╝░░░██║░░░██║░░██║██║░╚██╗██║██║░╚███║╚██████╔╝
// ╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═╝░░╚══╝░╚═════╝░

// Powered by https://nalikes.com

contract BugattiGenesisStaking is Ownable, ReentrancyGuard, Pausable{
    IERC721A public Collection;

    uint256 public minStakeDuration = 118 days;

    event UpdateUserCount(address indexed user, uint256 count);

    mapping(address => Staker) public stakers;
    mapping(uint256 => Token) public stakerAddress;

    struct Token {
        address user;
        uint256 tokenId;
        uint256 timeAdded;
    }

    struct Staker {
        uint256 totalStakedTokens;
        Token[] stakedTokens;
    }

    constructor(IERC721A tokenAddress) {
        Collection = tokenAddress;
        pause();
    }

    modifier stakedTimeCheck(address user, uint256 _tokenId){
        require(stakerAddress[_tokenId].timeAdded+minStakeDuration<block.timestamp,"Token can't be unstaked yet.");
        _;
    }

    modifier userOwnsTheStakedToken(address user, uint256 _tokenId){
        require(stakerAddress[_tokenId].user==user,"You don't own this token.");
        _;
    }

    modifier hasUserStaked(address user){
        require(stakers[user].totalStakedTokens>0,"You have no tokens to unstake.");
        _;
    }

    modifier ownerVerify(address owner, uint256 tokenId){
        require(Collection.ownerOf(tokenId)==owner,"You don't own this token.");
        _;
    }

    function stake(uint256 _tokenId) public whenNotPaused ownerVerify(msg.sender,_tokenId) {
        Collection.transferFrom(msg.sender, address(this), _tokenId);

        Token memory stakedToken = Token(msg.sender, _tokenId, block.timestamp);
        stakers[msg.sender].stakedTokens.push(stakedToken);
        stakers[msg.sender].totalStakedTokens++;
        
        stakerAddress[_tokenId] = stakedToken;
    }

    function unstake(uint256 _tokenId) public whenNotPaused hasUserStaked(msg.sender) userOwnsTheStakedToken(msg.sender, _tokenId) stakedTimeCheck(msg.sender, _tokenId) {
        uint256 index = 0;
        for (uint256 i = 0; i < stakers[msg.sender].stakedTokens.length; i++) {
            if (stakers[msg.sender].stakedTokens[i].tokenId == _tokenId && stakers[msg.sender].stakedTokens[i].user != address(0)) {
                index = i;
                break;
            }
        }

        stakers[msg.sender].totalStakedTokens--;
        
        delete stakerAddress[_tokenId];
        delete stakers[msg.sender].stakedTokens[index];
        Collection.transferFrom(address(this), msg.sender, _tokenId);
    }

    function bulkStake(uint256[] memory tokenIds) external nonReentrant{
        for(uint256 i=0;i<tokenIds.length;++i){
            stake(tokenIds[i]);
        }
        emit UpdateUserCount(msg.sender,stakers[msg.sender].totalStakedTokens);
    }

     function bulkUnStake(uint256[] memory tokenIds) external nonReentrant{
        for(uint256 i=0;i<tokenIds.length;++i){
            unstake(tokenIds[i]);
        }
        emit UpdateUserCount(msg.sender,stakers[msg.sender].totalStakedTokens);
    }

    function getStakedTokens(address _user) public view returns (Token[] memory) {
        if (stakers[_user].totalStakedTokens > 0) {
            Token[] memory _stakedTokens = new Token[](stakers[_user].totalStakedTokens);
            uint256 _index = 0;

            for (uint256 j = 0; j < stakers[_user].stakedTokens.length; j++) {
                if (stakers[_user].stakedTokens[j].user != (address(0))) {
                    _stakedTokens[_index] = stakers[_user].stakedTokens[j];
                    _index++;
                }
            }

            return _stakedTokens;
        }
        else {
            return new Token[](0);
        }
    }

    // ADMIN FUNCTIONS
    function updateStakingDuration(uint256 duration) public onlyOwner {
        minStakeDuration = duration;
    }

    function adminUnStake(address user, uint256 tokenId) public onlyOwner hasUserStaked(user) userOwnsTheStakedToken(user, tokenId) {
        uint256 index = 0;
        for (uint256 i = 0; i < stakers[user].stakedTokens.length; i++) {
            if (stakers[user].stakedTokens[i].tokenId == tokenId && stakers[user].stakedTokens[i].user != address(0)) {
                index = i;
                break;
            }
        }
        stakers[user].totalStakedTokens--;
        
        delete stakerAddress[tokenId];
        delete stakers[user].stakedTokens[index];
        Collection.transferFrom(address(this), user, tokenId);
    }

    function adminBatchUnStake(address user, uint256[] memory tokenIds) public onlyOwner{
        for(uint256 i=0;i<tokenIds.length;++i){
            adminUnStake(user, tokenIds[i]);
        }
        emit UpdateUserCount(user,stakers[user].totalStakedTokens);
    }

    function pause() public whenNotPaused onlyOwner{
        _pause();
    }
    
    function unpause() public whenPaused onlyOwner{
        _unpause();
    }

    function updateNftContract(IERC721A NftAddress) public onlyOwner{
        Collection=NftAddress;
    }
}

File 2 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 3 of 6 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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.
 */
abstract 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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 virtual onlyOwner {
        _transferOwnership(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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721A","name":"tokenAddress","type":"address"}],"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"UpdateUserCount","type":"event"},{"inputs":[],"name":"Collection","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"adminBatchUnStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"adminUnStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"bulkStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"bulkUnStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getStakedTokens","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"timeAdded","type":"uint256"}],"internalType":"struct BugattiGenesisStaking.Token[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minStakeDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakerAddress","outputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"timeAdded","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakers","outputs":[{"internalType":"uint256","name":"totalStakedTokens","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721A","name":"NftAddress","type":"address"}],"name":"updateNftContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"updateStakingDuration","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052629b91006003553480156200001857600080fd5b5060405162002c9938038062002c9983398181016040528101906200003e9190620003ef565b6200005e62000052620000d860201b60201c565b620000e060201b60201c565b600180819055506000600260006101000a81548160ff02191690831515021790555080600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000d1620001a460201b60201c565b5062000544565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001b4620001d660201b60201c565b620001c46200022b60201b60201c565b620001d4620002bc60201b60201c565b565b620001e66200033160201b60201c565b1562000229576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002209062000482565b60405180910390fd5b565b6200023b620000d860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002616200034860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b190620004f4565b60405180910390fd5b565b620002cc620001d660201b60201c565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25862000318620000d860201b60201c565b60405162000327919062000527565b60405180910390a1565b6000600260009054906101000a900460ff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003a38262000376565b9050919050565b6000620003b78262000396565b9050919050565b620003c981620003aa565b8114620003d557600080fd5b50565b600081519050620003e981620003be565b92915050565b60006020828403121562000408576200040762000371565b5b60006200041884828501620003d8565b91505092915050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006200046a60108362000421565b9150620004778262000432565b602082019050919050565b600060208201905081810360008301526200049d816200045b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620004dc60208362000421565b9150620004e982620004a4565b602082019050919050565b600060208201905081810360008301526200050f81620004cd565b9050919050565b620005218162000396565b82525050565b60006020820190506200053e600083018462000516565b92915050565b61274580620005546000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806378d67ad2116100ad57806392e67c061161007157806392e67c06146102a857806394067045146102c4578063a694fc3a146102f6578063ef056e5a14610312578063f2fde38b1461032e57610121565b806378d67ad2146102165780638456cb59146102325780638da5cb5b1461023c5780638e7b49201461025a5780639168ae721461027857610121565b80635c975abb116100f45780635c975abb146101845780635fec5c64146101a257806363c28db1146101c0578063715018a6146101f057806374f16a0c146101fa57610121565b80632e17de78146101265780633f4ba83a14610142578063482061a31461014c5780635b1d708614610168575b600080fd5b610140600480360381019061013b9190611c2f565b61034a565b005b61014a610858565b005b61016660048036038101906101619190611e13565b610872565b005b610182600480360381019061017d9190611c2f565b610950565b005b61018c610962565b6040516101999190611e8a565b60405180910390f35b6101aa610979565b6040516101b79190611eb4565b60405180910390f35b6101da60048036038101906101d59190611ecf565b61097f565b6040516101e7919061200b565b60405180910390f35b6101f8610cef565b005b610214600480360381019061020f919061202d565b610d03565b005b610230600480360381019061022b919061206d565b6111a9565b005b61023a6112d1565b005b6102446112eb565b60405161025191906120c5565b60405180910390f35b610262611314565b60405161026f919061213f565b60405180910390f35b610292600480360381019061028d9190611ecf565b61133a565b60405161029f9190611eb4565b60405180910390f35b6102c260048036038101906102bd9190612198565b611358565b005b6102de60048036038101906102d99190611c2f565b6113a4565b6040516102ed939291906121c5565b60405180910390f35b610310600480360381019061030b9190611c2f565b6113ee565b005b61032c6004803603810190610327919061206d565b611760565b005b61034860048036038101906103439190611ecf565b611888565b005b61035261190b565b336000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154116103d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103cf90612259565b60405180910390fd5b33828173ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461047e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610475906122c5565b60405180910390fd5b33844260035460056000848152602001908152602001600020600201546104a59190612314565b106104e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104dc90612394565b60405180910390fd5b6000805b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018054905081101561067c5787600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101828154811061058b5761058a6123b4565b5b90600052602060002090600302016001015414801561065c5750600073ffffffffffffffffffffffffffffffffffffffff16600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610611576106106123b4565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156106695780915061067c565b8080610674906123e3565b9150506104e9565b50600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906106d09061242b565b919050555060056000888152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018181548110610776576107756123b4565b5b9060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30338a6040518463ffffffff1660e01b815260040161081d93929190612454565b600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b5050505050505050505050565b610860611955565b61086861199e565b610870611a1c565b565b61087a61199e565b60005b81518110156108bb576108aa8383838151811061089d5761089c6123b4565b5b6020026020010151610d03565b806108b4906123e3565b905061087d565b508173ffffffffffffffffffffffffffffffffffffffff167f38009eb8954e3aaa4173718b541c95ac9480e2dd1d2632fd7d7854df58b9e2a2600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546040516109449190611eb4565b60405180910390a25050565b61095861199e565b8060038190555050565b6000600260009054906101000a900460ff16905090565b60035481565b60606000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541115610c92576000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015467ffffffffffffffff811115610a2a57610a29611cd0565b5b604051908082528060200260200182016040528015610a6357816020015b610a50611bae565b815260200190600190039081610a485790505b5090506000805b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010180549050811015610c8757600073ffffffffffffffffffffffffffffffffffffffff16600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610b2357610b226123b4565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c7457600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018181548110610bc457610bc36123b4565b5b90600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481525050838381518110610c5a57610c596123b4565b5b60200260200101819052508180610c70906123e3565b9250505b8080610c7f906123e3565b915050610a6a565b508192505050610cea565b600067ffffffffffffffff811115610cad57610cac611cd0565b5b604051908082528060200260200182016040528015610ce657816020015b610cd3611bae565b815260200190600190039081610ccb5790505b5090505b919050565b610cf761199e565b610d016000611a7f565b565b610d0b61199e565b816000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8890612259565b60405180910390fd5b82828173ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e906122c5565b60405180910390fd5b6000805b600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010180549050811015610fce5785600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610edd57610edc6123b4565b5b906000526020600020906003020160010154148015610fae5750600073ffffffffffffffffffffffffffffffffffffffff16600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610f6357610f626123b4565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610fbb57809150610fce565b8080610fc6906123e3565b915050610e3b565b50600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906110229061242b565b919050555060056000868152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181815481106110c8576110c76123b4565b5b9060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3088886040518463ffffffff1660e01b815260040161116f93929190612454565b600060405180830381600087803b15801561118957600080fd5b505af115801561119d573d6000803e3d6000fd5b50505050505050505050565b6002600154036111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906124d7565b60405180910390fd5b600260018190555060005b815181101561123657611225828281518110611218576112176123b4565b5b602002602001015161034a565b8061122f906123e3565b90506111f9565b503373ffffffffffffffffffffffffffffffffffffffff167f38009eb8954e3aaa4173718b541c95ac9480e2dd1d2632fd7d7854df58b9e2a2600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546040516112bf9190611eb4565b60405180910390a26001808190555050565b6112d961190b565b6112e161199e565b6112e9611b43565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60046020528060005260406000206000915090508060000154905081565b61136061199e565b80600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b6113f661190b565b33818173ffffffffffffffffffffffffffffffffffffffff16600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161146a9190611eb4565b602060405180830381865afa158015611487573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ab919061250c565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f8906122c5565b60405180910390fd5b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b815260040161156093929190612454565b600060405180830381600087803b15801561157a57600080fd5b505af115801561158e573d6000803e3d6000fd5b50505050600060405180606001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001858152602001428152509050600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201555050600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906116e3906123e3565b9190505550806005600086815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015590505050505050565b6002600154036117a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179c906124d7565b60405180910390fd5b600260018190555060005b81518110156117ed576117dc8282815181106117cf576117ce6123b4565b5b60200260200101516113ee565b806117e6906123e3565b90506117b0565b503373ffffffffffffffffffffffffffffffffffffffff167f38009eb8954e3aaa4173718b541c95ac9480e2dd1d2632fd7d7854df58b9e2a2600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546040516118769190611eb4565b60405180910390a26001808190555050565b61189061199e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f6906125ab565b60405180910390fd5b61190881611a7f565b50565b611913610962565b15611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a90612617565b60405180910390fd5b565b61195d610962565b61199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390612683565b60405180910390fd5b565b6119a6611ba6565b73ffffffffffffffffffffffffffffffffffffffff166119c46112eb565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a11906126ef565b60405180910390fd5b565b611a24611955565b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a68611ba6565b604051611a7591906120c5565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b4b61190b565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b8f611ba6565b604051611b9c91906120c5565b60405180910390a1565b600033905090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b611c0c81611bf9565b8114611c1757600080fd5b50565b600081359050611c2981611c03565b92915050565b600060208284031215611c4557611c44611bef565b5b6000611c5384828501611c1a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c8782611c5c565b9050919050565b611c9781611c7c565b8114611ca257600080fd5b50565b600081359050611cb481611c8e565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611d0882611cbf565b810181811067ffffffffffffffff82111715611d2757611d26611cd0565b5b80604052505050565b6000611d3a611be5565b9050611d468282611cff565b919050565b600067ffffffffffffffff821115611d6657611d65611cd0565b5b602082029050602081019050919050565b600080fd5b6000611d8f611d8a84611d4b565b611d30565b90508083825260208201905060208402830185811115611db257611db1611d77565b5b835b81811015611ddb5780611dc78882611c1a565b845260208401935050602081019050611db4565b5050509392505050565b600082601f830112611dfa57611df9611cba565b5b8135611e0a848260208601611d7c565b91505092915050565b60008060408385031215611e2a57611e29611bef565b5b6000611e3885828601611ca5565b925050602083013567ffffffffffffffff811115611e5957611e58611bf4565b5b611e6585828601611de5565b9150509250929050565b60008115159050919050565b611e8481611e6f565b82525050565b6000602082019050611e9f6000830184611e7b565b92915050565b611eae81611bf9565b82525050565b6000602082019050611ec96000830184611ea5565b92915050565b600060208284031215611ee557611ee4611bef565b5b6000611ef384828501611ca5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611f3181611c7c565b82525050565b611f4081611bf9565b82525050565b606082016000820151611f5c6000850182611f28565b506020820151611f6f6020850182611f37565b506040820151611f826040850182611f37565b50505050565b6000611f948383611f46565b60608301905092915050565b6000602082019050919050565b6000611fb882611efc565b611fc28185611f07565b9350611fcd83611f18565b8060005b83811015611ffe578151611fe58882611f88565b9750611ff083611fa0565b925050600181019050611fd1565b5085935050505092915050565b600060208201905081810360008301526120258184611fad565b905092915050565b6000806040838503121561204457612043611bef565b5b600061205285828601611ca5565b925050602061206385828601611c1a565b9150509250929050565b60006020828403121561208357612082611bef565b5b600082013567ffffffffffffffff8111156120a1576120a0611bf4565b5b6120ad84828501611de5565b91505092915050565b6120bf81611c7c565b82525050565b60006020820190506120da60008301846120b6565b92915050565b6000819050919050565b60006121056121006120fb84611c5c565b6120e0565b611c5c565b9050919050565b6000612117826120ea565b9050919050565b60006121298261210c565b9050919050565b6121398161211e565b82525050565b60006020820190506121546000830184612130565b92915050565b600061216582611c7c565b9050919050565b6121758161215a565b811461218057600080fd5b50565b6000813590506121928161216c565b92915050565b6000602082840312156121ae576121ad611bef565b5b60006121bc84828501612183565b91505092915050565b60006060820190506121da60008301866120b6565b6121e76020830185611ea5565b6121f46040830184611ea5565b949350505050565b600082825260208201905092915050565b7f596f752068617665206e6f20746f6b656e7320746f20756e7374616b652e0000600082015250565b6000612243601e836121fc565b915061224e8261220d565b602082019050919050565b6000602082019050818103600083015261227281612236565b9050919050565b7f596f7520646f6e2774206f776e207468697320746f6b656e2e00000000000000600082015250565b60006122af6019836121fc565b91506122ba82612279565b602082019050919050565b600060208201905081810360008301526122de816122a2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061231f82611bf9565b915061232a83611bf9565b9250828201905080821115612342576123416122e5565b5b92915050565b7f546f6b656e2063616e277420626520756e7374616b6564207965742e00000000600082015250565b600061237e601c836121fc565b915061238982612348565b602082019050919050565b600060208201905081810360008301526123ad81612371565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006123ee82611bf9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036124205761241f6122e5565b5b600182019050919050565b600061243682611bf9565b915060008203612449576124486122e5565b5b600182039050919050565b600060608201905061246960008301866120b6565b61247660208301856120b6565b6124836040830184611ea5565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006124c1601f836121fc565b91506124cc8261248b565b602082019050919050565b600060208201905081810360008301526124f0816124b4565b9050919050565b60008151905061250681611c8e565b92915050565b60006020828403121561252257612521611bef565b5b6000612530848285016124f7565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006125956026836121fc565b91506125a082612539565b604082019050919050565b600060208201905081810360008301526125c481612588565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006126016010836121fc565b915061260c826125cb565b602082019050919050565b60006020820190508181036000830152612630816125f4565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061266d6014836121fc565b915061267882612637565b602082019050919050565b6000602082019050818103600083015261269c81612660565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126d96020836121fc565b91506126e4826126a3565b602082019050919050565b60006020820190508181036000830152612708816126cc565b905091905056fea26469706673582212204eefdfbbc1891dd9f31b4b9c6f095e8d18625fae5b68583f39569b8d4fdc925464736f6c634300081100330000000000000000000000000fbf892788a3737d6d0914f5e7e1882015bec0dc

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806378d67ad2116100ad57806392e67c061161007157806392e67c06146102a857806394067045146102c4578063a694fc3a146102f6578063ef056e5a14610312578063f2fde38b1461032e57610121565b806378d67ad2146102165780638456cb59146102325780638da5cb5b1461023c5780638e7b49201461025a5780639168ae721461027857610121565b80635c975abb116100f45780635c975abb146101845780635fec5c64146101a257806363c28db1146101c0578063715018a6146101f057806374f16a0c146101fa57610121565b80632e17de78146101265780633f4ba83a14610142578063482061a31461014c5780635b1d708614610168575b600080fd5b610140600480360381019061013b9190611c2f565b61034a565b005b61014a610858565b005b61016660048036038101906101619190611e13565b610872565b005b610182600480360381019061017d9190611c2f565b610950565b005b61018c610962565b6040516101999190611e8a565b60405180910390f35b6101aa610979565b6040516101b79190611eb4565b60405180910390f35b6101da60048036038101906101d59190611ecf565b61097f565b6040516101e7919061200b565b60405180910390f35b6101f8610cef565b005b610214600480360381019061020f919061202d565b610d03565b005b610230600480360381019061022b919061206d565b6111a9565b005b61023a6112d1565b005b6102446112eb565b60405161025191906120c5565b60405180910390f35b610262611314565b60405161026f919061213f565b60405180910390f35b610292600480360381019061028d9190611ecf565b61133a565b60405161029f9190611eb4565b60405180910390f35b6102c260048036038101906102bd9190612198565b611358565b005b6102de60048036038101906102d99190611c2f565b6113a4565b6040516102ed939291906121c5565b60405180910390f35b610310600480360381019061030b9190611c2f565b6113ee565b005b61032c6004803603810190610327919061206d565b611760565b005b61034860048036038101906103439190611ecf565b611888565b005b61035261190b565b336000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154116103d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103cf90612259565b60405180910390fd5b33828173ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461047e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610475906122c5565b60405180910390fd5b33844260035460056000848152602001908152602001600020600201546104a59190612314565b106104e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104dc90612394565b60405180910390fd5b6000805b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018054905081101561067c5787600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101828154811061058b5761058a6123b4565b5b90600052602060002090600302016001015414801561065c5750600073ffffffffffffffffffffffffffffffffffffffff16600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610611576106106123b4565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156106695780915061067c565b8080610674906123e3565b9150506104e9565b50600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906106d09061242b565b919050555060056000888152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018181548110610776576107756123b4565b5b9060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30338a6040518463ffffffff1660e01b815260040161081d93929190612454565b600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b5050505050505050505050565b610860611955565b61086861199e565b610870611a1c565b565b61087a61199e565b60005b81518110156108bb576108aa8383838151811061089d5761089c6123b4565b5b6020026020010151610d03565b806108b4906123e3565b905061087d565b508173ffffffffffffffffffffffffffffffffffffffff167f38009eb8954e3aaa4173718b541c95ac9480e2dd1d2632fd7d7854df58b9e2a2600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546040516109449190611eb4565b60405180910390a25050565b61095861199e565b8060038190555050565b6000600260009054906101000a900460ff16905090565b60035481565b60606000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541115610c92576000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015467ffffffffffffffff811115610a2a57610a29611cd0565b5b604051908082528060200260200182016040528015610a6357816020015b610a50611bae565b815260200190600190039081610a485790505b5090506000805b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010180549050811015610c8757600073ffffffffffffffffffffffffffffffffffffffff16600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610b2357610b226123b4565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c7457600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018181548110610bc457610bc36123b4565b5b90600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481525050838381518110610c5a57610c596123b4565b5b60200260200101819052508180610c70906123e3565b9250505b8080610c7f906123e3565b915050610a6a565b508192505050610cea565b600067ffffffffffffffff811115610cad57610cac611cd0565b5b604051908082528060200260200182016040528015610ce657816020015b610cd3611bae565b815260200190600190039081610ccb5790505b5090505b919050565b610cf761199e565b610d016000611a7f565b565b610d0b61199e565b816000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8890612259565b60405180910390fd5b82828173ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e906122c5565b60405180910390fd5b6000805b600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010180549050811015610fce5785600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610edd57610edc6123b4565b5b906000526020600020906003020160010154148015610fae5750600073ffffffffffffffffffffffffffffffffffffffff16600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018281548110610f6357610f626123b4565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610fbb57809150610fce565b8080610fc6906123e3565b915050610e3b565b50600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906110229061242b565b919050555060056000868152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181815481106110c8576110c76123b4565b5b9060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090555050600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3088886040518463ffffffff1660e01b815260040161116f93929190612454565b600060405180830381600087803b15801561118957600080fd5b505af115801561119d573d6000803e3d6000fd5b50505050505050505050565b6002600154036111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906124d7565b60405180910390fd5b600260018190555060005b815181101561123657611225828281518110611218576112176123b4565b5b602002602001015161034a565b8061122f906123e3565b90506111f9565b503373ffffffffffffffffffffffffffffffffffffffff167f38009eb8954e3aaa4173718b541c95ac9480e2dd1d2632fd7d7854df58b9e2a2600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546040516112bf9190611eb4565b60405180910390a26001808190555050565b6112d961190b565b6112e161199e565b6112e9611b43565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60046020528060005260406000206000915090508060000154905081565b61136061199e565b80600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b6113f661190b565b33818173ffffffffffffffffffffffffffffffffffffffff16600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161146a9190611eb4565b602060405180830381865afa158015611487573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ab919061250c565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f8906122c5565b60405180910390fd5b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b815260040161156093929190612454565b600060405180830381600087803b15801561157a57600080fd5b505af115801561158e573d6000803e3d6000fd5b50505050600060405180606001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001858152602001428152509050600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201555050600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906116e3906123e3565b9190505550806005600086815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015590505050505050565b6002600154036117a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179c906124d7565b60405180910390fd5b600260018190555060005b81518110156117ed576117dc8282815181106117cf576117ce6123b4565b5b60200260200101516113ee565b806117e6906123e3565b90506117b0565b503373ffffffffffffffffffffffffffffffffffffffff167f38009eb8954e3aaa4173718b541c95ac9480e2dd1d2632fd7d7854df58b9e2a2600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546040516118769190611eb4565b60405180910390a26001808190555050565b61189061199e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f6906125ab565b60405180910390fd5b61190881611a7f565b50565b611913610962565b15611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a90612617565b60405180910390fd5b565b61195d610962565b61199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390612683565b60405180910390fd5b565b6119a6611ba6565b73ffffffffffffffffffffffffffffffffffffffff166119c46112eb565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a11906126ef565b60405180910390fd5b565b611a24611955565b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a68611ba6565b604051611a7591906120c5565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b4b61190b565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b8f611ba6565b604051611b9c91906120c5565b60405180910390a1565b600033905090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b611c0c81611bf9565b8114611c1757600080fd5b50565b600081359050611c2981611c03565b92915050565b600060208284031215611c4557611c44611bef565b5b6000611c5384828501611c1a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c8782611c5c565b9050919050565b611c9781611c7c565b8114611ca257600080fd5b50565b600081359050611cb481611c8e565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611d0882611cbf565b810181811067ffffffffffffffff82111715611d2757611d26611cd0565b5b80604052505050565b6000611d3a611be5565b9050611d468282611cff565b919050565b600067ffffffffffffffff821115611d6657611d65611cd0565b5b602082029050602081019050919050565b600080fd5b6000611d8f611d8a84611d4b565b611d30565b90508083825260208201905060208402830185811115611db257611db1611d77565b5b835b81811015611ddb5780611dc78882611c1a565b845260208401935050602081019050611db4565b5050509392505050565b600082601f830112611dfa57611df9611cba565b5b8135611e0a848260208601611d7c565b91505092915050565b60008060408385031215611e2a57611e29611bef565b5b6000611e3885828601611ca5565b925050602083013567ffffffffffffffff811115611e5957611e58611bf4565b5b611e6585828601611de5565b9150509250929050565b60008115159050919050565b611e8481611e6f565b82525050565b6000602082019050611e9f6000830184611e7b565b92915050565b611eae81611bf9565b82525050565b6000602082019050611ec96000830184611ea5565b92915050565b600060208284031215611ee557611ee4611bef565b5b6000611ef384828501611ca5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611f3181611c7c565b82525050565b611f4081611bf9565b82525050565b606082016000820151611f5c6000850182611f28565b506020820151611f6f6020850182611f37565b506040820151611f826040850182611f37565b50505050565b6000611f948383611f46565b60608301905092915050565b6000602082019050919050565b6000611fb882611efc565b611fc28185611f07565b9350611fcd83611f18565b8060005b83811015611ffe578151611fe58882611f88565b9750611ff083611fa0565b925050600181019050611fd1565b5085935050505092915050565b600060208201905081810360008301526120258184611fad565b905092915050565b6000806040838503121561204457612043611bef565b5b600061205285828601611ca5565b925050602061206385828601611c1a565b9150509250929050565b60006020828403121561208357612082611bef565b5b600082013567ffffffffffffffff8111156120a1576120a0611bf4565b5b6120ad84828501611de5565b91505092915050565b6120bf81611c7c565b82525050565b60006020820190506120da60008301846120b6565b92915050565b6000819050919050565b60006121056121006120fb84611c5c565b6120e0565b611c5c565b9050919050565b6000612117826120ea565b9050919050565b60006121298261210c565b9050919050565b6121398161211e565b82525050565b60006020820190506121546000830184612130565b92915050565b600061216582611c7c565b9050919050565b6121758161215a565b811461218057600080fd5b50565b6000813590506121928161216c565b92915050565b6000602082840312156121ae576121ad611bef565b5b60006121bc84828501612183565b91505092915050565b60006060820190506121da60008301866120b6565b6121e76020830185611ea5565b6121f46040830184611ea5565b949350505050565b600082825260208201905092915050565b7f596f752068617665206e6f20746f6b656e7320746f20756e7374616b652e0000600082015250565b6000612243601e836121fc565b915061224e8261220d565b602082019050919050565b6000602082019050818103600083015261227281612236565b9050919050565b7f596f7520646f6e2774206f776e207468697320746f6b656e2e00000000000000600082015250565b60006122af6019836121fc565b91506122ba82612279565b602082019050919050565b600060208201905081810360008301526122de816122a2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061231f82611bf9565b915061232a83611bf9565b9250828201905080821115612342576123416122e5565b5b92915050565b7f546f6b656e2063616e277420626520756e7374616b6564207965742e00000000600082015250565b600061237e601c836121fc565b915061238982612348565b602082019050919050565b600060208201905081810360008301526123ad81612371565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006123ee82611bf9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036124205761241f6122e5565b5b600182019050919050565b600061243682611bf9565b915060008203612449576124486122e5565b5b600182039050919050565b600060608201905061246960008301866120b6565b61247660208301856120b6565b6124836040830184611ea5565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006124c1601f836121fc565b91506124cc8261248b565b602082019050919050565b600060208201905081810360008301526124f0816124b4565b9050919050565b60008151905061250681611c8e565b92915050565b60006020828403121561252257612521611bef565b5b6000612530848285016124f7565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006125956026836121fc565b91506125a082612539565b604082019050919050565b600060208201905081810360008301526125c481612588565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006126016010836121fc565b915061260c826125cb565b602082019050919050565b60006020820190508181036000830152612630816125f4565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061266d6014836121fc565b915061267882612637565b602082019050919050565b6000602082019050818103600083015261269c81612660565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126d96020836121fc565b91506126e4826126a3565b602082019050919050565b60006020820190508181036000830152612708816126cc565b905091905056fea26469706673582212204eefdfbbc1891dd9f31b4b9c6f095e8d18625fae5b68583f39569b8d4fdc925464736f6c63430008110033

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

0000000000000000000000000fbf892788a3737d6d0914f5e7e1882015bec0dc

-----Decoded View---------------
Arg [0] : tokenAddress (address): 0x0Fbf892788A3737d6d0914F5E7E1882015BeC0DC

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000fbf892788a3737d6d0914f5e7e1882015bec0dc


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.