Contract 0x25afD99fcB474D7C336A2971F26966da652a92bc

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x164b6877107c66fc4f211eb6e7bdc18010c42495fecfa12e922fd74f9d9c1d25Swap To New Part...149105482022-05-19 18:25:061 day 12 hrs ago0x52edb6d15df95b0f67fd4391886e0d329e585b34 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.002145493 26.5
0x12e3e4f16a8431ce38d9bde6a80ff916dec15f5816041f9691f903d2264ac173Approve148147652022-05-17 13:01:003 days 17 hrs ago0xe0527e66ed8c7e372007de0d65a5eb45cac53e07 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.0012368345 26.5
0x613adc360fd16ba6f8a058889b4565ba426e0697ccb76bb9f893e334f1889048Approve147737762022-05-16 14:10:254 days 16 hrs ago0x33fd9fe7229ed7bb66dde8297269020f0440197d IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.0012368345 26.5
0xf33535178d4f1e1192aed643b0362bbdb41dc5f7dcc2d78d2b7dfb820199cee6Approve146154142022-05-12 22:11:308 days 8 hrs ago0x2831a933f8552d0233ebb4a4f487ece230e068b9 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.002977262971 63.789835055
0xafe508de2ff55e83bf08e4d47bec72d5a7685be866002e04b2f08c5e5e6ace49Approve143228752022-05-05 23:52:0015 days 7 hrs ago0xbe5c6d0f34d2ac56081a96ad11c20d82c3f1dead IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.00209354734244.855641212
0x565848f9a69998549476f217dc6df0fbaefdc3926a4fadd94ed50f46ee56f12cApprove143227792022-05-05 23:48:3715 days 7 hrs ago0xbe5c6d0f34d2ac56081a96ad11c20d82c3f1dead IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.002117006845.358275677
0x0b67ac08859b4875fb58d9c0030b766b7305ee07ef17bee073dc833d13501282Approve143218052022-05-05 23:15:3315 days 7 hrs ago0xbe5c6d0f34d2ac56081a96ad11c20d82c3f1dead IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.00218185362646.74766196
0xa64e71569a6a337d2ce7a54c9d0de264f04e0c334bdb15a81e2eeae4f587c7c8Approve143196952022-05-05 22:02:4315 days 8 hrs ago0x889eee84a10bf84fa3e75ab16eb50bc6d45945e8 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.002366502361 81.075143424
0xc752a165efa0770b60dc87431ac1f0d03313485f82bab0972924656a5ba15a31Approve143184142022-05-05 21:18:2615 days 9 hrs ago0x15fbbdd6e59f089fff29d6c90b55efd643dff3cd IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.004816790345 103.202929863
0x343ede39b4d0751e0e365251b27ce6206df5079e027e0626f732d9ba9aba3459Approve142377072022-05-03 23:09:5017 days 7 hrs ago0x2377f363ee918808238225b89cc630f9e3fa78a2 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.005176093531 110.901239079
0x786680918bf9ed32e6775c060e90876c8496e771bf55568d5dab21084f15412eApprove142376532022-05-03 23:07:5817 days 7 hrs ago0x2377f363ee918808238225b89cc630f9e3fa78a2 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.005313832841 113.852395203
0xc5e76660cc577df6ea619afbe284fc5e3596fd111eed141f815406afc09b7f06Transfer141794902022-05-02 13:51:2318 days 17 hrs ago0xd183992407eac9e6120e29f10f2c43ed0d3bd2ce IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.003037078388 87.840300473
0xa5911730a5da331b4f880f3b46bbab7a1b33a923aed719e8e9444003ffca3f86Transfer141709902022-05-02 9:02:2518 days 21 hrs ago0xe15ca9d1c58c2f30baf8a69612cb985e33fa400d IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.002392680078 46.302468869
0xb13de2039f16367d12d1863c46dc4b2a2692ed2a1a1bcd5ee396c2c421155e5fApprove140559392022-04-29 15:22:1521 days 15 hrs ago0x5f8cc753e3ededbcfa5373e75ff7a6a72cab6778 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.00199360353742.71427886
0xe611969ab971a829862efbe79c65553aeeee5bdcb7261ac8cc95aa8ab1d5d490Approve140275172022-04-28 23:00:4822 days 8 hrs ago0xbe5c6d0f34d2ac56081a96ad11c20d82c3f1dead IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.00122401774426.225392516
0xec945d910504ef03e28c60a217ac046a196ed626dbe3839c54b61d01bbde4c1eApprove139413242022-04-26 22:23:1724 days 8 hrs ago0xc44bc03ea303b0a10508ac7b3eb21786cd043bf2 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.003812143078 81.677695419
0x3e1af6a1eeb7e78aa646e22109461565edc6987d28d3f0d83baa8c1cb3dc2372Transfer139357912022-04-26 19:17:4724 days 11 hrs ago0x10014245343d7943f593853481e5c4e435c47e99 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.002119706864 61.243733614
0x2ba0ff42ee55ff92ebd95390f9c6d233ce56f91a4a4369381fce77f7b53bf532Transfer139356812022-04-26 19:14:0724 days 11 hrs ago0x3b73f15142945f260148ada3db15b0657d12831c IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.003075697322 59.520025583
0xa591a52acf2c3149fc7cc7b59702c1ce216070423d4e95ef842da90b616f733aApprove138581922022-04-24 23:57:4926 days 7 hrs ago0xcd669158633e6b209f362be5fd3cec9b3922000c IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.001423527582 48.769316594
0x3394d1bd251ebbf2285d4dd9e00e6f720c4d89347ebc9d0bf91e2eb554f86ec9Approve138581672022-04-24 23:56:5926 days 7 hrs ago0xcd669158633e6b209f362be5fd3cec9b3922000c IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.001433765912 49.120076473
0xceb18e8e185f21f30bc4f4f8a8ded5549042329e21606fd173608a34800da86dTransfer137037032022-04-21 9:26:4829 days 21 hrs ago0x3b73f15142945f260148ada3db15b0657d12831c IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.0040629255878.606333907
0x1265ed09d4b03dbe26677f9b71c46dccf0b48e671b465c44ee8f3fdf14e3ca35Transfer137035822022-04-21 9:22:4329 days 21 hrs ago0x3b73f15142945f260148ada3db15b0657d12831c IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.00449972242187.077356962
0xe4798019398744fb3a1a875f5af70b9ba0e1d5e64761b2ea4d1681589b517d82Swap To New Part...137021872022-04-21 8:35:5829 days 22 hrs ago0x3b73f15142945f260148ada3db15b0657d12831c IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.004721709859 58.302791346
0x283ff7bb716be6c93671d233ea7e7d640c0020cc531f06ed181d3da67b065040Swap To New Part...136838102022-04-20 22:17:5330 days 8 hrs ago0x281e2aa4afa882b32b4a7e5f0dc37c26b67e07b7 IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.004696320136 73.510943507
0x68f8eca790e4a34cb7cacf06790758f9c7956a056fc56764cc346e9dac8f027cApprove136345392022-04-19 18:46:2031 days 12 hrs ago0x83239ebfb02b7308cca782340c0cd8154e37a9ae IN  0x25afd99fcb474d7c336a2971f26966da652a92bc0 AVAX0.005033738888 107.851196381
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PartyTokenV2

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-11-15
*/

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
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)
    {
        unchecked {
            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)
    {
        unchecked {
            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)
    {
        unchecked {
            // 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)
    {
        unchecked {
            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)
    {
        unchecked {
            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) {
        return a + b;
    }

    /**
     * @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) {
        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) {
        return a * b;
    }

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

contract PartyTokenV2 is ERC20("PARTY V2", "PARTY"), Ownable {
    using SafeMath for uint256;

    uint256 public constant initialSupply = 110000000000000000000000000;

    bytes32 public DOMAIN_SEPARATOR;
    bytes32 public constant PERMIT_TYPEHASH =
        0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    mapping(address => uint256) public nonces;
    address initialTotalSupplyHolder;

    ERC20 public oldParty;

    constructor(address initialTotalSupplyHolder_, address _oldToken) public {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256(
                    "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
                ),
                keccak256(bytes(name())),
                keccak256(bytes("1")),
                chainId,
                address(this)
            )
        );
        _mint(initialTotalSupplyHolder_, initialSupply);
        initialTotalSupplyHolder = initialTotalSupplyHolder_;
        oldParty = ERC20(_oldToken);
    }

    // Burns the callers tokens
    function burnOwnTokens(uint256 _amount) external {
        _burn(msg.sender, _amount);
    }

    function _swapToNewParty(uint256 tokens, address from) internal {
        oldParty.transferFrom(from, address(0x01), tokens);
        _transfer(initialTotalSupplyHolder, from, tokens);
        emit Transfer(address(0), from, tokens);
    }

    function swapToNewParty(uint256 tokens) public {
        _swapToNewParty(tokens, msg.sender);
    }

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        require(deadline >= block.timestamp, "PARTYV2: EXPIRED");
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(
                    abi.encode(
                        PERMIT_TYPEHASH,
                        owner,
                        spender,
                        value,
                        nonces[owner]++,
                        deadline
                    )
                )
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(
            recoveredAddress != address(0) && recoveredAddress == owner,
            "PARTYV2: INVALID_SIGNATURE"
        );
        _approve(owner, spender, value);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialTotalSupplyHolder_","type":"address"},{"internalType":"address","name":"_oldToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnOwnTokens","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldParty","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"swapToNewParty","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"}]

60806040523480156200001157600080fd5b506040516200180538038062001805833981016040819052620000349162000431565b60408051808201825260088152672820a92a2c902b1960c11b602080830191825283518085019094526005845264504152545960d81b90840152815191929162000081916003916200036e565b508051620000979060049060208401906200036e565b505050620000b4620000ae6200019760201b60201c565b6200019b565b467f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000e0620001ed565b805160209182012060408051808201825260018152603160f81b90840152516200013293927fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc691869130910162000468565b60408051601f19818403018152919052805160209091012060065562000164836a5afd67f2dc0e1b2e00000062000287565b50600880546001600160a01b039384166001600160a01b0319918216179091556009805492909316911617905562000536565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060038054620001fe90620004f9565b80601f01602080910402602001604051908101604052809291908181526020018280546200022c90620004f9565b80156200027d5780601f1062000251576101008083540402835291602001916200027d565b820191906000526020600020905b8154815290600101906020018083116200025f57829003601f168201915b5050505050905090565b6001600160a01b038216620002b95760405162461bcd60e51b8152600401620002b09062000494565b60405180910390fd5b620002c76000838362000369565b8060026000828254620002db9190620004d4565b90915550506001600160a01b038216600090815260208190526040812080548392906200030a908490620004d4565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200034f908590620004cb565b60405180910390a3620003656000838362000369565b5050565b505050565b8280546200037c90620004f9565b90600052602060002090601f016020900481019282620003a05760008555620003eb565b82601f10620003bb57805160ff1916838001178555620003eb565b82800160010185558215620003eb579182015b82811115620003eb578251825591602001919060010190620003ce565b50620003f9929150620003fd565b5090565b5b80821115620003f95760008155600101620003fe565b80516001600160a01b03811681146200042c57600080fd5b919050565b6000806040838503121562000444578182fd5b6200044f8362000414565b91506200045f6020840162000414565b90509250929050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60008219821115620004f457634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200050e57607f821691505b602082108114156200053057634e487b7160e01b600052602260045260246000fd5b50919050565b6112bf80620005466000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a9059cbb1161007c578063a9059cbb14610260578063d505accf14610273578063dd62ed3e14610286578063dd7f92d214610299578063e93f9388146102ac578063f2fde38b146102b457610142565b8063715018a6146102155780637ecebe001461021d5780638da5cb5b1461023057806395d89b4114610245578063a457c2d71461024d57610142565b8063313ce5671161010a578063313ce567146101b55780633644e515146101ca578063378dc3dc146101d257806339509351146101da57806352d8348e146101ed57806370a082311461020257610142565b806306fdde0314610147578063095ea7b31461016557806318160ddd1461018557806323b872dd1461019a57806330adf81f146101ad575b600080fd5b61014f6102c7565b60405161015c9190610e4d565b60405180910390f35b610178610173366004610d33565b610359565b60405161015c9190610de7565b61018d610376565b60405161015c9190610df2565b6101786101a8366004610c87565b61037c565b61018d610415565b6101bd610439565b60405161015c91906111e0565b61018d61043e565b61018d610444565b6101786101e8366004610d33565b610453565b6102006101fb366004610d7c565b6104a7565b005b61018d610210366004610c34565b6104b4565b6102006104d3565b61018d61022b366004610c34565b61051e565b610238610530565b60405161015c9190610daf565b61014f61053f565b61017861025b366004610d33565b61054e565b61017861026e366004610d33565b6105c7565b610200610281366004610cc2565b6105db565b61018d610294366004610c55565b610756565b6102006102a7366004610d7c565b610781565b61023861078b565b6102006102c2366004610c34565b61079a565b6060600380546102d69061121d565b80601f01602080910402602001604051908101604052809291908181526020018280546103029061121d565b801561034f5780601f106103245761010080835404028352916020019161034f565b820191906000526020600020905b81548152906001019060200180831161033257829003601f168201915b5050505050905090565b600061036d610366610808565b848461080c565b50600192915050565b60025490565b60006103898484846108c0565b6001600160a01b0384166000908152600160205260408120816103aa610808565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156103f65760405162461bcd60e51b81526004016103ed90610ff3565b60405180910390fd5b61040a85610402610808565b85840361080c565b506001949350505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601290565b60065481565b6a5afd67f2dc0e1b2e00000081565b600061036d610460610808565b84846001600061046e610808565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546104a291906111ee565b61080c565b6104b181336109ea565b50565b6001600160a01b0381166000908152602081905260409020545b919050565b6104db610808565b6001600160a01b03166104ec610530565b6001600160a01b0316146105125760405162461bcd60e51b81526004016103ed9061103b565b61051c6000610ad9565b565b60076020526000908152604090205481565b6005546001600160a01b031690565b6060600480546102d69061121d565b6000806001600061055d610808565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156105a95760405162461bcd60e51b81526004016103ed9061119b565b6105bd6105b4610808565b8585840361080c565b5060019392505050565b600061036d6105d4610808565b84846108c0565b428410156105fb5760405162461bcd60e51b81526004016103ed90611171565b6006546001600160a01b038816600090815260076020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b91908761064e83611258565b919050558a60405160200161066896959493929190610dfb565b6040516020818303038152906040528051906020012060405160200161068f929190610d94565b6040516020818303038152906040528051906020012090506000600182868686604051600081526020016040526040516106cc9493929190610e2f565b6020604051602081039080840390855afa1580156106ee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107245750886001600160a01b0316816001600160a01b0316145b6107405760405162461bcd60e51b81526004016103ed9061113a565b61074b89898961080c565b505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104b13382610b2b565b6009546001600160a01b031681565b6107a2610808565b6001600160a01b03166107b3610530565b6001600160a01b0316146107d95760405162461bcd60e51b81526004016103ed9061103b565b6001600160a01b0381166107ff5760405162461bcd60e51b81526004016103ed90610f25565b6104b181610ad9565b3390565b6001600160a01b0383166108325760405162461bcd60e51b81526004016103ed906110f6565b6001600160a01b0382166108585760405162461bcd60e51b81526004016103ed90610f6b565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906108b3908590610df2565b60405180910390a3505050565b6001600160a01b0383166108e65760405162461bcd60e51b81526004016103ed906110b1565b6001600160a01b03821661090c5760405162461bcd60e51b81526004016103ed90610ea0565b610917838383610c18565b6001600160a01b038316600090815260208190526040902054818110156109505760405162461bcd60e51b81526004016103ed90610fad565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906109879084906111ee565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109d19190610df2565b60405180910390a36109e4848484610c18565b50505050565b6009546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90610a1f9084906001908790600401610dc3565b602060405180830381600087803b158015610a3957600080fd5b505af1158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190610d5c565b50600854610a89906001600160a01b031682846108c0565b806001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610acd9190610df2565b60405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610b515760405162461bcd60e51b81526004016103ed90611070565b610b5d82600083610c18565b6001600160a01b03821660009081526020819052604090205481811015610b965760405162461bcd60e51b81526004016103ed90610ee3565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610bc5908490611206565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c08908690610df2565b60405180910390a3610c18836000845b505050565b80356001600160a01b03811681146104ce57600080fd5b600060208284031215610c45578081fd5b610c4e82610c1d565b9392505050565b60008060408385031215610c67578081fd5b610c7083610c1d565b9150610c7e60208401610c1d565b90509250929050565b600080600060608486031215610c9b578081fd5b610ca484610c1d565b9250610cb260208501610c1d565b9150604084013590509250925092565b600080600080600080600060e0888a031215610cdc578283fd5b610ce588610c1d565b9650610cf360208901610c1d565b95506040880135945060608801359350608088013560ff81168114610d16578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610d45578182fd5b610d4e83610c1d565b946020939093013593505050565b600060208284031215610d6d578081fd5b81518015158114610c4e578182fd5b600060208284031215610d8d578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015610e7957858101830151858201604001528201610e5d565b81811115610e8a5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601a908201527f504152545956323a20494e56414c49445f5349474e4154555245000000000000604082015260600190565b60208082526010908201526f1410549516558c8e881156141254915160821b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b60ff91909116815260200190565b6000821982111561120157611201611273565b500190565b60008282101561121857611218611273565b500390565b60028104600182168061123157607f821691505b6020821081141561125257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561126c5761126c611273565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220a56acecd92c330f55653389ba6aa76d47962d5d1727ee83c4d204b9dbc46bac464736f6c6343000800003300000000000000000000000081b42df04bfd9329ab897de2ae1b2543d68209ce00000000000000000000000069a61f38df59cbb51962e69c54d39184e21c27ec

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

00000000000000000000000081b42df04bfd9329ab897de2ae1b2543d68209ce00000000000000000000000069a61f38df59cbb51962e69c54d39184e21c27ec

-----Decoded View---------------
Arg [0] : initialTotalSupplyHolder_ (address): 0x81b42df04bfd9329ab897de2ae1b2543d68209ce
Arg [1] : _oldToken (address): 0x69a61f38df59cbb51962e69c54d39184e21c27ec

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000081b42df04bfd9329ab897de2ae1b2543d68209ce
Arg [1] : 00000000000000000000000069a61f38df59cbb51962e69c54d39184e21c27ec


Deployed ByteCode Sourcemap

25765:2678:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13145:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15453:210;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;14265:108::-;;;:::i;:::-;;;;;;;:::i;16145:529::-;;;;;;:::i;:::-;;:::i;25982:117::-;;;:::i;14107:93::-;;;:::i;:::-;;;;;;;:::i;25944:31::-;;;:::i;25868:67::-;;;:::i;17083:297::-;;;;;;:::i;:::-;;:::i;27335:101::-;;;;;;:::i;:::-;;:::i;:::-;;14436:177;;;;;;:::i;:::-;;:::i;25099:94::-;;;:::i;26106:41::-;;;;;;:::i;:::-;;:::i;24448:87::-;;;:::i;:::-;;;;;;;:::i;13364:104::-;;;:::i;17883:482::-;;;;;;:::i;:::-;;:::i;14826:216::-;;;;;;:::i;:::-;;:::i;27444:996::-;;;;;;:::i;:::-;;:::i;15105:201::-;;;;;;:::i;:::-;;:::i;26982:94::-;;;;;;:::i;:::-;;:::i;26195:21::-;;;:::i;25348:229::-;;;;;;:::i;:::-;;:::i;13145:100::-;13199:13;13232:5;13225:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13145:100;:::o;15453:210::-;15572:4;15594:39;15603:12;:10;:12::i;:::-;15617:7;15626:6;15594:8;:39::i;:::-;-1:-1:-1;15651:4:0;15453:210;;;;:::o;14265:108::-;14353:12;;14265:108;:::o;16145:529::-;16285:4;16302:36;16312:6;16320:9;16331:6;16302:9;:36::i;:::-;-1:-1:-1;;;;;16378:19:0;;16351:24;16378:19;;;:11;:19;;;;;16351:24;16398:12;:10;:12::i;:::-;-1:-1:-1;;;;;16378:33:0;-1:-1:-1;;;;;16378:33:0;;;;;;;;;;;;;16351:60;;16464:6;16444:16;:26;;16422:116;;;;-1:-1:-1;;;16422:116:0;;;;;;;:::i;:::-;;;;;;;;;16574:57;16583:6;16591:12;:10;:12::i;:::-;16624:6;16605:16;:25;16574:8;:57::i;:::-;-1:-1:-1;16662:4:0;;16145:529;-1:-1:-1;;;;16145:529:0:o;25982:117::-;26033:66;25982:117;:::o;14107:93::-;14190:2;14107:93;:::o;25944:31::-;;;;:::o;25868:67::-;25908:27;25868:67;:::o;17083:297::-;17198:4;17220:130;17243:12;:10;:12::i;:::-;17270:7;17329:10;17292:11;:25;17304:12;:10;:12::i;:::-;-1:-1:-1;;;;;17292:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17292:25:0;;;:34;;;;;;;;;;:47;;;;:::i;:::-;17220:8;:130::i;27335:101::-;27393:35;27409:6;27417:10;27393:15;:35::i;:::-;27335:101;:::o;14436:177::-;-1:-1:-1;;;;;14587:18:0;;14555:7;14587:18;;;;;;;;;;;14436:177;;;;:::o;25099:94::-;24679:12;:10;:12::i;:::-;-1:-1:-1;;;;;24668:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24668:23:0;;24660:68;;;;-1:-1:-1;;;24660:68:0;;;;;;;:::i;:::-;25164:21:::1;25182:1;25164:9;:21::i;:::-;25099:94::o:0;26106:41::-;;;;;;;;;;;;;:::o;24448:87::-;24521:6;;-1:-1:-1;;;;;24521:6:0;24448:87;:::o;13364:104::-;13420:13;13453:7;13446:14;;;;;:::i;17883:482::-;18003:4;18025:24;18052:11;:25;18064:12;:10;:12::i;:::-;-1:-1:-1;;;;;18052:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18052:25:0;;;:34;;;;;;;;;;;-1:-1:-1;18119:35:0;;;;18097:122;;;;-1:-1:-1;;;18097:122:0;;;;;;;:::i;:::-;18255:67;18264:12;:10;:12::i;:::-;18278:7;18306:15;18287:16;:34;18255:8;:67::i;:::-;-1:-1:-1;18353:4:0;;17883:482;-1:-1:-1;;;17883:482:0:o;14826:216::-;14948:4;14970:42;14980:12;:10;:12::i;:::-;14994:9;15005:6;14970:9;:42::i;27444:996::-;27666:15;27654:8;:27;;27646:56;;;;-1:-1:-1;;;27646:56:0;;;;;;;:::i;:::-;27818:16;;-1:-1:-1;;;;;28062:13:0;;27713:14;28062:13;;;:6;:13;;;;;:15;;27713:14;;27818:16;26033:66;;27964:5;;27996:7;;28030:5;;28062:15;27713:14;28062:15;;;:::i;:::-;;;;;28104:8;27885:250;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27853:301;;;;;;27754:415;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27730:450;;;;;;27713:467;;28191:24;28218:26;28228:6;28236:1;28239;28242;28218:26;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28218:26:0;;-1:-1:-1;;28218:26:0;;;-1:-1:-1;;;;;;;28277:30:0;;;;;;:59;;;28331:5;-1:-1:-1;;;;;28311:25:0;:16;-1:-1:-1;;;;;28311:25:0;;28277:59;28255:135;;;;-1:-1:-1;;;28255:135:0;;;;;;;:::i;:::-;28401:31;28410:5;28417:7;28426:5;28401:8;:31::i;:::-;27444:996;;;;;;;;;:::o;15105:201::-;-1:-1:-1;;;;;15271:18:0;;;15239:7;15271:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15105:201::o;26982:94::-;27042:26;27048:10;27060:7;27042:5;:26::i;26195:21::-;;;-1:-1:-1;;;;;26195:21:0;;:::o;25348:229::-;24679:12;:10;:12::i;:::-;-1:-1:-1;;;;;24668:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24668:23:0;;24660:68;;;;-1:-1:-1;;;24660:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25451:22:0;::::1;25429:110;;;;-1:-1:-1::0;;;25429:110:0::1;;;;;;;:::i;:::-;25550:19;25560:8;25550:9;:19::i;566:98::-:0;646:10;566:98;:::o;21673:380::-;-1:-1:-1;;;;;21809:19:0;;21801:68;;;;-1:-1:-1;;;21801:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21888:21:0;;21880:68;;;;-1:-1:-1;;;21880:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21961:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;22013:32;;;;;21991:6;;22013:32;:::i;:::-;;;;;;;;21673:380;;;:::o;18855:770::-;-1:-1:-1;;;;;18995:20:0;;18987:70;;;;-1:-1:-1;;;18987:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19076:23:0;;19068:71;;;;-1:-1:-1;;;19068:71:0;;;;;;;:::i;:::-;19152:47;19173:6;19181:9;19192:6;19152:20;:47::i;:::-;-1:-1:-1;;;;;19236:17:0;;19212:21;19236:17;;;;;;;;;;;19286:23;;;;19264:111;;;;-1:-1:-1;;;19264:111:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19411:17:0;;;:9;:17;;;;;;;;;;;19431:22;;;19411:42;;19475:20;;;;;;;;:30;;19447:6;;19411:9;19475:30;;19447:6;;19475:30;:::i;:::-;;;;;;;;19540:9;-1:-1:-1;;;;;19523:35:0;19532:6;-1:-1:-1;;;;;19523:35:0;;19551:6;19523:35;;;;;;:::i;:::-;;;;;;;;19571:46;19591:6;19599:9;19610:6;19571:19;:46::i;:::-;18855:770;;;;:::o;27084:243::-;27159:8;;:50;;-1:-1:-1;;;27159:50:0;;-1:-1:-1;;;;;27159:8:0;;;;:21;;:50;;27181:4;;27159:8;;27202:6;;27159:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;27230:24:0;;27220:49;;-1:-1:-1;;;;;27230:24:0;27256:4;27262:6;27220:9;:49::i;:::-;27306:4;-1:-1:-1;;;;;27285:34:0;27302:1;-1:-1:-1;;;;;27285:34:0;;27312:6;27285:34;;;;;;:::i;:::-;;;;;;;;27084:243;;:::o;25585:173::-;25660:6;;;-1:-1:-1;;;;;25677:17:0;;;-1:-1:-1;;;;;;25677:17:0;;;;;;;25710:40;;25660:6;;;25677:17;25660:6;;25710:40;;25641:16;;25710:40;25585:173;;:::o;20644:591::-;-1:-1:-1;;;;;20728:21:0;;20720:67;;;;-1:-1:-1;;;20720:67:0;;;;;;;:::i;:::-;20800:49;20821:7;20838:1;20842:6;20800:20;:49::i;:::-;-1:-1:-1;;;;;20887:18:0;;20862:22;20887:18;;;;;;;;;;;20924:24;;;;20916:71;;;;-1:-1:-1;;;20916:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21023:18:0;;:9;:18;;;;;;;;;;21044:23;;;21023:44;;21089:12;:22;;21061:6;;21023:9;21089:22;;21061:6;;21089:22;:::i;:::-;;;;-1:-1:-1;;21129:37:0;;21155:1;;-1:-1:-1;;;;;21129:37:0;;;;;;;21159:6;;21129:37;:::i;:::-;;;;;;;;21179:48;21199:7;21216:1;21220:6;21179:48;20644:591;;;:::o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;:::-;345:41;264:128;-1:-1:-1;;;264:128:1:o;397:274::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;;625:40;661:2;650:9;646:18;625:40;:::i;:::-;615:50;;484:187;;;;;:::o;676:342::-;;;;822:2;810:9;801:7;797:23;793:32;790:2;;;843:6;835;828:22;790:2;871:31;892:9;871:31;:::i;:::-;861:41;;921:40;957:2;946:9;942:18;921:40;:::i;:::-;911:50;;1008:2;997:9;993:18;980:32;970:42;;780:238;;;;;:::o;1023:717::-;;;;;;;;1235:3;1223:9;1214:7;1210:23;1206:33;1203:2;;;1257:6;1249;1242:22;1203:2;1285:31;1306:9;1285:31;:::i;:::-;1275:41;;1335:40;1371:2;1360:9;1356:18;1335:40;:::i;:::-;1325:50;;1422:2;1411:9;1407:18;1394:32;1384:42;;1473:2;1462:9;1458:18;1445:32;1435:42;;1527:3;1516:9;1512:19;1499:33;1572:4;1565:5;1561:16;1554:5;1551:27;1541:2;;1597:6;1589;1582:22;1541:2;1193:547;;;;-1:-1:-1;1193:547:1;;;;1625:5;1677:3;1662:19;;1649:33;;-1:-1:-1;1729:3:1;1714:19;;;1701:33;;1193:547;-1:-1:-1;;1193:547:1:o;1745:266::-;;;1874:2;1862:9;1853:7;1849:23;1845:32;1842:2;;;1895:6;1887;1880:22;1842:2;1923:31;1944:9;1923:31;:::i;:::-;1913:41;2001:2;1986:18;;;;1973:32;;-1:-1:-1;;;1832:179:1:o;2016:297::-;;2136:2;2124:9;2115:7;2111:23;2107:32;2104:2;;;2157:6;2149;2142:22;2104:2;2194:9;2188:16;2247:5;2240:13;2233:21;2226:5;2223:32;2213:2;;2274:6;2266;2259:22;2318:190;;2430:2;2418:9;2409:7;2405:23;2401:32;2398:2;;;2451:6;2443;2436:22;2398:2;-1:-1:-1;2479:23:1;;2388:120;-1:-1:-1;2388:120:1:o;2513:392::-;-1:-1:-1;;;2771:27:1;;2823:1;2814:11;;2807:27;;;;2859:2;2850:12;;2843:28;2896:2;2887:12;;2761:144::o;2910:203::-;-1:-1:-1;;;;;3074:32:1;;;;3056:51;;3044:2;3029:18;;3011:102::o;3118:375::-;-1:-1:-1;;;;;3376:15:1;;;3358:34;;3428:15;;;;3423:2;3408:18;;3401:43;3475:2;3460:18;;3453:34;;;;3308:2;3293:18;;3275:218::o;3498:187::-;3663:14;;3656:22;3638:41;;3626:2;3611:18;;3593:92::o;3690:177::-;3836:25;;;3824:2;3809:18;;3791:76::o;3872:591::-;4159:25;;;-1:-1:-1;;;;;4258:15:1;;;4253:2;4238:18;;4231:43;4310:15;;;;4305:2;4290:18;;4283:43;4357:2;4342:18;;4335:34;4400:3;4385:19;;4378:35;;;;4211:3;4429:19;;4422:35;4146:3;4131:19;;4113:350::o;4468:398::-;4695:25;;;4768:4;4756:17;;;;4751:2;4736:18;;4729:45;4805:2;4790:18;;4783:34;4848:2;4833:18;;4826:34;4682:3;4667:19;;4649:217::o;5092:603::-;;5233:2;5262;5251:9;5244:21;5294:6;5288:13;5337:6;5332:2;5321:9;5317:18;5310:34;5362:4;5375:140;5389:6;5386:1;5383:13;5375:140;;;5484:14;;;5480:23;;5474:30;5450:17;;;5469:2;5446:26;5439:66;5404:10;;5375:140;;;5533:6;5530:1;5527:13;5524:2;;;5603:4;5598:2;5589:6;5578:9;5574:22;5570:31;5563:45;5524:2;-1:-1:-1;5679:2:1;5658:15;-1:-1:-1;;5654:29:1;5639:45;;;;5686:2;5635:54;;5213:482;-1:-1:-1;;;5213:482:1:o;5700:399::-;5902:2;5884:21;;;5941:2;5921:18;;;5914:30;5980:34;5975:2;5960:18;;5953:62;-1:-1:-1;;;6046:2:1;6031:18;;6024:33;6089:3;6074:19;;5874:225::o;6104:398::-;6306:2;6288:21;;;6345:2;6325:18;;;6318:30;6384:34;6379:2;6364:18;;6357:62;-1:-1:-1;;;6450:2:1;6435:18;;6428:32;6492:3;6477:19;;6278:224::o;6507:402::-;6709:2;6691:21;;;6748:2;6728:18;;;6721:30;6787:34;6782:2;6767:18;;6760:62;-1:-1:-1;;;6853:2:1;6838:18;;6831:36;6899:3;6884:19;;6681:228::o;6914:398::-;7116:2;7098:21;;;7155:2;7135:18;;;7128:30;7194:34;7189:2;7174:18;;7167:62;-1:-1:-1;;;7260:2:1;7245:18;;7238:32;7302:3;7287:19;;7088:224::o;7317:402::-;7519:2;7501:21;;;7558:2;7538:18;;;7531:30;7597:34;7592:2;7577:18;;7570:62;-1:-1:-1;;;7663:2:1;7648:18;;7641:36;7709:3;7694:19;;7491:228::o;7724:404::-;7926:2;7908:21;;;7965:2;7945:18;;;7938:30;8004:34;7999:2;7984:18;;7977:62;-1:-1:-1;;;8070:2:1;8055:18;;8048:38;8118:3;8103:19;;7898:230::o;8133:356::-;8335:2;8317:21;;;8354:18;;;8347:30;8413:34;8408:2;8393:18;;8386:62;8480:2;8465:18;;8307:182::o;8494:397::-;8696:2;8678:21;;;8735:2;8715:18;;;8708:30;8774:34;8769:2;8754:18;;8747:62;-1:-1:-1;;;8840:2:1;8825:18;;8818:31;8881:3;8866:19;;8668:223::o;8896:401::-;9098:2;9080:21;;;9137:2;9117:18;;;9110:30;9176:34;9171:2;9156:18;;9149:62;-1:-1:-1;;;9242:2:1;9227:18;;9220:35;9287:3;9272:19;;9070:227::o;9302:400::-;9504:2;9486:21;;;9543:2;9523:18;;;9516:30;9582:34;9577:2;9562:18;;9555:62;-1:-1:-1;;;9648:2:1;9633:18;;9626:34;9692:3;9677:19;;9476:226::o;9707:350::-;9909:2;9891:21;;;9948:2;9928:18;;;9921:30;9987:28;9982:2;9967:18;;9960:56;10048:2;10033:18;;9881:176::o;10062:340::-;10264:2;10246:21;;;10303:2;10283:18;;;10276:30;-1:-1:-1;;;10337:2:1;10322:18;;10315:46;10393:2;10378:18;;10236:166::o;10407:401::-;10609:2;10591:21;;;10648:2;10628:18;;;10621:30;10687:34;10682:2;10667:18;;10660:62;-1:-1:-1;;;10753:2:1;10738:18;;10731:35;10798:3;10783:19;;10581:227::o;10995:184::-;11167:4;11155:17;;;;11137:36;;11125:2;11110:18;;11092:87::o;11184:128::-;;11255:1;11251:6;11248:1;11245:13;11242:2;;;11261:18;;:::i;:::-;-1:-1:-1;11297:9:1;;11232:80::o;11317:125::-;;11385:1;11382;11379:8;11376:2;;;11390:18;;:::i;:::-;-1:-1:-1;11427:9:1;;11366:76::o;11447:380::-;11532:1;11522:12;;11579:1;11569:12;;;11590:2;;11644:4;11636:6;11632:17;11622:27;;11590:2;11697;11689:6;11686:14;11666:18;11663:38;11660:2;;;11743:10;11738:3;11734:20;11731:1;11724:31;11778:4;11775:1;11768:15;11806:4;11803:1;11796:15;11660:2;;11502:325;;;:::o;11832:135::-;;-1:-1:-1;;11892:17:1;;11889:2;;;11912:18;;:::i;:::-;-1:-1:-1;11959:1:1;11948:13;;11879:88::o;11972:127::-;12033:10;12028:3;12024:20;12021:1;12014:31;12064:4;12061:1;12054:15;12088:4;12085:1;12078:15

Swarm Source

ipfs://a56acecd92c330f55653389ba6aa76d47962d5d1727ee83c4d204b9dbc46bac4
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.