ETH Price: $3,421.51 (-0.96%)
Gas: 11 Gwei

Token

Grayscale Bitcoin Trust (GBTC)
 

Overview

Max Total Supply

10,000,000,000 GBTC

Holders

324

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
35,433,987.017873437591902095 GBTC

Value
$0.00
0x95b2695a5f2a7876177b8709a6bad7c11e891204
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:
GBTCToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : 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 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    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;
    }

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

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public 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;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    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");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

        _beforeTokenTransfer(address(0), account, amount);

        _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);

        _afterTokenTransfer(address(0), account, amount);
    }

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

        _beforeTokenTransfer(account, address(0), amount);

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

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal 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);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    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);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 3 of 10 : 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 4 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 5 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 6 of 10 : 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 7 of 10 : 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 8 of 10 : 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 9 of 10 : 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;
}

File 10 of 10 : GBTCToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";

/// @title Grayscale Bitcoin Trust Token
/// @dev Implements an ERC20 token with features for trading control and a variable tax system during the initial trading period.
/// Revenue generated from the tax is directed to the designated treasury.
contract GBTCToken is ERC20, Ownable {
    /// @notice Status of trading activity
    bool public tradingActive = false;

    /// @notice The moment when trading commenced
    uint256 private tradeStartTime;

    /// @notice Treasury's address for collecting tax
    address public treasuryWallet;

    /// @notice Address allocated for development and marketing
    address public devAndMarketingWallet;

    /// @notice WETH Token address for Uniswap trades
    address public wethTokenAddress;

    /// @notice UniswapV2 Router used for trades
    IUniswapV2Router02 public uniswapV2Router;

    /// @notice UniswapV2 Pair address for this token and WETH
    address public uniswapV2Pair;

    /// @notice Token's capped supply
    uint256 public constant MAX_TOKEN_SUPPLY = 10_000_000_000 * 10 ** 18;

    /// @notice Standard tax rate after initial trading period
    uint256 private constant STANDARD_TAX_RATE = 1;

    /// @notice Elevated tax rate for initial trading period
    uint256 private constant INITIAL_TAX_RATE = 99;

    /// @notice Addresses exempt from paying tax
    mapping(address => bool) private exemptFromTax;

    /// @notice Wallets marked as blacklisted
    mapping(address => bool) public blacklistedWallet;

    /// @dev Sets up the token distribution and the Uniswap pair
    /// @param _router Address of UniswapV2 Router
    /// @param _treasury Address for the treasury
    /// @param _devAndMarketing Address for development and marketing
    /// @param _WETH WETH Token address
    constructor(
        address _router,
        address _treasury,
        address _devAndMarketing,
        address _WETH
    ) ERC20("Grayscale Bitcoin Trust", "GBTC") {
        treasuryWallet = _treasury;
        devAndMarketingWallet = _devAndMarketing;
        wethTokenAddress = _WETH;

        // Assign 94% of total supply to the owner for liquidity provision
        uint256 ownerSupply = (MAX_TOKEN_SUPPLY * 90) / 100;
        _mint(msg.sender, ownerSupply);

        // Assign remaining 6% to marketing wallet
        uint256 marketingAllocation = MAX_TOKEN_SUPPLY - ownerSupply;
        _mint(devAndMarketingWallet, marketingAllocation);

        uniswapV2Router = IUniswapV2Router02(_router);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
            address(this),
            _WETH
        );

        exemptFromTax[owner()] = true;
        exemptFromTax[address(this)] = true;
        exemptFromTax[_router] = true;
        exemptFromTax[treasuryWallet] = true;
    }

    /// @dev Modifies _transfer to implement tax and trading rules
    /// @param from Origin address
    /// @param to Destination address
    /// @param amount Token amount to transfer
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        require(from != address(0), "Cannot send from zero address");
        if (!tradingActive) {
            require(exemptFromTax[from], "Trading is not activated");
        }

        require(!blacklistedWallet[from], "Origin wallet is blacklisted");
        require(!blacklistedWallet[to], "Destination wallet is blacklisted");

        if (exemptFromTax[from] || exemptFromTax[to]) {
            super._transfer(from, to, amount);
        } else {
            uint256 taxAmount = 0;
            uint256 appliedTaxRate = (block.timestamp <
                (tradeStartTime + 5 minutes))
                ? INITIAL_TAX_RATE
                : STANDARD_TAX_RATE;

            if (to == uniswapV2Pair || from == uniswapV2Pair) {
                // Tax applicable on buy/sell transactions
                taxAmount = (amount * appliedTaxRate) / 100;
                uint256 taxedAmount = amount - taxAmount;
                super._transfer(from, treasuryWallet, taxAmount);
                super._transfer(from, to, taxedAmount);
            } else {
                super._transfer(from, to, amount);
            }
        }
    }

    /// @dev Permit the contract owner to activate trading
    function enableTrade() external onlyOwner {
        tradingActive = true;
        tradeStartTime = block.timestamp;
    }

    /// @dev Allow the owner to update the treasury address
    /// @param _newTreasuryWallet New treasury address
    function updateTreasuryWallet(
        address _newTreasuryWallet
    ) external onlyOwner {
        treasuryWallet = _newTreasuryWallet;
    }

    /// @dev Owner can withdraw all tokens and ETH
    /// @param _destination Address to send assets
    function withdrawEverything(address _destination) external onlyOwner {
        uint256 contractTokenBalance = balanceOf(address(this));
        transfer(_destination, contractTokenBalance);

        (bool sent, ) = payable(_destination).call{
            value: address(this).balance
        }("");
        require(sent, "ETH transfer failed");
    }

    /// @dev Owner can mark a wallet as blacklisted
    /// @param _wallet Address to blacklist
    /// @param _status Blacklist status
    function blacklistWallet(address _wallet, bool _status) external onlyOwner {
        blacklistedWallet[_wallet] = _status;
    }

    /// @dev Owner can blacklist multiple wallets at once
    /// @param _wallets List of addresses
    /// @param _status Blacklist status
    function blacklistMultipleWallets(
        address[] memory _wallets,
        bool _status
    ) external onlyOwner {
        for (uint i = 0; i < _wallets.length; i++) {
            blacklistedWallet[_wallets[i]] = _status;
        }
    }

    /// @dev Enables the contract to receive ETH
    receive() external payable {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_devAndMarketing","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"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":[],"name":"MAX_TOKEN_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"address[]","name":"_wallets","type":"address[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"blacklistMultipleWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"blacklistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklistedWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"devAndMarketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrade","outputs":[],"stateMutability":"nonpayable","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":[],"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":[],"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":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"}],"name":"withdrawEverything","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000600560146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200361f3803806200361f833981810160405281019062000052919062000865565b6040518060400160405280601781526020017f477261797363616c6520426974636f696e2054727573740000000000000000008152506040518060400160405280600481526020017f47425443000000000000000000000000000000000000000000000000000000008152508160039081620000cf919062000b51565b508060049081620000e1919062000b51565b50505062000104620000f86200058c60201b60201c565b6200059460201b60201c565b82600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006064605a6b204fce5e3e25026110000000620001e6919062000c67565b620001f2919062000ce1565b90506200020633826200065a60201b60201c565b6000816b204fce5e3e2502611000000062000222919062000d19565b905062000258600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826200065a60201b60201c565b85600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000307573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032d919062000d54565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630856040518363ffffffff1660e01b81526004016200036992919062000d97565b6020604051808303816000875af115801562000389573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003af919062000d54565b600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c600062000405620007c760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050505062000eb0565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006c39062000e25565b60405180910390fd5b620006e060008383620007f160201b60201c565b8060026000828254620006f4919062000e47565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620007a7919062000e93565b60405180910390a3620007c360008383620007f660201b60201c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200082d8262000800565b9050919050565b6200083f8162000820565b81146200084b57600080fd5b50565b6000815190506200085f8162000834565b92915050565b60008060008060808587031215620008825762000881620007fb565b5b600062000892878288016200084e565b9450506020620008a5878288016200084e565b9350506040620008b8878288016200084e565b9250506060620008cb878288016200084e565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200095957607f821691505b6020821081036200096f576200096e62000911565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009d97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200099a565b620009e586836200099a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000a3262000a2c62000a2684620009fd565b62000a07565b620009fd565b9050919050565b6000819050919050565b62000a4e8362000a11565b62000a6662000a5d8262000a39565b848454620009a7565b825550505050565b600090565b62000a7d62000a6e565b62000a8a81848462000a43565b505050565b5b8181101562000ab25762000aa660008262000a73565b60018101905062000a90565b5050565b601f82111562000b015762000acb8162000975565b62000ad6846200098a565b8101602085101562000ae6578190505b62000afe62000af5856200098a565b83018262000a8f565b50505b505050565b600082821c905092915050565b600062000b266000198460080262000b06565b1980831691505092915050565b600062000b41838362000b13565b9150826002028217905092915050565b62000b5c82620008d7565b67ffffffffffffffff81111562000b785762000b77620008e2565b5b62000b84825462000940565b62000b9182828562000ab6565b600060209050601f83116001811462000bc9576000841562000bb4578287015190505b62000bc0858262000b33565b86555062000c30565b601f19841662000bd98662000975565b60005b8281101562000c035784890151825560018201915060208501945060208101905062000bdc565b8683101562000c23578489015162000c1f601f89168262000b13565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000c7482620009fd565b915062000c8183620009fd565b925082820262000c9181620009fd565b9150828204841483151762000cab5762000caa62000c38565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000cee82620009fd565b915062000cfb83620009fd565b92508262000d0e5762000d0d62000cb2565b5b828204905092915050565b600062000d2682620009fd565b915062000d3383620009fd565b925082820390508181111562000d4e5762000d4d62000c38565b5b92915050565b60006020828403121562000d6d5762000d6c620007fb565b5b600062000d7d848285016200084e565b91505092915050565b62000d918162000820565b82525050565b600060408201905062000dae600083018562000d86565b62000dbd602083018462000d86565b9392505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000e0d601f8362000dc4565b915062000e1a8262000dd5565b602082019050919050565b6000602082019050818103600083015262000e408162000dfe565b9050919050565b600062000e5482620009fd565b915062000e6183620009fd565b925082820190508082111562000e7c5762000e7b62000c38565b5b92915050565b62000e8d81620009fd565b82525050565b600060208201905062000eaa600083018462000e82565b92915050565b61275f8062000ec06000396000f3fe60806040526004361061019f5760003560e01c8063715018a6116100ec578063bbc0c7421161008a578063dd62ed3e11610064578063dd62ed3e146105d8578063e489d51014610615578063f2fde38b14610640578063f750aaa614610669576101a6565b8063bbc0c74214610559578063c74a195814610584578063c7bc06e5146105af576101a6565b8063906ed6ac116100c6578063906ed6ac1461047757806395d89b41146104b4578063a457c2d7146104df578063a9059cbb1461051c576101a6565b8063715018a61461040c578063809d458d146104235780638da5cb5b1461044c576101a6565b806318160ddd116101595780633950935111610133578063395093511461033c5780634626402b1461037957806349bd5a5e146103a457806370a08231146103cf576101a6565b806318160ddd146102a957806323b872dd146102d4578063313ce56714610311576101a6565b806299d386146101ab57806306fdde03146101c2578063095ea7b3146101ed5780630f9dad711461022a578063129476ab146102555780631694505e1461027e576101a6565b366101a657005b600080fd5b3480156101b757600080fd5b506101c0610692565b005b3480156101ce57600080fd5b506101d76106be565b6040516101e491906118a6565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f9190611970565b610750565b60405161022191906119cb565b60405180910390f35b34801561023657600080fd5b5061023f610773565b60405161024c91906119f5565b60405180910390f35b34801561026157600080fd5b5061027c60048036038101906102779190611a3c565b610799565b005b34801561028a57600080fd5b506102936107fc565b6040516102a09190611adb565b60405180910390f35b3480156102b557600080fd5b506102be610822565b6040516102cb9190611b05565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190611b20565b61082c565b60405161030891906119cb565b60405180910390f35b34801561031d57600080fd5b5061032661085b565b6040516103339190611b8f565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190611970565b610864565b60405161037091906119cb565b60405180910390f35b34801561038557600080fd5b5061038e61089b565b60405161039b91906119f5565b60405180910390f35b3480156103b057600080fd5b506103b96108c1565b6040516103c691906119f5565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190611baa565b6108e7565b6040516104039190611b05565b60405180910390f35b34801561041857600080fd5b5061042161092f565b005b34801561042f57600080fd5b5061044a60048036038101906104459190611baa565b610943565b005b34801561045857600080fd5b5061046161098f565b60405161046e91906119f5565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190611baa565b6109b9565b6040516104ab91906119cb565b60405180910390f35b3480156104c057600080fd5b506104c96109d9565b6040516104d691906118a6565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190611970565b610a6b565b60405161051391906119cb565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e9190611970565b610ae2565b60405161055091906119cb565b60405180910390f35b34801561056557600080fd5b5061056e610b05565b60405161057b91906119cb565b60405180910390f35b34801561059057600080fd5b50610599610b18565b6040516105a691906119f5565b60405180910390f35b3480156105bb57600080fd5b506105d660048036038101906105d19190611d1f565b610b3e565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190611d7b565b610bdb565b60405161060c9190611b05565b60405180910390f35b34801561062157600080fd5b5061062a610c62565b6040516106379190611b05565b60405180910390f35b34801561064c57600080fd5b5061066760048036038101906106629190611baa565b610c72565b005b34801561067557600080fd5b50610690600480360381019061068b9190611baa565b610cf5565b005b61069a610dc6565b6001600560146101000a81548160ff02191690831515021790555042600681905550565b6060600380546106cd90611dea565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990611dea565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b60008061075b610e44565b9050610768818585610e4c565b600191505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107a1610dc6565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b600080610837610e44565b9050610844858285611015565b61084f8585856110a1565b60019150509392505050565b60006012905090565b60008061086f610e44565b90506108908185856108818589610bdb565b61088b9190611e4a565b610e4c565b600191505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610937610dc6565b61094160006114d0565b565b61094b610dc6565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b6060600480546109e890611dea565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1490611dea565b8015610a615780601f10610a3657610100808354040283529160200191610a61565b820191906000526020600020905b815481529060010190602001808311610a4457829003601f168201915b5050505050905090565b600080610a76610e44565b90506000610a848286610bdb565b905083811015610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090611ef0565b60405180910390fd5b610ad68286868403610e4c565b60019250505092915050565b600080610aed610e44565b9050610afa8185856110a1565b600191505092915050565b600560149054906101000a900460ff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b46610dc6565b60005b8251811015610bd65781600d6000858481518110610b6a57610b69611f10565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610bce90611f3f565b915050610b49565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6b204fce5e3e2502611000000081565b610c7a610dc6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce090611ff9565b60405180910390fd5b610cf2816114d0565b50565b610cfd610dc6565b6000610d08306108e7565b9050610d148282610ae2565b5060008273ffffffffffffffffffffffffffffffffffffffff1647604051610d3b9061204a565b60006040518083038185875af1925050503d8060008114610d78576040519150601f19603f3d011682016040523d82523d6000602084013e610d7d565b606091505b5050905080610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db8906120ab565b60405180910390fd5b505050565b610dce610e44565b73ffffffffffffffffffffffffffffffffffffffff16610dec61098f565b73ffffffffffffffffffffffffffffffffffffffff1614610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990612117565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb2906121a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f219061223b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110089190611b05565b60405180910390a3505050565b60006110218484610bdb565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461109b578181101561108d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611084906122a7565b60405180910390fd5b61109a8484848403610e4c565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790612313565b60405180910390fd5b600560149054906101000a900460ff166111b157600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a79061237f565b60405180910390fd5b5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561123e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611235906123eb565b60405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c29061247d565b60405180910390fd5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061136c5750600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156113815761137c838383611596565b6114cb565b60008061012c6006546113949190611e4a565b42106113a15760016113a4565b60635b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061144f5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b156114bc5760648184611462919061249d565b61146c919061250e565b91506000828461147c919061253f565b90506114ab86600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611596565b6114b6868683611596565b506114c8565b6114c7858585611596565b5b50505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fc906125e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90612677565b60405180910390fd5b61167f83838361180c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90612709565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117f39190611b05565b60405180910390a3611806848484611811565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611850578082015181840152602081019050611835565b60008484015250505050565b6000601f19601f8301169050919050565b600061187882611816565b6118828185611821565b9350611892818560208601611832565b61189b8161185c565b840191505092915050565b600060208201905081810360008301526118c0818461186d565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611907826118dc565b9050919050565b611917816118fc565b811461192257600080fd5b50565b6000813590506119348161190e565b92915050565b6000819050919050565b61194d8161193a565b811461195857600080fd5b50565b60008135905061196a81611944565b92915050565b60008060408385031215611987576119866118d2565b5b600061199585828601611925565b92505060206119a68582860161195b565b9150509250929050565b60008115159050919050565b6119c5816119b0565b82525050565b60006020820190506119e060008301846119bc565b92915050565b6119ef816118fc565b82525050565b6000602082019050611a0a60008301846119e6565b92915050565b611a19816119b0565b8114611a2457600080fd5b50565b600081359050611a3681611a10565b92915050565b60008060408385031215611a5357611a526118d2565b5b6000611a6185828601611925565b9250506020611a7285828601611a27565b9150509250929050565b6000819050919050565b6000611aa1611a9c611a97846118dc565b611a7c565b6118dc565b9050919050565b6000611ab382611a86565b9050919050565b6000611ac582611aa8565b9050919050565b611ad581611aba565b82525050565b6000602082019050611af06000830184611acc565b92915050565b611aff8161193a565b82525050565b6000602082019050611b1a6000830184611af6565b92915050565b600080600060608486031215611b3957611b386118d2565b5b6000611b4786828701611925565b9350506020611b5886828701611925565b9250506040611b698682870161195b565b9150509250925092565b600060ff82169050919050565b611b8981611b73565b82525050565b6000602082019050611ba46000830184611b80565b92915050565b600060208284031215611bc057611bbf6118d2565b5b6000611bce84828501611925565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611c148261185c565b810181811067ffffffffffffffff82111715611c3357611c32611bdc565b5b80604052505050565b6000611c466118c8565b9050611c528282611c0b565b919050565b600067ffffffffffffffff821115611c7257611c71611bdc565b5b602082029050602081019050919050565b600080fd5b6000611c9b611c9684611c57565b611c3c565b90508083825260208201905060208402830185811115611cbe57611cbd611c83565b5b835b81811015611ce75780611cd38882611925565b845260208401935050602081019050611cc0565b5050509392505050565b600082601f830112611d0657611d05611bd7565b5b8135611d16848260208601611c88565b91505092915050565b60008060408385031215611d3657611d356118d2565b5b600083013567ffffffffffffffff811115611d5457611d536118d7565b5b611d6085828601611cf1565b9250506020611d7185828601611a27565b9150509250929050565b60008060408385031215611d9257611d916118d2565b5b6000611da085828601611925565b9250506020611db185828601611925565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e0257607f821691505b602082108103611e1557611e14611dbb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e558261193a565b9150611e608361193a565b9250828201905080821115611e7857611e77611e1b565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611eda602583611821565b9150611ee582611e7e565b604082019050919050565b60006020820190508181036000830152611f0981611ecd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611f4a8261193a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f7c57611f7b611e1b565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611fe3602683611821565b9150611fee82611f87565b604082019050919050565b6000602082019050818103600083015261201281611fd6565b9050919050565b600081905092915050565b50565b6000612034600083612019565b915061203f82612024565b600082019050919050565b600061205582612027565b9150819050919050565b7f455448207472616e73666572206661696c656400000000000000000000000000600082015250565b6000612095601383611821565b91506120a08261205f565b602082019050919050565b600060208201905081810360008301526120c481612088565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612101602083611821565b915061210c826120cb565b602082019050919050565b60006020820190508181036000830152612130816120f4565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612193602483611821565b915061219e82612137565b604082019050919050565b600060208201905081810360008301526121c281612186565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612225602283611821565b9150612230826121c9565b604082019050919050565b6000602082019050818103600083015261225481612218565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612291601d83611821565b915061229c8261225b565b602082019050919050565b600060208201905081810360008301526122c081612284565b9050919050565b7f43616e6e6f742073656e642066726f6d207a65726f2061646472657373000000600082015250565b60006122fd601d83611821565b9150612308826122c7565b602082019050919050565b6000602082019050818103600083015261232c816122f0565b9050919050565b7f54726164696e67206973206e6f74206163746976617465640000000000000000600082015250565b6000612369601883611821565b915061237482612333565b602082019050919050565b600060208201905081810360008301526123988161235c565b9050919050565b7f4f726967696e2077616c6c657420697320626c61636b6c697374656400000000600082015250565b60006123d5601c83611821565b91506123e08261239f565b602082019050919050565b60006020820190508181036000830152612404816123c8565b9050919050565b7f44657374696e6174696f6e2077616c6c657420697320626c61636b6c6973746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000612467602183611821565b91506124728261240b565b604082019050919050565b600060208201905081810360008301526124968161245a565b9050919050565b60006124a88261193a565b91506124b38361193a565b92508282026124c18161193a565b915082820484148315176124d8576124d7611e1b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006125198261193a565b91506125248361193a565b925082612534576125336124df565b5b828204905092915050565b600061254a8261193a565b91506125558361193a565b925082820390508181111561256d5761256c611e1b565b5b92915050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006125cf602583611821565b91506125da82612573565b604082019050919050565b600060208201905081810360008301526125fe816125c2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612661602383611821565b915061266c82612605565b604082019050919050565b6000602082019050818103600083015261269081612654565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006126f3602683611821565b91506126fe82612697565b604082019050919050565b60006020820190508181036000830152612722816126e6565b905091905056fea2646970667358221220ddfbfa19533fb85a763528a226dd9cfb9e1e003498c762fecba7ef4665e1a1a464736f6c634300081400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c4ee872142de2203ba5d583748ca9203d14bb8da000000000000000000000000c4ee872142de2203ba5d583748ca9203d14bb8da000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x60806040526004361061019f5760003560e01c8063715018a6116100ec578063bbc0c7421161008a578063dd62ed3e11610064578063dd62ed3e146105d8578063e489d51014610615578063f2fde38b14610640578063f750aaa614610669576101a6565b8063bbc0c74214610559578063c74a195814610584578063c7bc06e5146105af576101a6565b8063906ed6ac116100c6578063906ed6ac1461047757806395d89b41146104b4578063a457c2d7146104df578063a9059cbb1461051c576101a6565b8063715018a61461040c578063809d458d146104235780638da5cb5b1461044c576101a6565b806318160ddd116101595780633950935111610133578063395093511461033c5780634626402b1461037957806349bd5a5e146103a457806370a08231146103cf576101a6565b806318160ddd146102a957806323b872dd146102d4578063313ce56714610311576101a6565b806299d386146101ab57806306fdde03146101c2578063095ea7b3146101ed5780630f9dad711461022a578063129476ab146102555780631694505e1461027e576101a6565b366101a657005b600080fd5b3480156101b757600080fd5b506101c0610692565b005b3480156101ce57600080fd5b506101d76106be565b6040516101e491906118a6565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f9190611970565b610750565b60405161022191906119cb565b60405180910390f35b34801561023657600080fd5b5061023f610773565b60405161024c91906119f5565b60405180910390f35b34801561026157600080fd5b5061027c60048036038101906102779190611a3c565b610799565b005b34801561028a57600080fd5b506102936107fc565b6040516102a09190611adb565b60405180910390f35b3480156102b557600080fd5b506102be610822565b6040516102cb9190611b05565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190611b20565b61082c565b60405161030891906119cb565b60405180910390f35b34801561031d57600080fd5b5061032661085b565b6040516103339190611b8f565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190611970565b610864565b60405161037091906119cb565b60405180910390f35b34801561038557600080fd5b5061038e61089b565b60405161039b91906119f5565b60405180910390f35b3480156103b057600080fd5b506103b96108c1565b6040516103c691906119f5565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190611baa565b6108e7565b6040516104039190611b05565b60405180910390f35b34801561041857600080fd5b5061042161092f565b005b34801561042f57600080fd5b5061044a60048036038101906104459190611baa565b610943565b005b34801561045857600080fd5b5061046161098f565b60405161046e91906119f5565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190611baa565b6109b9565b6040516104ab91906119cb565b60405180910390f35b3480156104c057600080fd5b506104c96109d9565b6040516104d691906118a6565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190611970565b610a6b565b60405161051391906119cb565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e9190611970565b610ae2565b60405161055091906119cb565b60405180910390f35b34801561056557600080fd5b5061056e610b05565b60405161057b91906119cb565b60405180910390f35b34801561059057600080fd5b50610599610b18565b6040516105a691906119f5565b60405180910390f35b3480156105bb57600080fd5b506105d660048036038101906105d19190611d1f565b610b3e565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190611d7b565b610bdb565b60405161060c9190611b05565b60405180910390f35b34801561062157600080fd5b5061062a610c62565b6040516106379190611b05565b60405180910390f35b34801561064c57600080fd5b5061066760048036038101906106629190611baa565b610c72565b005b34801561067557600080fd5b50610690600480360381019061068b9190611baa565b610cf5565b005b61069a610dc6565b6001600560146101000a81548160ff02191690831515021790555042600681905550565b6060600380546106cd90611dea565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990611dea565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b60008061075b610e44565b9050610768818585610e4c565b600191505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107a1610dc6565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b600080610837610e44565b9050610844858285611015565b61084f8585856110a1565b60019150509392505050565b60006012905090565b60008061086f610e44565b90506108908185856108818589610bdb565b61088b9190611e4a565b610e4c565b600191505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610937610dc6565b61094160006114d0565b565b61094b610dc6565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b6060600480546109e890611dea565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1490611dea565b8015610a615780601f10610a3657610100808354040283529160200191610a61565b820191906000526020600020905b815481529060010190602001808311610a4457829003601f168201915b5050505050905090565b600080610a76610e44565b90506000610a848286610bdb565b905083811015610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090611ef0565b60405180910390fd5b610ad68286868403610e4c565b60019250505092915050565b600080610aed610e44565b9050610afa8185856110a1565b600191505092915050565b600560149054906101000a900460ff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b46610dc6565b60005b8251811015610bd65781600d6000858481518110610b6a57610b69611f10565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610bce90611f3f565b915050610b49565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6b204fce5e3e2502611000000081565b610c7a610dc6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce090611ff9565b60405180910390fd5b610cf2816114d0565b50565b610cfd610dc6565b6000610d08306108e7565b9050610d148282610ae2565b5060008273ffffffffffffffffffffffffffffffffffffffff1647604051610d3b9061204a565b60006040518083038185875af1925050503d8060008114610d78576040519150601f19603f3d011682016040523d82523d6000602084013e610d7d565b606091505b5050905080610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db8906120ab565b60405180910390fd5b505050565b610dce610e44565b73ffffffffffffffffffffffffffffffffffffffff16610dec61098f565b73ffffffffffffffffffffffffffffffffffffffff1614610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990612117565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb2906121a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f219061223b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110089190611b05565b60405180910390a3505050565b60006110218484610bdb565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461109b578181101561108d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611084906122a7565b60405180910390fd5b61109a8484848403610e4c565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790612313565b60405180910390fd5b600560149054906101000a900460ff166111b157600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a79061237f565b60405180910390fd5b5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561123e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611235906123eb565b60405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c29061247d565b60405180910390fd5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061136c5750600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156113815761137c838383611596565b6114cb565b60008061012c6006546113949190611e4a565b42106113a15760016113a4565b60635b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061144f5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b156114bc5760648184611462919061249d565b61146c919061250e565b91506000828461147c919061253f565b90506114ab86600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611596565b6114b6868683611596565b506114c8565b6114c7858585611596565b5b50505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fc906125e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90612677565b60405180910390fd5b61167f83838361180c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90612709565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117f39190611b05565b60405180910390a3611806848484611811565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611850578082015181840152602081019050611835565b60008484015250505050565b6000601f19601f8301169050919050565b600061187882611816565b6118828185611821565b9350611892818560208601611832565b61189b8161185c565b840191505092915050565b600060208201905081810360008301526118c0818461186d565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611907826118dc565b9050919050565b611917816118fc565b811461192257600080fd5b50565b6000813590506119348161190e565b92915050565b6000819050919050565b61194d8161193a565b811461195857600080fd5b50565b60008135905061196a81611944565b92915050565b60008060408385031215611987576119866118d2565b5b600061199585828601611925565b92505060206119a68582860161195b565b9150509250929050565b60008115159050919050565b6119c5816119b0565b82525050565b60006020820190506119e060008301846119bc565b92915050565b6119ef816118fc565b82525050565b6000602082019050611a0a60008301846119e6565b92915050565b611a19816119b0565b8114611a2457600080fd5b50565b600081359050611a3681611a10565b92915050565b60008060408385031215611a5357611a526118d2565b5b6000611a6185828601611925565b9250506020611a7285828601611a27565b9150509250929050565b6000819050919050565b6000611aa1611a9c611a97846118dc565b611a7c565b6118dc565b9050919050565b6000611ab382611a86565b9050919050565b6000611ac582611aa8565b9050919050565b611ad581611aba565b82525050565b6000602082019050611af06000830184611acc565b92915050565b611aff8161193a565b82525050565b6000602082019050611b1a6000830184611af6565b92915050565b600080600060608486031215611b3957611b386118d2565b5b6000611b4786828701611925565b9350506020611b5886828701611925565b9250506040611b698682870161195b565b9150509250925092565b600060ff82169050919050565b611b8981611b73565b82525050565b6000602082019050611ba46000830184611b80565b92915050565b600060208284031215611bc057611bbf6118d2565b5b6000611bce84828501611925565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611c148261185c565b810181811067ffffffffffffffff82111715611c3357611c32611bdc565b5b80604052505050565b6000611c466118c8565b9050611c528282611c0b565b919050565b600067ffffffffffffffff821115611c7257611c71611bdc565b5b602082029050602081019050919050565b600080fd5b6000611c9b611c9684611c57565b611c3c565b90508083825260208201905060208402830185811115611cbe57611cbd611c83565b5b835b81811015611ce75780611cd38882611925565b845260208401935050602081019050611cc0565b5050509392505050565b600082601f830112611d0657611d05611bd7565b5b8135611d16848260208601611c88565b91505092915050565b60008060408385031215611d3657611d356118d2565b5b600083013567ffffffffffffffff811115611d5457611d536118d7565b5b611d6085828601611cf1565b9250506020611d7185828601611a27565b9150509250929050565b60008060408385031215611d9257611d916118d2565b5b6000611da085828601611925565b9250506020611db185828601611925565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e0257607f821691505b602082108103611e1557611e14611dbb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e558261193a565b9150611e608361193a565b9250828201905080821115611e7857611e77611e1b565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611eda602583611821565b9150611ee582611e7e565b604082019050919050565b60006020820190508181036000830152611f0981611ecd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611f4a8261193a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f7c57611f7b611e1b565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611fe3602683611821565b9150611fee82611f87565b604082019050919050565b6000602082019050818103600083015261201281611fd6565b9050919050565b600081905092915050565b50565b6000612034600083612019565b915061203f82612024565b600082019050919050565b600061205582612027565b9150819050919050565b7f455448207472616e73666572206661696c656400000000000000000000000000600082015250565b6000612095601383611821565b91506120a08261205f565b602082019050919050565b600060208201905081810360008301526120c481612088565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612101602083611821565b915061210c826120cb565b602082019050919050565b60006020820190508181036000830152612130816120f4565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612193602483611821565b915061219e82612137565b604082019050919050565b600060208201905081810360008301526121c281612186565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612225602283611821565b9150612230826121c9565b604082019050919050565b6000602082019050818103600083015261225481612218565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612291601d83611821565b915061229c8261225b565b602082019050919050565b600060208201905081810360008301526122c081612284565b9050919050565b7f43616e6e6f742073656e642066726f6d207a65726f2061646472657373000000600082015250565b60006122fd601d83611821565b9150612308826122c7565b602082019050919050565b6000602082019050818103600083015261232c816122f0565b9050919050565b7f54726164696e67206973206e6f74206163746976617465640000000000000000600082015250565b6000612369601883611821565b915061237482612333565b602082019050919050565b600060208201905081810360008301526123988161235c565b9050919050565b7f4f726967696e2077616c6c657420697320626c61636b6c697374656400000000600082015250565b60006123d5601c83611821565b91506123e08261239f565b602082019050919050565b60006020820190508181036000830152612404816123c8565b9050919050565b7f44657374696e6174696f6e2077616c6c657420697320626c61636b6c6973746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000612467602183611821565b91506124728261240b565b604082019050919050565b600060208201905081810360008301526124968161245a565b9050919050565b60006124a88261193a565b91506124b38361193a565b92508282026124c18161193a565b915082820484148315176124d8576124d7611e1b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006125198261193a565b91506125248361193a565b925082612534576125336124df565b5b828204905092915050565b600061254a8261193a565b91506125558361193a565b925082820390508181111561256d5761256c611e1b565b5b92915050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006125cf602583611821565b91506125da82612573565b604082019050919050565b600060208201905081810360008301526125fe816125c2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612661602383611821565b915061266c82612605565b604082019050919050565b6000602082019050818103600083015261269081612654565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006126f3602683611821565b91506126fe82612697565b604082019050919050565b60006020820190508181036000830152612722816126e6565b905091905056fea2646970667358221220ddfbfa19533fb85a763528a226dd9cfb9e1e003498c762fecba7ef4665e1a1a464736f6c63430008140033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c4ee872142de2203ba5d583748ca9203d14bb8da000000000000000000000000c4ee872142de2203ba5d583748ca9203d14bb8da000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _treasury (address): 0xc4Ee872142dE2203BA5d583748cA9203D14BB8DA
Arg [2] : _devAndMarketing (address): 0xc4Ee872142dE2203BA5d583748cA9203D14BB8DA
Arg [3] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000c4ee872142de2203ba5d583748ca9203d14bb8da
Arg [2] : 000000000000000000000000c4ee872142de2203ba5d583748ca9203d14bb8da
Arg [3] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


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.