ETH Price: $2,809.94 (+2.54%)
 
Transaction Hash
Method
Block
From
To
Withdraw216981682025-01-25 1:13:2312 days ago1737767603IN
BitBTC Protocol: BitBTC Token
0 ETH0.000535715.69155469
Deposit216981572025-01-25 1:11:1112 days ago1737767471IN
BitBTC Protocol: BitBTC Token
0 ETH0.000581086.39312837
Withdraw216981262025-01-25 1:04:5912 days ago1737767099IN
BitBTC Protocol: BitBTC Token
0 ETH0.000626766.65885571
Deposit216981162025-01-25 1:02:5912 days ago1737766979IN
BitBTC Protocol: BitBTC Token
0 ETH0.000617766.79669136
Withdraw216980902025-01-25 0:57:4712 days ago1737766667IN
BitBTC Protocol: BitBTC Token
0 ETH0.000720387.65348181
Deposit216980812025-01-25 0:55:5912 days ago1737766559IN
BitBTC Protocol: BitBTC Token
0 ETH0.000664567.31159779
Withdraw216975052025-01-24 22:59:4712 days ago1737759587IN
BitBTC Protocol: BitBTC Token
0 ETH0.000706467.50561086
Deposit216974942025-01-24 22:57:3512 days ago1737759455IN
BitBTC Protocol: BitBTC Token
0 ETH0.000697567.67461411
Withdraw216974702025-01-24 22:52:4712 days ago1737759167IN
BitBTC Protocol: BitBTC Token
0 ETH0.000760338.07797007
Deposit216974052025-01-24 22:39:3512 days ago1737758375IN
BitBTC Protocol: BitBTC Token
0 ETH0.000865468.01416029
Approve158840022022-11-02 18:03:35826 days ago1667412215IN
BitBTC Protocol: BitBTC Token
0 ETH0.0021269445.85615196
Withdraw158839742022-11-02 17:57:59826 days ago1667411879IN
BitBTC Protocol: BitBTC Token
0 ETH0.0017473921.17132453
Withdraw158839712022-11-02 17:57:23826 days ago1667411843IN
BitBTC Protocol: BitBTC Token
0 ETH0.0006049620.0081755
Withdraw158839642022-11-02 17:55:59826 days ago1667411759IN
BitBTC Protocol: BitBTC Token
0 ETH0.0004025816.53479268
Withdraw158839612022-11-02 17:55:23826 days ago1667411723IN
BitBTC Protocol: BitBTC Token
0 ETH0.0004178917.12121456
Approve155065602022-09-10 3:34:41879 days ago1662780881IN
BitBTC Protocol: BitBTC Token
0 ETH0.0005458211.71029858
Transfer152344032022-07-29 1:13:08923 days ago1659057188IN
BitBTC Protocol: BitBTC Token
0 ETH0.0003394412.6
Transfer152336222022-07-28 22:20:50923 days ago1659046850IN
BitBTC Protocol: BitBTC Token
0 ETH0.0005078118.85
Approve151129012022-07-10 5:06:47941 days ago1657429607IN
BitBTC Protocol: BitBTC Token
0 ETH0.0006082713.05
Approve139310032022-01-03 6:47:551129 days ago1641192475IN
BitBTC Protocol: BitBTC Token
0 ETH0.00470771101
Transfer139305042022-01-03 4:57:151129 days ago1641185835IN
BitBTC Protocol: BitBTC Token
0 ETH0.0035589276
Approve139040262021-12-30 2:24:121134 days ago1640831052IN
BitBTC Protocol: BitBTC Token
0 ETH0.0044018395.04941969
Approve137405582021-12-04 15:25:111159 days ago1638631511IN
BitBTC Protocol: BitBTC Token
0 ETH0.00623259133.71516269
Approve137316942021-12-03 5:11:391160 days ago1638508299IN
BitBTC Protocol: BitBTC Token
0 ETH0.0037619281.18977934
Approve137097902021-11-29 17:07:521164 days ago1638205672IN
BitBTC Protocol: BitBTC Token
0 ETH0.00517539111.0337631
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BitBTC

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-09
*/

pragma solidity ^0.8.0;

// SPDX-License-Identifier: MIT





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

/**
 * @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() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}



/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

/**
 * @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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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;
        _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;
        }
        _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 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 {}
}





/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

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

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    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");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @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");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}



interface ISwap {
    event Deposit(address indexed token, address account, uint256 amount);
    event Withdraw(address indexed token, address account, uint256 amount);

    function deposit(address token, uint256 amount) external;
    function withdraw(address token, uint256 amount) external;
}


interface IBridgeableToken {
  function gateway() external view returns (address);
  function bridgeMint(address account, uint256 amount) external;
  function bridgeBurn(address account, uint256 amount) external;
}

contract BitBTC is Ownable, ERC20, ISwap, IBridgeableToken {
  using SafeERC20 for IERC20;

  enum FeeType {
    Deposit,
    Withdraw
  }

  struct LegalToken {
    address token;
    uint256 ratio;
  }

  uint256 private constant FEE = 5;
  uint256 private constant BASE_RATIO = 1e4;

  bool private _depositFeeOn;
  address private _fund;
  address private _governance;

  LegalToken[] private _legalTokens;
  mapping(address => uint256) private _legalTokenIndexes;

  address private _gateway;

  event SatoshiNakamotoNFT(string message);
  event ChangeFund(address fund, address governance);
  event DepositFeeOn(address governance);
  event AddLegalToken(address token, uint256 ratio, address governance);

  modifier onlyBridge() virtual {
    require(_msgSender() == _gateway, "BitBTC: only bridge");
    _;
  }

  modifier onlyGovernance() {
    require(_msgSender() == _governance, "BitBTC: not governance");
    _;
  }

  modifier onlyLegalToken(address token) {
    require(_isLegalToken(token), "BitBTC: not legal token");
    _;
  }

  constructor() ERC20("BitBTC", "BitBTC") {
    _governance = _msgSender();
    _mint(0x000000000000000000000000000000000000dEaD, 1e30);

    emit SatoshiNakamotoNFT("Thank you for creating BTC for all mankind, Satoshi Nakamoto.");
  }

  function gateway() external override view returns (address) {
    return _gateway;
  }

  function fee() external pure returns (uint256) {
    return FEE;
  }

  function depositFeeOn() external view returns (bool) {
    return _depositFeeOn;
  }

  function fund() external view returns (address) {
    return _fund;
  }

  function governance() external view returns (address) {
    return _governance;
  }

  function setGateway(address gateway_) external onlyOwner {
    _gateway = gateway_;
  }

  function setFund(address fund_) external onlyOwner {
    require(fund_ != address(0), "BitBTC: invalid fund");

    _fund = fund_;
    emit ChangeFund(_fund, _msgSender());
  }

  function setDepositFeeOn() external onlyOwner {
    require(!_depositFeeOn, "BitBTC: deposit fee already on");

    _depositFeeOn = true;

    emit DepositFeeOn(_msgSender());
  }

  function setGovernance(address governance_) external onlyGovernance {
    _governance = governance_;
  }

  function deposit(address token, uint256 value) external virtual override onlyLegalToken(token) {
    address sender = _msgSender();
    uint256 fee_ = _calcFee(value, FeeType.Deposit);
    uint256 actualValue = value - fee_;

    IERC20(token).safeTransferFrom(sender, address(this), actualValue);
    if(fee_ > 0) {
      IERC20(token).safeTransferFrom(sender, _fund, fee_);
    }

    _mint(sender, actualValue * _getRatio(token));

    emit Deposit(token, sender, value);
  }

  function withdraw(address token, uint256 value) external virtual override onlyLegalToken(token) {
    require(IERC20(token).balanceOf(address(this)) >= value, "BitBTC: legal token insufficient balance");

    address sender = _msgSender();
    uint256 fee_ = _calcFee(value, FeeType.Withdraw);
    uint256 actualValue = value - fee_;

    IERC20(token).safeTransfer(sender, actualValue);
    IERC20(token).safeTransfer(_fund, fee_);

    _burn(sender, value * _getRatio(token));

    emit Withdraw(token, sender, value);
  }

  function addLegalToken(address token) external virtual onlyGovernance {
    require(token != address(0), "BitBTC: token invalid");
    require(!_isLegalToken(token), "BitBTC: already exist");

    uint8 decimals = IERC20Metadata(token).decimals();
    require(decimals > 0, "BitBTC: decimals invalid");

    uint256 ratio = _calcRatio(decimals);

    _legalTokens.push(LegalToken(token, ratio));
    _legalTokenIndexes[token] = _legalTokens.length;

    emit AddLegalToken(token, ratio, _msgSender());
  }

  function bridgeMint(address account, uint256 amount) external override onlyBridge {
    _mint(account, amount);
  }

  function bridgeBurn(address account, uint256 amount) external override onlyBridge {
    _burn(account, amount);
  }

  function isLegalToken(address token) external virtual view returns (bool) {
    return _isLegalToken(token);
  }

  function legalTokens() external virtual view returns (LegalToken[] memory) {
    return _legalTokens;
  }

  function _calcFee(uint256 value, FeeType feeType) internal virtual view returns (uint256) {
    return (feeType == FeeType.Deposit && !_depositFeeOn) ? 0 : value * FEE / BASE_RATIO;
  }

  function _calcRatio(uint8 decimals_) internal virtual view returns (uint256) {
    return 10 ** (decimals() + 6 - decimals_);
  }

  function _isLegalToken(address token) internal virtual view returns (bool) {
    return _legalTokenIndexes[token] > 0;
  }

  function _getRatio(address token) internal virtual view returns (uint256) {
    return _legalTokens[_legalTokenIndexes[token] - 1].ratio;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"ratio","type":"uint256"},{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"AddLegalToken","type":"event"},{"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":false,"internalType":"address","name":"fund","type":"address"},{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"ChangeFund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"DepositFeeOn","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":false,"internalType":"string","name":"message","type":"string"}],"name":"SatoshiNakamotoNFT","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"addLegalToken","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeMint","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":"token","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFeeOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"fund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gateway","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","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":"address","name":"token","type":"address"}],"name":"isLegalToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legalTokens","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"ratio","type":"uint256"}],"internalType":"struct BitBTC.LegalToken[]","name":"","type":"tuple[]"}],"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":[],"name":"setDepositFeeOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fund_","type":"address"}],"name":"setFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"gateway_","type":"address"}],"name":"setGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"governance_","type":"address"}],"name":"setGovernance","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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600681526020016542697442544360d01b8152506040518060400160405280600681526020016542697442544360d01b8152506200006a620000646200017060201b60201c565b62000174565b81516200007f906004906020850190620002ac565b50805162000095906005906020840190620002ac565b50620000a19150503390565b600780546001600160a01b0319166001600160a01b0392909216919091179055620000dc61dead6c0c9f2c9cd04674edea40000000620001c4565b7f9ab4821fb9be75a29c908b302633b0cdae9950dfbc28c2a7a0453dec317abfe560405162000162906020808252603d908201527f5468616e6b20796f7520666f72206372656174696e672042544320666f72206160408201527f6c6c206d616e6b696e642c205361746f736869204e616b616d6f746f2e000000606082015260800190565b60405180910390a1620003b4565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200021f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806003600082825462000233919062000352565b90915550506001600160a01b038216600090815260016020526040812080548392906200026290849062000352565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002ba9062000377565b90600052602060002090601f016020900481019282620002de576000855562000329565b82601f10620002f957805160ff191683800117855562000329565b8280016001018555821562000329579182015b82811115620003295782518255916020019190600101906200030c565b50620003379291506200033b565b5090565b5b808211156200033757600081556001016200033c565b600082198211156200037257634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200038c57607f821691505b60208210811415620003ae57634e487b7160e01b600052602260045260246000fd5b50919050565b611ebf80620003c46000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638c2a993e11610104578063ab033ea9116100a2578063ddca3f4311610071578063ddca3f4314610416578063f2fde38b1461041d578063f3fef3a314610430578063fa65da551461044357600080fd5b8063ab033ea91461039f578063aba56f7f146103b2578063b60d4288146103c7578063dd62ed3e146103dd57600080fd5b8063908c0e15116100de578063908c0e151461036657806395d89b4114610371578063a457c2d714610379578063a9059cbb1461038c57600080fd5b80638c2a993e1461032f5780638da5cb5b1461034257806390646b4a1461035357600080fd5b8063313ce5671161017c5780635aa6e6751161014b5780635aa6e675146102da57806370a08231146102eb578063715018a61461031457806374f4f5471461031c57600080fd5b8063313ce5671461029257806335c1ef52146102a157806339509351146102b457806347e7ef24146102c757600080fd5b8063116191b6116101b8578063116191b61461023557806318160ddd1461025a5780631da06f4d1461026c57806323b872dd1461027f57600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630e21750f14610220575b600080fd5b6101e761044b565b6040516101f49190611c00565b60405180910390f35b61021061020b366004611b0a565b6104dd565b60405190151581526020016101f4565b61023361022e366004611a83565b6104f4565b005b600a546001600160a01b03165b6040516001600160a01b0390911681526020016101f4565b6003545b6040519081526020016101f4565b61023361027a366004611a83565b6105e6565b61021061028d366004611acf565b6108b0565b604051601281526020016101f4565b6102106102af366004611a83565b61095c565b6102106102c2366004611b0a565b61097c565b6102336102d5366004611b0a565b6109b8565b6007546001600160a01b0316610242565b61025e6102f9366004611a83565b6001600160a01b031660009081526001602052604090205490565b610233610ae5565b61023361032a366004611b0a565b610b1b565b61023361033d366004611b0a565b610b82565b6000546001600160a01b0316610242565b610233610361366004611a83565b610be5565b60065460ff16610210565b6101e7610c31565b610210610387366004611b0a565b610c40565b61021061039a366004611b0a565b610cd9565b6102336103ad366004611a83565b610ce6565b6103ba610d64565b6040516101f49190611ba8565b60065461010090046001600160a01b0316610242565b61025e6103eb366004611a9d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600561025e565b61023361042b366004611a83565b610dd9565b61023361043e366004611b0a565b610e74565b610233611064565b60606004805461045a90611e38565b80601f016020809104026020016040519081016040528092919081815260200182805461048690611e38565b80156104d35780601f106104a8576101008083540402835291602001916104d3565b820191906000526020600020905b8154815290600101906020018083116104b657829003601f168201915b5050505050905090565b60006104ea338484611133565b5060015b92915050565b6000546001600160a01b031633146105275760405162461bcd60e51b815260040161051e90611c33565b60405180910390fd5b6001600160a01b0381166105745760405162461bcd60e51b8152602060048201526014602482015273109a5d109510ce881a5b9d985b1a5908199d5b9960621b604482015260640161051e565b60068054610100600160a81b0319166101006001600160a01b03848116820292909217928390557f21649757800a534d13bc2b3bcceaf45854bc4d9e3b3e07e2434211320bc0309a92041633604080516001600160a01b0393841681529290911660208301520160405180910390a150565b6007546001600160a01b0316336001600160a01b0316146106425760405162461bcd60e51b81526020600482015260166024820152754269744254433a206e6f7420676f7665726e616e636560501b604482015260640161051e565b6001600160a01b0381166106905760405162461bcd60e51b8152602060048201526015602482015274109a5d109510ce881d1bdad95b881a5b9d985b1a59605a1b604482015260640161051e565b6001600160a01b038116600090815260096020526040902054156106ee5760405162461bcd60e51b8152602060048201526015602482015274109a5d109510ce88185b1c9958591e48195e1a5cdd605a1b604482015260640161051e565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561072957600080fd5b505afa15801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190611b6b565b905060008160ff16116107b65760405162461bcd60e51b815260206004820152601860248201527f4269744254433a20646563696d616c7320696e76616c69640000000000000000604482015260640161051e565b60006107c182611258565b6040805180820182526001600160a01b03868116808352602080840186815260088054600181018255600082815296517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600290920291820180546001600160a01b031916919097161790955590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee490940193909355915481845260098352928490209290925582519182528101839052338183015290519192507f2ee967151d49b0382c869f2cf02524e4d14a6730fe4309b751c249f6f554d414916060918190039190910190a1505050565b60006108bd84848461127c565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156109425760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161051e565b61094f8533858403611133565b60019150505b9392505050565b6001600160a01b03811660009081526009602052604081205415156104ee565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104ea9185906109b3908690611c68565b611133565b816109da816001600160a01b0316600090815260096020526040902054151590565b610a205760405162461bcd60e51b81526020600482015260176024820152762134ba212a219d103737ba103632b3b0b6103a37b5b2b760491b604482015260640161051e565b336000610a2d848261144c565b90506000610a3b8286611dd2565b9050610a526001600160a01b0387168430846114a9565b8115610a7a57600654610a7a906001600160a01b0388811691869161010090910416856114a9565b610a9683610a8788611514565b610a919084611db3565b611573565b604080516001600160a01b038581168252602082018890528816917f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6291015b60405180910390a2505050505050565b6000546001600160a01b03163314610b0f5760405162461bcd60e51b815260040161051e90611c33565b610b196000611652565b565b600a546001600160a01b0316336001600160a01b031614610b745760405162461bcd60e51b81526020600482015260136024820152724269744254433a206f6e6c792062726964676560681b604482015260640161051e565b610b7e82826116a2565b5050565b600a546001600160a01b0316336001600160a01b031614610bdb5760405162461bcd60e51b81526020600482015260136024820152724269744254433a206f6e6c792062726964676560681b604482015260640161051e565b610b7e8282611573565b6000546001600160a01b03163314610c0f5760405162461bcd60e51b815260040161051e90611c33565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60606005805461045a90611e38565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610cc25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161051e565b610ccf3385858403611133565b5060019392505050565b60006104ea33848461127c565b6007546001600160a01b0316336001600160a01b031614610d425760405162461bcd60e51b81526020600482015260166024820152754269744254433a206e6f7420676f7665726e616e636560501b604482015260640161051e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60606008805480602002602001604051908101604052809291908181526020016000905b82821015610dd0576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610d88565b50505050905090565b6000546001600160a01b03163314610e035760405162461bcd60e51b815260040161051e90611c33565b6001600160a01b038116610e685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051e565b610e7181611652565b50565b81610e96816001600160a01b0316600090815260096020526040902054151590565b610edc5760405162461bcd60e51b81526020600482015260176024820152762134ba212a219d103737ba103632b3b0b6103a37b5b2b760491b604482015260640161051e565b6040516370a0823160e01b815230600482015282906001600160a01b038516906370a082319060240160206040518083038186803b158015610f1d57600080fd5b505afa158015610f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f559190611b53565b1015610fb45760405162461bcd60e51b815260206004820152602860248201527f4269744254433a206c6567616c20746f6b656e20696e73756666696369656e746044820152672062616c616e636560c01b606482015260840161051e565b336000610fc284600161144c565b90506000610fd08286611dd2565b9050610fe66001600160a01b03871684836117ed565b600654611005906001600160a01b0388811691610100900416846117ed565b6110218361101288611514565b61101c9088611db3565b6116a2565b604080516001600160a01b038581168252602082018890528816917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9101610ad5565b6000546001600160a01b0316331461108e5760405162461bcd60e51b815260040161051e90611c33565b60065460ff16156110e15760405162461bcd60e51b815260206004820152601e60248201527f4269744254433a206465706f7369742066656520616c7265616479206f6e0000604482015260640161051e565b6006805460ff191660011790557f80dc799625f4bf5c6d0465b40848e20a3a3ab90adb5d92688793306cd41dde876111163390565b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0383166111955760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161051e565b6001600160a01b0382166111f65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161051e565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60008161126760126006611c80565b6112719190611de9565b6104ee90600a611d08565b6001600160a01b0383166112e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161051e565b6001600160a01b0382166113425760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161051e565b6001600160a01b038316600090815260016020526040902054818110156113ba5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161051e565b6001600160a01b038085166000908152600160205260408082208585039055918516815290812080548492906113f1908490611c68565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161143d91815260200190565b60405180910390a35b50505050565b60008082600181111561146f57634e487b7160e01b600052602160045260246000fd5b14801561147f575060065460ff16155b6114a057612710611491600585611db3565b61149b9190611ca5565b610955565b60009392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114469085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261181d565b6001600160a01b03811660009081526009602052604081205460089061153c90600190611dd2565b8154811061155a57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549050919050565b6001600160a01b0382166115c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161051e565b80600360008282546115db9190611c68565b90915550506001600160a01b03821660009081526001602052604081208054839290611608908490611c68565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166117025760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161051e565b6001600160a01b038216600090815260016020526040902054818110156117765760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161051e565b6001600160a01b03831660009081526001602052604081208383039055600380548492906117a5908490611dd2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161124b565b505050565b6040516001600160a01b0383166024820152604481018290526117e890849063a9059cbb60e01b906064016114dd565b6000611872826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118ef9092919063ffffffff16565b8051909150156117e857808060200190518101906118909190611b33565b6117e85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161051e565b60606118fe8484600085611906565b949350505050565b6060824710156119675760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161051e565b843b6119b55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161051e565b600080866001600160a01b031685876040516119d19190611b8c565b60006040518083038185875af1925050503d8060008114611a0e576040519150601f19603f3d011682016040523d82523d6000602084013e611a13565b606091505b5091509150611a23828286611a2e565b979650505050505050565b60608315611a3d575081610955565b825115611a4d5782518084602001fd5b8160405162461bcd60e51b815260040161051e9190611c00565b80356001600160a01b0381168114611a7e57600080fd5b919050565b600060208284031215611a94578081fd5b61095582611a67565b60008060408385031215611aaf578081fd5b611ab883611a67565b9150611ac660208401611a67565b90509250929050565b600080600060608486031215611ae3578081fd5b611aec84611a67565b9250611afa60208501611a67565b9150604084013590509250925092565b60008060408385031215611b1c578182fd5b611b2583611a67565b946020939093013593505050565b600060208284031215611b44578081fd5b81518015158114610955578182fd5b600060208284031215611b64578081fd5b5051919050565b600060208284031215611b7c578081fd5b815160ff81168114610955578182fd5b60008251611b9e818460208701611e0c565b9190910192915050565b602080825282518282018190526000919060409081850190868401855b82811015611bf357815180516001600160a01b03168552860151868501529284019290850190600101611bc5565b5091979650505050505050565b6020815260008251806020840152611c1f816040850160208701611e0c565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611c7b57611c7b611e73565b500190565b600060ff821660ff84168060ff03821115611c9d57611c9d611e73565b019392505050565b600082611cc057634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115611d00578160001904821115611ce657611ce6611e73565b80851615611cf357918102915b93841c9390800290611cca565b509250929050565b600061095560ff841683600082611d21575060016104ee565b81611d2e575060006104ee565b8160018114611d445760028114611d4e57611d6a565b60019150506104ee565b60ff841115611d5f57611d5f611e73565b50506001821b6104ee565b5060208310610133831016604e8410600b8410161715611d8d575081810a6104ee565b611d978383611cc5565b8060001904821115611dab57611dab611e73565b029392505050565b6000816000190483118215151615611dcd57611dcd611e73565b500290565b600082821015611de457611de4611e73565b500390565b600060ff821660ff841680821015611e0357611e03611e73565b90039392505050565b60005b83811015611e27578181015183820152602001611e0f565b838111156114465750506000910152565b600181811c90821680611e4c57607f821691505b60208210811415611e6d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220e3d599182515d7fbe632d23bcffaa8f6dbc3e7753ae90462700f6c80d97c0a5464736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80638c2a993e11610104578063ab033ea9116100a2578063ddca3f4311610071578063ddca3f4314610416578063f2fde38b1461041d578063f3fef3a314610430578063fa65da551461044357600080fd5b8063ab033ea91461039f578063aba56f7f146103b2578063b60d4288146103c7578063dd62ed3e146103dd57600080fd5b8063908c0e15116100de578063908c0e151461036657806395d89b4114610371578063a457c2d714610379578063a9059cbb1461038c57600080fd5b80638c2a993e1461032f5780638da5cb5b1461034257806390646b4a1461035357600080fd5b8063313ce5671161017c5780635aa6e6751161014b5780635aa6e675146102da57806370a08231146102eb578063715018a61461031457806374f4f5471461031c57600080fd5b8063313ce5671461029257806335c1ef52146102a157806339509351146102b457806347e7ef24146102c757600080fd5b8063116191b6116101b8578063116191b61461023557806318160ddd1461025a5780631da06f4d1461026c57806323b872dd1461027f57600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630e21750f14610220575b600080fd5b6101e761044b565b6040516101f49190611c00565b60405180910390f35b61021061020b366004611b0a565b6104dd565b60405190151581526020016101f4565b61023361022e366004611a83565b6104f4565b005b600a546001600160a01b03165b6040516001600160a01b0390911681526020016101f4565b6003545b6040519081526020016101f4565b61023361027a366004611a83565b6105e6565b61021061028d366004611acf565b6108b0565b604051601281526020016101f4565b6102106102af366004611a83565b61095c565b6102106102c2366004611b0a565b61097c565b6102336102d5366004611b0a565b6109b8565b6007546001600160a01b0316610242565b61025e6102f9366004611a83565b6001600160a01b031660009081526001602052604090205490565b610233610ae5565b61023361032a366004611b0a565b610b1b565b61023361033d366004611b0a565b610b82565b6000546001600160a01b0316610242565b610233610361366004611a83565b610be5565b60065460ff16610210565b6101e7610c31565b610210610387366004611b0a565b610c40565b61021061039a366004611b0a565b610cd9565b6102336103ad366004611a83565b610ce6565b6103ba610d64565b6040516101f49190611ba8565b60065461010090046001600160a01b0316610242565b61025e6103eb366004611a9d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600561025e565b61023361042b366004611a83565b610dd9565b61023361043e366004611b0a565b610e74565b610233611064565b60606004805461045a90611e38565b80601f016020809104026020016040519081016040528092919081815260200182805461048690611e38565b80156104d35780601f106104a8576101008083540402835291602001916104d3565b820191906000526020600020905b8154815290600101906020018083116104b657829003601f168201915b5050505050905090565b60006104ea338484611133565b5060015b92915050565b6000546001600160a01b031633146105275760405162461bcd60e51b815260040161051e90611c33565b60405180910390fd5b6001600160a01b0381166105745760405162461bcd60e51b8152602060048201526014602482015273109a5d109510ce881a5b9d985b1a5908199d5b9960621b604482015260640161051e565b60068054610100600160a81b0319166101006001600160a01b03848116820292909217928390557f21649757800a534d13bc2b3bcceaf45854bc4d9e3b3e07e2434211320bc0309a92041633604080516001600160a01b0393841681529290911660208301520160405180910390a150565b6007546001600160a01b0316336001600160a01b0316146106425760405162461bcd60e51b81526020600482015260166024820152754269744254433a206e6f7420676f7665726e616e636560501b604482015260640161051e565b6001600160a01b0381166106905760405162461bcd60e51b8152602060048201526015602482015274109a5d109510ce881d1bdad95b881a5b9d985b1a59605a1b604482015260640161051e565b6001600160a01b038116600090815260096020526040902054156106ee5760405162461bcd60e51b8152602060048201526015602482015274109a5d109510ce88185b1c9958591e48195e1a5cdd605a1b604482015260640161051e565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561072957600080fd5b505afa15801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190611b6b565b905060008160ff16116107b65760405162461bcd60e51b815260206004820152601860248201527f4269744254433a20646563696d616c7320696e76616c69640000000000000000604482015260640161051e565b60006107c182611258565b6040805180820182526001600160a01b03868116808352602080840186815260088054600181018255600082815296517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600290920291820180546001600160a01b031916919097161790955590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee490940193909355915481845260098352928490209290925582519182528101839052338183015290519192507f2ee967151d49b0382c869f2cf02524e4d14a6730fe4309b751c249f6f554d414916060918190039190910190a1505050565b60006108bd84848461127c565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156109425760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161051e565b61094f8533858403611133565b60019150505b9392505050565b6001600160a01b03811660009081526009602052604081205415156104ee565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104ea9185906109b3908690611c68565b611133565b816109da816001600160a01b0316600090815260096020526040902054151590565b610a205760405162461bcd60e51b81526020600482015260176024820152762134ba212a219d103737ba103632b3b0b6103a37b5b2b760491b604482015260640161051e565b336000610a2d848261144c565b90506000610a3b8286611dd2565b9050610a526001600160a01b0387168430846114a9565b8115610a7a57600654610a7a906001600160a01b0388811691869161010090910416856114a9565b610a9683610a8788611514565b610a919084611db3565b611573565b604080516001600160a01b038581168252602082018890528816917f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6291015b60405180910390a2505050505050565b6000546001600160a01b03163314610b0f5760405162461bcd60e51b815260040161051e90611c33565b610b196000611652565b565b600a546001600160a01b0316336001600160a01b031614610b745760405162461bcd60e51b81526020600482015260136024820152724269744254433a206f6e6c792062726964676560681b604482015260640161051e565b610b7e82826116a2565b5050565b600a546001600160a01b0316336001600160a01b031614610bdb5760405162461bcd60e51b81526020600482015260136024820152724269744254433a206f6e6c792062726964676560681b604482015260640161051e565b610b7e8282611573565b6000546001600160a01b03163314610c0f5760405162461bcd60e51b815260040161051e90611c33565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60606005805461045a90611e38565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610cc25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161051e565b610ccf3385858403611133565b5060019392505050565b60006104ea33848461127c565b6007546001600160a01b0316336001600160a01b031614610d425760405162461bcd60e51b81526020600482015260166024820152754269744254433a206e6f7420676f7665726e616e636560501b604482015260640161051e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60606008805480602002602001604051908101604052809291908181526020016000905b82821015610dd0576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610d88565b50505050905090565b6000546001600160a01b03163314610e035760405162461bcd60e51b815260040161051e90611c33565b6001600160a01b038116610e685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051e565b610e7181611652565b50565b81610e96816001600160a01b0316600090815260096020526040902054151590565b610edc5760405162461bcd60e51b81526020600482015260176024820152762134ba212a219d103737ba103632b3b0b6103a37b5b2b760491b604482015260640161051e565b6040516370a0823160e01b815230600482015282906001600160a01b038516906370a082319060240160206040518083038186803b158015610f1d57600080fd5b505afa158015610f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f559190611b53565b1015610fb45760405162461bcd60e51b815260206004820152602860248201527f4269744254433a206c6567616c20746f6b656e20696e73756666696369656e746044820152672062616c616e636560c01b606482015260840161051e565b336000610fc284600161144c565b90506000610fd08286611dd2565b9050610fe66001600160a01b03871684836117ed565b600654611005906001600160a01b0388811691610100900416846117ed565b6110218361101288611514565b61101c9088611db3565b6116a2565b604080516001600160a01b038581168252602082018890528816917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9101610ad5565b6000546001600160a01b0316331461108e5760405162461bcd60e51b815260040161051e90611c33565b60065460ff16156110e15760405162461bcd60e51b815260206004820152601e60248201527f4269744254433a206465706f7369742066656520616c7265616479206f6e0000604482015260640161051e565b6006805460ff191660011790557f80dc799625f4bf5c6d0465b40848e20a3a3ab90adb5d92688793306cd41dde876111163390565b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0383166111955760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161051e565b6001600160a01b0382166111f65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161051e565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60008161126760126006611c80565b6112719190611de9565b6104ee90600a611d08565b6001600160a01b0383166112e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161051e565b6001600160a01b0382166113425760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161051e565b6001600160a01b038316600090815260016020526040902054818110156113ba5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161051e565b6001600160a01b038085166000908152600160205260408082208585039055918516815290812080548492906113f1908490611c68565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161143d91815260200190565b60405180910390a35b50505050565b60008082600181111561146f57634e487b7160e01b600052602160045260246000fd5b14801561147f575060065460ff16155b6114a057612710611491600585611db3565b61149b9190611ca5565b610955565b60009392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114469085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261181d565b6001600160a01b03811660009081526009602052604081205460089061153c90600190611dd2565b8154811061155a57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549050919050565b6001600160a01b0382166115c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161051e565b80600360008282546115db9190611c68565b90915550506001600160a01b03821660009081526001602052604081208054839290611608908490611c68565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166117025760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161051e565b6001600160a01b038216600090815260016020526040902054818110156117765760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161051e565b6001600160a01b03831660009081526001602052604081208383039055600380548492906117a5908490611dd2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161124b565b505050565b6040516001600160a01b0383166024820152604481018290526117e890849063a9059cbb60e01b906064016114dd565b6000611872826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118ef9092919063ffffffff16565b8051909150156117e857808060200190518101906118909190611b33565b6117e85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161051e565b60606118fe8484600085611906565b949350505050565b6060824710156119675760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161051e565b843b6119b55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161051e565b600080866001600160a01b031685876040516119d19190611b8c565b60006040518083038185875af1925050503d8060008114611a0e576040519150601f19603f3d011682016040523d82523d6000602084013e611a13565b606091505b5091509150611a23828286611a2e565b979650505050505050565b60608315611a3d575081610955565b825115611a4d5782518084602001fd5b8160405162461bcd60e51b815260040161051e9190611c00565b80356001600160a01b0381168114611a7e57600080fd5b919050565b600060208284031215611a94578081fd5b61095582611a67565b60008060408385031215611aaf578081fd5b611ab883611a67565b9150611ac660208401611a67565b90509250929050565b600080600060608486031215611ae3578081fd5b611aec84611a67565b9250611afa60208501611a67565b9150604084013590509250925092565b60008060408385031215611b1c578182fd5b611b2583611a67565b946020939093013593505050565b600060208284031215611b44578081fd5b81518015158114610955578182fd5b600060208284031215611b64578081fd5b5051919050565b600060208284031215611b7c578081fd5b815160ff81168114610955578182fd5b60008251611b9e818460208701611e0c565b9190910192915050565b602080825282518282018190526000919060409081850190868401855b82811015611bf357815180516001600160a01b03168552860151868501529284019290850190600101611bc5565b5091979650505050505050565b6020815260008251806020840152611c1f816040850160208701611e0c565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611c7b57611c7b611e73565b500190565b600060ff821660ff84168060ff03821115611c9d57611c9d611e73565b019392505050565b600082611cc057634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115611d00578160001904821115611ce657611ce6611e73565b80851615611cf357918102915b93841c9390800290611cca565b509250929050565b600061095560ff841683600082611d21575060016104ee565b81611d2e575060006104ee565b8160018114611d445760028114611d4e57611d6a565b60019150506104ee565b60ff841115611d5f57611d5f611e73565b50506001821b6104ee565b5060208310610133831016604e8410600b8410161715611d8d575081810a6104ee565b611d978383611cc5565b8060001904821115611dab57611dab611e73565b029392505050565b6000816000190483118215151615611dcd57611dcd611e73565b500290565b600082821015611de457611de4611e73565b500390565b600060ff821660ff841680821015611e0357611e03611e73565b90039392505050565b60005b83811015611e27578181015183820152602001611e0f565b838111156114465750506000910152565b600181811c90821680611e4c57607f821691505b60208210811415611e6d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220e3d599182515d7fbe632d23bcffaa8f6dbc3e7753ae90462700f6c80d97c0a5464736f6c63430008040033

Deployed Bytecode Sourcemap

30634:5005:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8297:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10464:169;;;;;;:::i;:::-;;:::i;:::-;;;4907:14:1;;4900:22;4882:41;;4870:2;4855:18;10464:169:0;4837:92:1;32500:181:0;;;;;;:::i;:::-;;:::i;:::-;;31973:88;32047:8;;-1:-1:-1;;;;;32047:8:0;31973:88;;;-1:-1:-1;;;;;2522:32:1;;;2504:51;;2492:2;2477:18;31973:88:0;2459:102:1;9417:108:0;9505:12;;9417:108;;;14638:25:1;;;14626:2;14611:18;9417:108:0;14593:76:1;34030:518:0;;;;;;:::i;:::-;;:::i;11115:492::-;;;;;;:::i;:::-;;:::i;9259:93::-;;;9342:2;14816:36:1;;14804:2;14789:18;9259:93:0;14771:87:1;34800:114:0;;;;;;:::i;:::-;;:::i;12016:215::-;;;;;;:::i;:::-;;:::i;32990:491::-;;;;;;:::i;:::-;;:::i;32314:85::-;32382:11;;-1:-1:-1;;;;;32382:11:0;32314:85;;9588:127;;;;;;:::i;:::-;-1:-1:-1;;;;;9689:18:0;9662:7;9689:18;;;:9;:18;;;;;;;9588:127;2385:94;;;:::i;34677:117::-;;;;;;:::i;:::-;;:::i;34554:::-;;;;;;:::i;:::-;;:::i;1734:87::-;1780:7;1807:6;-1:-1:-1;;;;;1807:6:0;1734:87;;32405:89;;;;;;:::i;:::-;;:::i;32143:86::-;32210:13;;;;32143:86;;8516:104;;;:::i;12734:413::-;;;;;;:::i;:::-;;:::i;9928:175::-;;;;;;:::i;:::-;;:::i;32878:106::-;;;;;;:::i;:::-;;:::i;34920:107::-;;;:::i;:::-;;;;;;;:::i;32235:73::-;32297:5;;;;;-1:-1:-1;;;;;32297:5:0;32235:73;;10166:151;;;;;;:::i;:::-;-1:-1:-1;;;;;10282:18:0;;;10255:7;10282:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10166:151;32067:70;30885:1;32067:70;;2634:192;;;;;;:::i;:::-;;:::i;33487:537::-;;;;;;:::i;:::-;;:::i;32687:185::-;;;:::i;8297:100::-;8351:13;8384:5;8377:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8297:100;:::o;10464:169::-;10547:4;10564:39;690:10;10587:7;10596:6;10564:8;:39::i;:::-;-1:-1:-1;10621:4:0;10464:169;;;;;:::o;32500:181::-;1780:7;1807:6;-1:-1:-1;;;;;1807:6:0;690:10;1954:23;1946:68;;;;-1:-1:-1;;;1946:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;32566:19:0;::::1;32558:52;;;::::0;-1:-1:-1;;;32558:52:0;;12816:2:1;32558:52:0::1;::::0;::::1;12798:21:1::0;12855:2;12835:18;;;12828:30;-1:-1:-1;;;12874:18:1;;;12867:50;12934:18;;32558:52:0::1;12788:170:1::0;32558:52:0::1;32619:5;:13:::0;;-1:-1:-1;;;;;;32619:13:0::1;;-1:-1:-1::0;;;;;32619:13:0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;32644:31:::1;::::0;32655:5:::1;;690:10:::0;32644:31:::1;::::0;;-1:-1:-1;;;;;2796:15:1;;;2778:34;;2848:15;;;;2843:2;2828:18;;2821:43;2713:18;32644:31:0::1;;;;;;;32500:181:::0;:::o;34030:518::-;31549:11;;-1:-1:-1;;;;;31549:11:0;690:10;-1:-1:-1;;;;;31533:27:0;;31525:62;;;;-1:-1:-1;;;31525:62:0;;10546:2:1;31525:62:0;;;10528:21:1;10585:2;10565:18;;;10558:30;-1:-1:-1;;;10604:18:1;;;10597:52;10666:18;;31525:62:0;10518:172:1;31525:62:0;-1:-1:-1;;;;;34115:19:0;::::1;34107:53;;;::::0;-1:-1:-1;;;34107:53:0;;7957:2:1;34107:53:0::1;::::0;::::1;7939:21:1::0;7996:2;7976:18;;;7969:30;-1:-1:-1;;;8015:18:1;;;8008:51;8076:18;;34107:53:0::1;7929:171:1::0;34107:53:0::1;-1:-1:-1::0;;;;;35452:25:0;;35432:4;35452:25;;;:18;:25;;;;;;:29;34167:55:::1;;;::::0;-1:-1:-1;;;34167:55:0;;8714:2:1;34167:55:0::1;::::0;::::1;8696:21:1::0;8753:2;8733:18;;;8726:30;-1:-1:-1;;;8772:18:1;;;8765:51;8833:18;;34167:55:0::1;8686:171:1::0;34167:55:0::1;34231:14;34263:5;-1:-1:-1::0;;;;;34248:30:0::1;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34231:49;;34306:1;34295:8;:12;;;34287:49;;;::::0;-1:-1:-1;;;34287:49:0;;9423:2:1;34287:49:0::1;::::0;::::1;9405:21:1::0;9462:2;9442:18;;;9435:30;9501:26;9481:18;;;9474:54;9545:18;;34287:49:0::1;9395:174:1::0;34287:49:0::1;34345:13;34361:20;34372:8;34361:10;:20::i;:::-;34408:24;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;34408:24:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;34390:12:::1;:43:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;34390:43:0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;34390:43:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;34468:19;;34440:25;;;:18:::1;:25:::0;;;;;;:47;;;;34501:41;;3774:34:1;;;3824:18;;3817:34;;;690:10:0;3867:18:1;;;3860:43;34501:41:0;;34408:24;;-1:-1:-1;34501:41:0::1;::::0;3724:2:1;34501:41:0;;;;;;;;;::::1;31594:1;;34030:518:::0;:::o;11115:492::-;11255:4;11272:36;11282:6;11290:9;11301:6;11272:9;:36::i;:::-;-1:-1:-1;;;;;11348:19:0;;11321:24;11348:19;;;:11;:19;;;;;;;;690:10;11348:33;;;;;;;;11400:26;;;;11392:79;;;;-1:-1:-1;;;11392:79:0;;9776:2:1;11392:79:0;;;9758:21:1;9815:2;9795:18;;;9788:30;9854:34;9834:18;;;9827:62;-1:-1:-1;;;9905:18:1;;;9898:38;9953:19;;11392:79:0;9748:230:1;11392:79:0;11507:57;11516:6;690:10;11557:6;11538:16;:25;11507:8;:57::i;:::-;11595:4;11588:11;;;11115:492;;;;;;:::o;34800:114::-;-1:-1:-1;;;;;35452:25:0;;34868:4;35452:25;;;:18;:25;;;;;;:29;;34888:20;35363:124;12016:215;690:10;12104:4;12153:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12153:34:0;;;;;;;;;;12104:4;;12121:80;;12144:7;;12153:47;;12190:10;;12153:47;:::i;:::-;12121:8;:80::i;32990:491::-;33078:5;31661:20;31675:5;-1:-1:-1;;;;;35452:25:0;35432:4;35452:25;;;:18;:25;;;;;;:29;;;35363:124;31661:20;31653:56;;;;-1:-1:-1;;;31653:56:0;;14342:2:1;31653:56:0;;;14324:21:1;14381:2;14361:18;;;14354:30;-1:-1:-1;;;14400:18:1;;;14393:53;14463:18;;31653:56:0;14314:173:1;31653:56:0;690:10;33092:14:::1;33143:32;33152:5:::0;33092:14;33143:8:::1;:32::i;:::-;33128:47:::0;-1:-1:-1;33182:19:0::1;33204:12;33128:47:::0;33204:5;:12:::1;:::i;:::-;33182:34:::0;-1:-1:-1;33225:66:0::1;-1:-1:-1::0;;;;;33225:30:0;::::1;33256:6:::0;33272:4:::1;33182:34:::0;33225:30:::1;:66::i;:::-;33301:8:::0;;33298:81:::1;;33359:5;::::0;33320:51:::1;::::0;-1:-1:-1;;;;;33320:30:0;;::::1;::::0;33351:6;;33359:5:::1;::::0;;::::1;;33366:4:::0;33320:30:::1;:51::i;:::-;33387:45;33393:6;33415:16;33425:5;33415:9;:16::i;:::-;33401:30;::::0;:11;:30:::1;:::i;:::-;33387:5;:45::i;:::-;33446:29;::::0;;-1:-1:-1;;;;;3447:32:1;;;3429:51;;3511:2;3496:18;;3489:34;;;33446:29:0;::::1;::::0;::::1;::::0;3402:18:1;33446:29:0::1;;;;;;;;31716:1;;;32990:491:::0;;;:::o;2385:94::-;1780:7;1807:6;-1:-1:-1;;;;;1807:6:0;690:10;1954:23;1946:68;;;;-1:-1:-1;;;1946:68:0;;;;;;;:::i;:::-;2450:21:::1;2468:1;2450:9;:21::i;:::-;2385:94::o:0;34677:117::-;31440:8;;-1:-1:-1;;;;;31440:8:0;690:10;-1:-1:-1;;;;;31424:24:0;;31416:56;;;;-1:-1:-1;;;31416:56:0;;10897:2:1;31416:56:0;;;10879:21:1;10936:2;10916:18;;;10909:30;-1:-1:-1;;;10955:18:1;;;10948:49;11014:18;;31416:56:0;10869:169:1;31416:56:0;34766:22:::1;34772:7;34781:6;34766:5;:22::i;:::-;34677:117:::0;;:::o;34554:::-;31440:8;;-1:-1:-1;;;;;31440:8:0;690:10;-1:-1:-1;;;;;31424:24:0;;31416:56;;;;-1:-1:-1;;;31416:56:0;;10897:2:1;31416:56:0;;;10879:21:1;10936:2;10916:18;;;10909:30;-1:-1:-1;;;10955:18:1;;;10948:49;11014:18;;31416:56:0;10869:169:1;31416:56:0;34643:22:::1;34649:7;34658:6;34643:5;:22::i;32405:89::-:0;1780:7;1807:6;-1:-1:-1;;;;;1807:6:0;690:10;1954:23;1946:68;;;;-1:-1:-1;;;1946:68:0;;;;;;;:::i;:::-;32469:8:::1;:19:::0;;-1:-1:-1;;;;;;32469:19:0::1;-1:-1:-1::0;;;;;32469:19:0;;;::::1;::::0;;;::::1;::::0;;32405:89::o;8516:104::-;8572:13;8605:7;8598:14;;;;;:::i;12734:413::-;690:10;12827:4;12871:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12871:34:0;;;;;;;;;;12924:35;;;;12916:85;;;;-1:-1:-1;;;12916:85:0;;13576:2:1;12916:85:0;;;13558:21:1;13615:2;13595:18;;;13588:30;13654:34;13634:18;;;13627:62;-1:-1:-1;;;13705:18:1;;;13698:35;13750:19;;12916:85:0;13548:227:1;12916:85:0;13037:67;690:10;13060:7;13088:15;13069:16;:34;13037:8;:67::i;:::-;-1:-1:-1;13135:4:0;;12734:413;-1:-1:-1;;;12734:413:0:o;9928:175::-;10014:4;10031:42;690:10;10055:9;10066:6;10031:9;:42::i;32878:106::-;31549:11;;-1:-1:-1;;;;;31549:11:0;690:10;-1:-1:-1;;;;;31533:27:0;;31525:62;;;;-1:-1:-1;;;31525:62:0;;10546:2:1;31525:62:0;;;10528:21:1;10585:2;10565:18;;;10558:30;-1:-1:-1;;;10604:18:1;;;10597:52;10666:18;;31525:62:0;10518:172:1;31525:62:0;32953:11:::1;:25:::0;;-1:-1:-1;;;;;;32953:25:0::1;-1:-1:-1::0;;;;;32953:25:0;;;::::1;::::0;;;::::1;::::0;;32878:106::o;34920:107::-;34974:19;35009:12;35002:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35002:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34920:107;:::o;2634:192::-;1780:7;1807:6;-1:-1:-1;;;;;1807:6:0;690:10;1954:23;1946:68;;;;-1:-1:-1;;;1946:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2723:22:0;::::1;2715:73;;;::::0;-1:-1:-1;;;2715:73:0;;6740:2:1;2715:73:0::1;::::0;::::1;6722:21:1::0;6779:2;6759:18;;;6752:30;6818:34;6798:18;;;6791:62;-1:-1:-1;;;6869:18:1;;;6862:36;6915:19;;2715:73:0::1;6712:228:1::0;2715:73:0::1;2799:19;2809:8;2799:9;:19::i;:::-;2634:192:::0;:::o;33487:537::-;33576:5;31661:20;31675:5;-1:-1:-1;;;;;35452:25:0;35432:4;35452:25;;;:18;:25;;;;;;:29;;;35363:124;31661:20;31653:56;;;;-1:-1:-1;;;31653:56:0;;14342:2:1;31653:56:0;;;14324:21:1;14381:2;14361:18;;;14354:30;-1:-1:-1;;;14400:18:1;;;14393:53;14463:18;;31653:56:0;14314:173:1;31653:56:0;33598:38:::1;::::0;-1:-1:-1;;;33598:38:0;;33630:4:::1;33598:38;::::0;::::1;2504:51:1::0;33640:5:0;;-1:-1:-1;;;;;33598:23:0;::::1;::::0;::::1;::::0;2477:18:1;;33598:38:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;33590:100;;;::::0;-1:-1:-1;;;33590:100:0;;5928:2:1;33590:100:0::1;::::0;::::1;5910:21:1::0;5967:2;5947:18;;;5940:30;6006:34;5986:18;;;5979:62;-1:-1:-1;;;6057:18:1;;;6050:38;6105:19;;33590:100:0::1;5900:230:1::0;33590:100:0::1;690:10:::0;33699:14:::1;33750:33;33759:5:::0;33766:16:::1;33750:8;:33::i;:::-;33735:48:::0;-1:-1:-1;33790:19:0::1;33812:12;33735:48:::0;33812:5;:12:::1;:::i;:::-;33790:34:::0;-1:-1:-1;33833:47:0::1;-1:-1:-1::0;;;;;33833:26:0;::::1;33860:6:::0;33790:34;33833:26:::1;:47::i;:::-;33914:5;::::0;33887:39:::1;::::0;-1:-1:-1;;;;;33887:26:0;;::::1;::::0;33914:5:::1;::::0;::::1;;33921:4:::0;33887:26:::1;:39::i;:::-;33935;33941:6;33957:16;33967:5;33957:9;:16::i;:::-;33949:24;::::0;:5;:24:::1;:::i;:::-;33935:5;:39::i;:::-;33988:30;::::0;;-1:-1:-1;;;;;3447:32:1;;;3429:51;;3511:2;3496:18;;3489:34;;;33988:30:0;::::1;::::0;::::1;::::0;3402:18:1;33988:30:0::1;3384:145:1::0;32687:185:0;1780:7;1807:6;-1:-1:-1;;;;;1807:6:0;690:10;1954:23;1946:68;;;;-1:-1:-1;;;1946:68:0;;;;;;;:::i;:::-;32749:13:::1;::::0;::::1;;32748:14;32740:57;;;::::0;-1:-1:-1;;;32740:57:0;;9064:2:1;32740:57:0::1;::::0;::::1;9046:21:1::0;9103:2;9083:18;;;9076:30;9142:32;9122:18;;;9115:60;9192:18;;32740:57:0::1;9036:180:1::0;32740:57:0::1;32806:13;:20:::0;;-1:-1:-1;;32806:20:0::1;32822:4;32806:20;::::0;;32840:26:::1;32853:12;690:10:::0;;610:98;32853:12:::1;32840:26;::::0;-1:-1:-1;;;;;2522:32:1;;;2504:51;;2492:2;2477:18;32840:26:0::1;;;;;;;32687:185::o:0;16418:380::-;-1:-1:-1;;;;;16554:19:0;;16546:68;;;;-1:-1:-1;;;16546:68:0;;12053:2:1;16546:68:0;;;12035:21:1;12092:2;12072:18;;;12065:30;12131:34;12111:18;;;12104:62;-1:-1:-1;;;12182:18:1;;;12175:34;12226:19;;16546:68:0;12025:226:1;16546:68:0;-1:-1:-1;;;;;16633:21:0;;16625:68;;;;-1:-1:-1;;;16625:68:0;;7147:2:1;16625:68:0;;;7129:21:1;7186:2;7166:18;;;7159:30;7225:34;7205:18;;;7198:62;-1:-1:-1;;;7276:18:1;;;7269:32;7318:19;;16625:68:0;7119:224:1;16625:68:0;-1:-1:-1;;;;;16706:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;16758:32;;14638:25:1;;;16758:32:0;;14611:18:1;16758:32:0;;;;;;;;16418:380;;;:::o;35226:131::-;35294:7;35341:9;35324:14;9342:2;35337:1;35324:14;:::i;:::-;:26;;;;:::i;:::-;35317:34;;:2;:34;:::i;13637:733::-;-1:-1:-1;;;;;13777:20:0;;13769:70;;;;-1:-1:-1;;;13769:70:0;;11647:2:1;13769:70:0;;;11629:21:1;11686:2;11666:18;;;11659:30;11725:34;11705:18;;;11698:62;-1:-1:-1;;;11776:18:1;;;11769:35;11821:19;;13769:70:0;11619:227:1;13769:70:0;-1:-1:-1;;;;;13858:23:0;;13850:71;;;;-1:-1:-1;;;13850:71:0;;5524:2:1;13850:71:0;;;5506:21:1;5563:2;5543:18;;;5536:30;5602:34;5582:18;;;5575:62;-1:-1:-1;;;5653:18:1;;;5646:33;5696:19;;13850:71:0;5496:225:1;13850:71:0;-1:-1:-1;;;;;14018:17:0;;13994:21;14018:17;;;:9;:17;;;;;;14054:23;;;;14046:74;;;;-1:-1:-1;;;14046:74:0;;7550:2:1;14046:74:0;;;7532:21:1;7589:2;7569:18;;;7562:30;7628:34;7608:18;;;7601:62;-1:-1:-1;;;7679:18:1;;;7672:36;7725:19;;14046:74:0;7522:228:1;14046:74:0;-1:-1:-1;;;;;14156:17:0;;;;;;;:9;:17;;;;;;14176:22;;;14156:42;;14220:20;;;;;;;;:30;;14192:6;;14156:17;14220:30;;14192:6;;14220:30;:::i;:::-;;;;;;;;14285:9;-1:-1:-1;;;;;14268:35:0;14277:6;-1:-1:-1;;;;;14268:35:0;;14296:6;14268:35;;;;14638:25:1;;14626:2;14611:18;;14593:76;14268:35:0;;;;;;;;14316:46;13637:733;;;;:::o;35033:187::-;35114:7;;35138;:26;;;;;;-1:-1:-1;;;35138:26:0;;;;;;;;;;:44;;;;-1:-1:-1;35169:13:0;;;;35168:14;35138:44;35137:77;;30929:3;35190:11;30885:1;35190:5;:11;:::i;:::-;:24;;;;:::i;:::-;35137:77;;;35186:1;35130:84;35033:187;-1:-1:-1;;;35033:187:0:o;27023:248::-;27194:68;;-1:-1:-1;;;;;3133:15:1;;;27194:68:0;;;3115:34:1;3185:15;;3165:18;;;3158:43;3217:18;;;3210:34;;;27167:96:0;;27187:5;;-1:-1:-1;;;27217:27:0;3050:18:1;;27194:68:0;;;;-1:-1:-1;;27194:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;27194:68:0;-1:-1:-1;;;;;;27194:68:0;;;;;;;;;;27167:19;:96::i;35493:143::-;-1:-1:-1;;;;;35594:25:0;;35558:7;35594:25;;;:18;:25;;;;;;35581:12;;35594:29;;35622:1;;35594:29;:::i;:::-;35581:43;;;;;;-1:-1:-1;;;35581:43:0;;;;;;;;;;;;;;;;;;;:49;;;35574:56;;35493:143;;;:::o;14657:399::-;-1:-1:-1;;;;;14741:21:0;;14733:65;;;;-1:-1:-1;;;14733:65:0;;13982:2:1;14733:65:0;;;13964:21:1;14021:2;14001:18;;;13994:30;14060:33;14040:18;;;14033:61;14111:18;;14733:65:0;13954:181:1;14733:65:0;14889:6;14873:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;14906:18:0;;;;;;:9;:18;;;;;:28;;14928:6;;14906:18;:28;;14928:6;;14906:28;:::i;:::-;;;;-1:-1:-1;;14950:37:0;;14638:25:1;;;-1:-1:-1;;;;;14950:37:0;;;14967:1;;14950:37;;14626:2:1;14611:18;14950:37:0;;;;;;;34677:117;;:::o;2834:173::-;2890:16;2909:6;;-1:-1:-1;;;;;2926:17:0;;;-1:-1:-1;;;;;;2926:17:0;;;;;;2959:40;;2909:6;;;;;;;2959:40;;2890:16;2959:40;2834:173;;:::o;15389:591::-;-1:-1:-1;;;;;15473:21:0;;15465:67;;;;-1:-1:-1;;;15465:67:0;;11245:2:1;15465:67:0;;;11227:21:1;11284:2;11264:18;;;11257:30;11323:34;11303:18;;;11296:62;-1:-1:-1;;;11374:18:1;;;11367:31;11415:19;;15465:67:0;11217:223:1;15465:67:0;-1:-1:-1;;;;;15632:18:0;;15607:22;15632:18;;;:9;:18;;;;;;15669:24;;;;15661:71;;;;-1:-1:-1;;;15661:71:0;;6337:2:1;15661:71:0;;;6319:21:1;6376:2;6356:18;;;6349:30;6415:34;6395:18;;;6388:62;-1:-1:-1;;;6466:18:1;;;6459:32;6508:19;;15661:71:0;6309:224:1;15661:71:0;-1:-1:-1;;;;;15768:18:0;;;;;;:9;:18;;;;;15789:23;;;15768:44;;15834:12;:22;;15806:6;;15768:18;15834:22;;15806:6;;15834:22;:::i;:::-;;;;-1:-1:-1;;15874:37:0;;14638:25:1;;;15900:1:0;;-1:-1:-1;;;;;15874:37:0;;;;;14626:2:1;14611:18;15874:37:0;14593:76:1;15924:48:0;15389:591;;;:::o;26804:211::-;26948:58;;-1:-1:-1;;;;;3447:32:1;;26948:58:0;;;3429:51:1;3496:18;;;3489:34;;;26921:86:0;;26941:5;;-1:-1:-1;;;26971:23:0;3402:18:1;;26948:58:0;3384:145:1;29377:716:0;29801:23;29827:69;29855:4;29827:69;;;;;;;;;;;;;;;;;29835:5;-1:-1:-1;;;;;29827:27:0;;;:69;;;;;:::i;:::-;29911:17;;29801:95;;-1:-1:-1;29911:21:0;29907:179;;30008:10;29997:30;;;;;;;;;;;;:::i;:::-;29989:85;;;;-1:-1:-1;;;29989:85:0;;13165:2:1;29989:85:0;;;13147:21:1;13204:2;13184:18;;;13177:30;13243:34;13223:18;;;13216:62;-1:-1:-1;;;13294:18:1;;;13287:40;13344:19;;29989:85:0;13137:232:1;21753:229:0;21890:12;21922:52;21944:6;21952:4;21958:1;21961:12;21922:21;:52::i;:::-;21915:59;21753:229;-1:-1:-1;;;;21753:229:0:o;22873:510::-;23043:12;23101:5;23076:21;:30;;23068:81;;;;-1:-1:-1;;;23068:81:0;;8307:2:1;23068:81:0;;;8289:21:1;8346:2;8326:18;;;8319:30;8385:34;8365:18;;;8358:62;-1:-1:-1;;;8436:18:1;;;8429:36;8482:19;;23068:81:0;8279:228:1;23068:81:0;19270:20;;23160:60;;;;-1:-1:-1;;;23160:60:0;;12458:2:1;23160:60:0;;;12440:21:1;12497:2;12477:18;;;12470:30;12536:31;12516:18;;;12509:59;12585:18;;23160:60:0;12430:179:1;23160:60:0;23234:12;23248:23;23275:6;-1:-1:-1;;;;;23275:11:0;23294:5;23301:4;23275:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23233:73;;;;23324:51;23341:7;23350:10;23362:12;23324:16;:51::i;:::-;23317:58;22873:510;-1:-1:-1;;;;;;;22873:510:0:o;25559:712::-;25709:12;25738:7;25734:530;;;-1:-1:-1;25769:10:0;25762:17;;25734:530;25883:17;;:21;25879:374;;26081:10;26075:17;26142:15;26129:10;26125:2;26121:19;26114:44;26029:148;26224:12;26217:20;;-1:-1:-1;;;26217:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:297::-;1347:6;1400:2;1388:9;1379:7;1375:23;1371:32;1368:2;;;1421:6;1413;1406:22;1368:2;1458:9;1452:16;1511:5;1504:13;1497:21;1490:5;1487:32;1477:2;;1538:6;1530;1523:22;1582:194;1652:6;1705:2;1693:9;1684:7;1680:23;1676:32;1673:2;;;1726:6;1718;1711:22;1673:2;-1:-1:-1;1754:16:1;;1663:113;-1:-1:-1;1663:113:1:o;1781:293::-;1849:6;1902:2;1890:9;1881:7;1877:23;1873:32;1870:2;;;1923:6;1915;1908:22;1870:2;1960:9;1954:16;2010:4;2003:5;1999:16;1992:5;1989:27;1979:2;;2035:6;2027;2020:22;2079:274;2208:3;2246:6;2240:13;2262:53;2308:6;2303:3;2296:4;2288:6;2284:17;2262:53;:::i;:::-;2331:16;;;;;2216:137;-1:-1:-1;;2216:137:1:o;3914:823::-;4141:2;4193:21;;;4263:13;;4166:18;;;4285:22;;;4112:4;;4141:2;4326;;4344:18;;;;4385:15;;;4112:4;4431:280;4445:6;4442:1;4439:13;4431:280;;;4504:13;;4546:9;;-1:-1:-1;;;;;4542:35:1;4530:48;;4618:11;;4612:18;4598:12;;;4591:40;4651:12;;;;4686:15;;;;4574:1;4460:9;4431:280;;;-1:-1:-1;4728:3:1;;4121:616;-1:-1:-1;;;;;;;4121:616:1:o;4934:383::-;5083:2;5072:9;5065:21;5046:4;5115:6;5109:13;5158:6;5153:2;5142:9;5138:18;5131:34;5174:66;5233:6;5228:2;5217:9;5213:18;5208:2;5200:6;5196:15;5174:66;:::i;:::-;5301:2;5280:15;-1:-1:-1;;5276:29:1;5261:45;;;;5308:2;5257:54;;5055:262;-1:-1:-1;;5055:262:1:o;9983:356::-;10185:2;10167:21;;;10204:18;;;10197:30;10263:34;10258:2;10243:18;;10236:62;10330:2;10315:18;;10157:182::o;14863:128::-;14903:3;14934:1;14930:6;14927:1;14924:13;14921:2;;;14940:18;;:::i;:::-;-1:-1:-1;14976:9:1;;14911:80::o;14996:204::-;15034:3;15070:4;15067:1;15063:12;15102:4;15099:1;15095:12;15137:3;15131:4;15127:14;15122:3;15119:23;15116:2;;;15145:18;;:::i;:::-;15181:13;;15042:158;-1:-1:-1;;;15042:158:1:o;15205:217::-;15245:1;15271;15261:2;;-1:-1:-1;;;15296:31:1;;15350:4;15347:1;15340:15;15378:4;15303:1;15368:15;15261:2;-1:-1:-1;15407:9:1;;15251:171::o;15427:422::-;15516:1;15559:5;15516:1;15573:270;15594:7;15584:8;15581:21;15573:270;;;15653:4;15649:1;15645:6;15641:17;15635:4;15632:27;15629:2;;;15662:18;;:::i;:::-;15712:7;15702:8;15698:22;15695:2;;;15732:16;;;;15695:2;15811:22;;;;15771:15;;;;15573:270;;;15577:3;15491:358;;;;;:::o;15854:140::-;15912:5;15941:47;15982:4;15972:8;15968:19;15962:4;16048:5;16078:8;16068:2;;-1:-1:-1;16119:1:1;16133:5;;16068:2;16167:4;16157:2;;-1:-1:-1;16204:1:1;16218:5;;16157:2;16249:4;16267:1;16262:59;;;;16335:1;16330:130;;;;16242:218;;16262:59;16292:1;16283:10;;16306:5;;;16330:130;16367:3;16357:8;16354:17;16351:2;;;16374:18;;:::i;:::-;-1:-1:-1;;16430:1:1;16416:16;;16445:5;;16242:218;;16544:2;16534:8;16531:16;16525:3;16519:4;16516:13;16512:36;16506:2;16496:8;16493:16;16488:2;16482:4;16479:12;16475:35;16472:77;16469:2;;;-1:-1:-1;16581:19:1;;;16613:5;;16469:2;16660:34;16685:8;16679:4;16660:34;:::i;:::-;16730:6;16726:1;16722:6;16718:19;16709:7;16706:32;16703:2;;;16741:18;;:::i;:::-;16779:20;;16058:747;-1:-1:-1;;;16058:747:1:o;16810:168::-;16850:7;16916:1;16912;16908:6;16904:14;16901:1;16898:21;16893:1;16886:9;16879:17;16875:45;16872:2;;;16923:18;;:::i;:::-;-1:-1:-1;16963:9:1;;16862:116::o;16983:125::-;17023:4;17051:1;17048;17045:8;17042:2;;;17056:18;;:::i;:::-;-1:-1:-1;17093:9:1;;17032:76::o;17113:195::-;17151:4;17188;17185:1;17181:12;17220:4;17217:1;17213:12;17245:3;17240;17237:12;17234:2;;;17252:18;;:::i;:::-;17289:13;;;17160:148;-1:-1:-1;;;17160:148:1:o;17313:258::-;17385:1;17395:113;17409:6;17406:1;17403:13;17395:113;;;17485:11;;;17479:18;17466:11;;;17459:39;17431:2;17424:10;17395:113;;;17526:6;17523:1;17520:13;17517:2;;;-1:-1:-1;;17561:1:1;17543:16;;17536:27;17366:205::o;17576:380::-;17655:1;17651:12;;;;17698;;;17719:2;;17773:4;17765:6;17761:17;17751:27;;17719:2;17826;17818:6;17815:14;17795:18;17792:38;17789:2;;;17872:10;17867:3;17863:20;17860:1;17853:31;17907:4;17904:1;17897:15;17935:4;17932:1;17925:15;17789:2;;17631:325;;;:::o;17961:127::-;18022:10;18017:3;18013:20;18010:1;18003:31;18053:4;18050:1;18043:15;18077:4;18074:1;18067:15

Swarm Source

ipfs://e3d599182515d7fbe632d23bcffaa8f6dbc3e7753ae90462700f6c80d97c0a54

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

To solve the problems of the high price of BTC and slow transfer speed, We propose a solution to split BTC into BitBTC on the Ethereum through smart contracts, that is,1BTC = 1 million BitBTC.Has faster transfer speed, lower transfer fees, more suitable for micropayment.

Validator Index Block Amount
View All Withdrawals

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

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