Contract 0x73a42213D73eC0aA285047e272f26d5E96137Cbd

 
Txn Hash Method
Block
From
To
Value
0x64f2f9928556a90d5ed4fe21abed2eb213b05c954a92b55aa559045356578d090x608060401056445522023-06-16 3:58:01250 days 18 hrs agoGYSR: Deployer IN  Create: ERC721StakingModuleFactory0 ETH0.0010458892430.000001055
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721StakingModuleFactory

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

File 2 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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 approved 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;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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;

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

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

File 3 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 4 of 10 : ERC721StakingModule.sol
/*
ERC721StakingModule

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
*/

pragma solidity 0.8.18;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

import "./interfaces/IStakingModule.sol";
import "./OwnerController.sol";

/**
 * @title ERC721 staking module
 *
 * @notice this staking module allows users to deposit one or more ERC721
 * tokens in exchange for shares credited to their address. When the user
 * unstakes, these shares will be burned and a reward will be distributed.
 */
contract ERC721StakingModule is IStakingModule, OwnerController {
    // constant
    uint256 public constant SHARES_PER_TOKEN = 1e6;

    // members
    IERC721 private immutable _token;
    address private immutable _factory;

    mapping(address => uint256) public counts;
    mapping(uint256 => address) public owners;
    mapping(address => mapping(uint256 => uint256)) public tokenByOwner;
    mapping(uint256 => uint256) public tokenIndex;

    /**
     * @param token_ the token that will be rewarded
     * @param factory_ address of module factory
     */
    constructor(address token_, address factory_) {
        require(IERC165(token_).supportsInterface(0x80ac58cd), "smn1");
        _token = IERC721(token_);
        _factory = factory_;
    }

    /**
     * @inheritdoc IStakingModule
     */
    function tokens()
        external
        view
        override
        returns (address[] memory tokens_)
    {
        tokens_ = new address[](1);
        tokens_[0] = address(_token);
    }

    /**
     * @inheritdoc IStakingModule
     */
    function balances(
        address user
    ) external view override returns (uint256[] memory balances_) {
        balances_ = new uint256[](1);
        balances_[0] = counts[user];
    }

    /**
     * @inheritdoc IStakingModule
     */
    function factory() external view override returns (address) {
        return _factory;
    }

    /**
     * @inheritdoc IStakingModule
     */
    function totals()
        external
        view
        override
        returns (uint256[] memory totals_)
    {
        totals_ = new uint256[](1);
        totals_[0] = _token.balanceOf(address(this));
    }

    /**
     * @inheritdoc IStakingModule
     */
    function stake(
        address sender,
        uint256 amount,
        bytes calldata data
    ) external override onlyOwner returns (bytes32, uint256) {
        // validate
        require(amount > 0, "smn2");
        require(amount <= _token.balanceOf(sender), "smn3");
        require(data.length == 32 * amount, "smn4");

        uint256 count = counts[sender];

        // stake
        for (uint256 i; i < amount; ) {
            // get token id
            uint256 id;
            uint256 pos = 132 + 32 * i;
            assembly {
                id := calldataload(pos)
            }

            // ownership mappings
            owners[id] = sender;
            uint256 len = count + i;
            tokenByOwner[sender][len] = id;
            tokenIndex[id] = len;

            // transfer to module
            _token.transferFrom(sender, address(this), id);

            unchecked {
                ++i;
            }
        }

        // update position
        counts[sender] = count + amount;

        // emit
        bytes32 account = bytes32(uint256(uint160(sender)));
        uint256 shares = amount * SHARES_PER_TOKEN;
        emit Staked(account, sender, address(_token), amount, shares);

        return (account, shares);
    }

    /**
     * @inheritdoc IStakingModule
     */
    function unstake(
        address sender,
        uint256 amount,
        bytes calldata data
    ) external override onlyOwner returns (bytes32, address, uint256) {
        // validate
        require(amount > 0, "smn5");
        uint256 count = counts[sender];
        require(amount <= count, "smn6");
        require(data.length == 32 * amount, "smn7");

        // unstake
        for (uint256 i; i < amount; ) {
            // get token id
            uint256 id;
            {
                uint256 pos = 132 + 32 * i;
                assembly {
                    id := calldataload(pos)
                }
            }

            // ownership
            require(owners[id] == sender, "smn8");
            delete owners[id];

            // clean up ownership mappings
            uint256 lastIndex = count - 1 - i;
            if (amount != count) {
                // reindex on partial unstake
                uint256 index = tokenIndex[id];
                if (index != lastIndex) {
                    uint256 lastId = tokenByOwner[sender][lastIndex];
                    tokenByOwner[sender][index] = lastId;
                    tokenIndex[lastId] = index;
                }
            }
            delete tokenByOwner[sender][lastIndex];
            delete tokenIndex[id];

            // transfer to user
            _token.safeTransferFrom(address(this), sender, id);

            unchecked {
                ++i;
            }
        }

        // update position
        counts[sender] = count - amount;

        // emit
        bytes32 account = bytes32(uint256(uint160(sender)));
        uint256 shares = amount * SHARES_PER_TOKEN;
        emit Unstaked(account, sender, address(_token), amount, shares);

        return (account, sender, shares);
    }

    /**
     * @inheritdoc IStakingModule
     */
    function claim(
        address sender,
        uint256 amount,
        bytes calldata
    ) external override onlyOwner returns (bytes32, address, uint256) {
        // validate
        require(amount > 0, "smn9");
        require(amount <= counts[sender], "smn10");

        bytes32 account = bytes32(uint256(uint160(sender)));
        uint256 shares = amount * SHARES_PER_TOKEN;
        emit Claimed(account, sender, address(_token), amount, shares);
        return (account, sender, shares);
    }

    /**
     * @inheritdoc IStakingModule
     */
    function update(
        address sender,
        bytes calldata
    ) external pure override returns (bytes32) {
        return (bytes32(uint256(uint160(sender))));
    }

    /**
     * @inheritdoc IStakingModule
     */
    function clean(bytes calldata) external override {}
}

File 5 of 10 : ERC721StakingModuleFactory.sol
/*
ERC721StakingModuleFactory

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
*/

pragma solidity 0.8.18;

import "./interfaces/IModuleFactory.sol";
import "./ERC721StakingModule.sol";

/**
 * @title ERC721 staking module factory
 *
 * @notice this factory contract handles deployment for the
 * ERC721StakingModule contract
 *
 * @dev it is called by the parent PoolFactory and is responsible
 * for parsing constructor arguments before creating a new contract
 */
contract ERC721StakingModuleFactory is IModuleFactory {
    /**
     * @inheritdoc IModuleFactory
     */
    function createModule(address, bytes calldata data)
        external
        override
        returns (address)
    {
        // validate
        require(data.length == 32, "smnf1");

        // parse staking token
        address token;
        assembly {
            token := calldataload(100)
        }

        // create module
        ERC721StakingModule module =
            new ERC721StakingModule(token, address(this));
        module.transferOwnership(msg.sender);

        // output
        emit ModuleCreated(msg.sender, address(module));
        return address(module);
    }
}

File 6 of 10 : IEvents.sol
/*
IEvents

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
 */

pragma solidity 0.8.18;

/**
 * @title GYSR event system
 *
 * @notice common interface to define GYSR event system
 */
interface IEvents {
    // staking
    event Staked(
        bytes32 indexed account,
        address indexed user,
        address indexed token,
        uint256 amount,
        uint256 shares
    );
    event Unstaked(
        bytes32 indexed account,
        address indexed user,
        address indexed token,
        uint256 amount,
        uint256 shares
    );
    event Claimed(
        bytes32 indexed account,
        address indexed user,
        address indexed token,
        uint256 amount,
        uint256 shares
    );
    event Updated(bytes32 indexed account, address indexed user);

    // rewards
    event RewardsDistributed(
        address indexed user,
        address indexed token,
        uint256 amount,
        uint256 shares
    );
    event RewardsFunded(
        address indexed token,
        uint256 amount,
        uint256 shares,
        uint256 timestamp
    );
    event RewardsExpired(
        address indexed token,
        uint256 amount,
        uint256 shares,
        uint256 timestamp
    );
    event RewardsWithdrawn(
        address indexed token,
        uint256 amount,
        uint256 shares,
        uint256 timestamp
    );
    event RewardsUpdated(bytes32 indexed account);

    // gysr
    event GysrSpent(address indexed user, uint256 amount);
    event GysrVested(address indexed user, uint256 amount);
    event GysrWithdrawn(uint256 amount);
    event Fee(address indexed receiver, address indexed token, uint256 amount);
}

File 7 of 10 : IModuleFactory.sol
/*
IModuleFactory

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
*/

pragma solidity 0.8.18;

/**
 * @title Module factory interface
 *
 * @notice this defines the common module factory interface used by the
 * main factory to create the staking and reward modules for a new Pool.
 */
interface IModuleFactory {
    // events
    event ModuleCreated(address indexed user, address module);

    /**
     * @notice create a new Pool module
     * @param config address for configuration contract
     * @param data binary encoded construction parameters
     * @return address of newly created module
     */
    function createModule(address config, bytes calldata data)
        external
        returns (address);
}

File 8 of 10 : IOwnerController.sol
/*
IOwnerController

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
*/

pragma solidity 0.8.18;

/**
 * @title Owner controller interface
 *
 * @notice this defines the interface for any contracts that use the
 * owner controller access pattern
 */
interface IOwnerController {
    /**
     * @dev Returns the address of the current owner.
     */
    function owner() external view returns (address);

    /**
     * @dev Returns the address of the current controller.
     */
    function controller() external view returns (address);

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`). This can
     * include renouncing ownership by transferring to the zero address.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) external;

    /**
     * @dev Transfers control of the contract to a new account (`newController`).
     * Can only be called by the owner.
     */
    function transferControl(address newController) external;
}

File 9 of 10 : IStakingModule.sol
/*
IStakingModule

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
*/

pragma solidity 0.8.18;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import "./IEvents.sol";
import "./IOwnerController.sol";

/**
 * @title Staking module interface
 *
 * @notice this contract defines the common interface that any staking module
 * must implement to be compatible with the modular Pool architecture.
 */
interface IStakingModule is IOwnerController, IEvents {
    /**
     * @return array of staking tokens
     */
    function tokens() external view returns (address[] memory);

    /**
     * @notice get balance of user
     * @param user address of user
     * @return balances of each staking token
     */
    function balances(address user) external view returns (uint256[] memory);

    /**
     * @return address of module factory
     */
    function factory() external view returns (address);

    /**
     * @notice get total staked amount
     * @return totals for each staking token
     */
    function totals() external view returns (uint256[] memory);

    /**
     * @notice stake an amount of tokens for user
     * @param sender address of sender
     * @param amount number of tokens to stake
     * @param data additional data
     * @return bytes32 id of staking account
     * @return number of shares minted for stake
     */
    function stake(
        address sender,
        uint256 amount,
        bytes calldata data
    ) external returns (bytes32, uint256);

    /**
     * @notice unstake an amount of tokens for user
     * @param sender address of sender
     * @param amount number of tokens to unstake
     * @param data additional data
     * @return bytes32 id of staking account
     * @return address of reward receiver
     * @return number of shares burned for unstake
     */
    function unstake(
        address sender,
        uint256 amount,
        bytes calldata data
    ) external returns (bytes32, address, uint256);

    /**
     * @notice quote the share value for an amount of tokens without unstaking
     * @param sender address of sender
     * @param amount number of tokens to claim with
     * @param data additional data
     * @return bytes32 id of staking account
     * @return address of reward receiver
     * @return number of shares that the claim amount is worth
     */
    function claim(
        address sender,
        uint256 amount,
        bytes calldata data
    ) external returns (bytes32, address, uint256);

    /**
     * @notice method called by anyone to update accounting
     * @dev will only be called ad hoc and should not contain essential logic
     * @param sender address of user for update
     * @param data additional data
     * @return bytes32 id of staking account
     */
    function update(
        address sender,
        bytes calldata data
    ) external returns (bytes32);

    /**
     * @notice method called by owner to clean up and perform additional accounting
     * @dev will only be called ad hoc and should not contain any essential logic
     * @param data additional data
     */
    function clean(bytes calldata data) external;
}

File 10 of 10 : OwnerController.sol
/*
OwnerController

https://github.com/gysr-io/core

SPDX-License-Identifier: MIT
*/

pragma solidity 0.8.18;

import "./interfaces/IOwnerController.sol";

/**
 * @title Owner controller
 *
 * @notice this base contract implements an owner-controller access model.
 *
 * @dev the contract is an adapted version of the OpenZeppelin Ownable contract.
 * It allows the owner to designate an additional account as the controller to
 * perform restricted operations.
 *
 * Other changes include supporting role verification with a require method
 * in addition to the modifier option, and removing some unneeded functionality.
 *
 * Original contract here:
 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol
 */
contract OwnerController is IOwnerController {
    address private _owner;
    address private _controller;

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

    event ControlTransferred(
        address indexed previousController,
        address indexed newController
    );

    constructor() {
        _owner = msg.sender;
        _controller = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
        emit ControlTransferred(address(0), _owner);
    }

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

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

    /**
     * @dev Modifier that throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == msg.sender, "oc1");
        _;
    }

    /**
     * @dev Modifier that throws if called by any account other than the controller.
     */
    modifier onlyController() {
        require(_controller == msg.sender, "oc2");
        _;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    function requireOwner() internal view {
        require(_owner == msg.sender, "oc1");
    }

    /**
     * @dev Throws if called by any account other than the controller.
     */
    function requireController() internal view {
        require(_controller == msg.sender, "oc2");
    }

    /**
     * @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 override {
        requireOwner();
        require(newOwner != address(0), "oc3");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    /**
     * @dev Transfers control of the contract to a new account (`newController`).
     * Can only be called by the owner.
     */
    function transferControl(address newController) public virtual override {
        requireOwner();
        require(newController != address(0), "oc4");
        emit ControlTransferred(_controller, newController);
        _controller = newController;
    }
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"module","type":"address"}],"name":"ModuleCreated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"createModule","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50611bb5806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806320868d1814610030575b600080fd5b61004361003e366004610217565b61006c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000602082146100dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f736d6e6631000000000000000000000000000000000000000000000000000000604482015260640160405180910390fd5b60006064359050600081306040516100f39061020a565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604001604051809103906000f080158015610133573d6000803e3d6000fd5b506040517ff2fde38b00000000000000000000000000000000000000000000000000000000815233600482015290915073ffffffffffffffffffffffffffffffffffffffff82169063f2fde38b90602401600060405180830381600087803b15801561019e57600080fd5b505af11580156101b2573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841681523392507ff708942ec477396a151a5285651961dcab8e8a82ea4f5b31a5236f92f6c92710915060200160405180910390a295945050505050565b6118ca806102b683390190565b60008060006040848603121561022c57600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461025057600080fd5b9250602084013567ffffffffffffffff8082111561026d57600080fd5b818601915086601f83011261028157600080fd5b81358181111561029057600080fd5b8760208285010111156102a257600080fd5b602083019450809350505050925092509256fe60c06040523480156200001157600080fd5b50604051620018ca380380620018ca8339810160408190526200003491620001a0565b60008054336001600160a01b0319918216811783556001805490921681179091556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600080546040516001600160a01b0390911691907fa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f2908290a36040516301ffc9a760e01b81526380ac58cd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa15801562000105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200012b9190620001d8565b6200016b5760405162461bcd60e51b81526004016200016290602080825260049082015263736d6e3160e01b604082015260600190565b60405180910390fd5b6001600160a01b039182166080521660a05262000203565b80516001600160a01b03811681146200019b57600080fd5b919050565b60008060408385031215620001b457600080fd5b620001bf8362000183565b9150620001cf6020840162000183565b90509250929050565b600060208284031215620001eb57600080fd5b81518015158114620001fc57600080fd5b9392505050565b60805160a0516116706200025a600039600061034901526000818161050f0152818161074e015281816107fe01528181610af101528181610bb101528181610c7101528181611079015261112a01526116706000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80638c7a4638116100b2578063c038a38e11610081578063c45a015511610066578063c45a015514610347578063f2fde38b1461036d578063f77c47911461038057600080fd5b8063c038a38e1461032c578063c4113b881461033457600080fd5b80638c7a4638146102ac5780638da5cb5b146102b65780638f0bc152146102d45780639d63848a1461031757600080fd5b8063259fd221116101095780633e12170f116100ee5780633e12170f1461025d5780636d16fa41146102855780636fd366b81461029a57600080fd5b8063259fd2211461021257806327e235e31461023d57600080fd5b8063025e7c271461013b57806302a688ed1461019b5780630568e65e146101d25780630583e9f8146101f2575b600080fd5b610171610149366004611328565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6101c46101a93660046113b3565b505073ffffffffffffffffffffffffffffffffffffffff1690565b604051908152602001610192565b6101c46101e0366004611406565b60026020526000908152604090205481565b6101c4610200366004611328565b60056020526000908152604090205481565b6101c4610220366004611428565b600460209081526000928352604080842090915290825290205481565b61025061024b366004611406565b61039e565b6040516101929190611452565b61027061026b366004611496565b610409565b60408051928352602083019190915201610192565b610298610293366004611406565b61089b565b005b6102986102a83660046114f0565b5050565b6101c4620f424081565b60005473ffffffffffffffffffffffffffffffffffffffff16610171565b6102e76102e2366004611496565b610994565b6040805193845273ffffffffffffffffffffffffffffffffffffffff909216602084015290820152606001610192565b61031f610b8d565b6040516101929190611532565b610250610c20565b6102e7610342366004611496565b610d13565b7f0000000000000000000000000000000000000000000000000000000000000000610171565b61029861037b366004611406565b6111c7565b60015473ffffffffffffffffffffffffffffffffffffffff16610171565b6040805160018082528183019092526060916020808301908036833750505073ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260408120548251929350918391906103f8576103f8611580565b602002602001018181525050919050565b60008054819073ffffffffffffffffffffffffffffffffffffffff1633146104785760405162461bcd60e51b815260206004820152600360248201527f6f6331000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600085116104ca5760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3200000000000000000000000000000000000000000000000000000000604082015260600190565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87811660048301527f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057a91906115af565b8511156105cb5760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3300000000000000000000000000000000000000000000000000000000604082015260600190565b6105d68560206115f7565b83146106265760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3400000000000000000000000000000000000000000000000000000000604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260026020526040812054905b868110156107b8576000806106648360206115f7565b61066f906084611614565b8035600081815260036020526040812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8f161790559093509091506106cd8486611614565b73ffffffffffffffffffffffffffffffffffffffff8c8116600081815260046020818152604080842087855282528084208a905589845260059091529182902085905590517f23b872dd00000000000000000000000000000000000000000000000000000000815290810191909152306024820152604481018690529192507f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401600060405180830381600087803b15801561079257600080fd5b505af11580156107a6573d6000803e3d6000fd5b5050505083600101935050505061064e565b506107c38682611614565b73ffffffffffffffffffffffffffffffffffffffff8816600081815260026020526040812092909255906107fa620f4240896115f7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16837f020c82fffaa7f476edc4d209bc47371cb11635b2077978c27e7c39360146d2ed8b85604051610885929190918252602082015260400190565b60405180910390a4909890975095505050505050565b6108a36112bf565b73ffffffffffffffffffffffffffffffffffffffff81166109065760405162461bcd60e51b815260206004820152600360248201527f6f63340000000000000000000000000000000000000000000000000000000000604482015260640161046f565b60015460405173ffffffffffffffffffffffffffffffffffffffff8084169216907fa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f290600090a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080548190819073ffffffffffffffffffffffffffffffffffffffff163314610a005760405162461bcd60e51b815260206004820152600360248201527f6f63310000000000000000000000000000000000000000000000000000000000604482015260640161046f565b60008611610a525760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3900000000000000000000000000000000000000000000000000000000604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260026020526040902054861115610ac75760405162461bcd60e51b815260206004820152600560248201527f736d6e3130000000000000000000000000000000000000000000000000000000604482015260640161046f565b73ffffffffffffffffffffffffffffffffffffffff87166000610aed620f4240896115f7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16837f636cc28d1dc3c5f8610bbd1cabdf6585ab2ef79f4b9ae78e840c1b8fd5ac887a8b85604051610b78929190918252602082015260400190565b60405180910390a49098909650945050505050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610be357610be3611580565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505090565b60408051600180825281830190925260609160208083019080368337019050506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610ccd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf191906115af565b81600081518110610d0457610d04611580565b60200260200101818152505090565b600080548190819073ffffffffffffffffffffffffffffffffffffffff163314610d7f5760405162461bcd60e51b815260206004820152600360248201527f6f63310000000000000000000000000000000000000000000000000000000000604482015260640161046f565b60008611610dd15760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3500000000000000000000000000000000000000000000000000000000604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff871660009081526002602052604090205480871115610e495760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3600000000000000000000000000000000000000000000000000000000604082015260600190565b610e548760206115f7565b8514610ea45760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3700000000000000000000000000000000000000000000000000000000604082015260600190565b60005b878110156110e457600080610ebd8360206115f7565b610ec8906084611614565b3560008181526003602052604090205490925073ffffffffffffffffffffffffffffffffffffffff8c81169116149050610f465760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3800000000000000000000000000000000000000000000000000000000604082015260600190565b600081815260036020526040812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905582610f86600186611627565b610f909190611627565b9050838a14610ff857600082815260056020526040902054818114610ff65773ffffffffffffffffffffffffffffffffffffffff8c1660009081526004602090815260408083208584528252808320548484528184208190558352600590915290208190555b505b73ffffffffffffffffffffffffffffffffffffffff808c166000818152600460208181526040808420878552825280842084905587845260059091528083209290925590517f42842e0e00000000000000000000000000000000000000000000000000000000815230918101919091526024810191909152604481018490527f0000000000000000000000000000000000000000000000000000000000000000909116906342842e0e90606401600060405180830381600087803b1580156110bf57600080fd5b505af11580156110d3573d6000803e3d6000fd5b505050508260010192505050610ea7565b506110ef8782611627565b73ffffffffffffffffffffffffffffffffffffffff891660008181526002602052604081209290925590611126620f42408a6115f7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff16837f31d5ceefd9ae9f1d896ec09a203f74a59524f36c970d3ede03478bb30c550a218c856040516111b1929190918252602082015260400190565b60405180910390a4909990975095505050505050565b6111cf6112bf565b73ffffffffffffffffffffffffffffffffffffffff81166112325760405162461bcd60e51b815260206004820152600360248201527f6f63330000000000000000000000000000000000000000000000000000000000604482015260640161046f565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113265760405162461bcd60e51b815260206004820152600360248201527f6f63310000000000000000000000000000000000000000000000000000000000604482015260640161046f565b565b60006020828403121561133a57600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461136557600080fd5b919050565b60008083601f84011261137c57600080fd5b50813567ffffffffffffffff81111561139457600080fd5b6020830191508360208285010111156113ac57600080fd5b9250929050565b6000806000604084860312156113c857600080fd5b6113d184611341565b9250602084013567ffffffffffffffff8111156113ed57600080fd5b6113f98682870161136a565b9497909650939450505050565b60006020828403121561141857600080fd5b61142182611341565b9392505050565b6000806040838503121561143b57600080fd5b61144483611341565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b8181101561148a5783518352928401929184019160010161146e565b50909695505050505050565b600080600080606085870312156114ac57600080fd5b6114b585611341565b935060208501359250604085013567ffffffffffffffff8111156114d857600080fd5b6114e48782880161136a565b95989497509550505050565b6000806020838503121561150357600080fd5b823567ffffffffffffffff81111561151a57600080fd5b6115268582860161136a565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b8181101561148a57835173ffffffffffffffffffffffffffffffffffffffff168352928401929184019160010161154e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156115c157600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761160e5761160e6115c8565b92915050565b8082018082111561160e5761160e6115c8565b8181038181111561160e5761160e6115c856fea26469706673582212201775bd5db8de24dbe7c3182b933d09acf103c78cd0accc5d41a537eb48abf43f64736f6c63430008120033a2646970667358221220f0a81c9f25669b2829a86f2d0ec69b592b213997af66de930b4b89a810aa5c6564736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806320868d1814610030575b600080fd5b61004361003e366004610217565b61006c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000602082146100dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f736d6e6631000000000000000000000000000000000000000000000000000000604482015260640160405180910390fd5b60006064359050600081306040516100f39061020a565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604001604051809103906000f080158015610133573d6000803e3d6000fd5b506040517ff2fde38b00000000000000000000000000000000000000000000000000000000815233600482015290915073ffffffffffffffffffffffffffffffffffffffff82169063f2fde38b90602401600060405180830381600087803b15801561019e57600080fd5b505af11580156101b2573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841681523392507ff708942ec477396a151a5285651961dcab8e8a82ea4f5b31a5236f92f6c92710915060200160405180910390a295945050505050565b6118ca806102b683390190565b60008060006040848603121561022c57600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461025057600080fd5b9250602084013567ffffffffffffffff8082111561026d57600080fd5b818601915086601f83011261028157600080fd5b81358181111561029057600080fd5b8760208285010111156102a257600080fd5b602083019450809350505050925092509256fe60c06040523480156200001157600080fd5b50604051620018ca380380620018ca8339810160408190526200003491620001a0565b60008054336001600160a01b0319918216811783556001805490921681179091556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600080546040516001600160a01b0390911691907fa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f2908290a36040516301ffc9a760e01b81526380ac58cd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa15801562000105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200012b9190620001d8565b6200016b5760405162461bcd60e51b81526004016200016290602080825260049082015263736d6e3160e01b604082015260600190565b60405180910390fd5b6001600160a01b039182166080521660a05262000203565b80516001600160a01b03811681146200019b57600080fd5b919050565b60008060408385031215620001b457600080fd5b620001bf8362000183565b9150620001cf6020840162000183565b90509250929050565b600060208284031215620001eb57600080fd5b81518015158114620001fc57600080fd5b9392505050565b60805160a0516116706200025a600039600061034901526000818161050f0152818161074e015281816107fe01528181610af101528181610bb101528181610c7101528181611079015261112a01526116706000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80638c7a4638116100b2578063c038a38e11610081578063c45a015511610066578063c45a015514610347578063f2fde38b1461036d578063f77c47911461038057600080fd5b8063c038a38e1461032c578063c4113b881461033457600080fd5b80638c7a4638146102ac5780638da5cb5b146102b65780638f0bc152146102d45780639d63848a1461031757600080fd5b8063259fd221116101095780633e12170f116100ee5780633e12170f1461025d5780636d16fa41146102855780636fd366b81461029a57600080fd5b8063259fd2211461021257806327e235e31461023d57600080fd5b8063025e7c271461013b57806302a688ed1461019b5780630568e65e146101d25780630583e9f8146101f2575b600080fd5b610171610149366004611328565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6101c46101a93660046113b3565b505073ffffffffffffffffffffffffffffffffffffffff1690565b604051908152602001610192565b6101c46101e0366004611406565b60026020526000908152604090205481565b6101c4610200366004611328565b60056020526000908152604090205481565b6101c4610220366004611428565b600460209081526000928352604080842090915290825290205481565b61025061024b366004611406565b61039e565b6040516101929190611452565b61027061026b366004611496565b610409565b60408051928352602083019190915201610192565b610298610293366004611406565b61089b565b005b6102986102a83660046114f0565b5050565b6101c4620f424081565b60005473ffffffffffffffffffffffffffffffffffffffff16610171565b6102e76102e2366004611496565b610994565b6040805193845273ffffffffffffffffffffffffffffffffffffffff909216602084015290820152606001610192565b61031f610b8d565b6040516101929190611532565b610250610c20565b6102e7610342366004611496565b610d13565b7f0000000000000000000000000000000000000000000000000000000000000000610171565b61029861037b366004611406565b6111c7565b60015473ffffffffffffffffffffffffffffffffffffffff16610171565b6040805160018082528183019092526060916020808301908036833750505073ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260408120548251929350918391906103f8576103f8611580565b602002602001018181525050919050565b60008054819073ffffffffffffffffffffffffffffffffffffffff1633146104785760405162461bcd60e51b815260206004820152600360248201527f6f6331000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600085116104ca5760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3200000000000000000000000000000000000000000000000000000000604082015260600190565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87811660048301527f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057a91906115af565b8511156105cb5760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3300000000000000000000000000000000000000000000000000000000604082015260600190565b6105d68560206115f7565b83146106265760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3400000000000000000000000000000000000000000000000000000000604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260026020526040812054905b868110156107b8576000806106648360206115f7565b61066f906084611614565b8035600081815260036020526040812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8f161790559093509091506106cd8486611614565b73ffffffffffffffffffffffffffffffffffffffff8c8116600081815260046020818152604080842087855282528084208a905589845260059091529182902085905590517f23b872dd00000000000000000000000000000000000000000000000000000000815290810191909152306024820152604481018690529192507f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401600060405180830381600087803b15801561079257600080fd5b505af11580156107a6573d6000803e3d6000fd5b5050505083600101935050505061064e565b506107c38682611614565b73ffffffffffffffffffffffffffffffffffffffff8816600081815260026020526040812092909255906107fa620f4240896115f7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16837f020c82fffaa7f476edc4d209bc47371cb11635b2077978c27e7c39360146d2ed8b85604051610885929190918252602082015260400190565b60405180910390a4909890975095505050505050565b6108a36112bf565b73ffffffffffffffffffffffffffffffffffffffff81166109065760405162461bcd60e51b815260206004820152600360248201527f6f63340000000000000000000000000000000000000000000000000000000000604482015260640161046f565b60015460405173ffffffffffffffffffffffffffffffffffffffff8084169216907fa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f290600090a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080548190819073ffffffffffffffffffffffffffffffffffffffff163314610a005760405162461bcd60e51b815260206004820152600360248201527f6f63310000000000000000000000000000000000000000000000000000000000604482015260640161046f565b60008611610a525760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3900000000000000000000000000000000000000000000000000000000604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260026020526040902054861115610ac75760405162461bcd60e51b815260206004820152600560248201527f736d6e3130000000000000000000000000000000000000000000000000000000604482015260640161046f565b73ffffffffffffffffffffffffffffffffffffffff87166000610aed620f4240896115f7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16837f636cc28d1dc3c5f8610bbd1cabdf6585ab2ef79f4b9ae78e840c1b8fd5ac887a8b85604051610b78929190918252602082015260400190565b60405180910390a49098909650945050505050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610be357610be3611580565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505090565b60408051600180825281830190925260609160208083019080368337019050506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610ccd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf191906115af565b81600081518110610d0457610d04611580565b60200260200101818152505090565b600080548190819073ffffffffffffffffffffffffffffffffffffffff163314610d7f5760405162461bcd60e51b815260206004820152600360248201527f6f63310000000000000000000000000000000000000000000000000000000000604482015260640161046f565b60008611610dd15760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3500000000000000000000000000000000000000000000000000000000604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff871660009081526002602052604090205480871115610e495760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3600000000000000000000000000000000000000000000000000000000604082015260600190565b610e548760206115f7565b8514610ea45760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3700000000000000000000000000000000000000000000000000000000604082015260600190565b60005b878110156110e457600080610ebd8360206115f7565b610ec8906084611614565b3560008181526003602052604090205490925073ffffffffffffffffffffffffffffffffffffffff8c81169116149050610f465760405162461bcd60e51b815260040161046f9060208082526004908201527f736d6e3800000000000000000000000000000000000000000000000000000000604082015260600190565b600081815260036020526040812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016905582610f86600186611627565b610f909190611627565b9050838a14610ff857600082815260056020526040902054818114610ff65773ffffffffffffffffffffffffffffffffffffffff8c1660009081526004602090815260408083208584528252808320548484528184208190558352600590915290208190555b505b73ffffffffffffffffffffffffffffffffffffffff808c166000818152600460208181526040808420878552825280842084905587845260059091528083209290925590517f42842e0e00000000000000000000000000000000000000000000000000000000815230918101919091526024810191909152604481018490527f0000000000000000000000000000000000000000000000000000000000000000909116906342842e0e90606401600060405180830381600087803b1580156110bf57600080fd5b505af11580156110d3573d6000803e3d6000fd5b505050508260010192505050610ea7565b506110ef8782611627565b73ffffffffffffffffffffffffffffffffffffffff891660008181526002602052604081209290925590611126620f42408a6115f7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff16837f31d5ceefd9ae9f1d896ec09a203f74a59524f36c970d3ede03478bb30c550a218c856040516111b1929190918252602082015260400190565b60405180910390a4909990975095505050505050565b6111cf6112bf565b73ffffffffffffffffffffffffffffffffffffffff81166112325760405162461bcd60e51b815260206004820152600360248201527f6f63330000000000000000000000000000000000000000000000000000000000604482015260640161046f565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113265760405162461bcd60e51b815260206004820152600360248201527f6f63310000000000000000000000000000000000000000000000000000000000604482015260640161046f565b565b60006020828403121561133a57600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461136557600080fd5b919050565b60008083601f84011261137c57600080fd5b50813567ffffffffffffffff81111561139457600080fd5b6020830191508360208285010111156113ac57600080fd5b9250929050565b6000806000604084860312156113c857600080fd5b6113d184611341565b9250602084013567ffffffffffffffff8111156113ed57600080fd5b6113f98682870161136a565b9497909650939450505050565b60006020828403121561141857600080fd5b61142182611341565b9392505050565b6000806040838503121561143b57600080fd5b61144483611341565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b8181101561148a5783518352928401929184019160010161146e565b50909695505050505050565b600080600080606085870312156114ac57600080fd5b6114b585611341565b935060208501359250604085013567ffffffffffffffff8111156114d857600080fd5b6114e48782880161136a565b95989497509550505050565b6000806020838503121561150357600080fd5b823567ffffffffffffffff81111561151a57600080fd5b6115268582860161136a565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b8181101561148a57835173ffffffffffffffffffffffffffffffffffffffff168352928401929184019160010161154e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156115c157600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761160e5761160e6115c8565b92915050565b8082018082111561160e5761160e6115c8565b8181038181111561160e5761160e6115c856fea26469706673582212201775bd5db8de24dbe7c3182b933d09acf103c78cd0accc5d41a537eb48abf43f64736f6c63430008120033a2646970667358221220f0a81c9f25669b2829a86f2d0ec69b592b213997af66de930b4b89a810aa5c6564736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
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.