ETH Price: $2,890.85 (-4.33%)
Gas: 6 Gwei

Contract

0x6c249b6F6492864d914361308601A7aBb32E68f8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve198415362024-05-10 18:50:112 hrs ago1715367011IN
0x6c249b6F...Bb32E68f8
0 ETH0.00042969.27337714
Approve198413552024-05-10 18:13:472 hrs ago1715364827IN
0x6c249b6F...Bb32E68f8
0 ETH0.0007692516.52780793
Approve198411782024-05-10 17:38:233 hrs ago1715362703IN
0x6c249b6F...Bb32E68f8
0 ETH0.0007884417.01468221
Approve198407802024-05-10 16:18:354 hrs ago1715357915IN
0x6c249b6F...Bb32E68f8
0 ETH0.000457889.82511872
Transfer198399882024-05-10 13:39:237 hrs ago1715348363IN
0x6c249b6F...Bb32E68f8
0 ETH0.00029385.49016128
Approve198397462024-05-10 12:50:598 hrs ago1715345459IN
0x6c249b6F...Bb32E68f8
0 ETH0.000262715.63732355
Approve198380212024-05-10 7:03:4713 hrs ago1715324627IN
0x6c249b6F...Bb32E68f8
0 ETH0.000309676.64496791
Approve198379522024-05-10 6:49:5914 hrs ago1715323799IN
0x6c249b6F...Bb32E68f8
0 ETH0.000276625.93571085
Approve198362262024-05-10 1:00:5919 hrs ago1715302859IN
0x6c249b6F...Bb32E68f8
0 ETH0.000111273.77161393
Approve198362212024-05-10 0:59:5919 hrs ago1715302799IN
0x6c249b6F...Bb32E68f8
0 ETH0.0001693.6480284
Transfer198361402024-05-10 0:43:4720 hrs ago1715301827IN
0x6c249b6F...Bb32E68f8
0 ETH0.00018423.44217782
Approve198358072024-05-09 23:36:4721 hrs ago1715297807IN
0x6c249b6F...Bb32E68f8
0 ETH0.00028546.1320111
Approve198356052024-05-09 22:56:1122 hrs ago1715295371IN
0x6c249b6F...Bb32E68f8
0 ETH0.000172983.71185304
Approve198355642024-05-09 22:47:4722 hrs ago1715294867IN
0x6c249b6F...Bb32E68f8
0 ETH0.000189914.09832002
Approve198351112024-05-09 21:16:3523 hrs ago1715289395IN
0x6c249b6F...Bb32E68f8
0 ETH0.000183563.96133248
Approve198350992024-05-09 21:14:1123 hrs ago1715289251IN
0x6c249b6F...Bb32E68f8
0 ETH0.000196394.23832918
Approve198350672024-05-09 21:07:4723 hrs ago1715288867IN
0x6c249b6F...Bb32E68f8
0 ETH0.000211134.55624104
Transfer198348322024-05-09 20:20:1124 hrs ago1715286011IN
0x6c249b6F...Bb32E68f8
0 ETH0.000211643.95669838
Approve198347482024-05-09 20:03:1124 hrs ago1715284991IN
0x6c249b6F...Bb32E68f8
0 ETH0.00023285.02529489
Approve198344442024-05-09 19:01:4725 hrs ago1715281307IN
0x6c249b6F...Bb32E68f8
0 ETH0.000238015.13764795
Approve198344132024-05-09 18:55:3526 hrs ago1715280935IN
0x6c249b6F...Bb32E68f8
0 ETH0.000175993.7813092
Approve198341652024-05-09 18:05:3526 hrs ago1715277935IN
0x6c249b6F...Bb32E68f8
0 ETH0.000258015.56949738
Approve198341532024-05-09 18:03:1126 hrs ago1715277791IN
0x6c249b6F...Bb32E68f8
0 ETH0.000252415.44705547
Transfer198339272024-05-09 17:17:5927 hrs ago1715275079IN
0x6c249b6F...Bb32E68f8
0 ETH0.000289235.40609519
Approve198336292024-05-09 16:17:4728 hrs ago1715271467IN
0x6c249b6F...Bb32E68f8
0 ETH0.000379658.14659139
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
170747402023-04-18 16:28:23388 days ago1681835303  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DUAToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-05-31
*/

/**
 *Submitted for verification at polygonscan.com on 2023-04-18
*/

// Sources flattened with hardhat v2.9.9 https://hardhat.org
// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/token/ERC20/[email protected]


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

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


// File @openzeppelin/contracts/security/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC20/extensions/ERC20Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * IMPORTANT: This contract does not include public pause and unpause functions. In
 * addition to inheriting this contract, you must define both functions, invoking the
 * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
 * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
 * make the contract unpausable.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}


// File @openzeppelin/contracts/access/[email protected]


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


// File @openzeppelin/contracts/utils/math/[email protected]


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File @openzeppelin/contracts/access/[email protected]


// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File contracts/ETH_DUAToken.sol



pragma solidity 0.8.18;




contract DUAToken is ERC20, ERC20Burnable, AccessControl, ERC20Pausable {
    /*
    * @dev The DUAToken contract is an ERC20 token with the following functionalities:
        * - minting
        * - burning
        * - pausing
        * - blacklisting
        * - adding minter, burner and admin roles
        * - self-destructing minting, burning, pausing, adding minter and adding admin functionalities
    */
    
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    bytes32 public constant BLACKLISTED_ROLE = keccak256("BLACKLISTED_ROLE");

    bool private _destructPause; //destruct the pause and unpause functionalities for the token. WARNING: this is irreversible
    bool private _destructMint; //destruct the mint function for the token. WARNING: this is irreversible
    bool private _destructBurn; //destruct the burn function for the token. WARNING: this is irreversible
    bool private _destructAddMinter; //destruct the addMinter (can't add new minters) function for the token. WARNING: this is irreversible
    bool private _destructAddAdmin; //destruct the addAdmin (can't add new admins) function for the token. WARNING: this is irreversible

    // The cap or max total supply of the token.
    uint256 private immutable _cap;

    /**
     * @dev initiates the token with its name, symbol, admin, minter and burner role addresses and max total supply of the token. It also initiates _destructPause, _destructMint, _destructBurn, _destructAddMinter and _destructAddAdmin to false.
     */

    constructor(string memory name, string memory symbol, uint256 cap_, address adminRole, address minterRole, address burnerRole) ERC20(name, symbol) {
        require(cap_ > 0, "DUA: cap is 0");
        _cap = cap_;

        _setupRole(ADMIN_ROLE, adminRole);
        _setupRole(MINTER_ROLE, minterRole);
        _setupRole(BURNER_ROLE, burnerRole);
        _setupRole(DEFAULT_ADMIN_ROLE, adminRole);

    }

    /**
    *  @dev emits an event for self destruction of particular functionality.
    */

    event SelfDestructed(string functionality);

    /**
    *  @dev Checks if the minting functionality has been self-destructed. If not, it calls the normal _mint function, only accessible by the minter role.
    */
    function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) {
        require(!_destructMint, "Minting functionality has been self-destructed");
        _mint(to, amount);
    }

    /**
    *  @dev Checks if the burning functionality has been self-destructed. If not, it calls the normal _burn function, only accessible by the burner role.
    */

    function burn(uint256 amount) public virtual override onlyRole(BURNER_ROLE){
        require(!_destructBurn, "Burning functionality has been self-destructed");
        _burn(_msgSender(), amount);
    }

    /**
    *  @dev Checks if the pausing functionality has been self-destructed. If not, it calls the normal _pause function, only accessible by the admin role.
    */

    function pause() public onlyRole(ADMIN_ROLE) {
        require(!_destructPause, "Pausable functionality has been self-destructed");
        _pause();
    }

    /**
    *  @dev Checks if the unpausing functionality has been self-destructed. If not, it calls the normal _unpause function, only accessible by the admin role.
    */

    function unpause() public onlyRole(ADMIN_ROLE) {
        require(!_destructPause, "Pausable functionality has been self-destructed");
        _unpause();
    }

    /**
    *  @dev adds an address to the blacklist. Only accessible by the admin role.
    */

    function addToBlacklist(address account) public onlyRole(ADMIN_ROLE) {
        _grantRole(BLACKLISTED_ROLE, account);
    }

    /**
    *  @dev removes an address to the blacklist. Only accessible by the admin role.
    */

    function removeFromBlacklist(address account) public onlyRole(ADMIN_ROLE) {
        _revokeRole(BLACKLISTED_ROLE, account);
    }


    /**
    *  @dev adds an address to the minter role. Only accessible by the admin role.
    */

    function addMinter(address account) public onlyRole(ADMIN_ROLE) {
        require(!_destructAddMinter, "Minter addition functionality has been self-destructed");
        _grantRole(MINTER_ROLE, account);
    }

    /**
    *  @dev adds an address to the burner role. Only accessible by the admin role.
    */

    function addBurner(address account) public onlyRole(ADMIN_ROLE) {
        _grantRole(BURNER_ROLE, account);
    }

    /**
    *  @dev adds an address to the admin role. Only accessible by the admin role.
    */

    function addAdmin(address account) public onlyRole(ADMIN_ROLE) {
        require(!_destructAddAdmin, "Admin addition functionality has been self-destructed");
        _grantRole(ADMIN_ROLE, account);
    }


     /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() external view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     * @dev Checks if (to and from) addresses are blacklisted and calls normal _beforeTokenTransfer.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) whenNotPaused internal virtual override(ERC20, ERC20Pausable) {
        require(!hasRole(BLACKLISTED_ROLE, msg.sender), "Token transfer refused. msg.sender is blacklisted.");
        require(!hasRole(BLACKLISTED_ROLE, from), "Token transfer refused. Sender is blacklisted.");
        require(!hasRole(BLACKLISTED_ROLE, to), "Token transfer refused. Receiver is blacklisted.");
    }

    /**
     * @dev See {ERC20-_mint}.
     * @dev Checks if address is blacklisted and cap is reached and calls normal _mint.
     */

    function _mint(address account, uint256 amount) whenNotPaused internal virtual override(ERC20) {
        require(!hasRole(BLACKLISTED_ROLE, account), "Mint refused. Address is blacklisted.");
        require(totalSupply() + amount <= _cap, "DUA: cap exceeded");
        super._mint(account, amount);
    }
    
    /**
     * @dev See {ERC20-_burn}.
     * @dev Checks if address is blacklisted and calls normal _burn.
     */
    function _burn(address account, uint256 amount) whenNotPaused internal virtual override(ERC20) {
        require(!hasRole(BLACKLISTED_ROLE, account), "Burn refused. Address is blacklisted.");
        super._burn(account, amount);
    }

    /**
     * @dev See {ERC20-_afterTokenTransfer}.
     * @dev Calls normal _afterTokenTransfer.
     */

    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20) {
        super._afterTokenTransfer(from, to, amount);
    }


    /* WARNING: IRREVERSIBLE FUNCTIONS */

    /**
    *  @dev Self-destructs the adding minters, adding new admins, minting, burning and pausability functionality. Only accessible by the admin role.
    */

    function selfDestructAllRoles() public onlyRole(ADMIN_ROLE) {
        _destructPause = true;
        _destructMint = true;
        _destructBurn = true;
        _destructAddMinter = true;
        _destructAddAdmin = true;
        emit SelfDestructed("All Roles");
    }

    /**
    *  @dev Self-destructs the pausing functionality. Only accessible by the admin role.
    */

    function selfDestructPause() public onlyRole(ADMIN_ROLE) {
        _destructPause = true;
        emit SelfDestructed("Pause");
    }

    /**
    *  @dev Self-destructs the minting functionality. Only accessible by the admin role.
    */

    function selfDestructMint() public onlyRole(ADMIN_ROLE) {
        _destructMint = true;
        emit SelfDestructed("Mint");
    }

    /**
    *  @dev Self-destructs the burning functionality. Only accessible by the admin role.
    */
    function selfDestructBurn() public onlyRole(ADMIN_ROLE) {
        _destructBurn = true;
        emit SelfDestructed("Burn");
    }

    /**
    *  @dev Self-destructs the add new Minter addresses functionality. Only accessible by the admin role.
    */
    function selfDestructAddMinter() public onlyRole(ADMIN_ROLE) {
        _destructAddMinter = true;
        emit SelfDestructed("Add Minter");
    }

    /**
    *  @dev Self-destructs the adding new admins. Only accessible by the admin role.
    */
    function selfDestructAddAdmin() public onlyRole(ADMIN_ROLE) {
        _destructAddAdmin = true;
        emit SelfDestructed("Add Admin");
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"cap_","type":"uint256"},{"internalType":"address","name":"adminRole","type":"address"},{"internalType":"address","name":"minterRole","type":"address"},{"internalType":"address","name":"burnerRole","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"functionality","type":"string"}],"name":"SelfDestructed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BLACKLISTED_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfDestructAddAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfDestructAddMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfDestructAllRoles","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfDestructBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfDestructMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selfDestructPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620028c9380380620028c98339810160408190526200003491620002da565b8585600362000044838262000413565b50600462000053828262000413565b50506006805460ff191690555083620000a25760405162461bcd60e51b815260206004820152600d60248201526c04455413a20636170206973203609c1b604482015260640160405180910390fd5b6080849052620000d37fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758462000144565b620000ff7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68362000144565b6200012b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8488262000144565b6200013860008462000144565b505050505050620004df565b62000150828262000154565b5050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620001505760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001b43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022057600080fd5b81516001600160401b03808211156200023d576200023d620001f8565b604051601f8301601f19908116603f01168101908282118183101715620002685762000268620001f8565b816040528381526020925086838588010111156200028557600080fd5b600091505b83821015620002a957858201830151818301840152908201906200028a565b600093810190920192909252949350505050565b80516001600160a01b0381168114620002d557600080fd5b919050565b60008060008060008060c08789031215620002f457600080fd5b86516001600160401b03808211156200030c57600080fd5b6200031a8a838b016200020e565b975060208901519150808211156200033157600080fd5b506200034089828a016200020e565b955050604087015193506200035860608801620002bd565b92506200036860808801620002bd565b91506200037860a08801620002bd565b90509295509295509295565b600181811c908216806200039957607f821691505b602082108103620003ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200040e57600081815260208120601f850160051c81016020861015620003e95750805b601f850160051c820191505b818110156200040a57828155600101620003f5565b5050505b505050565b81516001600160401b038111156200042f576200042f620001f8565b620004478162000440845462000384565b84620003c0565b602080601f8311600181146200047f5760008415620004665750858301515b600019600386901b1c1916600185901b1785556200040a565b600085815260208120601f198616915b82811015620004b0578886015182559484019460019091019084016200048f565b5085821015620004cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6080516123c762000502600039600081816103b201526117bf01526123c76000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c8063704802751161017b578063a457c2d7116100d8578063d547741f1161008c578063e7c5e6c111610071578063e7c5e6c114610603578063eb1026e91461060b578063f44637ba1461061357600080fd5b8063d547741f146105b7578063dd62ed3e146105ca57600080fd5b8063b0ce0727116100bd578063b0ce072714610580578063b23479d814610588578063d53913931461059057600080fd5b8063a457c2d71461055a578063a9059cbb1461056d57600080fd5b806391d148541161012f578063983b2d5611610114578063983b2d56146105375780639a9c8ec61461054a578063a217fddf1461055257600080fd5b806391d14854146104f657806395d89b411461052f57600080fd5b806375b238fc1161016057806375b238fc146104c657806379cc6790146104db5780638456cb59146104ee57600080fd5b8063704802751461048a57806370a082311461049d57600080fd5b806336568abe1161022957806344337ea1116101dd5780635c975abb116101c25780635c975abb146104505780635eb927471461045b57806362b199c51461046357600080fd5b806344337ea11461042a578063537df3b61461043d57600080fd5b80633f4ba83a1161020e5780633f4ba83a146103fc57806340c10f191461040457806342966c681461041757600080fd5b806336568abe146103d657806339509351146103e957600080fd5b8063248a9ca3116102805780632f2ff15d116102655780632f2ff15d1461038c578063313ce567146103a1578063355274ea146103b057600080fd5b8063248a9ca314610342578063282c51f31461036557600080fd5b8063095ea7b3116102b1578063095ea7b31461030a57806318160ddd1461031d57806323b872dd1461032f57600080fd5b806301ffc9a7146102cd57806306fdde03146102f5575b600080fd5b6102e06102db36600461208e565b610626565b60405190151581526020015b60405180910390f35b6102fd6106bf565b6040516102ec91906120f4565b6102e0610318366004612143565b610751565b6002545b6040519081526020016102ec565b6102e061033d36600461216d565b610769565b6103216103503660046121a9565b60009081526005602052604090206001015490565b6103217f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61039f61039a3660046121c2565b61078d565b005b604051601281526020016102ec565b7f0000000000000000000000000000000000000000000000000000000000000000610321565b61039f6103e43660046121c2565b6107b7565b6102e06103f7366004612143565b610848565b61039f610887565b61039f610412366004612143565b610928565b61039f6104253660046121a9565b6109db565b61039f6104383660046121ee565b610a8f565b61039f61044b3660046121ee565b610ad1565b60065460ff166102e0565b61039f610b13565b6103217f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed81565b61039f6104983660046121ee565b610ba9565b6103216104ab3660046121ee565b6001600160a01b031660009081526020819052604090205490565b61032160008051602061237283398151915281565b61039f6104e9366004612143565b610c5b565b61039f610c70565b6102e06105043660046121c2565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6102fd610d0e565b61039f6105453660046121ee565b610d1d565b61039f610de0565b610321600081565b6102e0610568366004612143565b610e6d565b6102e061057b366004612143565b610f17565b61039f610f25565b61039f610fac565b6103217f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61039f6105c53660046121c2565b61103d565b6103216105d8366004612209565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61039f611062565b61039f6110f1565b61039f6106213660046121ee565b61117a565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106b957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600380546106ce90612233565b80601f01602080910402602001604051908101604052809291908181526020018280546106fa90612233565b80156107475780601f1061071c57610100808354040283529160200191610747565b820191906000526020600020905b81548152906001019060200180831161072a57829003601f168201915b5050505050905090565b60003361075f8185856111bc565b5060019392505050565b600033610777858285611314565b6107828585856113a6565b506001949350505050565b6000828152600560205260409020600101546107a88161159e565b6107b283836115a8565b505050565b6001600160a01b038116331461083a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b610844828261164a565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061075f9082908690610882908790612283565b6111bc565b60008051602061237283398151915261089f8161159e565b600654610100900460ff161561091d5760405162461bcd60e51b815260206004820152602f60248201527f5061757361626c652066756e6374696f6e616c69747920686173206265656e2060448201527f73656c662d6465737472756374656400000000000000000000000000000000006064820152608401610831565b6109256116cd565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109528161159e565b60065462010000900460ff16156109d15760405162461bcd60e51b815260206004820152602e60248201527f4d696e74696e672066756e6374696f6e616c69747920686173206265656e207360448201527f656c662d646573747275637465640000000000000000000000000000000000006064820152608401610831565b6107b2838361171f565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610a058161159e565b6006546301000000900460ff1615610a855760405162461bcd60e51b815260206004820152602e60248201527f4275726e696e672066756e6374696f6e616c69747920686173206265656e207360448201527f656c662d646573747275637465640000000000000000000000000000000000006064820152608401610831565b610844338361184a565b600080516020612372833981519152610aa78161159e565b6108447f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836115a8565b600080516020612372833981519152610ae98161159e565b6108447f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed8361164a565b600080516020612372833981519152610b2b8161159e565b6006805463ff000000191663010000001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526004908201527f4275726e00000000000000000000000000000000000000000000000000000000604082015260600190565b60405180910390a150565b600080516020612372833981519152610bc18161159e565b60065465010000000000900460ff1615610c435760405162461bcd60e51b815260206004820152603560248201527f41646d696e206164646974696f6e2066756e6374696f6e616c6974792068617360448201527f206265656e2073656c662d6465737472756374656400000000000000000000006064820152608401610831565b610844600080516020612372833981519152836115a8565b610c66823383611314565b610844828261184a565b600080516020612372833981519152610c888161159e565b600654610100900460ff1615610d065760405162461bcd60e51b815260206004820152602f60248201527f5061757361626c652066756e6374696f6e616c69747920686173206265656e2060448201527f73656c662d6465737472756374656400000000000000000000000000000000006064820152608401610831565b6109256118f2565b6060600480546106ce90612233565b600080516020612372833981519152610d358161159e565b600654640100000000900460ff1615610db65760405162461bcd60e51b815260206004820152603660248201527f4d696e746572206164646974696f6e2066756e6374696f6e616c69747920686160448201527f73206265656e2073656c662d64657374727563746564000000000000000000006064820152608401610831565b6108447f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836115a8565b600080516020612372833981519152610df88161159e565b6006805464ff0000000019166401000000001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e906020808252600a908201527f416464204d696e74657200000000000000000000000000000000000000000000604082015260600190565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f0a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610831565b61078282868684036111bc565b60003361075f8185856113a6565b600080516020612372833981519152610f3d8161159e565b6006805461ff0019166101001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526005908201527f5061757365000000000000000000000000000000000000000000000000000000604082015260600190565b600080516020612372833981519152610fc48161159e565b600680546501010101010065ffffffffff00199091161790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526009908201527f416c6c20526f6c65730000000000000000000000000000000000000000000000604082015260600190565b6000828152600560205260409020600101546110588161159e565b6107b2838361164a565b60008051602061237283398151915261107a8161159e565b6006805465ff00000000001916650100000000001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526009908201527f4164642041646d696e0000000000000000000000000000000000000000000000604082015260600190565b6000805160206123728339815191526111098161159e565b6006805462ff00001916620100001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526004908201527f4d696e7400000000000000000000000000000000000000000000000000000000604082015260600190565b6000805160206123728339815191526111928161159e565b6108447f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848836115a8565b6001600160a01b0383166112375760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b0382166112b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113a057818110156113935760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610831565b6113a084848484036111bc565b50505050565b6001600160a01b0383166114225760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b03821661149e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610831565b6114a983838361192f565b6001600160a01b038316600090815260208190526040902054818110156115385760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113a0565b6109258133611b38565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166108445760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116063390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16156108445760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6116d5611bad565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b611727611c01565b6001600160a01b03821660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156117bd5760405162461bcd60e51b815260206004820152602560248201527f4d696e7420726566757365642e204164647265737320697320626c61636b6c6960448201526439ba32b21760d91b6064820152608401610831565b7f0000000000000000000000000000000000000000000000000000000000000000816117e860025490565b6117f29190612283565b11156118405760405162461bcd60e51b815260206004820152601160248201527f4455413a206361702065786365656465640000000000000000000000000000006044820152606401610831565b6108448282611c54565b611852611c01565b6001600160a01b03821660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156118e85760405162461bcd60e51b815260206004820152602560248201527f4275726e20726566757365642e204164647265737320697320626c61636b6c6960448201526439ba32b21760d91b6064820152608401610831565b6108448282611d1f565b6118fa611c01565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117023390565b611937611c01565b3360009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156119dc5760405162461bcd60e51b815260206004820152603260248201527f546f6b656e207472616e7366657220726566757365642e206d73672e73656e6460448201527f657220697320626c61636b6c69737465642e00000000000000000000000000006064820152608401610831565b6001600160a01b03831660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff1615611a8a5760405162461bcd60e51b815260206004820152602e60248201527f546f6b656e207472616e7366657220726566757365642e2053656e646572206960448201527f7320626c61636b6c69737465642e0000000000000000000000000000000000006064820152608401610831565b6001600160a01b03821660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156107b25760405162461bcd60e51b815260206004820152603060248201527f546f6b656e207472616e7366657220726566757365642e20526563656976657260448201527f20697320626c61636b6c69737465642e000000000000000000000000000000006064820152608401610831565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1661084457611b6b81611e94565b611b76836020611ea6565b604051602001611b87929190612296565b60408051601f198184030181529082905262461bcd60e51b8252610831916004016120f4565b60065460ff16611bff5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610831565b565b60065460ff1615611bff5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610831565b6001600160a01b038216611caa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610831565b611cb66000838361192f565b8060026000828254611cc89190612283565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216611d9b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610831565b611da78260008361192f565b6001600160a01b03821660009081526020819052604090205481811015611e365760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60606106b96001600160a01b03831660145b60606000611eb5836002612317565b611ec0906002612283565b67ffffffffffffffff811115611ed857611ed861232e565b6040519080825280601f01601f191660200182016040528015611f02576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611f3957611f39612344565b60200101906001600160f81b031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611f8457611f84612344565b60200101906001600160f81b031916908160001a9053506000611fa8846002612317565b611fb3906001612283565b90505b6001811115612038577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110611ff457611ff4612344565b1a60f81b82828151811061200a5761200a612344565b60200101906001600160f81b031916908160001a90535060049490941c936120318161235a565b9050611fb6565b5083156120875760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610831565b9392505050565b6000602082840312156120a057600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461208757600080fd5b60005b838110156120eb5781810151838201526020016120d3565b50506000910152565b60208152600082518060208401526121138160408501602087016120d0565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461213e57600080fd5b919050565b6000806040838503121561215657600080fd5b61215f83612127565b946020939093013593505050565b60008060006060848603121561218257600080fd5b61218b84612127565b925061219960208501612127565b9150604084013590509250925092565b6000602082840312156121bb57600080fd5b5035919050565b600080604083850312156121d557600080fd5b823591506121e560208401612127565b90509250929050565b60006020828403121561220057600080fd5b61208782612127565b6000806040838503121561221c57600080fd5b61222583612127565b91506121e560208401612127565b600181811c9082168061224757607f821691505b60208210810361226757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106b9576106b961226d565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516122ce8160178501602088016120d0565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000601791840191820152835161230b8160288401602088016120d0565b01602801949350505050565b80820281158282048414176106b9576106b961226d565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816123695761236961226d565b50600019019056fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220a7a3be2ca70e1c390b6396dd67b330f695c751f3f4a894aeee7b9a4d4f4f2a0a64736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000a357cab3b55d37a14eaeeda37daae2e40fd9ba8b00000000000000000000000021dd761cac8461a68344f40d2f12e172a18a297f00000000000000000000000021dd761cac8461a68344f40d2f12e172a18a297f0000000000000000000000000000000000000000000000000000000000000003445541000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034455410000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102c85760003560e01c8063704802751161017b578063a457c2d7116100d8578063d547741f1161008c578063e7c5e6c111610071578063e7c5e6c114610603578063eb1026e91461060b578063f44637ba1461061357600080fd5b8063d547741f146105b7578063dd62ed3e146105ca57600080fd5b8063b0ce0727116100bd578063b0ce072714610580578063b23479d814610588578063d53913931461059057600080fd5b8063a457c2d71461055a578063a9059cbb1461056d57600080fd5b806391d148541161012f578063983b2d5611610114578063983b2d56146105375780639a9c8ec61461054a578063a217fddf1461055257600080fd5b806391d14854146104f657806395d89b411461052f57600080fd5b806375b238fc1161016057806375b238fc146104c657806379cc6790146104db5780638456cb59146104ee57600080fd5b8063704802751461048a57806370a082311461049d57600080fd5b806336568abe1161022957806344337ea1116101dd5780635c975abb116101c25780635c975abb146104505780635eb927471461045b57806362b199c51461046357600080fd5b806344337ea11461042a578063537df3b61461043d57600080fd5b80633f4ba83a1161020e5780633f4ba83a146103fc57806340c10f191461040457806342966c681461041757600080fd5b806336568abe146103d657806339509351146103e957600080fd5b8063248a9ca3116102805780632f2ff15d116102655780632f2ff15d1461038c578063313ce567146103a1578063355274ea146103b057600080fd5b8063248a9ca314610342578063282c51f31461036557600080fd5b8063095ea7b3116102b1578063095ea7b31461030a57806318160ddd1461031d57806323b872dd1461032f57600080fd5b806301ffc9a7146102cd57806306fdde03146102f5575b600080fd5b6102e06102db36600461208e565b610626565b60405190151581526020015b60405180910390f35b6102fd6106bf565b6040516102ec91906120f4565b6102e0610318366004612143565b610751565b6002545b6040519081526020016102ec565b6102e061033d36600461216d565b610769565b6103216103503660046121a9565b60009081526005602052604090206001015490565b6103217f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61039f61039a3660046121c2565b61078d565b005b604051601281526020016102ec565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000610321565b61039f6103e43660046121c2565b6107b7565b6102e06103f7366004612143565b610848565b61039f610887565b61039f610412366004612143565b610928565b61039f6104253660046121a9565b6109db565b61039f6104383660046121ee565b610a8f565b61039f61044b3660046121ee565b610ad1565b60065460ff166102e0565b61039f610b13565b6103217f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed81565b61039f6104983660046121ee565b610ba9565b6103216104ab3660046121ee565b6001600160a01b031660009081526020819052604090205490565b61032160008051602061237283398151915281565b61039f6104e9366004612143565b610c5b565b61039f610c70565b6102e06105043660046121c2565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6102fd610d0e565b61039f6105453660046121ee565b610d1d565b61039f610de0565b610321600081565b6102e0610568366004612143565b610e6d565b6102e061057b366004612143565b610f17565b61039f610f25565b61039f610fac565b6103217f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61039f6105c53660046121c2565b61103d565b6103216105d8366004612209565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61039f611062565b61039f6110f1565b61039f6106213660046121ee565b61117a565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106b957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600380546106ce90612233565b80601f01602080910402602001604051908101604052809291908181526020018280546106fa90612233565b80156107475780601f1061071c57610100808354040283529160200191610747565b820191906000526020600020905b81548152906001019060200180831161072a57829003601f168201915b5050505050905090565b60003361075f8185856111bc565b5060019392505050565b600033610777858285611314565b6107828585856113a6565b506001949350505050565b6000828152600560205260409020600101546107a88161159e565b6107b283836115a8565b505050565b6001600160a01b038116331461083a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b610844828261164a565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061075f9082908690610882908790612283565b6111bc565b60008051602061237283398151915261089f8161159e565b600654610100900460ff161561091d5760405162461bcd60e51b815260206004820152602f60248201527f5061757361626c652066756e6374696f6e616c69747920686173206265656e2060448201527f73656c662d6465737472756374656400000000000000000000000000000000006064820152608401610831565b6109256116cd565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109528161159e565b60065462010000900460ff16156109d15760405162461bcd60e51b815260206004820152602e60248201527f4d696e74696e672066756e6374696f6e616c69747920686173206265656e207360448201527f656c662d646573747275637465640000000000000000000000000000000000006064820152608401610831565b6107b2838361171f565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610a058161159e565b6006546301000000900460ff1615610a855760405162461bcd60e51b815260206004820152602e60248201527f4275726e696e672066756e6374696f6e616c69747920686173206265656e207360448201527f656c662d646573747275637465640000000000000000000000000000000000006064820152608401610831565b610844338361184a565b600080516020612372833981519152610aa78161159e565b6108447f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836115a8565b600080516020612372833981519152610ae98161159e565b6108447f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed8361164a565b600080516020612372833981519152610b2b8161159e565b6006805463ff000000191663010000001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526004908201527f4275726e00000000000000000000000000000000000000000000000000000000604082015260600190565b60405180910390a150565b600080516020612372833981519152610bc18161159e565b60065465010000000000900460ff1615610c435760405162461bcd60e51b815260206004820152603560248201527f41646d696e206164646974696f6e2066756e6374696f6e616c6974792068617360448201527f206265656e2073656c662d6465737472756374656400000000000000000000006064820152608401610831565b610844600080516020612372833981519152836115a8565b610c66823383611314565b610844828261184a565b600080516020612372833981519152610c888161159e565b600654610100900460ff1615610d065760405162461bcd60e51b815260206004820152602f60248201527f5061757361626c652066756e6374696f6e616c69747920686173206265656e2060448201527f73656c662d6465737472756374656400000000000000000000000000000000006064820152608401610831565b6109256118f2565b6060600480546106ce90612233565b600080516020612372833981519152610d358161159e565b600654640100000000900460ff1615610db65760405162461bcd60e51b815260206004820152603660248201527f4d696e746572206164646974696f6e2066756e6374696f6e616c69747920686160448201527f73206265656e2073656c662d64657374727563746564000000000000000000006064820152608401610831565b6108447f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836115a8565b600080516020612372833981519152610df88161159e565b6006805464ff0000000019166401000000001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e906020808252600a908201527f416464204d696e74657200000000000000000000000000000000000000000000604082015260600190565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f0a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610831565b61078282868684036111bc565b60003361075f8185856113a6565b600080516020612372833981519152610f3d8161159e565b6006805461ff0019166101001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526005908201527f5061757365000000000000000000000000000000000000000000000000000000604082015260600190565b600080516020612372833981519152610fc48161159e565b600680546501010101010065ffffffffff00199091161790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526009908201527f416c6c20526f6c65730000000000000000000000000000000000000000000000604082015260600190565b6000828152600560205260409020600101546110588161159e565b6107b2838361164a565b60008051602061237283398151915261107a8161159e565b6006805465ff00000000001916650100000000001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526009908201527f4164642041646d696e0000000000000000000000000000000000000000000000604082015260600190565b6000805160206123728339815191526111098161159e565b6006805462ff00001916620100001790556040517f63f433b5ea259cb3c11a96fac5d5083845d18f11b05b627748562cc66c26778190610b9e9060208082526004908201527f4d696e7400000000000000000000000000000000000000000000000000000000604082015260600190565b6000805160206123728339815191526111928161159e565b6108447f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848836115a8565b6001600160a01b0383166112375760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b0382166112b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113a057818110156113935760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610831565b6113a084848484036111bc565b50505050565b6001600160a01b0383166114225760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b03821661149e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610831565b6114a983838361192f565b6001600160a01b038316600090815260208190526040902054818110156115385760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113a0565b6109258133611b38565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166108445760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116063390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16156108445760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6116d5611bad565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b611727611c01565b6001600160a01b03821660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156117bd5760405162461bcd60e51b815260206004820152602560248201527f4d696e7420726566757365642e204164647265737320697320626c61636b6c6960448201526439ba32b21760d91b6064820152608401610831565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000816117e860025490565b6117f29190612283565b11156118405760405162461bcd60e51b815260206004820152601160248201527f4455413a206361702065786365656465640000000000000000000000000000006044820152606401610831565b6108448282611c54565b611852611c01565b6001600160a01b03821660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156118e85760405162461bcd60e51b815260206004820152602560248201527f4275726e20726566757365642e204164647265737320697320626c61636b6c6960448201526439ba32b21760d91b6064820152608401610831565b6108448282611d1f565b6118fa611c01565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117023390565b611937611c01565b3360009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156119dc5760405162461bcd60e51b815260206004820152603260248201527f546f6b656e207472616e7366657220726566757365642e206d73672e73656e6460448201527f657220697320626c61636b6c69737465642e00000000000000000000000000006064820152608401610831565b6001600160a01b03831660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff1615611a8a5760405162461bcd60e51b815260206004820152602e60248201527f546f6b656e207472616e7366657220726566757365642e2053656e646572206960448201527f7320626c61636b6c69737465642e0000000000000000000000000000000000006064820152608401610831565b6001600160a01b03821660009081527f34d3c1758007aac6dd3be762a2786676dda36d6f0308ce34175a9e07b6921969602052604090205460ff16156107b25760405162461bcd60e51b815260206004820152603060248201527f546f6b656e207472616e7366657220726566757365642e20526563656976657260448201527f20697320626c61636b6c69737465642e000000000000000000000000000000006064820152608401610831565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1661084457611b6b81611e94565b611b76836020611ea6565b604051602001611b87929190612296565b60408051601f198184030181529082905262461bcd60e51b8252610831916004016120f4565b60065460ff16611bff5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610831565b565b60065460ff1615611bff5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610831565b6001600160a01b038216611caa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610831565b611cb66000838361192f565b8060026000828254611cc89190612283565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216611d9b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610831565b611da78260008361192f565b6001600160a01b03821660009081526020819052604090205481811015611e365760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610831565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60606106b96001600160a01b03831660145b60606000611eb5836002612317565b611ec0906002612283565b67ffffffffffffffff811115611ed857611ed861232e565b6040519080825280601f01601f191660200182016040528015611f02576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611f3957611f39612344565b60200101906001600160f81b031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611f8457611f84612344565b60200101906001600160f81b031916908160001a9053506000611fa8846002612317565b611fb3906001612283565b90505b6001811115612038577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110611ff457611ff4612344565b1a60f81b82828151811061200a5761200a612344565b60200101906001600160f81b031916908160001a90535060049490941c936120318161235a565b9050611fb6565b5083156120875760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610831565b9392505050565b6000602082840312156120a057600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461208757600080fd5b60005b838110156120eb5781810151838201526020016120d3565b50506000910152565b60208152600082518060208401526121138160408501602087016120d0565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461213e57600080fd5b919050565b6000806040838503121561215657600080fd5b61215f83612127565b946020939093013593505050565b60008060006060848603121561218257600080fd5b61218b84612127565b925061219960208501612127565b9150604084013590509250925092565b6000602082840312156121bb57600080fd5b5035919050565b600080604083850312156121d557600080fd5b823591506121e560208401612127565b90509250929050565b60006020828403121561220057600080fd5b61208782612127565b6000806040838503121561221c57600080fd5b61222583612127565b91506121e560208401612127565b600181811c9082168061224757607f821691505b60208210810361226757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106b9576106b961226d565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516122ce8160178501602088016120d0565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000601791840191820152835161230b8160288401602088016120d0565b01602801949350505050565b80820281158282048414176106b9576106b961226d565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816123695761236961226d565b50600019019056fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220a7a3be2ca70e1c390b6396dd67b330f695c751f3f4a894aeee7b9a4d4f4f2a0a64736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000a357cab3b55d37a14eaeeda37daae2e40fd9ba8b00000000000000000000000021dd761cac8461a68344f40d2f12e172a18a297f00000000000000000000000021dd761cac8461a68344f40d2f12e172a18a297f0000000000000000000000000000000000000000000000000000000000000003445541000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034455410000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): DUA
Arg [1] : symbol (string): DUA
Arg [2] : cap_ (uint256): 1000000000000000000000000000
Arg [3] : adminRole (address): 0xa357cAb3B55D37A14EaeedA37dAAe2e40FD9BA8b
Arg [4] : minterRole (address): 0x21dd761cac8461a68344F40D2F12E172a18A297f
Arg [5] : burnerRole (address): 0x21dd761cac8461a68344F40D2F12E172a18A297f

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 000000000000000000000000a357cab3b55d37a14eaeeda37daae2e40fd9ba8b
Arg [4] : 00000000000000000000000021dd761cac8461a68344f40d2f12e172a18a297f
Arg [5] : 00000000000000000000000021dd761cac8461a68344f40d2f12e172a18a297f
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4455410000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 4455410000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

51760:8765:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46014:204;;;;;;:::i;:::-;;:::i;:::-;;;516:14:1;;509:22;491:41;;479:2;464:18;46014:204:0;;;;;;;;6848:100;;;:::i;:::-;;;;;;;:::i;9199:201::-;;;;;;:::i;:::-;;:::i;7968:108::-;8056:12;;7968:108;;;1805:25:1;;;1793:2;1778:18;7968:108:0;1659:177:1;9980:295:0;;;;;;:::i;:::-;;:::i;47837:131::-;;;;;;:::i;:::-;47911:7;47938:12;;;:6;:12;;;;;:22;;;;47837:131;52262:62;;52300:24;52262:62;;48278:147;;;;;;:::i;:::-;;:::i;:::-;;7810:93;;;7893:2;2942:36:1;;2930:2;2915:18;7810:93:0;2800:184:1;56898:85:0;56971:4;56898:85;;49422:218;;;;;;:::i;:::-;;:::i;10684:238::-;;;;;;:::i;:::-;;:::i;55303:162::-;;;:::i;54199:191::-;;;;;;:::i;:::-;;:::i;54572:205::-;;;;;;:::i;:::-;;:::i;55574:125::-;;;;;;:::i;:::-;;:::i;55811:131::-;;;;;;:::i;:::-;;:::i;20885:86::-;20956:7;;;;20885:86;;59849:133;;;:::i;52398:72::-;;52441:29;52398:72;;56603:208;;;;;;:::i;:::-;;:::i;8139:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8240:18:0;8213:7;8240:18;;;;;;;;;;;;8139:127;52331:60;;-1:-1:-1;;;;;;;;;;;52331:60:0;;19035:164;;;;;;:::i;:::-;;:::i;54959:158::-;;;:::i;46310:147::-;;;;;;:::i;:::-;46396:4;46420:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46420:29:0;;;;;;;;;;;;;;;46310:147;7067:104;;;:::i;56055:212::-;;;;;;:::i;:::-;;:::i;60114:149::-;;;:::i;45415:49::-;;45460:4;45415:49;;11425:436;;;;;;:::i;:::-;;:::i;8472:193::-;;;;;;:::i;:::-;;:::i;59348:136::-;;;:::i;58955:276::-;;;:::i;52193:62::-;;52231:24;52193:62;;48718:149;;;;;;:::i;:::-;;:::i;8728:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8844:18:0;;;8817:7;8844:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8728:151;60374:146;;;:::i;59601:133::-;;;:::i;56378:115::-;;;;;;:::i;:::-;;:::i;46014:204::-;46099:4;46123:47;;;46138:32;46123:47;;:87;;-1:-1:-1;43391:25:0;43376:40;;;;46174:36;46116:94;46014:204;-1:-1:-1;;46014:204:0:o;6848:100::-;6902:13;6935:5;6928:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6848:100;:::o;9199:201::-;9282:4;4564:10;9338:32;4564:10;9354:7;9363:6;9338:8;:32::i;:::-;-1:-1:-1;9388:4:0;;9199:201;-1:-1:-1;;;9199:201:0:o;9980:295::-;10111:4;4564:10;10169:38;10185:4;4564:10;10200:6;10169:15;:38::i;:::-;10218:27;10228:4;10234:2;10238:6;10218:9;:27::i;:::-;-1:-1:-1;10263:4:0;;9980:295;-1:-1:-1;;;;9980:295:0:o;48278:147::-;47911:7;47938:12;;;:6;:12;;;;;:22;;;45906:16;45917:4;45906:10;:16::i;:::-;48392:25:::1;48403:4;48409:7;48392:10;:25::i;:::-;48278:147:::0;;;:::o;49422:218::-;-1:-1:-1;;;;;49518:23:0;;4564:10;49518:23;49510:83;;;;-1:-1:-1;;;49510:83:0;;4274:2:1;49510:83:0;;;4256:21:1;4313:2;4293:18;;;4286:30;4352:34;4332:18;;;4325:62;4423:17;4403:18;;;4396:45;4458:19;;49510:83:0;;;;;;;;;49606:26;49618:4;49624:7;49606:11;:26::i;:::-;49422:218;;:::o;10684:238::-;4564:10;10772:4;8844:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;8844:27:0;;;;;;;;;;10772:4;;4564:10;10828:64;;4564:10;;8844:27;;10853:38;;10881:10;;10853:38;:::i;:::-;10828:8;:64::i;55303:162::-;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;55370:14:::1;::::0;::::1;::::0;::::1;;;55369:15;55361:75;;;::::0;-1:-1:-1;;;55361:75:0;;5009:2:1;55361:75:0::1;::::0;::::1;4991:21:1::0;5048:2;5028:18;;;5021:30;5087:34;5067:18;;;5060:62;5158:17;5138:18;;;5131:45;5193:19;;55361:75:0::1;4807:411:1::0;55361:75:0::1;55447:10;:8;:10::i;:::-;55303:162:::0;:::o;54199:191::-;52231:24;45906:16;45917:4;45906:10;:16::i;:::-;54290:13:::1;::::0;;;::::1;;;54289:14;54281:73;;;::::0;-1:-1:-1;;;54281:73:0;;5425:2:1;54281:73:0::1;::::0;::::1;5407:21:1::0;5464:2;5444:18;;;5437:30;5503:34;5483:18;;;5476:62;5574:16;5554:18;;;5547:44;5608:19;;54281:73:0::1;5223:410:1::0;54281:73:0::1;54365:17;54371:2;54375:6;54365:5;:17::i;54572:205::-:0;52300:24;45906:16;45917:4;45906:10;:16::i;:::-;54667:13:::1;::::0;;;::::1;;;54666:14;54658:73;;;::::0;-1:-1:-1;;;54658:73:0;;5840:2:1;54658:73:0::1;::::0;::::1;5822:21:1::0;5879:2;5859:18;;;5852:30;5918:34;5898:18;;;5891:62;5989:16;5969:18;;;5962:44;6023:19;;54658:73:0::1;5638:410:1::0;54658:73:0::1;54742:27;4564:10:::0;54762:6:::1;54742:5;:27::i;55574:125::-:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;55654:37:::1;52441:29;55683:7;55654:10;:37::i;55811:131::-:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;55896:38:::1;52441:29;55926:7;55896:11;:38::i;59849:133::-:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;59916:13:::1;:20:::0;;-1:-1:-1;;59916:20:0::1;::::0;::::1;::::0;;59952:22:::1;::::0;::::1;::::0;::::1;::::0;6255:2:1;6237:21;;;6294:1;6274:18;;;6267:29;6332:6;6327:2;6312:18;;6305:34;6371:2;6356:18;;6053:327;59952:22:0::1;;;;;;;;59849:133:::0;:::o;56603:208::-;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;56686:17:::1;::::0;;;::::1;;;56685:18;56677:84;;;::::0;-1:-1:-1;;;56677:84:0;;6587:2:1;56677:84:0::1;::::0;::::1;6569:21:1::0;6626:2;6606:18;;;6599:30;6665:34;6645:18;;;6638:62;6736:23;6716:18;;;6709:51;6777:19;;56677:84:0::1;6385:417:1::0;56677:84:0::1;56772:31;-1:-1:-1::0;;;;;;;;;;;56795:7:0::1;56772:10;:31::i;19035:164::-:0;19112:46;19128:7;4564:10;19151:6;19112:15;:46::i;:::-;19169:22;19175:7;19184:6;19169:5;:22::i;54959:158::-;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;55024:14:::1;::::0;::::1;::::0;::::1;;;55023:15;55015:75;;;::::0;-1:-1:-1;;;55015:75:0;;5009:2:1;55015:75:0::1;::::0;::::1;4991:21:1::0;5048:2;5028:18;;;5021:30;5087:34;5067:18;;;5060:62;5158:17;5138:18;;;5131:45;5193:19;;55015:75:0::1;4807:411:1::0;55015:75:0::1;55101:8;:6;:8::i;7067:104::-:0;7123:13;7156:7;7149:14;;;;;:::i;56055:212::-;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;56139:18:::1;::::0;;;::::1;;;56138:19;56130:86;;;::::0;-1:-1:-1;;;56130:86:0;;7009:2:1;56130:86:0::1;::::0;::::1;6991:21:1::0;7048:2;7028:18;;;7021:30;7087:34;7067:18;;;7060:62;7158:24;7138:18;;;7131:52;7200:19;;56130:86:0::1;6807:418:1::0;56130:86:0::1;56227:32;52231:24;56251:7;56227:10;:32::i;60114:149::-:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;60186:18:::1;:25:::0;;-1:-1:-1;;60186:25:0::1;::::0;::::1;::::0;;60227:28:::1;::::0;::::1;::::0;::::1;::::0;7432:2:1;7414:21;;;7471:2;7451:18;;;7444:30;7510:12;7505:2;7490:18;;7483:40;7555:2;7540:18;;7230:334;11425:436:0;4564:10;11518:4;8844:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;8844:27:0;;;;;;;;;;11518:4;;4564:10;11665:15;11645:16;:35;;11637:85;;;;-1:-1:-1;;;11637:85:0;;7771:2:1;11637:85:0;;;7753:21:1;7810:2;7790:18;;;7783:30;7849:34;7829:18;;;7822:62;7920:7;7900:18;;;7893:35;7945:19;;11637:85:0;7569:401:1;11637:85:0;11758:60;11767:5;11774:7;11802:15;11783:16;:34;11758:8;:60::i;8472:193::-;8551:4;4564:10;8607:28;4564:10;8624:2;8628:6;8607:9;:28::i;59348:136::-;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;59416:14:::1;:21:::0;;-1:-1:-1;;59416:21:0::1;;;::::0;;59453:23:::1;::::0;::::1;::::0;::::1;::::0;8177:2:1;8159:21;;;8216:1;8196:18;;;8189:29;8254:7;8249:2;8234:18;;8227:35;8294:2;8279:18;;7975:328;58955:276:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;59026:14:::1;:21:::0;;59156:24;-1:-1:-1;;59156:24:0;;;;;;59196:27:::1;::::0;::::1;::::0;::::1;::::0;8510:2:1;8492:21;;;8549:1;8529:18;;;8522:29;8587:11;8582:2;8567:18;;8560:39;8631:2;8616:18;;8308:332;48718:149:0;47911:7;47938:12;;;:6;:12;;;;;:22;;;45906:16;45917:4;45906:10;:16::i;:::-;48833:26:::1;48845:4;48851:7;48833:11;:26::i;60374:146::-:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;60445:17:::1;:24:::0;;-1:-1:-1;;60445:24:0::1;::::0;::::1;::::0;;60485:27:::1;::::0;::::1;::::0;::::1;::::0;8847:2:1;8829:21;;;8886:1;8866:18;;;8859:29;8924:11;8919:2;8904:18;;8897:39;8968:2;8953:18;;8645:332;59601:133:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;59668:13:::1;:20:::0;;-1:-1:-1;;59668:20:0::1;::::0;::::1;::::0;;59704:22:::1;::::0;::::1;::::0;::::1;::::0;9184:2:1;9166:21;;;9223:1;9203:18;;;9196:29;9261:6;9256:2;9241:18;;9234:34;9300:2;9285:18;;8982:327;56378:115:0;-1:-1:-1;;;;;;;;;;;45906:16:0;45917:4;45906:10;:16::i;:::-;56453:32:::1;52300:24;56477:7;56453:10;:32::i;15452:380::-:0;-1:-1:-1;;;;;15588:19:0;;15580:68;;;;-1:-1:-1;;;15580:68:0;;9516:2:1;15580:68:0;;;9498:21:1;9555:2;9535:18;;;9528:30;9594:34;9574:18;;;9567:62;9665:6;9645:18;;;9638:34;9689:19;;15580:68:0;9314:400:1;15580:68:0;-1:-1:-1;;;;;15667:21:0;;15659:68;;;;-1:-1:-1;;;15659:68:0;;9921:2:1;15659:68:0;;;9903:21:1;9960:2;9940:18;;;9933:30;9999:34;9979:18;;;9972:62;10070:4;10050:18;;;10043:32;10092:19;;15659:68:0;9719:398:1;15659:68:0;-1:-1:-1;;;;;15740:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15792:32;;1805:25:1;;;15792:32:0;;1778:18:1;15792:32:0;;;;;;;15452:380;;;:::o;16123:453::-;-1:-1:-1;;;;;8844:18:0;;;16258:24;8844:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;16325:37:0;;16321:248;;16407:6;16387:16;:26;;16379:68;;;;-1:-1:-1;;;16379:68:0;;10324:2:1;16379:68:0;;;10306:21:1;10363:2;10343:18;;;10336:30;10402:31;10382:18;;;10375:59;10451:18;;16379:68:0;10122:353:1;16379:68:0;16491:51;16500:5;16507:7;16535:6;16516:16;:25;16491:8;:51::i;:::-;16247:329;16123:453;;;:::o;12331:840::-;-1:-1:-1;;;;;12462:18:0;;12454:68;;;;-1:-1:-1;;;12454:68:0;;10682:2:1;12454:68:0;;;10664:21:1;10721:2;10701:18;;;10694:30;10760:34;10740:18;;;10733:62;10831:7;10811:18;;;10804:35;10856:19;;12454:68:0;10480:401:1;12454:68:0;-1:-1:-1;;;;;12541:16:0;;12533:64;;;;-1:-1:-1;;;12533:64:0;;11088:2:1;12533:64:0;;;11070:21:1;11127:2;11107:18;;;11100:30;11166:34;11146:18;;;11139:62;11237:5;11217:18;;;11210:33;11260:19;;12533:64:0;10886:399:1;12533:64:0;12610:38;12631:4;12637:2;12641:6;12610:20;:38::i;:::-;-1:-1:-1;;;;;12683:15:0;;12661:19;12683:15;;;;;;;;;;;12717:21;;;;12709:72;;;;-1:-1:-1;;;12709:72:0;;11492:2:1;12709:72:0;;;11474:21:1;11531:2;11511:18;;;11504:30;11570:34;11550:18;;;11543:62;11641:8;11621:18;;;11614:36;11667:19;;12709:72:0;11290:402:1;12709:72:0;-1:-1:-1;;;;;12817:15:0;;;:9;:15;;;;;;;;;;;12835:20;;;12817:38;;13035:13;;;;;;;;;;:23;;;;;;13087:26;;1805:25:1;;;13035:13:0;;13087:26;;1778:18:1;13087:26:0;;;;;;;13126:37;48278:147;46761:105;46828:30;46839:4;4564:10;46828;:30::i;51019:238::-;46396:4;46420:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46420:29:0;;;;;;;;;;;;51098:152;;51142:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;51142:29:0;;;;;;;;;:36;;-1:-1:-1;;51142:36:0;51174:4;51142:36;;;51225:12;4564:10;;4484:98;51225:12;-1:-1:-1;;;;;51198:40:0;51216:7;-1:-1:-1;;;;;51198:40:0;51210:4;51198:40;;;;;;;;;;51019:238;;:::o;51437:239::-;46396:4;46420:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46420:29:0;;;;;;;;;;;;51517:152;;;51592:5;51560:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;51560:29:0;;;;;;;;;;:37;;-1:-1:-1;;51560:37:0;;;51617:40;4564:10;;51560:12;;51617:40;;51592:5;51617:40;51437:239;;:::o;21740:120::-;20749:16;:14;:16::i;:::-;21799:7:::1;:15:::0;;-1:-1:-1;;21799:15:0::1;::::0;;21830:22:::1;4564:10:::0;21839:12:::1;21830:22;::::0;-1:-1:-1;;;;;11861:55:1;;;11843:74;;11831:2;11816:18;21830:22:0::1;;;;;;;21740:120::o:0;57765:309::-;20490:19;:17;:19::i;:::-;-1:-1:-1;;;;;46420:29:0;;46396:4;46420:29;;;:12;;:29;:12;:29;;;;;57879:35:::1;57871:85;;;::::0;-1:-1:-1;;;57871:85:0;;12130:2:1;57871:85:0::1;::::0;::::1;12112:21:1::0;12169:2;12149:18;;;12142:30;12208:34;12188:18;;;12181:62;-1:-1:-1;;;12259:18:1;;;12252:35;12304:19;;57871:85:0::1;11928:401:1::0;57871:85:0::1;58001:4;57991:6;57975:13;8056:12:::0;;;7968:108;57975:13:::1;:22;;;;:::i;:::-;:30;;57967:60;;;::::0;-1:-1:-1;;;57967:60:0;;12536:2:1;57967:60:0::1;::::0;::::1;12518:21:1::0;12575:2;12555:18;;;12548:30;12614:19;12594:18;;;12587:47;12651:18;;57967:60:0::1;12334:341:1::0;57967:60:0::1;58038:28;58050:7;58059:6;58038:11;:28::i;58206:238::-:0;20490:19;:17;:19::i;:::-;-1:-1:-1;;;;;46420:29:0;;46396:4;46420:29;;;:12;;:29;:12;:29;;;;;58320:35:::1;58312:85;;;::::0;-1:-1:-1;;;58312:85:0;;12882:2:1;58312:85:0::1;::::0;::::1;12864:21:1::0;12921:2;12901:18;;;12894:30;12960:34;12940:18;;;12933:62;-1:-1:-1;;;13011:18:1;;;13004:35;13056:19;;58312:85:0::1;12680:401:1::0;58312:85:0::1;58408:28;58420:7;58429:6;58408:11;:28::i;21481:118::-:0;20490:19;:17;:19::i;:::-;21541:7:::1;:14:::0;;-1:-1:-1;;21541:14:0::1;21551:4;21541:14;::::0;;21571:20:::1;21578:12;4564:10:::0;;4484:98;57158:458;20490:19;:17;:19::i;:::-;57338:10:::1;46396:4:::0;46420:29;;;:12;;:29;:12;:29;;;;;57311:38:::1;57303:101;;;::::0;-1:-1:-1;;;57303:101:0;;13288:2:1;57303:101:0::1;::::0;::::1;13270:21:1::0;13327:2;13307:18;;;13300:30;13366:34;13346:18;;;13339:62;13437:20;13417:18;;;13410:48;13475:19;;57303:101:0::1;13086:414:1::0;57303:101:0::1;-1:-1:-1::0;;;;;46420:29:0;;46396:4;46420:29;;;:12;;:29;:12;:29;;;;;57423:32:::1;57415:91;;;::::0;-1:-1:-1;;;57415:91:0;;13707:2:1;57415:91:0::1;::::0;::::1;13689:21:1::0;13746:2;13726:18;;;13719:30;13785:34;13765:18;;;13758:62;13856:16;13836:18;;;13829:44;13890:19;;57415:91:0::1;13505:410:1::0;57415:91:0::1;-1:-1:-1::0;;;;;46420:29:0;;46396:4;46420:29;;;:12;;:29;:12;:29;;;;;57525:30:::1;57517:91;;;::::0;-1:-1:-1;;;57517:91:0;;14122:2:1;57517:91:0::1;::::0;::::1;14104:21:1::0;14161:2;14141:18;;;14134:30;14200:34;14180:18;;;14173:62;14271:18;14251;;;14244:46;14307:19;;57517:91:0::1;13920:412:1::0;47156:492:0;46396:4;46420:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46420:29:0;;;;;;;;;;;;47240:401;;47433:28;47453:7;47433:19;:28::i;:::-;47534:38;47562:4;47569:2;47534:19;:38::i;:::-;47338:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;47338:257:0;;;;;;;;;;-1:-1:-1;;;47284:345:0;;;;;;;:::i;21229:108::-;20956:7;;;;21288:41;;;;-1:-1:-1;;;21288:41:0;;15356:2:1;21288:41:0;;;15338:21:1;15395:2;15375:18;;;15368:30;15434:22;15414:18;;;15407:50;15474:18;;21288:41:0;15154:344:1;21288:41:0;21229:108::o;21044:::-;20956:7;;;;21114:9;21106:38;;;;-1:-1:-1;;;21106:38:0;;15705:2:1;21106:38:0;;;15687:21:1;15744:2;15724:18;;;15717:30;15783:18;15763;;;15756:46;15819:18;;21106:38:0;15503:340:1;13458:548:0;-1:-1:-1;;;;;13542:21:0;;13534:65;;;;-1:-1:-1;;;13534:65:0;;16050:2:1;13534:65:0;;;16032:21:1;16089:2;16069:18;;;16062:30;16128:33;16108:18;;;16101:61;16179:18;;13534:65:0;15848:355:1;13534:65:0;13612:49;13641:1;13645:7;13654:6;13612:20;:49::i;:::-;13690:6;13674:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13845:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;13900:37;1805:25:1;;;13900:37:0;;1778:18:1;13900:37:0;;;;;;;49422:218;;:::o;14339:675::-;-1:-1:-1;;;;;14423:21:0;;14415:67;;;;-1:-1:-1;;;14415:67:0;;16410:2:1;14415:67:0;;;16392:21:1;16449:2;16429:18;;;16422:30;16488:34;16468:18;;;16461:62;16559:3;16539:18;;;16532:31;16580:19;;14415:67:0;16208:397:1;14415:67:0;14495:49;14516:7;14533:1;14537:6;14495:20;:49::i;:::-;-1:-1:-1;;;;;14582:18:0;;14557:22;14582:18;;;;;;;;;;;14619:24;;;;14611:71;;;;-1:-1:-1;;;14611:71:0;;16812:2:1;14611:71:0;;;16794:21:1;16851:2;16831:18;;;16824:30;16890:34;16870:18;;;16863:62;16961:4;16941:18;;;16934:32;16983:19;;14611:71:0;16610:398:1;14611:71:0;-1:-1:-1;;;;;14718:18:0;;:9;:18;;;;;;;;;;;14739:23;;;14718:44;;14857:12;:22;;;;;;;14908:37;1805:25:1;;;14718:9:0;;:18;14908:37;;1778:18:1;14908:37:0;;;;;;;48278:147;;;:::o;41313:151::-;41371:13;41404:52;-1:-1:-1;;;;;41416:22:0;;39468:2;40709:447;40784:13;40810:19;40842:10;40846:6;40842:1;:10;:::i;:::-;:14;;40855:1;40842:14;:::i;:::-;40832:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40832:25:0;;40810:47;;40868:15;:6;40875:1;40868:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;40868:15:0;;;;;;;;;40894;:6;40901:1;40894:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;40894:15:0;;;;;;;;-1:-1:-1;40925:9:0;40937:10;40941:6;40937:1;:10;:::i;:::-;:14;;40950:1;40937:14;:::i;:::-;40925:26;;40920:131;40957:1;40953;:5;40920:131;;;40992:8;41001:5;41009:3;41001:11;40992:21;;;;;;;:::i;:::-;;;;40980:6;40987:1;40980:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;40980:33:0;;;;;;;;-1:-1:-1;41038:1:0;41028:11;;;;;40960:3;;;:::i;:::-;;;40920:131;;;-1:-1:-1;41069:10:0;;41061:55;;;;-1:-1:-1;;;41061:55:0;;17907:2:1;41061:55:0;;;17889:21:1;;;17926:18;;;17919:30;17985:34;17965:18;;;17958:62;18037:18;;41061:55:0;17705:356:1;41061:55:0;41141:6;40709:447;-1:-1:-1;;;40709:447:0:o;14:332:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;543:250;628:1;638:113;652:6;649:1;646:13;638:113;;;728:11;;;722:18;709:11;;;702:39;674:2;667:10;638:113;;;-1:-1:-1;;785:1:1;767:16;;760:27;543:250::o;798:396::-;947:2;936:9;929:21;910:4;979:6;973:13;1022:6;1017:2;1006:9;1002:18;995:34;1038:79;1110:6;1105:2;1094:9;1090:18;1085:2;1077:6;1073:15;1038:79;:::i;:::-;1178:2;1157:15;-1:-1:-1;;1153:29:1;1138:45;;;;1185:2;1134:54;;798:396;-1:-1:-1;;798:396:1:o;1199:196::-;1267:20;;-1:-1:-1;;;;;1316:54:1;;1306:65;;1296:93;;1385:1;1382;1375:12;1296:93;1199:196;;;:::o;1400:254::-;1468:6;1476;1529:2;1517:9;1508:7;1504:23;1500:32;1497:52;;;1545:1;1542;1535:12;1497:52;1568:29;1587:9;1568:29;:::i;:::-;1558:39;1644:2;1629:18;;;;1616:32;;-1:-1:-1;;;1400:254:1:o;1841:328::-;1918:6;1926;1934;1987:2;1975:9;1966:7;1962:23;1958:32;1955:52;;;2003:1;2000;1993:12;1955:52;2026:29;2045:9;2026:29;:::i;:::-;2016:39;;2074:38;2108:2;2097:9;2093:18;2074:38;:::i;:::-;2064:48;;2159:2;2148:9;2144:18;2131:32;2121:42;;1841:328;;;;;:::o;2174:180::-;2233:6;2286:2;2274:9;2265:7;2261:23;2257:32;2254:52;;;2302:1;2299;2292:12;2254:52;-1:-1:-1;2325:23:1;;2174:180;-1:-1:-1;2174:180:1:o;2541:254::-;2609:6;2617;2670:2;2658:9;2649:7;2645:23;2641:32;2638:52;;;2686:1;2683;2676:12;2638:52;2722:9;2709:23;2699:33;;2751:38;2785:2;2774:9;2770:18;2751:38;:::i;:::-;2741:48;;2541:254;;;;;:::o;3174:186::-;3233:6;3286:2;3274:9;3265:7;3261:23;3257:32;3254:52;;;3302:1;3299;3292:12;3254:52;3325:29;3344:9;3325:29;:::i;3365:260::-;3433:6;3441;3494:2;3482:9;3473:7;3469:23;3465:32;3462:52;;;3510:1;3507;3500:12;3462:52;3533:29;3552:9;3533:29;:::i;:::-;3523:39;;3581:38;3615:2;3604:9;3600:18;3581:38;:::i;3630:437::-;3709:1;3705:12;;;;3752;;;3773:61;;3827:4;3819:6;3815:17;3805:27;;3773:61;3880:2;3872:6;3869:14;3849:18;3846:38;3843:218;;-1:-1:-1;;;3914:1:1;3907:88;4018:4;4015:1;4008:15;4046:4;4043:1;4036:15;3843:218;;3630:437;;;:::o;4488:184::-;-1:-1:-1;;;4537:1:1;4530:88;4637:4;4634:1;4627:15;4661:4;4658:1;4651:15;4677:125;4742:9;;;4763:10;;;4760:36;;;4776:18;;:::i;14337:812::-;14748:25;14743:3;14736:38;14718:3;14803:6;14797:13;14819:75;14887:6;14882:2;14877:3;14873:12;14866:4;14858:6;14854:17;14819:75;:::i;:::-;14958:19;14953:2;14913:16;;;14945:11;;;14938:40;15003:13;;15025:76;15003:13;15087:2;15079:11;;15072:4;15060:17;;15025:76;:::i;:::-;15121:17;15140:2;15117:26;;14337:812;-1:-1:-1;;;;14337:812:1:o;17013:168::-;17086:9;;;17117;;17134:15;;;17128:22;;17114:37;17104:71;;17155:18;;:::i;17186:184::-;-1:-1:-1;;;17235:1:1;17228:88;17335:4;17332:1;17325:15;17359:4;17356:1;17349:15;17375:184;-1:-1:-1;;;17424:1:1;17417:88;17524:4;17521:1;17514:15;17548:4;17545:1;17538:15;17564:136;17603:3;17631:5;17621:39;;17640:18;;:::i;:::-;-1:-1:-1;;;17676:18:1;;17564:136::o

Swarm Source

ipfs://a7a3be2ca70e1c390b6396dd67b330f695c751f3f4a894aeee7b9a4d4f4f2a0a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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