ETH Price: $3,394.56 (-1.12%)

Contract

0x010a526C562F14ECC97A300aDa11E38ab6D985a5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Upgrade212566982024-11-24 9:25:472 days ago1732440347IN
0x010a526C...ab6D985a5
0 ETH0.000921799.52315345
Upgrade212387102024-11-21 21:11:235 days ago1732223483IN
0x010a526C...ab6D985a5
0 ETH0.0018106418.70600584
Upgrade212293472024-11-20 13:47:596 days ago1732110479IN
0x010a526C...ab6D985a5
0 ETH0.0014779615.26906
Upgrade212211882024-11-19 10:29:597 days ago1732012199IN
0x010a526C...ab6D985a5
0 ETH0.000879369.08486495
Upgrade211921452024-11-15 9:16:5911 days ago1731662219IN
0x010a526C...ab6D985a5
0 ETH0.0017753418.34130587
Upgrade211791472024-11-13 13:43:4713 days ago1731505427IN
0x010a526C...ab6D985a5
0 ETH0.0052861154.61141203
Upgrade211662572024-11-11 18:33:3515 days ago1731350015IN
0x010a526C...ab6D985a5
0 ETH0.0053078563.86161099
Upgrade211035812024-11-03 0:37:5924 days ago1730594279IN
0x010a526C...ab6D985a5
0 ETH0.000540665.58569757
Upgrade210872662024-10-31 17:58:2326 days ago1730397503IN
0x010a526C...ab6D985a5
0 ETH0.0011511813.8505523
Upgrade209760792024-10-16 5:37:1141 days ago1729057031IN
0x010a526C...ab6D985a5
0 ETH0.0009285811.17225171
Upgrade209215482024-10-08 14:46:2349 days ago1728398783IN
0x010a526C...ab6D985a5
0 ETH0.0031336932.37455082
Upgrade208940902024-10-04 18:55:2353 days ago1728068123IN
0x010a526C...ab6D985a5
0 ETH0.000824518.5182047
Upgrade207624122024-09-16 9:52:5971 days ago1726480379IN
0x010a526C...ab6D985a5
0 ETH0.0010985711.34954199
Upgrade207613922024-09-16 6:27:4771 days ago1726468067IN
0x010a526C...ab6D985a5
0 ETH0.0026958927.85161217
Upgrade206633012024-09-02 13:52:3585 days ago1725285155IN
0x010a526C...ab6D985a5
0 ETH0.000771297.96832839
Upgrade206549362024-09-01 9:50:2386 days ago1725184223IN
0x010a526C...ab6D985a5
0 ETH0.000292083.01756794
Upgrade204782912024-08-07 17:48:47111 days ago1723052927IN
0x010a526C...ab6D985a5
0 ETH0.000927039.57728054
Upgrade204688902024-08-06 10:20:11112 days ago1722939611IN
0x010a526C...ab6D985a5
0 ETH0.000454444.69496193
Upgrade204101602024-07-29 5:35:23120 days ago1722231323IN
0x010a526C...ab6D985a5
0 ETH0.000356433.68240238
Upgrade203900522024-07-26 10:13:11123 days ago1721988791IN
0x010a526C...ab6D985a5
0 ETH0.000461764.77054465
Upgrade203763992024-07-24 12:27:23125 days ago1721824043IN
0x010a526C...ab6D985a5
0 ETH0.000559725.78260408
Upgrade203316592024-07-18 6:36:35131 days ago1721284595IN
0x010a526C...ab6D985a5
0 ETH0.000625086.45778507
Upgrade203303382024-07-18 2:10:23132 days ago1721268623IN
0x010a526C...ab6D985a5
0 ETH0.000782148.08046932
Upgrade202832602024-07-11 12:27:23138 days ago1720700843IN
0x010a526C...ab6D985a5
0 ETH0.000697998.39793049
Upgrade202571072024-07-07 20:45:59142 days ago1720385159IN
0x010a526C...ab6D985a5
0 ETH0.000122193.84571587
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:
TokenSwap

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-22
*/

// File: node_modules\@openzeppelin\contracts\utils\Context.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

// File: node_modules\@openzeppelin\contracts\math\SafeMath.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\ERC20.sol

pragma solidity >=0.6.0 <0.8.0;




/**
 * @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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

// File: @openzeppelin\contracts\token\ERC20\ERC20Burnable.sol

pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: @openzeppelin\contracts\access\Ownable.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts\Interfaces\ElasticIERC20.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface ElasticIERC20 {
    /**
     * @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);

    // Additional mint and burn functions
    function burn(address account, uint256 amount) external;
    function mint(address account, uint256 amount) external;

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

// File: contracts\TokenSwap.sol

pragma solidity ^0.7.0;




contract TokenSwap is Ownable {
    ERC20Burnable public immutable xftOld;
    ElasticIERC20 public immutable xftNew;
    bool public active;
    address public contract_address;

    constructor(ERC20Burnable _xftOld, ElasticIERC20 _xftNew) {
        xftOld = _xftOld;
        xftNew = _xftNew;
        active = false;
        contract_address = address(0x0);
    }
    event XFTUpgraded(address user, uint256 amount);
    function upgrade() public {
        if (!active) {
            require(msg.sender == contract_address, "You can't upgrade yet");
        }
        uint256 amount = xftOld.balanceOf(msg.sender);
        require(amount > 0, "User has no tokens");
        require(xftOld.allowance(msg.sender, address(this)) >= amount, "User must approve tokens first");
        xftOld.transferFrom(msg.sender, address(this), amount); //Tokens need to be transferred
        require(xftOld.balanceOf(address(this)) >= amount, "Insufficient balance");
        xftOld.burn(amount);
        xftNew.mint(msg.sender, amount);
        emit XFTUpgraded(msg.sender, amount);
    }

    function setActive() onlyOwner public{
        require(!active, "switch already triggered");
        active = true;
    }
    function setContract(address _contract) onlyOwner public {
        require(!active, "switch already triggered");
        contract_address = _contract;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ERC20Burnable","name":"_xftOld","type":"address"},{"internalType":"contract ElasticIERC20","name":"_xftNew","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"XFTUpgraded","type":"event"},{"inputs":[],"name":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_address","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"xftNew","outputs":[{"internalType":"contract ElasticIERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xftOld","outputs":[{"internalType":"contract ERC20Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c060405234801561001057600080fd5b50604051610bc6380380610bc68339818101604052604081101561003357600080fd5b50805160209091015160006100466100cb565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606092831b8116608052911b1660a0526000805460ff60a01b19169055600180546001600160a01b03191690556100cf565b3390565b60805160601c60a05160601c610ab061011660003980610163528061088f5250806103f2528061049e52806105a65280610699528061072f52806107ee5250610ab06000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638ceb8ae9116100665780638ceb8ae91461011b5780638da5cb5b14610123578063966b35141461012b578063d55ec69714610133578063f2fde38b1461013b5761009e565b8063014e3faa146100a357806302fb0c5e146100c7578063715018a6146100e357806375f890ab146100ed578063760a8c2a14610113575b600080fd5b6100ab610161565b604080516001600160a01b039092168252519081900360200190f35b6100cf610185565b604080519115158252519081900360200190f35b6100eb610195565b005b6100eb6004803603602081101561010357600080fd5b50356001600160a01b0316610241565b6100eb61031f565b6100ab6103f0565b6100ab610414565b6100ab610423565b6100eb610432565b6100eb6004803603602081101561015157600080fd5b50356001600160a01b031661092e565b7f000000000000000000000000000000000000000000000000000000000000000081565b600054600160a01b900460ff1681565b61019d610a30565b6001600160a01b03166101ae610414565b6001600160a01b0316146101f7576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610249610a30565b6001600160a01b031661025a610414565b6001600160a01b0316146102a3576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b600054600160a01b900460ff16156102fd576040805162461bcd60e51b81526020600482015260186024820152771cddda5d18da08185b1c9958591e481d1c9a59d9d95c995960421b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610327610a30565b6001600160a01b0316610338610414565b6001600160a01b031614610381576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b600054600160a01b900460ff16156103db576040805162461bcd60e51b81526020600482015260186024820152771cddda5d18da08185b1c9958591e481d1c9a59d9d95c995960421b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031690565b6001546001600160a01b031681565b600054600160a01b900460ff1661049a576001546001600160a01b0316331461049a576040805162461bcd60e51b8152602060048201526015602482015274165bdd4818d85b89dd081d5c19dc985919481e595d605a1b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561050957600080fd5b505afa15801561051d573d6000803e3d6000fd5b505050506040513d602081101561053357600080fd5b505190508061057e576040805162461bcd60e51b81526020600482015260126024820152715573657220686173206e6f20746f6b656e7360701b604482015290519081900360640190fd5b60408051636eb1769f60e11b8152336004820152306024820152905182916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163dd62ed3e91604480820192602092909190829003018186803b1580156105ed57600080fd5b505afa158015610601573d6000803e3d6000fd5b505050506040513d602081101561061757600080fd5b5051101561066c576040805162461bcd60e51b815260206004820152601e60248201527f55736572206d75737420617070726f766520746f6b656e732066697273740000604482015290519081900360640190fd5b604080516323b872dd60e01b81523360048201523060248201526044810183905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b1580156106e157600080fd5b505af11580156106f5573d6000803e3d6000fd5b505050506040513d602081101561070b57600080fd5b5050604080516370a0823160e01b8152306004820152905182916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561077657600080fd5b505afa15801561078a573d6000803e3d6000fd5b505050506040513d60208110156107a057600080fd5b505110156107ec576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561085257600080fd5b505af1158015610866573d6000803e3d6000fd5b5050604080516340c10f1960e01b81523360048201526024810185905290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506340c10f199250604480830192600092919082900301818387803b1580156108d857600080fd5b505af11580156108ec573d6000803e3d6000fd5b5050604080513381526020810185905281517fc4b121a9c3deddafaf36937a6e9b57ee9d43e50ba8cbd63b911451c10c5bd82d9450908190039091019150a150565b610936610a30565b6001600160a01b0316610947610414565b6001600160a01b031614610990576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b6001600160a01b0381166109d55760405162461bcd60e51b8152600401808060200182810382526026815260200180610a356026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220569c2543ace175961f9ec8b0f14a641594c245397c7a6d2f0b8c67dd32f92fbc64736f6c63430007060033000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be00000000000000000000000076bc677d444f1e9d57daf5187ee2b7dc852745ae

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638ceb8ae9116100665780638ceb8ae91461011b5780638da5cb5b14610123578063966b35141461012b578063d55ec69714610133578063f2fde38b1461013b5761009e565b8063014e3faa146100a357806302fb0c5e146100c7578063715018a6146100e357806375f890ab146100ed578063760a8c2a14610113575b600080fd5b6100ab610161565b604080516001600160a01b039092168252519081900360200190f35b6100cf610185565b604080519115158252519081900360200190f35b6100eb610195565b005b6100eb6004803603602081101561010357600080fd5b50356001600160a01b0316610241565b6100eb61031f565b6100ab6103f0565b6100ab610414565b6100ab610423565b6100eb610432565b6100eb6004803603602081101561015157600080fd5b50356001600160a01b031661092e565b7f00000000000000000000000076bc677d444f1e9d57daf5187ee2b7dc852745ae81565b600054600160a01b900460ff1681565b61019d610a30565b6001600160a01b03166101ae610414565b6001600160a01b0316146101f7576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610249610a30565b6001600160a01b031661025a610414565b6001600160a01b0316146102a3576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b600054600160a01b900460ff16156102fd576040805162461bcd60e51b81526020600482015260186024820152771cddda5d18da08185b1c9958591e481d1c9a59d9d95c995960421b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610327610a30565b6001600160a01b0316610338610414565b6001600160a01b031614610381576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b600054600160a01b900460ff16156103db576040805162461bcd60e51b81526020600482015260186024820152771cddda5d18da08185b1c9958591e481d1c9a59d9d95c995960421b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b179055565b7f000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be81565b6000546001600160a01b031690565b6001546001600160a01b031681565b600054600160a01b900460ff1661049a576001546001600160a01b0316331461049a576040805162461bcd60e51b8152602060048201526015602482015274165bdd4818d85b89dd081d5c19dc985919481e595d605a1b604482015290519081900360640190fd5b60007f000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561050957600080fd5b505afa15801561051d573d6000803e3d6000fd5b505050506040513d602081101561053357600080fd5b505190508061057e576040805162461bcd60e51b81526020600482015260126024820152715573657220686173206e6f20746f6b656e7360701b604482015290519081900360640190fd5b60408051636eb1769f60e11b8152336004820152306024820152905182916001600160a01b037f000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be169163dd62ed3e91604480820192602092909190829003018186803b1580156105ed57600080fd5b505afa158015610601573d6000803e3d6000fd5b505050506040513d602081101561061757600080fd5b5051101561066c576040805162461bcd60e51b815260206004820152601e60248201527f55736572206d75737420617070726f766520746f6b656e732066697273740000604482015290519081900360640190fd5b604080516323b872dd60e01b81523360048201523060248201526044810183905290516001600160a01b037f000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be16916323b872dd9160648083019260209291908290030181600087803b1580156106e157600080fd5b505af11580156106f5573d6000803e3d6000fd5b505050506040513d602081101561070b57600080fd5b5050604080516370a0823160e01b8152306004820152905182916001600160a01b037f000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be16916370a0823191602480820192602092909190829003018186803b15801561077657600080fd5b505afa15801561078a573d6000803e3d6000fd5b505050506040513d60208110156107a057600080fd5b505110156107ec576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b7f000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561085257600080fd5b505af1158015610866573d6000803e3d6000fd5b5050604080516340c10f1960e01b81523360048201526024810185905290516001600160a01b037f00000000000000000000000076bc677d444f1e9d57daf5187ee2b7dc852745ae1693506340c10f199250604480830192600092919082900301818387803b1580156108d857600080fd5b505af11580156108ec573d6000803e3d6000fd5b5050604080513381526020810185905281517fc4b121a9c3deddafaf36937a6e9b57ee9d43e50ba8cbd63b911451c10c5bd82d9450908190039091019150a150565b610936610a30565b6001600160a01b0316610947610414565b6001600160a01b031614610990576040805162461bcd60e51b81526020600482018190526024820152600080516020610a5b833981519152604482015290519081900360640190fd5b6001600160a01b0381166109d55760405162461bcd60e51b8152600401808060200182810382526026815260200180610a356026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220569c2543ace175961f9ec8b0f14a641594c245397c7a6d2f0b8c67dd32f92fbc64736f6c63430007060033

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

000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be00000000000000000000000076bc677d444f1e9d57daf5187ee2b7dc852745ae

-----Decoded View---------------
Arg [0] : _xftOld (address): 0xABe580E7ee158dA464b51ee1a83Ac0289622e6be
Arg [1] : _xftNew (address): 0x76BC677d444f1E9d57dAf5187ee2b7dC852745aE

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000abe580e7ee158da464b51ee1a83ac0289622e6be
Arg [1] : 00000000000000000000000076bc677d444f1e9d57daf5187ee2b7dc852745ae


Deployed Bytecode Sourcemap

28964:1401:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29045:37;;;:::i;:::-;;;;-1:-1:-1;;;;;29045:37:0;;;;;;;;;;;;;;29089:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;25366:148;;;:::i;:::-;;30203:159;;;;;;;;;;;;;;;;-1:-1:-1;30203:159:0;-1:-1:-1;;;;;30203:159:0;;:::i;30073:124::-;;;:::i;29001:37::-;;;:::i;24715:87::-;;;:::i;29114:31::-;;;:::i;29401:664::-;;;:::i;25669:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25669:244:0;-1:-1:-1;;;;;25669:244:0;;:::i;29045:37::-;;;:::o;29089:18::-;;;-1:-1:-1;;;29089:18:0;;;;;:::o;25366:148::-;24946:12;:10;:12::i;:::-;-1:-1:-1;;;;;24935:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24935:23:0;;24927:68;;;;;-1:-1:-1;;;24927:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24927:68:0;;;;;;;;;;;;;;;25473:1:::1;25457:6:::0;;25436:40:::1;::::0;-1:-1:-1;;;;;25457:6:0;;::::1;::::0;25436:40:::1;::::0;25473:1;;25436:40:::1;25504:1;25487:19:::0;;-1:-1:-1;;;;;;25487:19:0::1;::::0;;25366:148::o;30203:159::-;24946:12;:10;:12::i;:::-;-1:-1:-1;;;;;24935:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24935:23:0;;24927:68;;;;;-1:-1:-1;;;24927:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24927:68:0;;;;;;;;;;;;;;;30280:6:::1;::::0;-1:-1:-1;;;30280:6:0;::::1;;;30279:7;30271:44;;;::::0;;-1:-1:-1;;;30271:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30271:44:0;;;;;;;;;;;;;::::1;;30326:16;:28:::0;;-1:-1:-1;;;;;;30326:28:0::1;-1:-1:-1::0;;;;;30326:28:0;;;::::1;::::0;;;::::1;::::0;;30203:159::o;30073:124::-;24946:12;:10;:12::i;:::-;-1:-1:-1;;;;;24935:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24935:23:0;;24927:68;;;;;-1:-1:-1;;;24927:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24927:68:0;;;;;;;;;;;;;;;30130:6:::1;::::0;-1:-1:-1;;;30130:6:0;::::1;;;30129:7;30121:44;;;::::0;;-1:-1:-1;;;30121:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30121:44:0;;;;;;;;;;;;;::::1;;30176:6;:13:::0;;-1:-1:-1;;;;30176:13:0::1;-1:-1:-1::0;;;30176:13:0::1;::::0;;30073:124::o;29001:37::-;;;:::o;24715:87::-;24761:7;24788:6;-1:-1:-1;;;;;24788:6:0;24715:87;:::o;29114:31::-;;;-1:-1:-1;;;;;29114:31:0;;:::o;29401:664::-;29443:6;;-1:-1:-1;;;29443:6:0;;;;29438:104;;29488:16;;-1:-1:-1;;;;;29488:16:0;29474:10;:30;29466:64;;;;;-1:-1:-1;;;29466:64:0;;;;;;;;;;;;-1:-1:-1;;;29466:64:0;;;;;;;;;;;;;;;29552:14;29569:6;-1:-1:-1;;;;;29569:16:0;;29586:10;29569:28;;;;;;;;;;;;;-1:-1:-1;;;;;29569:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29569:28:0;;-1:-1:-1;29616:10:0;29608:41;;;;;-1:-1:-1;;;29608:41:0;;;;;;;;;;;;-1:-1:-1;;;29608:41:0;;;;;;;;;;;;;;;29668:43;;;-1:-1:-1;;;29668:43:0;;29685:10;29668:43;;;;29705:4;29668:43;;;;;;29715:6;;-1:-1:-1;;;;;29668:6:0;:16;;;;:43;;;;;;;;;;;;;;;:16;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29668:43:0;:53;;29660:96;;;;;-1:-1:-1;;;29660:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29767:54;;;-1:-1:-1;;;29767:54:0;;29787:10;29767:54;;;;29807:4;29767:54;;;;;;;;;;;;-1:-1:-1;;;;;29767:6:0;:19;;;;:54;;;;;;;;;;;;;;-1:-1:-1;29767:19:0;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29872:31:0;;;-1:-1:-1;;;29872:31:0;;29897:4;29872:31;;;;;;29907:6;;-1:-1:-1;;;;;29872:6:0;:16;;;;:31;;;;;29767:54;;29872:31;;;;;;;;:16;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29872:31:0;:41;;29864:74;;;;;-1:-1:-1;;;29864:74:0;;;;;;;;;;;;-1:-1:-1;;;29864:74:0;;;;;;;;;;;;;;;29949:6;-1:-1:-1;;;;;29949:11:0;;29961:6;29949:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29979:31:0;;;-1:-1:-1;;;29979:31:0;;29991:10;29979:31;;;;;;;;;;;;-1:-1:-1;;;;;29979:6:0;:11;;-1:-1:-1;29979:11:0;;-1:-1:-1;29979:31:0;;;;;-1:-1:-1;;29979:31:0;;;;;;;-1:-1:-1;29979:11:0;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30026:31:0;;;30038:10;30026:31;;;;;;;;;;;;-1:-1:-1;30026:31:0;;;;;;;;-1:-1:-1;30026:31:0;29401:664;:::o;25669:244::-;24946:12;:10;:12::i;:::-;-1:-1:-1;;;;;24935:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24935:23:0;;24927:68;;;;;-1:-1:-1;;;24927:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24927:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25758:22:0;::::1;25750:73;;;;-1:-1:-1::0;;;25750:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25860:6;::::0;;25839:38:::1;::::0;-1:-1:-1;;;;;25839:38:0;;::::1;::::0;25860:6;::::1;::::0;25839:38:::1;::::0;::::1;25888:6;:17:::0;;-1:-1:-1;;;;;;25888:17:0::1;-1:-1:-1::0;;;;;25888:17:0;;;::::1;::::0;;;::::1;::::0;;25669:244::o;680:106::-;768:10;680:106;:::o

Swarm Source

ipfs://569c2543ace175961f9ec8b0f14a641594c245397c7a6d2f0b8c67dd32f92fbc

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.