ETH Price: $3,363.53 (+0.47%)

Token

BRC-20 AI (BRC20AI)
 

Overview

Max Total Supply

1,000,000,000,000,000,000 BRC20AI

Holders

49

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
19,000,000,000,000,000 BRC20AI

Value
$0.00
0xec11ea6d580cfc98b122044cd71353f31088a0f1
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BRC20AI

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : BRC20AI.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "../../uniswap/IUniswapV2Factory.sol";
import "../../uniswap/IUniswapV2Router02.sol";
import "../../uniswap/IUniswapV2Pair.sol";

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "./BRC20AIStaking.sol";

contract BRC20AI is Context, IERC20, Ownable {
    string private _name;
    string private _symbol;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) public excludeFromFees;

    uint256 private _totalSupply;

    uint16 public feeBpsTotal;
    uint16 public feeBpsToStakers;
    uint16 public maxBpsPerWallet;

    address public uniswapPair;
    address public feeWallet;
    BRC20AIStaking public stakingContract;

    constructor(
        address feeWallet_,
        uint16 feeBpsTotal_,
        uint16 feeBpsToStakers_,
        uint16 maxBpsPerWallet_) {
        require(feeWallet_!=address(0));

        _name = "BRC-20 AI";
        _symbol = "BRC20AI";
        feeWallet = feeWallet_;

        feeBpsTotal = feeBpsTotal_;
        feeBpsToStakers = feeBpsToStakers_;
        maxBpsPerWallet = maxBpsPerWallet_;

        excludeFromFees[msg.sender] = true;
        excludeFromFees[feeWallet_] = true;

        _mint(msg.sender, 1000000000 * (10**18));
    }

    function initUniswapPair(IUniswapV2Router02 router) public onlyOwner {
        require(address(router)!=address(0));
       IUniswapV2Factory factory = IUniswapV2Factory(router.factory());
       uniswapPair = factory.createPair(address(this), router.WETH());
    }

    function setUniswapPair(address uniswapPair_) public onlyOwner {
      require(uniswapPair_!=address(0));
      uniswapPair = uniswapPair_;
    }

    function setFees(uint16 feeBptsTotal_, uint16 feeBpsToStakers_) public onlyOwner {
      require(feeBptsTotal_ <= 10000);
      require(feeBpsToStakers_ <= feeBptsTotal_);

      feeBpsTotal = feeBptsTotal_;
      feeBpsToStakers = feeBpsToStakers_;
    }

    function setMaxBpsPerWallet(uint16 maxBpsPerWallet_) public onlyOwner {
      require(maxBpsPerWallet_ <= 10000);
      maxBpsPerWallet = maxBpsPerWallet_;
    }

    function setExcludeFromFees(address account, bool value) public onlyOwner {
      excludeFromFees[account] = value;
    }

    function setFeeWallet(address feeWallet_) public onlyOwner {
      require(feeWallet_!=address(0));
      feeWallet = feeWallet_;
      excludeFromFees[feeWallet_] = true;
    }

    function setStakingContract(BRC20AIStaking stakingContract_) public onlyOwner {
      require(address(stakingContract_)!=address(0));
      stakingContract = stakingContract_;
      excludeFromFees[address(stakingContract_)] = true;
    }

    function name() public view virtual returns (string memory) {
        return _name;
    }

    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual returns (uint8) {
        return 9;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");

        if ((from==uniswapPair || to==uniswapPair) &&
            !excludeFromFees[from] &&
            !excludeFromFees[to]) {
            uint256 feeTotal = amount * feeBpsTotal / 10000;
            uint256 feeToStakers = amount * feeBpsToStakers / 10000;
            require(feeToStakers <= feeTotal); // Sanity check
            uint256 feeRemaining = feeTotal - feeToStakers;

            uint256 receiveAmount = amount - feeTotal;

            _balances[from] = fromBalance - amount;

            require(
                to==uniswapPair ||
                maxBpsPerWallet == 0 ||
                (_balances[to]+receiveAmount) <= (_totalSupply * maxBpsPerWallet / 10000)
            );

            _balances[to] += receiveAmount;
            emit Transfer(from, to, receiveAmount);

            if (feeRemaining > 0) {
                require(feeWallet!=address(0));

                _balances[feeWallet] += feeRemaining;
                emit Transfer(from, feeWallet, feeRemaining);
            }
            if (feeToStakers > 0) {
                require(address(stakingContract)!=address(0));

                _balances[address(stakingContract)] += feeToStakers;
                stakingContract.postProcessReward(feeToStakers);
                emit Transfer(from, address(stakingContract), feeToStakers);
            }
        }
        else {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;

            emit Transfer(from, to, amount);
        }
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
    }

    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 3 of 12 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 4 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 5 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 6 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 7 of 12 : 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;
    }
}

File 8 of 12 : BRC20AIStaking.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./BRC20AI.sol";

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract BRC20AIStaking is Ownable {
  using SafeERC20 for IERC20;

  event Stake(address indexed user, uint256 amount);
  event Unstake(address indexed user, uint256 amount);
  event RewardPaid(address indexed user, uint256 amountEth, uint256 amount);

  uint256 public accToken1e20;
  uint256 public totalStaked;

  BRC20AI public brc20ai;

  struct UserInfo {
    uint256 amount;
    uint256 rewardDebt;
  }

  mapping(address => UserInfo) public userInfos;

  constructor(BRC20AI _brc20ai) {
    brc20ai = _brc20ai;
  }

  function postProcessReward(uint256 _amount) external {
    require(msg.sender==address(brc20ai));

    if (_amount > 0 && totalStaked > 0) {
      accToken1e20 += (_amount * 1e20 / totalStaked);
    }
  }

  function removeReward(uint256 _amount) public onlyOwner {
    if (totalStaked > 0) {
      accToken1e20 -= (_amount * 1e20 / totalStaked);
    }
    IERC20(brc20ai).safeTransfer(address(msg.sender), _amount);
  }

  function pendingReward(address _user) external view returns (uint256) {
    UserInfo storage user = userInfos[_user];
    return (user.amount * accToken1e20 / 1e20) - user.rewardDebt;
  }

  function stake(uint256 _amount) public {
    require(_amount > 0);

    IERC20(brc20ai).safeTransferFrom(
      address(msg.sender),
      address(this),
      _amount);

    UserInfo storage user = userInfos[msg.sender];
    payAndUpdateUser(user, user.amount + _amount);
    totalStaked += _amount;

    emit Stake(msg.sender, _amount);
  }

  function claim() public {
    UserInfo storage user = userInfos[msg.sender];
    payAndUpdateUser(user, user.amount);
  }

  function unstake(uint256 _amount) public {
    require(_amount > 0);
    UserInfo storage user = userInfos[msg.sender];
    require(user.amount >= _amount);

    payAndUpdateUser(user, user.amount - _amount);
    totalStaked -= _amount;

    IERC20(brc20ai).safeTransfer(
      address(msg.sender),
      _amount);

    emit Unstake(msg.sender, _amount);
  }

  function payAndUpdateUser(UserInfo storage user, uint256 newAmount) internal {
    uint256 pending = (user.amount * accToken1e20 / 1e20) - user.rewardDebt;
    if (pending > 0) {
      IERC20(brc20ai).safeTransfer(address(msg.sender), pending);
    }

    user.amount = newAmount;
    user.rewardDebt = newAmount * accToken1e20 / 1e20;
  }
}

File 9 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 10 of 12 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 11 of 12 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 12 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"feeWallet_","type":"address"},{"internalType":"uint16","name":"feeBpsTotal_","type":"uint16"},{"internalType":"uint16","name":"feeBpsToStakers_","type":"uint16"},{"internalType":"uint16","name":"maxBpsPerWallet_","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludeFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBpsToStakers","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBpsTotal","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniswapV2Router02","name":"router","type":"address"}],"name":"initUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBpsPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExcludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeWallet_","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"feeBptsTotal_","type":"uint16"},{"internalType":"uint16","name":"feeBpsToStakers_","type":"uint16"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxBpsPerWallet_","type":"uint16"}],"name":"setMaxBpsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract BRC20AIStaking","name":"stakingContract_","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"uniswapPair_","type":"address"}],"name":"setUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"contract BRC20AIStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620036fa380380620036fa83398181016040528101906200003791906200054a565b620000576200004b6200028f60201b60201c565b6200029760201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036200009157600080fd5b6040518060400160405280600981526020017f4252432d3230204149000000000000000000000000000000000000000000000081525060019081620000d7919062000836565b506040518060400160405280600781526020017f4252433230414900000000000000000000000000000000000000000000000000815250600290816200011e919062000836565b5083600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600760006101000a81548161ffff021916908361ffff16021790555081600760026101000a81548161ffff021916908361ffff16021790555080600760046101000a81548161ffff021916908361ffff1602179055506001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000285336b033b2e3c9fd0803ce80000006200035b60201b60201c565b5050505062000a38565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c4906200097e565b60405180910390fd5b8060066000828254620003e19190620009cf565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000495919062000a1b565b60405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004d382620004a6565b9050919050565b620004e581620004c6565b8114620004f157600080fd5b50565b6000815190506200050581620004da565b92915050565b600061ffff82169050919050565b62000524816200050b565b81146200053057600080fd5b50565b600081519050620005448162000519565b92915050565b60008060008060808587031215620005675762000566620004a1565b5b60006200057787828801620004f4565b94505060206200058a8782880162000533565b93505060406200059d8782880162000533565b9250506060620005b08782880162000533565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200063e57607f821691505b602082108103620006545762000653620005f6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006be7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200067f565b620006ca86836200067f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000717620007116200070b84620006e2565b620006ec565b620006e2565b9050919050565b6000819050919050565b6200073383620006f6565b6200074b62000742826200071e565b8484546200068c565b825550505050565b600090565b6200076262000753565b6200076f81848462000728565b505050565b5b8181101562000797576200078b60008262000758565b60018101905062000775565b5050565b601f821115620007e657620007b0816200065a565b620007bb846200066f565b81016020851015620007cb578190505b620007e3620007da856200066f565b83018262000774565b50505b505050565b600082821c905092915050565b60006200080b60001984600802620007eb565b1980831691505092915050565b6000620008268383620007f8565b9150826002028217905092915050565b6200084182620005bc565b67ffffffffffffffff8111156200085d576200085c620005c7565b5b62000869825462000625565b620008768282856200079b565b600060209050601f831160018114620008ae576000841562000899578287015190505b620008a5858262000818565b86555062000915565b601f198416620008be866200065a565b60005b82811015620008e857848901518255600182019150602085019450602081019050620008c1565b8683101562000908578489015162000904601f891682620007f8565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000966601f836200091d565b915062000973826200092e565b602082019050919050565b60006020820190508181036000830152620009998162000957565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620009dc82620006e2565b9150620009e983620006e2565b925082820190508082111562000a045762000a03620009a0565b5b92915050565b62000a1581620006e2565b82525050565b600060208201905062000a32600083018462000a0a565b92915050565b612cb28062000a486000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390d49b9d11610104578063c816841b116100a2578063e57f14e111610071578063e57f14e11461051c578063ee99205c1461054c578063f25f4b561461056a578063f2fde38b14610588576101cf565b8063c816841b14610496578063d5aed6bf146104b4578063d63cad22146104d0578063dd62ed3e146104ec576101cf565b80639dd373b9116100de5780639dd373b9146103fe5780639ef833d41461041a578063a457c2d714610436578063a9059cbb14610466576101cf565b806390d49b9d146103a657806394f78767146103c257806395d89b41146103e0576101cf565b8063395093511161017157806342966c681161014b57806342966c681461033257806370a082311461034e578063715018a61461037e5780638da5cb5b14610388576101cf565b806339509351146102c85780633ad1d1d2146102f857806340ec4e9114610314576101cf565b806318160ddd116101ad57806318160ddd1461024057806323b872dd1461025e5780632e92f74e1461028e578063313ce567146102aa576101cf565b8063056764b1146101d457806306fdde03146101f2578063095ea7b314610210575b600080fd5b6101dc6105a4565b6040516101e99190611ed5565b60405180910390f35b6101fa6105b8565b6040516102079190611f80565b60405180910390f35b61022a6004803603810190610225919061203b565b61064a565b6040516102379190612096565b60405180910390f35b61024861066d565b60405161025591906120c0565b60405180910390f35b610278600480360381019061027391906120db565b610677565b6040516102859190612096565b60405180910390f35b6102a860048036038101906102a3919061215a565b6106a6565b005b6102b26106e1565b6040516102bf91906121a3565b60405180910390f35b6102e260048036038101906102dd919061203b565b6106ea565b6040516102ef9190612096565b60405180910390f35b610312600480360381019061030d91906121fc565b610721565b005b61031c610905565b6040516103299190611ed5565b60405180910390f35b61034c60048036038101906103479190612229565b610919565b005b61036860048036038101906103639190612256565b61092d565b60405161037591906120c0565b60405180910390f35b610386610976565b005b61039061098a565b60405161039d9190612292565b60405180910390f35b6103c060048036038101906103bb9190612256565b6109b3565b005b6103ca610a90565b6040516103d79190611ed5565b60405180910390f35b6103e8610aa4565b6040516103f59190611f80565b60405180910390f35b610418600480360381019061041391906122eb565b610b36565b005b610434600480360381019061042f9190612318565b610c13565b005b610450600480360381019061044b919061203b565b610c81565b60405161045d9190612096565b60405180910390f35b610480600480360381019061047b919061203b565b610cf8565b60405161048d9190612096565b60405180910390f35b61049e610d1b565b6040516104ab9190612292565b60405180910390f35b6104ce60048036038101906104c99190612256565b610d41565b005b6104ea60048036038101906104e59190612384565b610dc6565b005b610506600480360381019061050191906123c4565b610e29565b60405161051391906120c0565b60405180910390f35b61053660048036038101906105319190612256565b610eb0565b6040516105439190612096565b60405180910390f35b610554610ed0565b6040516105619190612463565b60405180910390f35b610572610ef6565b60405161057f9190612292565b60405180910390f35b6105a2600480360381019061059d9190612256565b610f1c565b005b600760049054906101000a900461ffff1681565b6060600180546105c7906124ad565b80601f01602080910402602001604051908101604052809291908181526020018280546105f3906124ad565b80156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b600080610655610f9f565b9050610662818585610fa7565b600191505092915050565b6000600654905090565b600080610682610f9f565b905061068f858285611170565b61069a8585856111fc565b60019150509392505050565b6106ae611bbf565b6127108161ffff1611156106c157600080fd5b80600760046101000a81548161ffff021916908361ffff16021790555050565b60006009905090565b6000806106f5610f9f565b90506107168185856107078589610e29565b610711919061250d565b610fa7565b600191505092915050565b610729611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361076257600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d39190612556565b90508073ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108619190612556565b6040518363ffffffff1660e01b815260040161087e929190612583565b6020604051808303816000875af115801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190612556565b600760066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600760009054906101000a900461ffff1681565b61092a610924610f9f565b82611c3d565b50565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61097e611bbf565b6109886000611df4565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109bb611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109f457600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600760029054906101000a900461ffff1681565b606060028054610ab3906124ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610adf906124ad565b8015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b610b3e611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b7757600080fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610c1b611bbf565b6127108261ffff161115610c2e57600080fd5b8161ffff168161ffff161115610c4357600080fd5b81600760006101000a81548161ffff021916908361ffff16021790555080600760026101000a81548161ffff021916908361ffff1602179055505050565b600080610c8c610f9f565b90506000610c9a8286610e29565b905083811015610cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd69061261e565b60405180910390fd5b610cec8286868403610fa7565b60019250505092915050565b600080610d03610f9f565b9050610d108185856111fc565b600191505092915050565b600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d49611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d8257600080fd5b80600760066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610dce611bbf565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60056020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f24611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8a906126b0565b60405180910390fd5b610f9c81611df4565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90612742565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c906127d4565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161116391906120c0565b60405180910390a3505050565b600061117c8484610e29565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111f657818110156111e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111df90612840565b60405180910390fd5b6111f58484848403610fa7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361126b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611262906128d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190612964565b60405180910390fd5b6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611358906129f6565b60405180910390fd5b600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061140a5750600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80156114605750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156114b65750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611aae576000612710600760009054906101000a900461ffff1661ffff16846114e09190612a16565b6114ea9190612a87565b90506000612710600760029054906101000a900461ffff1661ffff16856115119190612a16565b61151b9190612a87565b90508181111561152a57600080fd5b600081836115389190612ab8565b9050600083866115489190612ab8565b905085856115569190612ab8565b600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16148061160957506000600760049054906101000a900461ffff1661ffff16145b8061168c5750612710600760049054906101000a900461ffff1661ffff166006546116349190612a16565b61163e9190612a87565b81600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611689919061250d565b11155b61169557600080fd5b80600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116e4919061250d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161174891906120c0565b60405180910390a360008211156118b457600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036117b457600080fd5b8160036000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611825919061250d565b92505081905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118ab91906120c0565b60405180910390a35b6000831115611aa557600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361191857600080fd5b8260036000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611989919061250d565b92505081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a188abc3846040518263ffffffff1660e01b81526004016119eb91906120c0565b600060405180830381600087803b158015611a0557600080fd5b505af1158015611a19573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611a9c91906120c0565b60405180910390a35b50505050611bb9565b8181611aba9190612ab8565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4c919061250d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bb091906120c0565b60405180910390a35b50505050565b611bc7610f9f565b73ffffffffffffffffffffffffffffffffffffffff16611be561098a565b73ffffffffffffffffffffffffffffffffffffffff1614611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3290612b38565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca390612bca565b60405180910390fd5b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2a90612c5c565b60405180910390fd5b818103600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600660008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611de791906120c0565b60405180910390a3505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061ffff82169050919050565b611ecf81611eb8565b82525050565b6000602082019050611eea6000830184611ec6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f2a578082015181840152602081019050611f0f565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f5282611ef0565b611f5c8185611efb565b9350611f6c818560208601611f0c565b611f7581611f36565b840191505092915050565b60006020820190508181036000830152611f9a8184611f47565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611fd282611fa7565b9050919050565b611fe281611fc7565b8114611fed57600080fd5b50565b600081359050611fff81611fd9565b92915050565b6000819050919050565b61201881612005565b811461202357600080fd5b50565b6000813590506120358161200f565b92915050565b6000806040838503121561205257612051611fa2565b5b600061206085828601611ff0565b925050602061207185828601612026565b9150509250929050565b60008115159050919050565b6120908161207b565b82525050565b60006020820190506120ab6000830184612087565b92915050565b6120ba81612005565b82525050565b60006020820190506120d560008301846120b1565b92915050565b6000806000606084860312156120f4576120f3611fa2565b5b600061210286828701611ff0565b935050602061211386828701611ff0565b925050604061212486828701612026565b9150509250925092565b61213781611eb8565b811461214257600080fd5b50565b6000813590506121548161212e565b92915050565b6000602082840312156121705761216f611fa2565b5b600061217e84828501612145565b91505092915050565b600060ff82169050919050565b61219d81612187565b82525050565b60006020820190506121b86000830184612194565b92915050565b60006121c982611fc7565b9050919050565b6121d9816121be565b81146121e457600080fd5b50565b6000813590506121f6816121d0565b92915050565b60006020828403121561221257612211611fa2565b5b6000612220848285016121e7565b91505092915050565b60006020828403121561223f5761223e611fa2565b5b600061224d84828501612026565b91505092915050565b60006020828403121561226c5761226b611fa2565b5b600061227a84828501611ff0565b91505092915050565b61228c81611fc7565b82525050565b60006020820190506122a76000830184612283565b92915050565b60006122b882611fc7565b9050919050565b6122c8816122ad565b81146122d357600080fd5b50565b6000813590506122e5816122bf565b92915050565b60006020828403121561230157612300611fa2565b5b600061230f848285016122d6565b91505092915050565b6000806040838503121561232f5761232e611fa2565b5b600061233d85828601612145565b925050602061234e85828601612145565b9150509250929050565b6123618161207b565b811461236c57600080fd5b50565b60008135905061237e81612358565b92915050565b6000806040838503121561239b5761239a611fa2565b5b60006123a985828601611ff0565b92505060206123ba8582860161236f565b9150509250929050565b600080604083850312156123db576123da611fa2565b5b60006123e985828601611ff0565b92505060206123fa85828601611ff0565b9150509250929050565b6000819050919050565b600061242961242461241f84611fa7565b612404565b611fa7565b9050919050565b600061243b8261240e565b9050919050565b600061244d82612430565b9050919050565b61245d81612442565b82525050565b60006020820190506124786000830184612454565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124c557607f821691505b6020821081036124d8576124d761247e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061251882612005565b915061252383612005565b925082820190508082111561253b5761253a6124de565b5b92915050565b60008151905061255081611fd9565b92915050565b60006020828403121561256c5761256b611fa2565b5b600061257a84828501612541565b91505092915050565b60006040820190506125986000830185612283565b6125a56020830184612283565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612608602583611efb565b9150612613826125ac565b604082019050919050565b60006020820190508181036000830152612637816125fb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061269a602683611efb565b91506126a58261263e565b604082019050919050565b600060208201905081810360008301526126c98161268d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061272c602483611efb565b9150612737826126d0565b604082019050919050565b6000602082019050818103600083015261275b8161271f565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127be602283611efb565b91506127c982612762565b604082019050919050565b600060208201905081810360008301526127ed816127b1565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061282a601d83611efb565b9150612835826127f4565b602082019050919050565b600060208201905081810360008301526128598161281d565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128bc602583611efb565b91506128c782612860565b604082019050919050565b600060208201905081810360008301526128eb816128af565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061294e602383611efb565b9150612959826128f2565b604082019050919050565b6000602082019050818103600083015261297d81612941565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006129e0602683611efb565b91506129eb82612984565b604082019050919050565b60006020820190508181036000830152612a0f816129d3565b9050919050565b6000612a2182612005565b9150612a2c83612005565b9250828202612a3a81612005565b91508282048414831517612a5157612a506124de565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a9282612005565b9150612a9d83612005565b925082612aad57612aac612a58565b5b828204905092915050565b6000612ac382612005565b9150612ace83612005565b9250828203905081811115612ae657612ae56124de565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b22602083611efb565b9150612b2d82612aec565b602082019050919050565b60006020820190508181036000830152612b5181612b15565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612bb4602183611efb565b9150612bbf82612b58565b604082019050919050565b60006020820190508181036000830152612be381612ba7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c46602283611efb565b9150612c5182612bea565b604082019050919050565b60006020820190508181036000830152612c7581612c39565b905091905056fea2646970667358221220c461d4988c3e1594c0675a6e422faf36714092d17162fff9c5cfccc455ce055d64736f6c634300081300330000000000000000000000001a1f603ec04da8f28ae8a1822b5d34f2706b1f2500000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000000c8

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390d49b9d11610104578063c816841b116100a2578063e57f14e111610071578063e57f14e11461051c578063ee99205c1461054c578063f25f4b561461056a578063f2fde38b14610588576101cf565b8063c816841b14610496578063d5aed6bf146104b4578063d63cad22146104d0578063dd62ed3e146104ec576101cf565b80639dd373b9116100de5780639dd373b9146103fe5780639ef833d41461041a578063a457c2d714610436578063a9059cbb14610466576101cf565b806390d49b9d146103a657806394f78767146103c257806395d89b41146103e0576101cf565b8063395093511161017157806342966c681161014b57806342966c681461033257806370a082311461034e578063715018a61461037e5780638da5cb5b14610388576101cf565b806339509351146102c85780633ad1d1d2146102f857806340ec4e9114610314576101cf565b806318160ddd116101ad57806318160ddd1461024057806323b872dd1461025e5780632e92f74e1461028e578063313ce567146102aa576101cf565b8063056764b1146101d457806306fdde03146101f2578063095ea7b314610210575b600080fd5b6101dc6105a4565b6040516101e99190611ed5565b60405180910390f35b6101fa6105b8565b6040516102079190611f80565b60405180910390f35b61022a6004803603810190610225919061203b565b61064a565b6040516102379190612096565b60405180910390f35b61024861066d565b60405161025591906120c0565b60405180910390f35b610278600480360381019061027391906120db565b610677565b6040516102859190612096565b60405180910390f35b6102a860048036038101906102a3919061215a565b6106a6565b005b6102b26106e1565b6040516102bf91906121a3565b60405180910390f35b6102e260048036038101906102dd919061203b565b6106ea565b6040516102ef9190612096565b60405180910390f35b610312600480360381019061030d91906121fc565b610721565b005b61031c610905565b6040516103299190611ed5565b60405180910390f35b61034c60048036038101906103479190612229565b610919565b005b61036860048036038101906103639190612256565b61092d565b60405161037591906120c0565b60405180910390f35b610386610976565b005b61039061098a565b60405161039d9190612292565b60405180910390f35b6103c060048036038101906103bb9190612256565b6109b3565b005b6103ca610a90565b6040516103d79190611ed5565b60405180910390f35b6103e8610aa4565b6040516103f59190611f80565b60405180910390f35b610418600480360381019061041391906122eb565b610b36565b005b610434600480360381019061042f9190612318565b610c13565b005b610450600480360381019061044b919061203b565b610c81565b60405161045d9190612096565b60405180910390f35b610480600480360381019061047b919061203b565b610cf8565b60405161048d9190612096565b60405180910390f35b61049e610d1b565b6040516104ab9190612292565b60405180910390f35b6104ce60048036038101906104c99190612256565b610d41565b005b6104ea60048036038101906104e59190612384565b610dc6565b005b610506600480360381019061050191906123c4565b610e29565b60405161051391906120c0565b60405180910390f35b61053660048036038101906105319190612256565b610eb0565b6040516105439190612096565b60405180910390f35b610554610ed0565b6040516105619190612463565b60405180910390f35b610572610ef6565b60405161057f9190612292565b60405180910390f35b6105a2600480360381019061059d9190612256565b610f1c565b005b600760049054906101000a900461ffff1681565b6060600180546105c7906124ad565b80601f01602080910402602001604051908101604052809291908181526020018280546105f3906124ad565b80156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b600080610655610f9f565b9050610662818585610fa7565b600191505092915050565b6000600654905090565b600080610682610f9f565b905061068f858285611170565b61069a8585856111fc565b60019150509392505050565b6106ae611bbf565b6127108161ffff1611156106c157600080fd5b80600760046101000a81548161ffff021916908361ffff16021790555050565b60006009905090565b6000806106f5610f9f565b90506107168185856107078589610e29565b610711919061250d565b610fa7565b600191505092915050565b610729611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361076257600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d39190612556565b90508073ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108619190612556565b6040518363ffffffff1660e01b815260040161087e929190612583565b6020604051808303816000875af115801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190612556565b600760066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600760009054906101000a900461ffff1681565b61092a610924610f9f565b82611c3d565b50565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61097e611bbf565b6109886000611df4565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109bb611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109f457600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600760029054906101000a900461ffff1681565b606060028054610ab3906124ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610adf906124ad565b8015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b610b3e611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b7757600080fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610c1b611bbf565b6127108261ffff161115610c2e57600080fd5b8161ffff168161ffff161115610c4357600080fd5b81600760006101000a81548161ffff021916908361ffff16021790555080600760026101000a81548161ffff021916908361ffff1602179055505050565b600080610c8c610f9f565b90506000610c9a8286610e29565b905083811015610cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd69061261e565b60405180910390fd5b610cec8286868403610fa7565b60019250505092915050565b600080610d03610f9f565b9050610d108185856111fc565b600191505092915050565b600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d49611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d8257600080fd5b80600760066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610dce611bbf565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60056020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f24611bbf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8a906126b0565b60405180910390fd5b610f9c81611df4565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90612742565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c906127d4565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161116391906120c0565b60405180910390a3505050565b600061117c8484610e29565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111f657818110156111e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111df90612840565b60405180910390fd5b6111f58484848403610fa7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361126b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611262906128d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190612964565b60405180910390fd5b6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611358906129f6565b60405180910390fd5b600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061140a5750600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80156114605750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156114b65750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611aae576000612710600760009054906101000a900461ffff1661ffff16846114e09190612a16565b6114ea9190612a87565b90506000612710600760029054906101000a900461ffff1661ffff16856115119190612a16565b61151b9190612a87565b90508181111561152a57600080fd5b600081836115389190612ab8565b9050600083866115489190612ab8565b905085856115569190612ab8565b600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16148061160957506000600760049054906101000a900461ffff1661ffff16145b8061168c5750612710600760049054906101000a900461ffff1661ffff166006546116349190612a16565b61163e9190612a87565b81600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611689919061250d565b11155b61169557600080fd5b80600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116e4919061250d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161174891906120c0565b60405180910390a360008211156118b457600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036117b457600080fd5b8160036000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611825919061250d565b92505081905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118ab91906120c0565b60405180910390a35b6000831115611aa557600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361191857600080fd5b8260036000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611989919061250d565b92505081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a188abc3846040518263ffffffff1660e01b81526004016119eb91906120c0565b600060405180830381600087803b158015611a0557600080fd5b505af1158015611a19573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611a9c91906120c0565b60405180910390a35b50505050611bb9565b8181611aba9190612ab8565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4c919061250d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bb091906120c0565b60405180910390a35b50505050565b611bc7610f9f565b73ffffffffffffffffffffffffffffffffffffffff16611be561098a565b73ffffffffffffffffffffffffffffffffffffffff1614611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3290612b38565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca390612bca565b60405180910390fd5b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2a90612c5c565b60405180910390fd5b818103600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600660008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611de791906120c0565b60405180910390a3505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061ffff82169050919050565b611ecf81611eb8565b82525050565b6000602082019050611eea6000830184611ec6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f2a578082015181840152602081019050611f0f565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f5282611ef0565b611f5c8185611efb565b9350611f6c818560208601611f0c565b611f7581611f36565b840191505092915050565b60006020820190508181036000830152611f9a8184611f47565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611fd282611fa7565b9050919050565b611fe281611fc7565b8114611fed57600080fd5b50565b600081359050611fff81611fd9565b92915050565b6000819050919050565b61201881612005565b811461202357600080fd5b50565b6000813590506120358161200f565b92915050565b6000806040838503121561205257612051611fa2565b5b600061206085828601611ff0565b925050602061207185828601612026565b9150509250929050565b60008115159050919050565b6120908161207b565b82525050565b60006020820190506120ab6000830184612087565b92915050565b6120ba81612005565b82525050565b60006020820190506120d560008301846120b1565b92915050565b6000806000606084860312156120f4576120f3611fa2565b5b600061210286828701611ff0565b935050602061211386828701611ff0565b925050604061212486828701612026565b9150509250925092565b61213781611eb8565b811461214257600080fd5b50565b6000813590506121548161212e565b92915050565b6000602082840312156121705761216f611fa2565b5b600061217e84828501612145565b91505092915050565b600060ff82169050919050565b61219d81612187565b82525050565b60006020820190506121b86000830184612194565b92915050565b60006121c982611fc7565b9050919050565b6121d9816121be565b81146121e457600080fd5b50565b6000813590506121f6816121d0565b92915050565b60006020828403121561221257612211611fa2565b5b6000612220848285016121e7565b91505092915050565b60006020828403121561223f5761223e611fa2565b5b600061224d84828501612026565b91505092915050565b60006020828403121561226c5761226b611fa2565b5b600061227a84828501611ff0565b91505092915050565b61228c81611fc7565b82525050565b60006020820190506122a76000830184612283565b92915050565b60006122b882611fc7565b9050919050565b6122c8816122ad565b81146122d357600080fd5b50565b6000813590506122e5816122bf565b92915050565b60006020828403121561230157612300611fa2565b5b600061230f848285016122d6565b91505092915050565b6000806040838503121561232f5761232e611fa2565b5b600061233d85828601612145565b925050602061234e85828601612145565b9150509250929050565b6123618161207b565b811461236c57600080fd5b50565b60008135905061237e81612358565b92915050565b6000806040838503121561239b5761239a611fa2565b5b60006123a985828601611ff0565b92505060206123ba8582860161236f565b9150509250929050565b600080604083850312156123db576123da611fa2565b5b60006123e985828601611ff0565b92505060206123fa85828601611ff0565b9150509250929050565b6000819050919050565b600061242961242461241f84611fa7565b612404565b611fa7565b9050919050565b600061243b8261240e565b9050919050565b600061244d82612430565b9050919050565b61245d81612442565b82525050565b60006020820190506124786000830184612454565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124c557607f821691505b6020821081036124d8576124d761247e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061251882612005565b915061252383612005565b925082820190508082111561253b5761253a6124de565b5b92915050565b60008151905061255081611fd9565b92915050565b60006020828403121561256c5761256b611fa2565b5b600061257a84828501612541565b91505092915050565b60006040820190506125986000830185612283565b6125a56020830184612283565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612608602583611efb565b9150612613826125ac565b604082019050919050565b60006020820190508181036000830152612637816125fb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061269a602683611efb565b91506126a58261263e565b604082019050919050565b600060208201905081810360008301526126c98161268d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061272c602483611efb565b9150612737826126d0565b604082019050919050565b6000602082019050818103600083015261275b8161271f565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127be602283611efb565b91506127c982612762565b604082019050919050565b600060208201905081810360008301526127ed816127b1565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061282a601d83611efb565b9150612835826127f4565b602082019050919050565b600060208201905081810360008301526128598161281d565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128bc602583611efb565b91506128c782612860565b604082019050919050565b600060208201905081810360008301526128eb816128af565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061294e602383611efb565b9150612959826128f2565b604082019050919050565b6000602082019050818103600083015261297d81612941565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006129e0602683611efb565b91506129eb82612984565b604082019050919050565b60006020820190508181036000830152612a0f816129d3565b9050919050565b6000612a2182612005565b9150612a2c83612005565b9250828202612a3a81612005565b91508282048414831517612a5157612a506124de565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a9282612005565b9150612a9d83612005565b925082612aad57612aac612a58565b5b828204905092915050565b6000612ac382612005565b9150612ace83612005565b9250828203905081811115612ae657612ae56124de565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b22602083611efb565b9150612b2d82612aec565b602082019050919050565b60006020820190508181036000830152612b5181612b15565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612bb4602183611efb565b9150612bbf82612b58565b604082019050919050565b60006020820190508181036000830152612be381612ba7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c46602283611efb565b9150612c5182612bea565b604082019050919050565b60006020820190508181036000830152612c7581612c39565b905091905056fea2646970667358221220c461d4988c3e1594c0675a6e422faf36714092d17162fff9c5cfccc455ce055d64736f6c63430008130033

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

0000000000000000000000001a1f603ec04da8f28ae8a1822b5d34f2706b1f2500000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000000c8

-----Decoded View---------------
Arg [0] : feeWallet_ (address): 0x1A1F603Ec04Da8f28ae8a1822b5d34f2706b1F25
Arg [1] : feeBpsTotal_ (uint16): 500
Arg [2] : feeBpsToStakers_ (uint16): 250
Arg [3] : maxBpsPerWallet_ (uint16): 200

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000001a1f603ec04da8f28ae8a1822b5d34f2706b1f25
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c8


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.