Token PHP Stablecoin

 

Overview [ERC-20]

Max Total Supply:
20,000,000 PHP

Holders:
2

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

This fiat-backed PHP Stablecoin is issued and managed by Tagcash Ltd, registered with and regulated by the BSP (Central Bank of the Philippines). By law, all funds issued must be backed by equivalent cash in the bank, which cannot be used for anything else except to convert back to cash on demand.

# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PHP

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-06-13
*/

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }

    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: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.6.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: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.6.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

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

pragma solidity ^0.6.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.
 */
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 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/DateTime.sol

// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.0;

contract DateTime {
    uint256 constant SECONDS_PER_DAY = 24 * 60 * 60;
    uint256 constant SECONDS_PER_HOUR = 60 * 60;
    uint256 constant SECONDS_PER_MINUTE = 60;
    int256 constant OFFSET19700101 = 2440588;

    uint256 constant DOW_MON = 1;
    uint256 constant DOW_TUE = 2;
    uint256 constant DOW_WED = 3;
    uint256 constant DOW_THU = 4;
    uint256 constant DOW_FRI = 5;
    uint256 constant DOW_SAT = 6;
    uint256 constant DOW_SUN = 7;

    function _daysFromDate(
        uint256 year,
        uint256 month,
        uint256 day
    ) internal pure returns (uint256 _days) {
        require(year >= 1970, "Year should be atleast 1970 !!");
        int256 _year = int256(year);
        int256 _month = int256(month);
        int256 _day = int256(day);

        int256 __days = _day -
            32075 +
            (1461 * (_year + 4800 + (_month - 14) / 12)) /
            4 +
            (367 * (_month - 2 - ((_month - 14) / 12) * 12)) /
            12 -
            (3 * ((_year + 4900 + (_month - 14) / 12) / 100)) /
            4 -
            OFFSET19700101;

        _days = uint256(__days);
    }

    function _daysToDate(uint256 _days)
        internal
        pure
        returns (
            uint256 year,
            uint256 month,
            uint256 day
        )
    {
        int256 __days = int256(_days);

        int256 L = __days + 68569 + OFFSET19700101;
        int256 N = (4 * L) / 146097;
        L = L - (146097 * N + 3) / 4;
        int256 _year = (4000 * (L + 1)) / 1461001;
        L = L - (1461 * _year) / 4 + 31;
        int256 _month = (80 * L) / 2447;
        int256 _day = L - (2447 * _month) / 80;
        L = _month / 11;
        _month = _month + 2 - 12 * L;
        _year = 100 * (N - 49) + _year + L;

        year = uint256(_year);
        month = uint256(_month);
        day = uint256(_day);
    }

    function timestampFromDate(
        uint256 year,
        uint256 month,
        uint256 day
    ) internal pure returns (uint256 timestamp) {
        timestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY;
    }

    function timestampToDate(uint256 timestamp)
        internal
        pure
        returns (
            uint256 year,
            uint256 month,
            uint256 day
        )
    {
        (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY);
    }
}

// File: contracts/Management.sol

// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.2;





/**
 * @title PHP Stable Coin Account Management Contract
 *
 */
contract Management is Ownable, DateTime {
    using SafeMath for uint256;

    mapping(address => bool) public isWhitelistAddress;
    mapping(address => bool) public isSubAdmin;
    mapping(address => bool) public isFreezed;
    mapping(address => address) public addedBy;
    mapping(address => uint256) public monthlyAllowance;
    mapping(address => uint256) public userMonthlyAllowance;
    mapping(address => uint256) public allowanceUpdateTimestamp;

    /**
     * @dev Function to check if caller is the owner.
     *
     */
    function isOwner() internal view returns (bool) {
        return owner() == msg.sender;
    }

    /**
     * @dev Function to add sub admin.
     * Can only be called by owner.
     *
     */
    function addSubAdmin(address _address) public onlyOwner {
        isSubAdmin[_address] = true;
    }

    /**
     * @dev Function to remove sub admin.
     * Can only be called by owner.
     *
     */
    function removeSubAdmin(address _address) public onlyOwner {
        isSubAdmin[_address] = false;
    }

    /**
     * @dev Function to add whitelist address.
     * Can only be called by owner or Sub Admin.
     *
     */
    function addWhitelistAddress(address _address, uint256 allowanceAmount)
        public
    {
        require(
            isSubAdmin[msg.sender] || isOwner(),
            "You don't have rights to call this function !!"
        );

        isWhitelistAddress[_address] = true;

        userMonthlyAllowance[_address] = allowanceAmount;
        monthlyAllowance[_address] = allowanceAmount;

        (uint256 currentYear, uint256 currentMonth, ) = timestampToDate(now);

        allowanceUpdateTimestamp[_address] = timestampFromDate(
            currentYear,
            currentMonth,
            1
        );

        addedBy[_address] = msg.sender;
    }

    /**
     * @dev Function to remove whitelist address.
     * Can only be called by owner or Sub Admin.
     *
     */
    function removeWhitelistAddress(address _address) public {
        require(
            isSubAdmin[msg.sender] || isOwner(),
            "You don't have rights to call this function !!"
        );

        if (!isOwner()) {
            require(
                addedBy[_address] == msg.sender,
                "You didn't added this user so, you can't remove !!"
            );
        }

        isWhitelistAddress[_address] = false;
    }

    /**
     * @dev Function to freeze account.
     * Can only be called by owner or Sub Admin.
     *
     */
    function freezeAccount(address _address) public {
        require(
            isSubAdmin[msg.sender] || isOwner(),
            "You don't have rights to call this function !!"
        );

        if (!isOwner()) {
            require(
                addedBy[_address] == msg.sender,
                "You didn't added this user so, you can't remove !!"
            );
        }

        isFreezed[_address] = true;
    }

    /**
     * @dev Function to unfreeze account.
     * Can only be called by owner or Sub Admin.
     *
     */
    function unfreezeAccount(address _address) public {
        require(
            isSubAdmin[msg.sender] || isOwner(),
            "You don't have rights to call this function !!"
        );

        if (!isOwner()) {
            require(
                addedBy[_address] == msg.sender,
                "You didn't added this user so, you can't remove !!"
            );
        }

        isFreezed[_address] = false;
    }

    /**
     * @dev Function to update account monthly allowance.
     * Can only be called by owner or Sub Admin.
     *
     */
    function updateMonthlyAllowance(address _address, uint256 amount) public {
        require(
            isSubAdmin[msg.sender] || isOwner(),
            "You don't have rights to call this function !!"
        );

        if (!isOwner()) {
            require(
                addedBy[_address] == msg.sender,
                "You didn't added this user so, you can't remove !!"
            );
        }

        monthlyAllowance[_address] = amount;
        userMonthlyAllowance[_address] = amount;
    }
}

// File: contracts/ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 {ERC20MinterPauser}.
 *
 * 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, Management {
    using SafeMath for uint256;
    using Address for address;

    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 returns (string memory) {
        return _name;
    }

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public override view 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
        virtual
        override
        view
        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);
        monthlyAllowance[recipient] = monthlyAllowance[recipient].sub(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");

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

        _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 is 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 {
        _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 {
        require(
            isWhitelistAddress[from],
            "Your address is not present in the whitelist addresses !!"
        );

        require(
            isWhitelistAddress[to],
            "Receiver address is not present in the whitelist addresses !!"
        );

        require(
            !isFreezed[from],
            "Your account is freezed. Please contact admins !!"
        );

        require(
            !isFreezed[to],
            "Reciever account is freezed. Please contact admins !!"
        );

        if (monthlyAllowance[to] < amount) {
            (uint256 currentYear, uint256 currentMonth, ) = timestampToDate(
                now
            );
            (uint256 previousYear, uint256 previousMonth, ) = timestampToDate(
                allowanceUpdateTimestamp[to]
            );

            if (currentMonth > previousMonth || currentYear > currentYear) {
                if (previousYear < currentYear) {
                    currentYear = currentYear + 1;
                }

                uint256 nextTimestamp = timestampFromDate(
                    currentYear,
                    currentMonth,
                    1
                );

                monthlyAllowance[to] = userMonthlyAllowance[to];
                allowanceUpdateTimestamp[to] = nextTimestamp;
            } else {
                revert(
                    "Receiver doesn't have remaining allowance for this month !!"
                );
            }
        }
    }

    /**
     * @dev Function to mint tokens.
     * Can only be called by owner.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function mint(address to, uint256 amount) public virtual onlyOwner {
        _mint(to, amount);
    }

    /**
     * @dev Function to burn tokens.
     *
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }
}

// File: contracts/PHP.sol

// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.2;



/**
 * @title PHP Stable Coin Token Contract
 *
 */
contract PHP is ERC20 {
    constructor() public ERC20("PHP Stablecoin", "PHP") {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addSubAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"allowanceAmount","type":"uint256"}],"name":"addWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addedBy","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"allowanceUpdateTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"freezeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFreezed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isSubAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelistAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"monthlyAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeSubAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"unfreezeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMonthlyAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMonthlyAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600e81526020017f50485020537461626c65636f696e0000000000000000000000000000000000008152506040518060400160405280600381526020017f50485000000000000000000000000000000000000000000000000000000000008152506000620000906200018460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600b9080519060200190620001469291906200018c565b5080600c90805190602001906200015f9291906200018c565b506012600d60006101000a81548160ff021916908360ff16021790555050506200023b565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001cf57805160ff191683800117855562000200565b8280016001018555821562000200579182015b82811115620001ff578251825591602001919060010190620001e2565b5b5090506200020f919062000213565b5090565b6200023891905b80821115620002345760008160009055506001016200021a565b5090565b90565b613759806200024b6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638111f24e11610104578063b9c4eb43116100a2578063f26c159f11610071578063f26c159f14610a95578063f2fde38b14610ad9578063f4651d5714610b1d578063f99bcfb214610b61576101da565b8063b9c4eb4314610921578063d1c63b2114610965578063d7aed245146109c1578063dd62ed3e14610a1d576101da565b8063a457c2d7116100de578063a457c2d7146107b9578063a9059cbb1461081f578063b30c5cd714610885578063b7ecbaae146108dd576101da565b80638111f24e146106905780638da5cb5b146106ec57806395d89b4114610736576101da565b806342966c681161017c57806354323f6d1161014b57806354323f6d1461059257806370a08231146105ea578063715018a614610642578063788649ea1461064c576101da565b806342966c68146104445780634b3e07f51461047257806350d62aa4146104c05780635254aca914610544576101da565b806323b872dd116101b857806323b872dd146102e6578063313ce5671461036c578063395093511461039057806340c10f19146103f6576101da565b806306fdde03146101df578063095ea7b31461026257806318160ddd146102c8575b600080fd5b6101e7610bb9565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561022757808201518184015260208101905061020c565b50505050905090810190601f1680156102545780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ae6004803603604081101561027857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c5b565b604051808215151515815260200191505060405180910390f35b6102d0610c79565b6040518082815260200191505060405180910390f35b610352600480360360608110156102fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c83565b604051808215151515815260200191505060405180910390f35b610374610d5c565b604051808260ff1660ff16815260200191505060405180910390f35b6103dc600480360360408110156103a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d73565b604051808215151515815260200191505060405180910390f35b6104426004803603604081101561040c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e26565b005b6104706004803603602081101561045a57600080fd5b8101908080359060200190929190505050610efd565b005b6104be6004803603604081101561048857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f11565b005b610502600480360360208110156104d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061113e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105906004803603604081101561055a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611171565b005b6105d4600480360360208110156105a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113e5565b6040518082815260200191505060405180910390f35b61062c6004803603602081101561060057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113fd565b6040518082815260200191505060405180910390f35b61064a611446565b005b61068e6004803603602081101561066257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115ce565b005b6106d2600480360360208110156106a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117ca565b604051808215151515815260200191505060405180910390f35b6106f46117ea565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61073e611813565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077e578082015181840152602081019050610763565b50505050905090810190601f1680156107ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610805600480360360408110156107cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118b5565b604051808215151515815260200191505060405180910390f35b61086b6004803603604081101561083557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611982565b604051808215151515815260200191505060405180910390f35b6108c76004803603602081101561089b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119a0565b6040518082815260200191505060405180910390f35b61091f600480360360208110156108f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119b8565b005b6109636004803603602081101561093757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611bb4565b005b6109a76004803603602081101561097b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cd8565b604051808215151515815260200191505060405180910390f35b610a03600480360360208110156109d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cf8565b604051808215151515815260200191505060405180910390f35b610a7f60048036036040811015610a3357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d18565b6040518082815260200191505060405180910390f35b610ad760048036036020811015610aab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d9f565b005b610b1b60048036036020811015610aef57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f9b565b005b610b5f60048036036020811015610b3357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121a8565b005b610ba360048036036020811015610b7757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122cc565b6040518082815260200191505060405180910390f35b6060600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c515780601f10610c2657610100808354040283529160200191610c51565b820191906000526020600020905b815481529060010190602001808311610c3457829003601f168201915b5050505050905090565b6000610c6f610c686122e4565b84846122ec565b6001905092915050565b6000600a54905090565b6000610c908484846124e3565b610d5184610c9c6122e4565b610d4c8560405180606001604052806028815260200161360e60289139600960008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610d026122e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461283d9092919063ffffffff16565b6122ec565b600190509392505050565b6000600d60009054906101000a900460ff16905090565b6000610e1c610d806122e4565b84610e178560096000610d916122e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128fd90919063ffffffff16565b6122ec565b6001905092915050565b610e2e6122e4565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610eef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610ef98282612985565b5050565b610f0e610f086122e4565b82612b42565b50565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610f6d5750610f6c612cfc565b5b610fc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806136d1602e913960400191505060405180910390fd5b610fca612cfc565b6110b2573373ffffffffffffffffffffffffffffffffffffffff16600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806135686032913960400191505060405180910390fd5b5b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806111cd57506111cc612cfc565b5b611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806136d1602e913960400191505060405180910390fd5b60018060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008061130d42612d39565b509150915061131e82826001612d66565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555033600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b60076020528060005260406000206000915090505481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61144e6122e4565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461150f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061162a5750611629612cfc565b5b61167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806136d1602e913960400191505060405180910390fd5b611687612cfc565b61176f573373ffffffffffffffffffffffffffffffffffffffff16600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461176e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806135686032913960400191505060405180910390fd5b5b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60036020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118ab5780601f10611880576101008083540402835291602001916118ab565b820191906000526020600020905b81548152906001019060200180831161188e57829003601f168201915b5050505050905090565b60006119786118c26122e4565b84611973856040518060600160405280602581526020016136ff60259139600960006118ec6122e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461283d9092919063ffffffff16565b6122ec565b6001905092915050565b600061199661198f6122e4565b84846124e3565b6001905092915050565b60056020528060005260406000206000915090505481565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a145750611a13612cfc565b5b611a69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806136d1602e913960400191505060405180910390fd5b611a71612cfc565b611b59573373ffffffffffffffffffffffffffffffffffffffff16600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806135686032913960400191505060405180910390fd5b5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611bbc6122e4565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60026020528060005260406000206000915054906101000a900460ff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611dfb5750611dfa612cfc565b5b611e50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806136d1602e913960400191505060405180910390fd5b611e58612cfc565b611f40573373ffffffffffffffffffffffffffffffffffffffff16600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f3f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806135686032913960400191505060405180910390fd5b5b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611fa36122e4565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612064576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134886026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6121b06122e4565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612271576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60066020528060005260406000206000915090505481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612372576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806136ad6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806134ae6022913960400191505060405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612569576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806136886025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806134436023913960400191505060405180910390fd5b6125fa838383612d81565b612666816040518060600160405280602681526020016134d060269139600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461283d9092919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506126fb81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128fd90919063ffffffff16565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061279081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461320c90919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906128ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128af578082015181840152602081019050612894565b50505050905090810190601f1680156128dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008082840190508381101561297b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612a3d81600a546128fd90919063ffffffff16565b600a81905550612a9581600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128fd90919063ffffffff16565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806136676021913960400191505060405180910390fd5b612c348160405180606001604052806022815260200161346660229139600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461283d9092919063ffffffff16565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c8c81600a5461320c90919063ffffffff16565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60003373ffffffffffffffffffffffffffffffffffffffff16612d1d6117ea565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000806000612d53620151808581612d4d57fe5b04613256565b8093508194508295505050509193909250565b600062015180612d7785858561332a565b0290509392505050565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612e23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061359a6039913960400191505060405180910390fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612ec5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d8152602001806134f6603d913960400191505060405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806136366031913960400191505060405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561300b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806135336035913960400191505060405180910390fd5b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156132075760008061305e42612d39565b50915091506000806130ae600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d39565b5091509150808311806130c057508384115b156131b157838210156130d4576001840193505b60006130e285856001612d66565b9050600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600760008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050613202565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001806135d3603b913960400191505060405180910390fd5b505050505b505050565b600061324e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061283d565b905092915050565b600080600080849050600062253d8c62010bd98301019050600062023ab1826004028161327f57fe5b059050600460038262023ab102018161329457fe5b0582039150600062164b0960018401610fa002816132ae57fe5b059050601f6004826105b502816132c157fe5b058403019250600061098f84605002816132d757fe5b059050600060508261098f02816132ea57fe5b0585039050600b82816132f957fe5b05945084600c0260028301039150848360318603606402010192508298508197508096505050505050509193909250565b60006107b28410156133a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f596561722073686f756c642062652061746c656173742031393730202121000081525060200191505060405180910390fd5b600084905060008490506000849050600062253d8c60046064600c600e8703816133ca57fe5b05611324880101816133d857fe5b05600302816133e357fe5b05600c80600c600e8803816133f457fe5b0502600287030361016f028161340657fe5b056004600c600e88038161341657fe5b056112c08901016105b5028161342857fe5b05617d4b860301010303905080945050505050939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636552656365697665722061646472657373206973206e6f742070726573656e7420696e207468652077686974656c697374206164647265737365732021215265636965766572206163636f756e7420697320667265657a65642e20506c6561736520636f6e746163742061646d696e73202121596f75206469646e27742061646465642074686973207573657220736f2c20796f752063616e27742072656d6f7665202121596f75722061646472657373206973206e6f742070726573656e7420696e207468652077686974656c69737420616464726573736573202121526563656976657220646f65736e277420686176652072656d61696e696e6720616c6c6f77616e636520666f722074686973206d6f6e746820212145524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365596f7572206163636f756e7420697320667265657a65642e20506c6561736520636f6e746163742061646d696e7320212145524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373596f7520646f6e277420686176652072696768747320746f2063616c6c20746869732066756e6374696f6e20212145524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c5eac103cc48d2b5f54e1215b1a9ea1b38cf33f85c0abb43fd09ed5d6ccfa6fe64736f6c63430006020033

Deployed ByteCode Sourcemap

35127:86:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35127:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23552:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;23552:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25749:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25749:210:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24627:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26433:454;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26433:454:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24479:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27296:300;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27296:300:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;34695:103;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34695:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34870:91;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34870:91:0;;;;;;;;;;;;;;;;;:::i;:::-;;20825:519;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20825:519:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17312:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17312:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;18290:678;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18290:678:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17481:59;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17481:59:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24790:119;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24790:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13793:148;;;:::i;:::-;;20244:438;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20244:438:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;17264:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17264:41:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13151:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23754:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;23754:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28099:400;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28099:400:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25122:216;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25122:216:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;17361:51;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17361:51:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19103:454;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19103:454:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;17836:102;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17836:102:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;17215:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17215:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;17158:50;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17158:50:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25401:201;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25401:201:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19682:435;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19682:435:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;14096:244;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14096:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;18052:106;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18052:106:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;17419:55;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17419:55:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23552:83;23589:13;23622:5;23615:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23552:83;:::o;25749:210::-;25868:4;25890:39;25899:12;:10;:12::i;:::-;25913:7;25922:6;25890:8;:39::i;:::-;25947:4;25940:11;;25749:210;;;;:::o;24627:100::-;24680:7;24707:12;;24700:19;;24627:100;:::o;26433:454::-;26573:4;26590:36;26600:6;26608:9;26619:6;26590:9;:36::i;:::-;26637:220;26660:6;26681:12;:10;:12::i;:::-;26708:138;26764:6;26708:138;;;;;;;;;;;;;;;;;:11;:19;26720:6;26708:19;;;;;;;;;;;;;;;:33;26728:12;:10;:12::i;:::-;26708:33;;;;;;;;;;;;;;;;:37;;:138;;;;;:::i;:::-;26637:8;:220::i;:::-;26875:4;26868:11;;26433:454;;;;;:::o;24479:83::-;24520:5;24545:9;;;;;;;;;;;24538:16;;24479:83;:::o;27296:300::-;27411:4;27433:133;27456:12;:10;:12::i;:::-;27483:7;27505:50;27544:10;27505:11;:25;27517:12;:10;:12::i;:::-;27505:25;;;;;;;;;;;;;;;:34;27531:7;27505:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;27433:8;:133::i;:::-;27584:4;27577:11;;27296:300;;;;:::o;34695:103::-;13373:12;:10;:12::i;:::-;13363:22;;:6;;;;;;;;;;;:22;;;13355:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34773:17:::1;34779:2;34783:6;34773:5;:17::i;:::-;34695:103:::0;;:::o;34870:91::-;34926:27;34932:12;:10;:12::i;:::-;34946:6;34926:5;:27::i;:::-;34870:91;:::o;20825:519::-;20931:10;:22;20942:10;20931:22;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;;20957:9;:7;:9::i;:::-;20931:35;20909:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21058:9;:7;:9::i;:::-;21053:186;;21131:10;21110:31;;:7;:17;21118:8;21110:17;;;;;;;;;;;;;;;;;;;;;;;;;:31;;;21084:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21053:186;21280:6;21251:16;:26;21268:8;21251:26;;;;;;;;;;;;;;;:35;;;;21330:6;21297:20;:30;21318:8;21297:30;;;;;;;;;;;;;;;:39;;;;20825:519;;:::o;17312:42::-;;;;;;;;;;;;;;;;;;;;;;:::o;18290:678::-;18416:10;:22;18427:10;18416:22;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;;18442:9;:7;:9::i;:::-;18416:35;18394:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18569:4;18538:18;:28;18557:8;18538:28;;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;18619:15;18586:20;:30;18607:8;18586:30;;;;;;;;;;;;;;;:48;;;;18674:15;18645:16;:26;18662:8;18645:26;;;;;;;;;;;;;;;:44;;;;18703:19;18724:20;18750;18766:3;18750:15;:20::i;:::-;18702:68;;;;;18820:97;18852:11;18878:12;18905:1;18820:17;:97::i;:::-;18783:24;:34;18808:8;18783:34;;;;;;;;;;;;;;;:134;;;;18950:10;18930:7;:17;18938:8;18930:17;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;18290:678;;;;:::o;17481:59::-;;;;;;;;;;;;;;;;;:::o;24790:119::-;24856:7;24883:9;:18;24893:7;24883:18;;;;;;;;;;;;;;;;24876:25;;24790:119;;;:::o;13793:148::-;13373:12;:10;:12::i;:::-;13363:22;;:6;;;;;;;;;;;:22;;;13355:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13900:1:::1;13863:40;;13884:6;::::0;::::1;;;;;;;;;13863:40;;;;;;;;;;;;13931:1;13914:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;13793:148::o:0;20244:438::-;20327:10;:22;20338:10;20327:22;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;;20353:9;:7;:9::i;:::-;20327:35;20305:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20454:9;:7;:9::i;:::-;20449:186;;20527:10;20506:31;;:7;:17;20514:8;20506:17;;;;;;;;;;;;;;;;;;;;;;;;;:31;;;20480:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20449:186;20669:5;20647:9;:19;20657:8;20647:19;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;20244:438;:::o;17264:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;13151:79::-;13189:7;13216:6;;;;;;;;;;;13209:13;;13151:79;:::o;23754:87::-;23793:13;23826:7;23819:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23754:87;:::o;28099:400::-;28219:4;28241:228;28264:12;:10;:12::i;:::-;28291:7;28313:145;28370:15;28313:145;;;;;;;;;;;;;;;;;:11;:25;28325:12;:10;:12::i;:::-;28313:25;;;;;;;;;;;;;;;:34;28339:7;28313:34;;;;;;;;;;;;;;;;:38;;:145;;;;;:::i;:::-;28241:8;:228::i;:::-;28487:4;28480:11;;28099:400;;;;:::o;25122:216::-;25244:4;25266:42;25276:12;:10;:12::i;:::-;25290:9;25301:6;25266:9;:42::i;:::-;25326:4;25319:11;;25122:216;;;;:::o;17361:51::-;;;;;;;;;;;;;;;;;:::o;19103:454::-;19193:10;:22;19204:10;19193:22;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;;19219:9;:7;:9::i;:::-;19193:35;19171:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19320:9;:7;:9::i;:::-;19315:186;;19393:10;19372:31;;:7;:17;19380:8;19372:17;;;;;;;;;;;;;;;;;;;;;;;;;:31;;;19346:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19315:186;19544:5;19513:18;:28;19532:8;19513:28;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;19103:454;:::o;17836:102::-;13373:12;:10;:12::i;:::-;13363:22;;:6;;;;;;;;;;;:22;;;13355:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17926:4:::1;17903:10;:20;17914:8;17903:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;17836:102:::0;:::o;17215:42::-;;;;;;;;;;;;;;;;;;;;;;:::o;17158:50::-;;;;;;;;;;;;;;;;;;;;;;:::o;25401:201::-;25535:7;25567:11;:18;25579:5;25567:18;;;;;;;;;;;;;;;:27;25586:7;25567:27;;;;;;;;;;;;;;;;25560:34;;25401:201;;;;:::o;19682:435::-;19763:10;:22;19774:10;19763:22;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;;19789:9;:7;:9::i;:::-;19763:35;19741:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19890:9;:7;:9::i;:::-;19885:186;;19963:10;19942:31;;:7;:17;19950:8;19942:17;;;;;;;;;;;;;;;;;;;;;;;;;:31;;;19916:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19885:186;20105:4;20083:9;:19;20093:8;20083:19;;;;;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;19682:435;:::o;14096:244::-;13373:12;:10;:12::i;:::-;13363:22;;:6;;;;;;;;;;;:22;;;13355:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14205:1:::1;14185:22;;:8;:22;;;;14177:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14295:8;14266:38;;14287:6;::::0;::::1;;;;;;;;;14266:38;;;;;;;;;;;;14324:8;14315:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;14096:244:::0;:::o;18052:106::-;13373:12;:10;:12::i;:::-;13363:22;;:6;;;;;;;;;;;:22;;;13355:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18145:5:::1;18122:10;:20;18133:8;18122:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;18052:106:::0;:::o;17419:55::-;;;;;;;;;;;;;;;;;:::o;804:106::-;857:15;892:10;885:17;;804:106;:::o;31443:380::-;31596:1;31579:19;;:5;:19;;;;31571:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31677:1;31658:21;;:7;:21;;;;31650:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31761:6;31731:11;:18;31743:5;31731:18;;;;;;;;;;;;;;;:27;31750:7;31731:27;;;;;;;;;;;;;;;:36;;;;31799:7;31783:32;;31792:5;31783:32;;;31808:6;31783:32;;;;;;;;;;;;;;;;;;31443:380;;;:::o;28989:692::-;29147:1;29129:20;;:6;:20;;;;29121:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29231:1;29210:23;;:9;:23;;;;29202:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29286:47;29307:6;29315:9;29326:6;29286:20;:47::i;:::-;29366:108;29402:6;29366:108;;;;;;;;;;;;;;;;;:9;:17;29376:6;29366:17;;;;;;;;;;;;;;;;:21;;:108;;;;;:::i;:::-;29346:9;:17;29356:6;29346:17;;;;;;;;;;;;;;;:128;;;;29508:32;29533:6;29508:9;:20;29518:9;29508:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;29485:9;:20;29495:9;29485:20;;;;;;;;;;;;;;;:55;;;;29581:39;29613:6;29581:16;:27;29598:9;29581:27;;;;;;;;;;;;;;;;:31;;:39;;;;:::i;:::-;29551:16;:27;29568:9;29551:27;;;;;;;;;;;;;;;:69;;;;29655:9;29638:35;;29647:6;29638:35;;;29666:6;29638:35;;;;;;;;;;;;;;;;;;28989:692;;;:::o;5757:192::-;5843:7;5876:1;5871;:6;;5879:12;5863:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;5863:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5903:9;5919:1;5915;:5;5903:17;;5940:1;5933:8;;;5757:192;;;;;:::o;4870:181::-;4928:7;4948:9;4964:1;4960;:5;4948:17;;4989:1;4984;:6;;4976:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5042:1;5035:8;;;4870:181;;;;:::o;29962:316::-;30065:1;30046:21;;:7;:21;;;;30038:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30131:24;30148:6;30131:12;;:16;;:24;;;;:::i;:::-;30116:12;:39;;;;30187:30;30210:6;30187:9;:18;30197:7;30187:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;30166:9;:18;30176:7;30166:18;;;;;;;;;;;;;;;:51;;;;30254:7;30233:37;;30250:1;30233:37;;;30263:6;30233:37;;;;;;;;;;;;;;;;;;29962:316;;:::o;30610:393::-;30713:1;30694:21;;:7;:21;;;;30686:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30787:105;30824:6;30787:105;;;;;;;;;;;;;;;;;:9;:18;30797:7;30787:18;;;;;;;;;;;;;;;;:22;;:105;;;;;:::i;:::-;30766:9;:18;30776:7;30766:18;;;;;;;;;;;;;;;:126;;;;30918:24;30935:6;30918:12;;:16;;:24;;;;:::i;:::-;30903:12;:39;;;;30984:1;30958:37;;30967:7;30958:37;;;30988:6;30958:37;;;;;;;;;;;;;;;;;;30610:393;;:::o;17630:95::-;17672:4;17707:10;17696:21;;:7;:5;:7::i;:::-;:21;;;17689:28;;17630:95;:::o;16614:271::-;16722:12;16749:13;16777:11;16837:40;14511:12;16849:9;:27;;;;;;16837:11;:40::i;:::-;16816:61;;;;;;;;;;;;16614:271;;;;;:::o;16381:225::-;16507:17;14511:12;16549:31;16563:4;16569:5;16576:3;16549:13;:31::i;:::-;:49;16537:61;;16381:225;;;;;:::o;32848:1665::-;33004:18;:24;33023:4;33004:24;;;;;;;;;;;;;;;;;;;;;;;;;32982:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33148:18;:22;33167:2;33148:22;;;;;;;;;;;;;;;;;;;;;;;;;33126:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33295:9;:15;33305:4;33295:15;;;;;;;;;;;;;;;;;;;;;;;;;33294:16;33272:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33423:9;:13;33433:2;33423:13;;;;;;;;;;;;;;;;;;;;;;;;;33422:14;33400:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33557:6;33534:16;:20;33551:2;33534:20;;;;;;;;;;;;;;;;:29;33530:976;;;33581:19;33602:20;33628:52;33662:3;33628:15;:52::i;:::-;33580:100;;;;;33696:20;33718:21;33745:77;33779:24;:28;33804:2;33779:28;;;;;;;;;;;;;;;;33745:15;:77::i;:::-;33695:127;;;;;33858:13;33843:12;:28;:57;;;;33889:11;33875;:25;33843:57;33839:656;;;33940:11;33925:12;:26;33921:104;;;34004:1;33990:11;:15;33976:29;;33921:104;34045:21;34069:129;34109:11;34143:12;34178:1;34069:17;:129::i;:::-;34045:153;;34242:20;:24;34263:2;34242:24;;;;;;;;;;;;;;;;34219:16;:20;34236:2;34219:20;;;;;;;;;;;;;;;:47;;;;34316:13;34285:24;:28;34310:2;34285:28;;;;;;;;;;;;;;;:44;;;;33839:656;;;;34370:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33839:656;33530:976;;;;;32848:1665;;;:::o;5326:136::-;5384:7;5411:43;5415:1;5418;5411:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;5404:50;;5326:136;;;;:::o;15617:756::-;15717:12;15744:13;15772:11;15811:13;15834:5;15811:29;;15853:8;14660:7;15873:5;15864:6;:14;:31;15853:42;;15906:8;15927:6;15922:1;15918;:5;15917:16;;;;;;15906:27;;15971:1;15966;15962;15953:6;:10;:14;15952:20;;;;;;15948:1;:24;15944:28;;15983:12;16017:7;16011:1;16007;:5;15999:4;:14;15998:26;;;;;;15983:41;;16064:2;16060:1;16051:5;16044:4;:12;16043:18;;;;;;16039:1;:22;:27;16035:31;;16077:13;16104:4;16099:1;16094:2;:6;16093:15;;;;;;16077:31;;16119:11;16155:2;16145:6;16138:4;:13;16137:20;;;;;;16133:1;:24;16119:38;;16181:2;16172:6;:11;;;;;;16168:15;;16221:1;16216:2;:6;16212:1;16203:6;:10;:19;16194:28;;16266:1;16258:5;16252:2;16248:1;:6;16241:3;:14;:22;:26;16233:34;;16295:5;16280:21;;16328:6;16312:23;;16360:4;16346:19;;15617:756;;;;;;;;;;;:::o;14923:686::-;15045:13;15087:4;15079;:12;;15071:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15137:12;15159:4;15137:27;;15175:13;15198:5;15175:29;;15215:11;15236:3;15215:25;;15253:13;14660:7;15534:1;15513:3;15507:2;15501;15492:6;:11;15491:18;;;;;;15484:4;15476:5;:12;:33;15475:41;;;;;;15470:1;:47;15469:66;;;;;;15451:2;15431;15425;15419;15410:6;:11;15409:18;;;;;;15408:25;15404:1;15395:6;:10;:38;15388:3;:46;15387:66;;;;;;15370:1;15350:2;15344;15335:6;:11;15334:18;;;;;;15327:4;15319:5;:12;:33;15311:4;:42;15310:61;;;;;;15289:5;15269:4;:25;:102;:184;:266;:296;15253:312;;15594:6;15578:23;;14923:686;;;;;;;;;:::o

Swarm Source

ipfs://c5eac103cc48d2b5f54e1215b1a9ea1b38cf33f85c0abb43fd09ed5d6ccfa6fe

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