ETH Price: $2,375.89 (+8.60%)
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xC6114A25...Bd7154e72 in Ethereum Mainnet
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
StableCoin

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at basescan.org on 2025-09-27
*/

// File: StableCoinToken/contracts/Common.sol


pragma solidity 0.8.21;

library ArrayOps {
  /**
   * @dev Function to delete elements from the array.
   * @param addressArray array of addresses.
   * @param elAddress address which to be removed.
   * @return Updated Array.
   */
  function deleteFromArray(
    address[] storage addressArray,
    address elAddress
  ) internal returns (address[] memory) {
    for (uint256 i = 0; i < addressArray.length; i++) {
      if (addressArray[i] == elAddress) {
        addressArray[i] = addressArray[addressArray.length - 1];
        addressArray.pop();
        break;
      }
    }
    return addressArray;
  }

  /**
   * @dev Function to Check if element is present in array.
   * @param addressArray array of addresses.
   * @param elAddress address which to be checked.
   * @return bool true if element is present else false.
   */
  function isElement(
    address[] memory addressArray,
    address elAddress
  ) internal pure returns (bool) {
    bool _isElement;
    for (uint256 i = 0; i < addressArray.length; i++) {
      if (addressArray[i] == elAddress) {
        _isElement = true;
        break;
      }
    }
    return _isElement;
  }
}

/**
 * @title Common
 * @notice Common variable declarations, Request Types, Sub Request Types, Structures, Events from both GovernanceToken and StableCoin.
 */
contract Common {
  /**
 * @notice Status of a request.
 * 0 - IN_PROGRESS, Request created
 * 1 - ACCEPTED, Approved by enough signatories
 * 2 - EXECUTED, Executed by request owner
 * 3 - CANCELLED, Cancelled by request owner
 */
  enum RequestStatus {
    IN_PROGRESS,
    ACCEPTED,
    EXECUTED,
    CANCELLED
  }

  /**
 * @notice Types of Requests.
 * 0 - TOKEN_SUPPLY_CONTROL (Burn,Mint)
 * 1 - TRANSACTION_CONTROL (Pause,Unpause)
 * 2 - SIGNATORY_CONTROL (Remove, Add)
 * 3 - THRESHOLD_CONTROL (Update)
 * 4 - WHITELIST_CONTROL (Remove, Add)
 *     note: Only on Governance Token
 */
  enum RequestType {
    TOKEN_SUPPLY_CONTROL,
    TRANSACTION_CONTROL,
    SIGNATORY_CONTROL,
    THRESHOLD_CONTROL,
    WHITELIST_CONTROL
  }

  /**
 * @notice Sub-Type of Token Supply Control
 * 0 - BURN
 * 1 - MINT
 */
  enum TokenSupplyControlRequestType {
    BURN,
    MINT
  }

  /**
 * @notice Sub-Type of Transaction Control
 * 0 - PAUSE
 * 1 - UNPAUSE
 */
  enum TransactionControlRequestType {
    PAUSE,
    UNPAUSE
  }

  /**
 * @notice Sub-Type of Signatory Control
 * 0 - REMOVE
 * 1 - ADD
 */
  enum SignatoryControlRequestType {
    REMOVE,
    ADD
  }

  /**
 * @notice Sub-Type of Threshold Control
 * 0 - UPDATE
 */
  enum ThresholdControlRequestType {
    UPDATE
  }

  /**
   * @notice Structure of a Token Supply control Request
   * id - ID of the Token Supply Control Request
   * subType - sub-Type of Token Supply control(MINT/BURN)
   * amount - Amount of token need to be minted or burned.
   * wallet - address of the wallet
   * owner - address of request owner
   * approvals - list of addresses who approved the request
   * status - status of request.
   */
  struct TokenSupplyControlRequests {
    uint256 id;
    TokenSupplyControlRequestType subType;
    uint256 amount;
    address wallet;
    address owner;
    address[] approvals;
    RequestStatus status;
  }

    /**
   * @notice Structure of a Transaction Control Request
   * id - ID of the Transaction Control Request
   * subType - sub-Type of Transaction control(PAUSE/UNPAUSE)
   * owner - address of request owner
   * approvals - list of addresses who approved the request
   * status - status of request.
   */
  struct TransactionControlRequests {
    uint256 id;
    TransactionControlRequestType subType;
    address owner;
    address[] approvals;
    RequestStatus status;
  }

  /**
   * @notice Structure of a Signatory Control Request
   * id - ID of the Signatory Control Request
   * subType - sub-Type of Transaction control(ADD/REMOVE)
   * wallets - list of addresses needs to be added or removed
   * owner - address of request owner
   * approvals - list of addresses who approved the request
   * status - status of request.
   */
  struct SignatoryControlRequests {
    uint256 id;
    SignatoryControlRequestType subType;
    address[] wallets;
    address owner;
    address[] approvals;
    RequestStatus status;
  }

  /**
   * @notice Structure of a Threshold Control Request
   * id - ID of the Threshold Control Request
   * reqType - request type for which threshold need to update
   * thresholds - list of threshold values
   * owner - address of request owner
   * approvals - list of addresses who approved the request
   * status - status of request.
   */
  struct ThresholdControlRequests {
    uint256 id;
    RequestType reqType;
    ThresholdControlRequestType subType;
    uint256[] thresholds;
    address owner;
    address[] approvals;
    RequestStatus status;
  }

  /// mapping to check if address is a signatory or not.
  mapping(address => bool) internal isSignatory;
  /// List of all signatories.
  address[] internal signatoryList;

  /// mapping for the count of request types.
  mapping(RequestType => uint256) internal requestTypeCount;

  /// mapping for the threshold count for token supply.
  mapping(TokenSupplyControlRequestType => uint256) internal tokenSupplyControlThresholds;
  /// mapping of all the token supply request.
  mapping(uint256 => TokenSupplyControlRequests) internal tokenSupplyControlRequests;

  /// mapping for the threshold count for Transaction Control.
  mapping(TransactionControlRequestType => uint256) internal transactionControlThresholds;
  /// mapping of all the Transaction control request.
  mapping(uint256 => TransactionControlRequests) internal transactionControlRequests;

  /// mapping for the threshold count for Signatory Control.
  mapping(SignatoryControlRequestType => uint256) internal signatoryControlThresholds;
  /// mapping of all the Signatory control request.
  mapping(uint256 => SignatoryControlRequests) internal signatoryControlRequests;

  /// mapping for the threshold count for Threshold Control.
  mapping(ThresholdControlRequestType => uint256) internal thresholdControlThresholds;
  /// mapping of all the Threshold control request.
  mapping(uint256 => ThresholdControlRequests) internal thresholdControlRequests;

  /// event when a request is created.
  event RequestCreated(
    RequestType indexed reqType,
    uint256 indexed subType,
    address indexed ownerAddress,
    uint256 reqId
  );
  /// event when a request is cancelled.
  event RequestCancelled(RequestType indexed reqType, uint256 indexed reqId);
  /// event when a request is updated.
  event RequestUpdated(RequestType indexed reqType, uint256 indexed reqId);
  /// event when a request is approved.
  event RequestApproval(
    RequestType indexed reqType,
    uint256 indexed reqId,
    address indexed signatoryAddress,
    bool isApproved
  );

  /// event when a signatory is updated.
  event SignatoriesUpdated(
    SignatoryControlRequestType indexed reqType,
    uint256 indexed reqId,
    address[] signatoryAddress
  );
  /// event when a Threshold is updated.
  event ThresholdUpdated(
    RequestType indexed reqType,
    uint256 indexed reqId,
    uint256[] newThresholds
  );

  /**
   * @dev modifier function to allow only to the signatories.
   */
  modifier onlySignatory() {
    require(isSignatory[msg.sender], 'UNAUTHORIZED!');
    _;
  }

  /**
   * @dev setting the count of all request types.
   */
  function _setRequestTypeCount() internal {
    requestTypeCount[RequestType.TOKEN_SUPPLY_CONTROL] = 2;
    requestTypeCount[RequestType.TRANSACTION_CONTROL] = 2;
    requestTypeCount[RequestType.SIGNATORY_CONTROL] = 2;
    requestTypeCount[RequestType.THRESHOLD_CONTROL] = 1;
    requestTypeCount[RequestType.WHITELIST_CONTROL] = 2;
  }

  /**
   * @dev to check that a request can be cancelled or not.
   * @param owner owner of the request.
   * @param status status of the request.
   */
  function _isCancellable(address owner, RequestStatus status) internal view {
    require(owner != address(0), 'INVALID_REQUEST!');
    require(owner == msg.sender, 'UNAUTHORIZED!');
    require(status == RequestStatus.IN_PROGRESS || status == RequestStatus.ACCEPTED, 'NOT_ACTIVE!');
  }

  /**
   * @dev to check that a request can be approved or not.
   * @param owner owner of the request.
   * @param status status of the request.
   */
  function _isApprovable(address owner, RequestStatus status) internal pure {
    require(owner != address(0), 'INVALID_REQUEST!');
    require(status == RequestStatus.IN_PROGRESS || status == RequestStatus.ACCEPTED, 'NOT_ACTIVE!');
  }

  /**
   * @dev to check that a request can be executed or not.
   * @param owner owner of the request.
   * @param status status of the request.
   */
  function _isExecutable(address owner, RequestStatus status) internal view {
    require(owner != address(0), 'INVALID_REQUEST!');
    require(owner == msg.sender, 'UNAUTHORIZED!');
    require(status == RequestStatus.ACCEPTED, 'NOT_APPROVED!');
  }
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuardUpgradeable is Initializable {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    function __ReentrancyGuard_init() internal onlyInitializing {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol


// 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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol


// 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 PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @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.
     */
    function __Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _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());
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol


// 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 IERC20Upgradeable {
    /**
     * @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: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol


// 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 IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    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.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        _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;
        }
        _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;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[45] private __gap;
}

// File: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.sol


// OpenZeppelin Contracts v4.4.1 (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.
 */
abstract contract ERC20PausableUpgradeable is Initializable, ERC20Upgradeable, PausableUpgradeable {
    function __ERC20Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __ERC20Pausable_init_unchained() internal onlyInitializing {
    }
    /**
     * @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");
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: StableCoinToken/contracts/StableCoin.sol

/**
 * SPDX-License-Identifier: MIT
 * @author Accubits
 * @title Stable Coin
 */

pragma solidity 0.8.21;







/**
 * @title Stable Coin.
 */

contract StableCoin is
  Initializable,
  ERC20Upgradeable,
  ERC20PausableUpgradeable,
  OwnableUpgradeable,
  Common,
  ReentrancyGuardUpgradeable
{
  /// to store decimal.
  uint8 internal _decimals;
  /// Address of Governance Token.
  address internal _governanceTokenAddress;

  /// @custom:oz-upgrades-unsafe-allow constructor
  constructor() {
    _disableInitializers();
  }

  /**
   * @dev   To initialize Contract.
   * @param name_             ERC20 Token Name.
   * @param symbol_           ERC20 Token Symbol.
   * @param decimals_         ERC20 decimal allows.
   * @param governanceToken_  Address of Governance Token
   * @param owner_            Address of Contract owner
   */
  function initialize(
    string memory name_,
    string memory symbol_,
    uint8 decimals_,
    address governanceToken_,
    address owner_
  ) public initializer {
    __ERC20_init(name_, symbol_);
    __ERC20Pausable_init();
    __Ownable_init();

    isSignatory[owner_] = true;
    signatoryList.push(owner_);

    _decimals = decimals_;
    _governanceTokenAddress = governanceToken_;
    _setRequestTypeCount();
    _setDefaultThresholds();

    _transferOwnership(owner_);
  }

  /**
   * @dev Function to set dafault Thresholds for all operations.
   */
  function _setDefaultThresholds() private {
    tokenSupplyControlThresholds[TokenSupplyControlRequestType.BURN] = 1;
    tokenSupplyControlThresholds[TokenSupplyControlRequestType.MINT] = 1;
    transactionControlThresholds[TransactionControlRequestType.PAUSE] = 1;
    transactionControlThresholds[TransactionControlRequestType.UNPAUSE] = 1;
    signatoryControlThresholds[SignatoryControlRequestType.ADD] = 1;
    signatoryControlThresholds[SignatoryControlRequestType.REMOVE] = 1;
    thresholdControlThresholds[ThresholdControlRequestType.UPDATE] = 1;
  }

  /**
   * @dev    override function to modify the decimal support for the Token.
   * @return uint8 number of decimals allowed
   */
  function decimals() public view virtual override returns (uint8) {
    return _decimals;
  }

  /**
   * @dev    Fetching list of all the Signatories.
   * @return address[] Array containing all signatories.
   */
  function getSignatoryList() external view returns (address[] memory) {
    return signatoryList;
  }

  /**
   * @dev    To get the Threshold value for specified Request Type.
   * @param  reqType_ Type of operation.
   * @return uint256[] array containing Threshold count for the Request Type.
   */
  function getThresholds(RequestType reqType_) external view returns (uint256[] memory) {
    uint256[] memory thresholds = new uint256[](requestTypeCount[reqType_]);
    for (uint256 i; i < requestTypeCount[reqType_]; i++) {
      if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {
        thresholds[i] = tokenSupplyControlThresholds[TokenSupplyControlRequestType(i)];
      } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {
        thresholds[i] = transactionControlThresholds[TransactionControlRequestType(i)];
      } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {
        thresholds[i] = signatoryControlThresholds[SignatoryControlRequestType(i)];
      } else {
        thresholds[i] = thresholdControlThresholds[ThresholdControlRequestType(i)];
      }
    }
    return thresholds;
  }

  /**
   * @dev    To see the Requested Object for Token Supply.
   * @param  id_ ID of the request.
   * @return Structure of Token Supply Request of given ID.
   */
  function getTokenSupplyControlRequest(
    uint256 id_
  ) external view returns (TokenSupplyControlRequests memory) {
    require(tokenSupplyControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    return tokenSupplyControlRequests[id_];
  }

  /**
   * @dev    To see the Requested Object for Transaction Control.
   * @param  id_ ID of the request.
   * @return Structure of Transaction Control Request of given ID.
   */
  function getTransactionControlRequest(
    uint256 id_
  ) external view returns (TransactionControlRequests memory) {
    require(transactionControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    return transactionControlRequests[id_];
  }

  /**
   * @dev    To see the Requested Object for Signatory Control.
   * @param  id_ ID of the request.
   * @return Structure of Signatory Control Request of given ID.
   */
  function getSignatoryControlRequest(
    uint256 id_
  ) external view returns (SignatoryControlRequests memory) {
    require(signatoryControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    return signatoryControlRequests[id_];
  }

  /**
   * @dev    To see the Requested Object for Threshold Control.
   * @param  id_ ID of the request.
   * @return Structure of Threshold Control Request of given ID.
   */
  function getThresholdControlRequest(
    uint256 id_
  ) external view returns (ThresholdControlRequests memory) {
    require(thresholdControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    return thresholdControlRequests[id_];
  }

  /**
   * @dev   To create a Token Supply Control Request.
   * @param reqSubType_ Sub Type of the request (Mint/Burn).
   * @param id_         ID for the newly created Request.
   * @param amount_     Ammount of Tokens for minting or burning.
   * @param to_         Address of receiver.
   */
  function createTokenSupplyControlRequest(
    TokenSupplyControlRequestType reqSubType_,
    uint256 id_,
    uint256 amount_,
    address to_
  ) external onlySignatory {
    require(tokenSupplyControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');

    tokenSupplyControlRequests[id_].id = id_;
    tokenSupplyControlRequests[id_].subType = reqSubType_;
    tokenSupplyControlRequests[id_].amount = amount_;
    tokenSupplyControlRequests[id_].wallet = to_;
    tokenSupplyControlRequests[id_].owner = msg.sender;
    tokenSupplyControlRequests[id_].status = RequestStatus.IN_PROGRESS;

    emit RequestCreated(RequestType.TOKEN_SUPPLY_CONTROL, uint256(reqSubType_), msg.sender, id_);
  }

  /**
   * @dev   To update a Token Supply Control Request.
   * @param id_         ID of the request needs to be updated.
   * @param amount_     new Ammount of Tokens for minting or burning.
   * @param to_         new Address of receiver.
   */
  function updateTokenSupplyControlRequest(
    uint256 id_,
    uint256 amount_,
    address to_
  ) external onlySignatory {
    require(tokenSupplyControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    require(tokenSupplyControlRequests[id_].owner == msg.sender, 'UNAUTHORIZED!');
    require(tokenSupplyControlRequests[id_].status == RequestStatus.IN_PROGRESS, 'NOT_ACTIVE!');

    tokenSupplyControlRequests[id_].amount = amount_;
    tokenSupplyControlRequests[id_].wallet = to_;
    tokenSupplyControlRequests[id_].approvals = new address[](0);

    emit RequestUpdated(RequestType.TOKEN_SUPPLY_CONTROL, id_);
  }

  /**
   * @dev   To create a Transaction Control Request.
   * @param reqSubType_ Sub Type of the request (Pause/Unpause).
   * @param id_         ID for the newly created Request.
   */
  function createTransactionControlRequest(
    TransactionControlRequestType reqSubType_,
    uint256 id_
  ) external onlySignatory {
    require(transactionControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');

    transactionControlRequests[id_].id = id_;
    transactionControlRequests[id_].subType = reqSubType_;
    transactionControlRequests[id_].owner = msg.sender;
    transactionControlRequests[id_].status = RequestStatus.IN_PROGRESS;

    emit RequestCreated(RequestType.TRANSACTION_CONTROL, uint256(reqSubType_), msg.sender, id_);
  }

  /**
   * @dev   Request To create a Signatories.
   * @param reqSubType_ Sub Type of the request (ADD/REMOVE).
   * @param id_         ID for the newly created Request.
   * @param users_      list of signatories to add or remove.
   */
  function createSignatoryControlRequest(
    SignatoryControlRequestType reqSubType_,
    uint256 id_,
    address[] memory users_
  ) external onlySignatory {
    require(signatoryControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');

    signatoryControlRequests[id_].id = id_;
    signatoryControlRequests[id_].subType = reqSubType_;
    signatoryControlRequests[id_].wallets = users_;
    signatoryControlRequests[id_].owner = msg.sender;
    signatoryControlRequests[id_].status = RequestStatus.IN_PROGRESS;

    emit RequestCreated(RequestType.SIGNATORY_CONTROL, uint256(reqSubType_), msg.sender, id_);
  }

  /**
   * @dev   To update a Signatory Control Request.
   * @param id_    ID of the request needs to be updated.
   * @param users_ new list of signatories.
   */
  function updateSignatoryControlRequest(
    uint256 id_,
    address[] memory users_
  ) external onlySignatory {
    require(signatoryControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    require(signatoryControlRequests[id_].owner == msg.sender, 'UNAUTHORIZED!');
    require(signatoryControlRequests[id_].status == RequestStatus.IN_PROGRESS, 'NOT_ACTIVE!');

    signatoryControlRequests[id_].wallets = users_;
    signatoryControlRequests[id_].approvals = new address[](0);
    emit RequestUpdated(RequestType.SIGNATORY_CONTROL, id_);
  }

  /**
   * @dev   Request To create Threshold Control.
   * @param reqType_    Request Type for which thresholds need to change.
   * @param id_         ID for the newly created Request.
   * @param thresholds_ list of thresholds for the request.
   */
  function createThresholdControlRequest(
    RequestType reqType_,
    uint256 id_,
    uint256[] memory thresholds_
  ) external onlySignatory {
    require(thresholdControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');
    require(thresholds_.length == requestTypeCount[reqType_], 'INVALID_THRESHOLD_COUNTS!');
    for(uint256 i;i < thresholds_.length;i++){
      require(thresholds_[i] > 0, 'INVALID_THRESHOLD!');
    }

    thresholdControlRequests[id_].id = id_;
    thresholdControlRequests[id_].reqType = reqType_;
    thresholdControlRequests[id_].subType = ThresholdControlRequestType.UPDATE;
    thresholdControlRequests[id_].thresholds = thresholds_;
    thresholdControlRequests[id_].owner = msg.sender;
    thresholdControlRequests[id_].status = RequestStatus.IN_PROGRESS;

    emit RequestCreated(RequestType.THRESHOLD_CONTROL, uint256(ThresholdControlRequestType.UPDATE), msg.sender, id_);
  }

  /**
   * @dev   To update a Threshold Control Request.
   * @param id_         ID of the request needs to be updated.
   * @param thresholds_ new list of Thresholds for the request Type.
   */
  function updateThresholdControlRequest(
    uint256 id_,
    uint256[] memory thresholds_
  ) external onlySignatory {
    require(thresholdControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');
    require(thresholdControlRequests[id_].owner == msg.sender, 'UNAUTHORIZED!');
    require(thresholdControlRequests[id_].status == RequestStatus.IN_PROGRESS, 'NOT_ACTIVE!');
    require(
      thresholds_.length == requestTypeCount[thresholdControlRequests[id_].reqType],
      'INVALID_THRESHOLD_COUNTS!'
    );
    for(uint256 i;i < thresholds_.length;i++){
      require(thresholds_[i] > 0, 'INVALID_THRESHOLD!');
    }
    thresholdControlRequests[id_].thresholds = thresholds_;
    thresholdControlRequests[id_].approvals = new address[](0);

    emit RequestUpdated(RequestType.THRESHOLD_CONTROL, id_);
  }

  /**
   * @dev To vote for a request of any type.
   * @param reqType_  Request Type of operations.
   * @param id_       ID of the request, which was made previously.
   * @param approval_ true for approval, false for rejection.
   */
  function vote(
    RequestType reqType_,
    uint256 id_,
    bool approval_
  ) external onlySignatory nonReentrant {
    if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {
      _isApprovable(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].status);

      bool isApproved = ArrayOps.isElement(tokenSupplyControlRequests[id_].approvals, msg.sender);
      if (approval_) {
        require(!isApproved, 'APPROVED!');
        tokenSupplyControlRequests[id_].approvals.push(msg.sender);
      } else {
        require(isApproved, 'NOT_APPROVED!');
        address[] memory updatedApprovals = ArrayOps.deleteFromArray(
          tokenSupplyControlRequests[id_].approvals,
          msg.sender
        );
        tokenSupplyControlRequests[id_].approvals = updatedApprovals;
      }

      tokenSupplyControlRequests[id_].status = tokenSupplyControlRequests[id_].approvals.length >=
        tokenSupplyControlThresholds[tokenSupplyControlRequests[id_].subType]
        ? RequestStatus.ACCEPTED
        : RequestStatus.IN_PROGRESS;
    } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {
      _isApprovable(transactionControlRequests[id_].owner, transactionControlRequests[id_].status);

      bool isApproved = ArrayOps.isElement(transactionControlRequests[id_].approvals, msg.sender);
      if (approval_) {
        require(!isApproved, 'APPROVED!');
        transactionControlRequests[id_].approvals.push(msg.sender);
      } else {
        require(isApproved, 'NOT_APPROVED!');
        address[] memory updatedApprovals = ArrayOps.deleteFromArray(
          transactionControlRequests[id_].approvals,
          msg.sender
        );
        transactionControlRequests[id_].approvals = updatedApprovals;
      }

      transactionControlRequests[id_].status = transactionControlRequests[id_].approvals.length >=
        transactionControlThresholds[transactionControlRequests[id_].subType]
        ? RequestStatus.ACCEPTED
        : RequestStatus.IN_PROGRESS;
    } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {
      _isApprovable(signatoryControlRequests[id_].owner, signatoryControlRequests[id_].status);

      bool isApproved = ArrayOps.isElement(signatoryControlRequests[id_].approvals, msg.sender);
      if (approval_) {
        require(!isApproved, 'APPROVED!');
        signatoryControlRequests[id_].approvals.push(msg.sender);
      } else {
        require(isApproved, 'NOT_APPROVED!');
        signatoryControlRequests[id_].approvals = ArrayOps.deleteFromArray(
          signatoryControlRequests[id_].approvals,
          msg.sender
        );
      }

      signatoryControlRequests[id_].status = signatoryControlRequests[id_].approvals.length >=
        signatoryControlThresholds[signatoryControlRequests[id_].subType]
        ? RequestStatus.ACCEPTED
        : RequestStatus.IN_PROGRESS;
    } else if (reqType_ == RequestType.THRESHOLD_CONTROL) {
      _isApprovable(thresholdControlRequests[id_].owner, thresholdControlRequests[id_].status);

      bool isApproved = ArrayOps.isElement(thresholdControlRequests[id_].approvals, msg.sender);
      if (approval_) {
        require(!isApproved, 'APPROVED!');
        thresholdControlRequests[id_].approvals.push(msg.sender);
      } else {
        require(isApproved, 'NOT_APPROVED!');
        thresholdControlRequests[id_].approvals = ArrayOps.deleteFromArray(
          thresholdControlRequests[id_].approvals,
          msg.sender
        );
      }

      thresholdControlRequests[id_].status = thresholdControlRequests[id_].approvals.length >=
        thresholdControlThresholds[thresholdControlRequests[id_].subType]
        ? RequestStatus.ACCEPTED
        : RequestStatus.IN_PROGRESS;
    } else {
      revert('UNKNOWN_REQUEST!');
    }

    emit RequestApproval(reqType_, id_, msg.sender, approval_);
  }

  /**
   * @dev To execute the operation, if thresholds are valid then it will execute else revert.
   * @param reqType_ Type of Request which needs to be executed.
   * @param id_      ID of the request.
   */
  function execute(RequestType reqType_, uint256 id_) external {
    if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {
      _isExecutable(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].status);

      if (TokenSupplyControlRequestType.MINT == tokenSupplyControlRequests[id_].subType) {
        _mint(tokenSupplyControlRequests[id_].wallet, tokenSupplyControlRequests[id_].amount);
      } else {
        if (tokenSupplyControlRequests[id_].wallet == tokenSupplyControlRequests[id_].owner) {
          _burn(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].amount);
        } else if (tokenSupplyControlRequests[id_].wallet == address(this)) {
          _burn(address(this), tokenSupplyControlRequests[id_].amount);
        } else {
          require(
            allowance(
              tokenSupplyControlRequests[id_].wallet,
              tokenSupplyControlRequests[id_].owner
            ) >= tokenSupplyControlRequests[id_].amount,
            'INSUFFICIENT_ALLOWANCE!'
          );
          _spendAllowance(
            tokenSupplyControlRequests[id_].wallet,
            tokenSupplyControlRequests[id_].owner,
            tokenSupplyControlRequests[id_].amount
          );
          _burn(tokenSupplyControlRequests[id_].wallet, tokenSupplyControlRequests[id_].amount);
        }
      }

      tokenSupplyControlRequests[id_].status = RequestStatus.EXECUTED;
    } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {
      _isExecutable(transactionControlRequests[id_].owner, transactionControlRequests[id_].status);

      if (TransactionControlRequestType.PAUSE == transactionControlRequests[id_].subType) {
        _pause();
      } else {
        _unpause();
      }

      transactionControlRequests[id_].status = RequestStatus.EXECUTED;
    } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {
      _isExecutable(signatoryControlRequests[id_].owner, signatoryControlRequests[id_].status);

      for (uint256 i; i < signatoryControlRequests[id_].wallets.length; i++) {
        if (SignatoryControlRequestType.ADD == signatoryControlRequests[id_].subType) {
          require(!isSignatory[signatoryControlRequests[id_].wallets[i]], 'EXISTING!');
          isSignatory[signatoryControlRequests[id_].wallets[i]] = true;
          signatoryList.push(signatoryControlRequests[id_].wallets[i]);
        } else {
          require(signatoryList.length > 1, 'LAST_SIGNATORY!');
          require(isSignatory[signatoryControlRequests[id_].wallets[i]], 'UNKNOWN!');
          isSignatory[signatoryControlRequests[id_].wallets[i]] = false;
          signatoryList = ArrayOps.deleteFromArray(
            signatoryList,
            signatoryControlRequests[id_].wallets[i]
          );
        }
      }

      signatoryControlRequests[id_].status = RequestStatus.EXECUTED;
      emit SignatoriesUpdated(
        signatoryControlRequests[id_].subType,
        id_,
        signatoryControlRequests[id_].wallets
      );
    } else if (reqType_ == RequestType.THRESHOLD_CONTROL) {
      _isExecutable(thresholdControlRequests[id_].owner, thresholdControlRequests[id_].status);

      for (uint256 i; i < requestTypeCount[thresholdControlRequests[id_].reqType]; i++) {
        if (thresholdControlRequests[id_].reqType == RequestType.TOKEN_SUPPLY_CONTROL) {
          tokenSupplyControlThresholds[TokenSupplyControlRequestType(i)] = thresholdControlRequests[
            id_
          ].thresholds[i];
        } else if (thresholdControlRequests[id_].reqType == RequestType.TRANSACTION_CONTROL) {
          transactionControlThresholds[TransactionControlRequestType(i)] = thresholdControlRequests[
            id_
          ].thresholds[i];
        } else if (thresholdControlRequests[id_].reqType == RequestType.SIGNATORY_CONTROL) {
          signatoryControlThresholds[SignatoryControlRequestType(i)] = thresholdControlRequests[id_]
            .thresholds[i];
        } else {
          thresholdControlThresholds[ThresholdControlRequestType(i)] = thresholdControlRequests[id_]
            .thresholds[i];
        }
      }

      thresholdControlRequests[id_].status = RequestStatus.EXECUTED;
      emit ThresholdUpdated(thresholdControlRequests[id_].reqType, id_, thresholdControlRequests[id_].thresholds);
    } else {
      revert('UNKNOWN_REQUEST!');
    }
  }

  /**
   * @dev To cancel a request which is made previously.
   * @param reqType_ Request Type of operation.
   * @param id_      ID of the pending request.
   */
  function cancelRequest(RequestType reqType_, uint256 id_) external onlySignatory nonReentrant {
    if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {
      _isCancellable(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].status);
      tokenSupplyControlRequests[id_].status = RequestStatus.CANCELLED;
    } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {
      _isCancellable(transactionControlRequests[id_].owner, transactionControlRequests[id_].status);
      transactionControlRequests[id_].status = RequestStatus.CANCELLED;
    } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {
      _isCancellable(signatoryControlRequests[id_].owner, signatoryControlRequests[id_].status);
      signatoryControlRequests[id_].status = RequestStatus.CANCELLED;
    } else if (reqType_ == RequestType.THRESHOLD_CONTROL) {
      _isCancellable(thresholdControlRequests[id_].owner, thresholdControlRequests[id_].status);
      thresholdControlRequests[id_].status = RequestStatus.CANCELLED;
    } else {
      revert('UNKNOWN_REQUEST!');
    }
    emit RequestCancelled(reqType_, id_);
  }

  /**
   * @dev To mint the Token by swaping.
   * @param user_   address of receiver.
   * @param amount_ Amount of token to be minted.
   */
  function swap(address user_, uint256 amount_) external nonReentrant {
    require(msg.sender == _governanceTokenAddress, 'UNAUTHORIZED!');
    _mint(user_, amount_);
  }

  /**
   * @dev     Overriding inherited hook
   * @param   from   Address from which token amount is transfer.
   * @param   to     Address to which token amount is received.
   * @param   amount Token amount to be transfer.
   */
  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 amount
  ) internal override(ERC20Upgradeable,ERC20PausableUpgradeable) whenNotPaused {
    super._beforeTokenTransfer(from, to, amount);
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"},{"indexed":true,"internalType":"address","name":"signatoryAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"isApproved","type":"bool"}],"name":"RequestApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"}],"name":"RequestCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"subType","type":"uint256"},{"indexed":true,"internalType":"address","name":"ownerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"reqId","type":"uint256"}],"name":"RequestCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"}],"name":"RequestUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.SignatoryControlRequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"signatoryAddress","type":"address[]"}],"name":"SignatoriesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"newThresholds","type":"uint256[]"}],"name":"ThresholdUpdated","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":[{"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":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"cancelRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.SignatoryControlRequestType","name":"reqSubType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"address[]","name":"users_","type":"address[]"}],"name":"createSignatoryControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256[]","name":"thresholds_","type":"uint256[]"}],"name":"createThresholdControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.TokenSupplyControlRequestType","name":"reqSubType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"createTokenSupplyControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.TransactionControlRequestType","name":"reqSubType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"createTransactionControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getSignatoryControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.SignatoryControlRequestType","name":"subType","type":"uint8"},{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.SignatoryControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSignatoryList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getThresholdControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"internalType":"enum Common.ThresholdControlRequestType","name":"subType","type":"uint8"},{"internalType":"uint256[]","name":"thresholds","type":"uint256[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.ThresholdControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"}],"name":"getThresholds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getTokenSupplyControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.TokenSupplyControlRequestType","name":"subType","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.TokenSupplyControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getTransactionControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.TransactionControlRequestType","name":"subType","type":"uint8"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.TransactionControlRequests","name":"","type":"tuple"}],"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":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"governanceToken_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"address[]","name":"users_","type":"address[]"}],"name":"updateSignatoryControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256[]","name":"thresholds_","type":"uint256[]"}],"name":"updateThresholdControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"updateTokenSupplyControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"bool","name":"approval_","type":"bool"}],"name":"vote","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x60806040523480156200001157600080fd5b506200001c62000022565b620000e4565b600054610100900460ff16156200008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e2576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b614e7c80620000f46000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a9059cbb116100ad578063cdba49df1161007c578063cdba49df14610469578063d004f0f71461047c578063da3d21641461048f578063dd62ed3e146104af578063f2fde38b146104c257600080fd5b8063a9059cbb14610410578063c451c08d14610423578063c820f14614610443578063c93661941461045657600080fd5b80638da5cb5b116100e95780638da5cb5b146103c557806395d89b41146103e0578063a07addc0146103e8578063a457c2d7146103fd57600080fd5b8063715018a6146103775780637162da071461037f5780637b7b2c0e1461039f5780637d4ef73b146103b257600080fd5b8063313ce567116101925780635c975abb116101615780635c975abb1461031d57806361d22fae1461032857806364cc5eae1461033b57806370a082311461034e57600080fd5b8063313ce567146102c157806339509351146102d75780633d7c3e13146102ea5780634e3cdaeb146102fd57600080fd5b80631a6c5f90116101ce5780631a6c5f90146102735780631cf372ad1461028857806323b872dd1461029b578063250800cd146102ae57600080fd5b806306fdde0314610200578063095ea7b31461021e578063139dba551461024157806318160ddd14610261575b600080fd5b6102086104d5565b60405161021591906141cb565b60405180910390f35b61023161022c366004614235565b610567565b6040519015158152602001610215565b61025461024f36600461426e565b610581565b6040516102159190614290565b6035545b604051908152602001610215565b6102866102813660046143aa565b610799565b005b610286610296366004614401565b6109e7565b6102316102a936600461441d565b610c7e565b6102866102bc366004614466565b610ca2565b6101385460405160ff9091168152602001610215565b6102316102e5366004614235565b610ddc565b6102866102f83660046144ae565b610dfe565b61031061030b3660046144e3565b610f6d565b60405161021591906145aa565b60655460ff16610231565b61028661033636600461464d565b611133565b610286610349366004614401565b6113b3565b61026561035c366004614694565b6001600160a01b031660009081526033602052604090205490565b610286611dfd565b61039261038d3660046144e3565b611e11565b60405161021591906146bf565b6102866103ad366004614782565b611f5f565b6102866103c03660046147bf565b6120a3565b60c9546040516001600160a01b039091168152602001610215565b6102086121cd565b6103f06121dc565b60405161021591906147dd565b61023161040b366004614235565b61223d565b61023161041e366004614235565b6122b8565b6104366104313660046144e3565b6122c6565b60405161021591906147f0565b6102866104513660046148e3565b612448565b610286610464366004614981565b612612565b6102866104773660046149d0565b612727565b61028661048a366004614235565b61303c565b6104a261049d3660046144e3565b6130a9565b6040516102159190614a15565b6102656104bd366004614a91565b61321e565b6102866104d0366004614694565b613249565b6060603680546104e490614ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461051090614ac4565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b6000336105758185856132c2565b60019150505b92915050565b6060600060fd600084600481111561059b5761059b6144fc565b60048111156105ac576105ac6144fc565b81526020019081526020016000205467ffffffffffffffff8111156105d3576105d36142d4565b6040519080825280602002602001820160405280156105fc578160200160208202803683370190505b50905060005b60fd6000856004811115610618576106186144fc565b6004811115610629576106296144fc565b815260200190815260200160002054811015610792576000846004811115610653576106536144fc565b036106c25760fe600082600181111561066e5761066e6144fc565b600181111561067f5761067f6144fc565b6001811115610690576106906144fc565b8152602001908152602001600020548282815181106106b1576106b1614afe565b602002602001018181525050610780565b60018460048111156106d6576106d66144fc565b036106f257610100600082600181111561066e5761066e6144fc565b6002846004811115610706576107066144fc565b0361072257610102600082600181111561066e5761066e6144fc565b6101046000828015610736576107366144fc565b8015610744576107446144fc565b8015610752576107526144fc565b81526020019081526020016000205482828151811061077357610773614afe565b6020026020010181815250505b8061078a81614b2a565b915050610602565b5092915050565b33600090815260fb602052604090205460ff166107d15760405162461bcd60e51b81526004016107c890614b43565b60405180910390fd5b600082815261010560205260409020600301546001600160a01b03161561080a5760405162461bcd60e51b81526004016107c890614b6a565b60fd6000846004811115610820576108206144fc565b6004811115610831576108316144fc565b81526020019081526020016000205481511461088b5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b81518110156109075760008282815181106108ab576108ab614afe565b6020026020010151116108f55760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b806108ff81614b2a565b91505061088e565b5060008281526101056020526040902082815560019081018054859260ff199091169083600481111561093c5761093c6144fc565b021790555060008281526101056020908152604090912060018101805461ff00191690558251610974926002909201918401906140a4565b506000828152610105602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033600060035b6040518581527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a4505050565b33600090815260fb602052604090205460ff16610a165760405162461bcd60e51b81526004016107c890614b43565b60026101065403610a395760405162461bcd60e51b81526004016107c890614b94565b6002610106556000826004811115610a5357610a536144fc565b03610ab357600081815260ff602081905260409091206004810154600690910154610a8a926001600160a01b0390921691166133e7565b600081815260ff6020526040902060060180546003919060ff19166001835b0217905550610c38565b6001826004811115610ac757610ac76144fc565b03610b23576000818152610101602052604090206001810154600390910154610b019161010090046001600160a01b03169060ff166133e7565b6000818152610101602052604090206003908101805460ff1916600183610aa9565b6002826004811115610b3757610b376144fc565b03610b90576000818152610103602052604090206003810154600590910154610b6c916001600160a01b03169060ff166133e7565b60008181526101036020526040902060050180546003919060ff1916600183610aa9565b6003826004811115610ba457610ba46144fc565b03610bfd576000818152610105602052604090206003810154600590910154610bd9916001600160a01b03169060ff166133e7565b60008181526101056020526040902060050180546003919060ff1916600183610aa9565b60405162461bcd60e51b815260206004820152601060248201526f554e4b4e4f574e5f524551554553542160801b60448201526064016107c8565b80826004811115610c4b57610c4b6144fc565b6040517fd4b68df9eef98410eb5ed4c779e2014889bc9e9f836af8bde49982ead4877d2690600090a35050600161010655565b600033610c8c858285613482565b610c978585856134fc565b506001949350505050565b33600090815260fb602052604090205460ff16610cd15760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b031615610d095760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff6020526040902083815560019081018054869260ff19909116908381811115610d3b57610d3b6144fc565b0217905550600083815260ff60205260409020600281018390556003810180546001600160a01b03199081166001600160a01b03851617909155600482018054339216821790556006909101805460ff19169055846001811115610da157610da16144fc565b60006040518681527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a450505050565b600033610575818585610def838361321e565b610df99190614bcb565b6132c2565b33600090815260fb602052604090205460ff16610e2d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b0316610e645760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff60205260409020600401546001600160a01b03163314610e9d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60208190526040822060060154166003811115610ec357610ec36144fc565b14610ee05760405162461bcd60e51b81526004016107c890614bde565b600083815260ff60208181526040808420600281018790556003810180546001600160a01b0319166001600160a01b03881617905581518581528084019283905294889052929091529151610f3b92600590920191906140ef565b508260006040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a3505050565b610f75614144565b600082815261010560205260409020600301546001600160a01b0316610fad5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101056020908152604091829020825160e08101909352805483526001810154909183019060ff166004811115610feb57610feb6144fc565b6004811115610ffc57610ffc6144fc565b81526001820154602090910190610100900460ff16801561101f5761101f6144fc565b801561102d5761102d6144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81548152602001906001019080831161106c575b505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d4575b5050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600381111561112a5761112a6144fc565b90525092915050565b33600090815260fb602052604090205460ff166111625760405162461bcd60e51b81526004016107c890614b43565b600082815261010560205260409020600301546001600160a01b031661119a5760405162461bcd60e51b81526004016107c890614b6a565b600082815261010560205260409020600301546001600160a01b031633146111d45760405162461bcd60e51b81526004016107c890614b43565b6000828152610105602052604081206005015460ff1660038111156111fb576111fb6144fc565b146112185760405162461bcd60e51b81526004016107c890614bde565b6000828152610105602052604081206001015460fd919060ff166004811115611243576112436144fc565b6004811115611254576112546144fc565b8152602001908152602001600020548151146112ae5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b815181101561132a5760008282815181106112ce576112ce614afe565b6020026020010151116113185760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b8061132281614b2a565b9150506112b1565b506000828152610105602090815260409091208251611351926002909201918401906140a4565b506040805160008082526020808301808552868352610105909152929020905161138192600490920191906140ef565b508160035b6040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a35050565b60008260048111156113c7576113c76144fc565b0361160457600081815260ff6020819052604090912060048101546006909101546113fe926001600160a01b0390921691166136d5565b600081815260ff6020819052604090912060019081015490911690811115611428576114286144fc565b60010361146057600081815260ff60205260409020600381015460029091015461145b916001600160a01b031690613754565b6115dc565b600081815260ff6020526040902060048101546003909101546001600160a01b039182169116036114b757600081815260ff60205260409020600481015460029091015461145b916001600160a01b031690613838565b600081815260ff6020526040902060030154306001600160a01b03909116036114f757600081815260ff602052604090206002015461145b903090613838565b600081815260ff6020526040902060028101546003820154600490920154909161152d916001600160a01b03918216911661321e565b101561157b5760405162461bcd60e51b815260206004820152601760248201527f494e53554646494349454e545f414c4c4f57414e43452100000000000000000060448201526064016107c8565b600081815260ff60205260409020600381015460048201546002909201546115b0926001600160a01b03928316921690613482565b600081815260ff6020526040902060038101546002909101546115dc916001600160a01b031690613838565b600081815260ff6020526040902060060180546002919060ff19166001835b02179055505050565b6001826004811115611618576116186144fc565b036116ba5760008181526101016020526040902060018101546003909101546116529161010090046001600160a01b03169060ff166136d5565b60008181526101016020526040902060019081015460ff169081111561167a5761167a6144fc565b60000361168e5761168961398f565b611696565b6116966139e9565b60008181526101016020526040902060030180546002919060ff19166001836115fb565b60028260048111156116ce576116ce6144fc565b03611ac6576000818152610103602052604090206003810154600590910154611703916001600160a01b03169060ff166136d5565b60005b60008281526101036020526040902060020154811015611a395760008281526101036020526040902060019081015460ff1690811115611748576117486144fc565b6001036118a357600082815261010360205260408120600201805460fb9291908490811061177857611778614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff16156117d95760405162461bcd60e51b81526020600482015260096024820152684558495354494e472160b81b60448201526064016107c8565b600160fb60006101036000868152602001908152602001600020600201848154811061180757611807614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff1916941515949094179093558483526101039091529020600201805460fc91908390811061186357611863614afe565b60009182526020808320909101548354600181018555938352912090910180546001600160a01b0319166001600160a01b03909216919091179055611a27565b60fc546001106118e75760405162461bcd60e51b815260206004820152600f60248201526e4c4153545f5349474e41544f52592160881b60448201526064016107c8565b600082815261010360205260408120600201805460fb9291908490811061191057611910614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1661196f5760405162461bcd60e51b8152602060048201526008602482015267554e4b4e4f574e2160c01b60448201526064016107c8565b600082815261010360205260408120600201805460fb9183918590811061199857611998614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff19169415159490941790935584835261010390915290206002018054611a119160fc91849081106119f7576119f7614afe565b6000918252602090912001546001600160a01b0316613a22565b8051611a259160fc916020909101906140ef565b505b80611a3181614b2a565b915050611706565b5060008181526101036020526040902060058101805460ff19166002179055600190810154829160ff90911690811115611a7557611a756144fc565b7f7e514c236ce0c21fcabe88383d4dcf42e90a71538f6ecc3cb1241359cc2151d46101036000858152602001908152602001600020600201604051611aba9190614c03565b60405180910390a35050565b6003826004811115611ada57611ada6144fc565b03610bfd576000818152610105602052604090206003810154600590910154611b0f916001600160a01b03169060ff166136d5565b60005b6000828152610105602052604081206001015460fd919060ff166004811115611b3d57611b3d6144fc565b6004811115611b4e57611b4e6144fc565b815260200190815260200160002054811015611d7b576000828152610105602052604081206001015460ff166004811115611b8b57611b8b6144fc565b03611c0d57600082815261010560205260409020600201805482908110611bb457611bb4614afe565b906000526020600020015460fe6000836001811115611bd557611bd56144fc565b6001811115611be657611be66144fc565b6001811115611bf757611bf76144fc565b8152602081019190915260400160002055611d69565b60016000838152610105602052604090206001015460ff166004811115611c3657611c366144fc565b03611c8157600082815261010560205260409020600201805482908110611c5f57611c5f614afe565b90600052602060002001546101006000836001811115611bd557611bd56144fc565b60026000838152610105602052604090206001015460ff166004811115611caa57611caa6144fc565b03611cf557600082815261010560205260409020600201805482908110611cd357611cd3614afe565b90600052602060002001546101026000836001811115611bd557611bd56144fc565b600082815261010560205260409020600201805482908110611d1957611d19614afe565b90600052602060002001546101046000836000811115611d3b57611d3b6144fc565b8015611d4957611d496144fc565b8015611d5757611d576144fc565b81526020810191909152604001600020555b80611d7381614b2a565b915050611b12565b5060008181526101056020526040902060058101805460ff1916600217905560010154819060ff166004811115611db457611db46144fc565b7f374689f34df0bbe3adf83d2b6c5271d938df5fd3604e8074c28378ff0b4eae006101056000858152602001908152602001600020600201604051611aba9190614c47565b5050565b611e05613b8c565b611e0f6000613be6565b565b6040805160a08101825260008082526020820181905291810182905260608082015260808101919091526000828152610101602052604090206001015461010090046001600160a01b0316611e785760405162461bcd60e51b81526004016107c890614b6a565b60008281526101016020908152604091829020825160a0810190935280548352600180820154919284019160ff1690811115611eb657611eb66144fc565b6001811115611ec757611ec76144fc565b8152600182015461010090046001600160a01b03166020808301919091526002830180546040805182850281018501825282815294019392830182828015611f3857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f1a575b505050918352505060038281015460209092019160ff1690811115611119576111196144fc565b33600090815260fb602052604090205460ff16611f8e5760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b0316611fc65760405162461bcd60e51b81526004016107c890614b6a565b600082815261010360205260409020600301546001600160a01b031633146120005760405162461bcd60e51b81526004016107c890614b43565b6000828152610103602052604081206005015460ff166003811115612027576120276144fc565b146120445760405162461bcd60e51b81526004016107c890614bde565b600082815261010360209081526040909120825161206a926002909201918401906140ef565b506040805160008082526020808301808552868352610103909152929020905161209a92600490920191906140ef565b50816002611386565b33600090815260fb602052604090205460ff166120d25760405162461bcd60e51b81526004016107c890614b43565b6000818152610101602052604090206001015461010090046001600160a01b0316156121105760405162461bcd60e51b81526004016107c890614b6a565b60008181526101016020526040902081815560019081018054849260ff19909116908381811115612143576121436144fc565b021790555060008181526101016020526040902060018082018054610100600160a81b031916336101008102919091179091556003909201805460ff191690558390811115612194576121946144fc565b60016040518481527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a45050565b6060603780546104e490614ac4565b606060fc80548060200260200160405190810160405280929190818152602001828054801561055d57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612216575050505050905090565b6000338161224b828661321e565b9050838110156122ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107c8565b610c9782868684036132c2565b6000336105758185856134fc565b6122ce61419c565b600082815261010360205260409020600301546001600160a01b03166123065760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020908152604091829020825160c0810190935280548352600180820154919284019160ff1690811115612344576123446144fc565b6001811115612355576123556144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161239457505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116110d4575050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600054610100900460ff16158080156124685750600054600160ff909116105b806124825750303b158015612482575060005460ff166001145b6124e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107c8565b6000805460ff191660011790558015612508576000805461ff0019166101001790555b6125128686613c38565b61251a613c69565b612522613c98565b6001600160a01b03808316600081815260fb60205260408120805460ff1916600190811790915560fc805491820181559091527f371f36870d18f32a11fea0f144b021c8b407bb50f8e0267c711123f454b963c00180546001600160a01b03191690911790556101388054918516610100026001600160a81b031990921660ff8716179190911790556125b3613cc7565b6125bb613d80565b6125c482613be6565b801561260a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b33600090815260fb602052604090205460ff166126415760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b03161561267a5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020526040902082815560019081018054859260ff199091169083818111156126ad576126ad6144fc565b021790555060008281526101036020908152604090912082516126d8926002909201918401906140ef565b506000828152610103602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033836001811115612720576127206144fc565b60026109af565b33600090815260fb602052604090205460ff166127565760405162461bcd60e51b81526004016107c890614b43565b600261010654036127795760405162461bcd60e51b81526004016107c890614b94565b6002610106556000836004811115612793576127936144fc565b0361299b57600082815260ff6020819052604090912060048101546006909101546127ca926001600160a01b039092169116613e6f565b600082815260ff6020908152604080832060050180548251818502810185019093528083526128379383018282801561282c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161280e575b505050505033613e95565b9050811561289357801561285d5760405162461bcd60e51b81526004016107c890614c82565b600083815260ff602090815260408220600501805460018101825590835291200180546001600160a01b031916331790556128f6565b806128b05760405162461bcd60e51b81526004016107c890614ca5565b600083815260ff602052604081206128cb9060050133613a22565b600085815260ff6020908152604090912082519293506128f3926005909101918401906140ef565b50505b600083815260ff60208190526040822060019081015460fe93921690811115612921576129216144fc565b6001811115612932576129326144fc565b8152602080820192909252604090810160009081205486825260ff90935220600501541015612962576000612965565b60015b600084815260ff60205260409020600601805460ff19166001836003811115612990576129906144fc565b021790555050612fe8565b60018360048111156129af576129af6144fc565b03612bbe5760008281526101016020526040902060018101546003909101546129e99161010090046001600160a01b03169060ff16613e6f565b6000828152610101602090815260408083206002018054825181850281018501909352808352612a559383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ab2578015612a7b5760405162461bcd60e51b81526004016107c890614c82565b6000838152610101602090815260408220600201805460018101825590835291200180546001600160a01b03191633179055612b17565b80612acf5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010160205260408120612aeb9060020133613a22565b6000858152610101602090815260409091208251929350612b14926002909101918401906140ef565b50505b600083815261010160205260408120600190810154610100929160ff90911690811115612b4657612b466144fc565b6001811115612b5757612b576144fc565b8152602080820192909252604090810160009081205486825261010190935220600201541015612b88576000612b8b565b60015b60008481526101016020526040902060039081018054909160ff19909116906001908490811115612990576129906144fc565b6002836004811115612bd257612bd26144fc565b03612dd5576000828152610103602052604090206003810154600590910154612c07916001600160a01b03169060ff16613e6f565b6000828152610103602090815260408083206004018054825181850281018501909352808352612c739383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612cd0578015612c995760405162461bcd60e51b81526004016107c890614c82565b6000838152610103602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612d35565b80612ced5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010360205260409020612d099060040133613a22565b61010360008581526020019081526020016000206004019080519060200190612d339291906140ef565b505b600083815261010360205260408120600190810154610102929160ff90911690811115612d6457612d646144fc565b6001811115612d7557612d756144fc565b8152602080820192909252604090810160009081205486825261010390935220600401541015612da6576000612da9565b60015b600084815261010360205260409020600501805460ff19166001836003811115612990576129906144fc565b6003836004811115612de957612de96144fc565b03610bfd576000828152610105602052604090206003810154600590910154612e1e916001600160a01b03169060ff16613e6f565b6000828152610105602090815260408083206004018054825181850281018501909352808352612e8a9383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ee7578015612eb05760405162461bcd60e51b81526004016107c890614c82565b6000838152610105602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612f4c565b80612f045760405162461bcd60e51b81526004016107c890614ca5565b600083815261010560205260409020612f209060040133613a22565b61010560008581526020019081526020016000206004019080519060200190612f4a9291906140ef565b505b600083815261010560205260408120600101546101049190610100900460ff168015612f7a57612f7a6144fc565b8015612f8857612f886144fc565b8152602080820192909252604090810160009081205486825261010590935220600401541015612fb9576000612fbc565b60015b600084815261010560205260409020600501805460ff19166001836003811115612990576129906144fc565b3382846004811115612ffc57612ffc6144fc565b60405184151581527fdca74fe419e42e4b1192a5ed6d15146d8a2c79be70e858272e4137be529458139060200160405180910390a4505060016101065550565b6002610106540361305f5760405162461bcd60e51b81526004016107c890614b94565b6002610106556101385461010090046001600160a01b031633146130955760405162461bcd60e51b81526004016107c890614b43565b61309f8282613754565b5050600161010655565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c0810191909152600082815260ff60205260409020600401546001600160a01b03166131185760405162461bcd60e51b81526004016107c890614b6a565b600082815260ff6020818152604092839020835160e08101909452805484526001808201549193928501929190911690811115613157576131576144fc565b6001811115613168576131686144fc565b8152600282015460208083019190915260038301546001600160a01b039081166040808501919091526004850154909116606084015260058401805482518185028101850190935280835260809094019391929091908301828280156131f757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116131d9575b5050509183525050600682015460209091019060ff166003811115611119576111196144fc565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b613251613b8c565b6001600160a01b0381166132b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b6132bf81613be6565b50565b6001600160a01b0383166133245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c8565b6001600160a01b0382166133855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c8565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661340d5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146134355760405162461bcd60e51b81526004016107c890614b43565b6000816003811115613449576134496144fc565b148061346657506001816003811115613464576134646144fc565b145b611df95760405162461bcd60e51b81526004016107c890614bde565b600061348e848461321e565b905060001981146134f657818110156134e95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107c8565b6134f684848484036132c2565b50505050565b6001600160a01b0383166135605760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107c8565b6001600160a01b0382166135c25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107c8565b6135cd838383613ef9565b6001600160a01b038316600090815260336020526040902054818110156136455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c8565b6001600160a01b0380851660009081526033602052604080822085850390559185168152908120805484929061367c908490614bcb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516136c891815260200190565b60405180910390a36134f6565b6001600160a01b0382166136fb5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146137235760405162461bcd60e51b81526004016107c890614b43565b6001816003811115613737576137376144fc565b14611df95760405162461bcd60e51b81526004016107c890614ca5565b6001600160a01b0382166137aa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107c8565b6137b660008383613ef9565b80603560008282546137c89190614bcb565b90915550506001600160a01b038216600090815260336020526040812080548392906137f5908490614bcb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611aba565b6001600160a01b0382166138985760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107c8565b6138a482600083613ef9565b6001600160a01b038216600090815260336020526040902054818110156139185760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107c8565b6001600160a01b0383166000908152603360205260408120838303905560358054849290613947908490614ccc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016133da565b505050565b613997613f0c565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586139cc3390565b6040516001600160a01b03909116815260200160405180910390a1565b6139f1613f52565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336139cc565b606060005b8354811015613b2d57826001600160a01b0316848281548110613a4c57613a4c614afe565b6000918252602090912001546001600160a01b031603613b1b5783548490613a7690600190614ccc565b81548110613a8657613a86614afe565b9060005260206000200160009054906101000a90046001600160a01b0316848281548110613ab657613ab6614afe565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083805480613af457613af4614cdf565b600082815260209020810160001990810180546001600160a01b0319169055019055613b2d565b80613b2581614b2a565b915050613a27565b50825460408051602080840282018101909252828152918591830182828015613b7f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613b61575b5050505050905092915050565b60c9546001600160a01b03163314611e0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16613c5f5760405162461bcd60e51b81526004016107c890614cf5565b611df98282613f9b565b600054610100900460ff16613c905760405162461bcd60e51b81526004016107c890614cf5565b611e0f613fdb565b600054610100900460ff16613cbf5760405162461bcd60e51b81526004016107c890614cf5565b611e0f61400e565b60fd602081905260027fc34a738ec333e394a3927794cadc6dd0eb7d9eed0999d1e55021ea223ac362cc8190557f6443157f7701a627e53184b74fce0d403f4bf9bc1aaa0bc17c9ee17e10ec8b8f8190557fef9a6077cbcbcf7bec11d47569fea4be738d880200c72c7271b993ae0f57e37e8190556003600090815260017fddec8a35231c466760a2fede23c08a34280dd1cd9b2da7e3dd8e38d773292cc35590919060045b8152602081019190915260400160002055565b60017f32796e36004994222362c2f9423d5e208bb848170964890784a8d59ed40f50af8190557f457c8a48b4735f56b938837eb0a8a5f9c55f23c1a85767ce3b65c3e59d3d32b78190557f1c215b54eec9ee6aca29c851c685652f7166e29c4e460f5b894f8abee449ad3b8190557f0f37cc93c7327dd0773c9bad1b9130cb34ac422da3ad8b8ae014d912837518708190556101026020527f902d1eb9cb7bf5a8087a0aabaf00b340029088a7a2af68d406d96c3be8e809b681905560008080527f565a22c1af7fcc038f06206699a6bd0ad8c85d23dafe9aebac3e0df68e8fb3208290556101049080613d6d565b6001600160a01b0382166134355760405162461bcd60e51b81526004016107c890614b6a565b60008060005b8451811015613ef157836001600160a01b0316858281518110613ec057613ec0614afe565b60200260200101516001600160a01b031603613edf5760019150613ef1565b80613ee981614b2a565b915050613e9b565b509392505050565b613f01613f0c565b61398a83838361403e565b60655460ff1615611e0f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107c8565b60655460ff16611e0f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107c8565b600054610100900460ff16613fc25760405162461bcd60e51b81526004016107c890614cf5565b6036613fce8382614d86565b50603761398a8282614d86565b600054610100900460ff166140025760405162461bcd60e51b81526004016107c890614cf5565b6065805460ff19169055565b600054610100900460ff166140355760405162461bcd60e51b81526004016107c890614cf5565b611e0f33613be6565b60655460ff161561398a5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016107c8565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df5782518255916020019190600101906140c4565b506140eb9291506141b6565b5090565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061410f565b6040805160e0810190915260008082526020820190815260200160005b81526020016060815260200160006001600160a01b031681526020016060815260200160006003811115614197576141976144fc565b905290565b6040805160c0810190915260008082526020820190614161565b5b808211156140eb57600081556001016141b7565b600060208083528351808285015260005b818110156141f8578581018301518582016040015282016141dc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461423057600080fd5b919050565b6000806040838503121561424857600080fd5b61425183614219565b946020939093013593505050565b80356005811061423057600080fd5b60006020828403121561428057600080fd5b6142898261425f565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156142c8578351835292840192918401916001016142ac565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614313576143136142d4565b604052919050565b600067ffffffffffffffff821115614335576143356142d4565b5060051b60200190565b600082601f83011261435057600080fd5b813560206143656143608361431b565b6142ea565b82815260059290921b8401810191818101908684111561438457600080fd5b8286015b8481101561439f5780358352918301918301614388565b509695505050505050565b6000806000606084860312156143bf57600080fd5b6143c88461425f565b925060208401359150604084013567ffffffffffffffff8111156143eb57600080fd5b6143f78682870161433f565b9150509250925092565b6000806040838503121561441457600080fd5b6142518361425f565b60008060006060848603121561443257600080fd5b61443b84614219565b925061444960208501614219565b9150604084013590509250925092565b600281106132bf57600080fd5b6000806000806080858703121561447c57600080fd5b843561448781614459565b935060208501359250604085013591506144a360608601614219565b905092959194509250565b6000806000606084860312156144c357600080fd5b83359250602084013591506144da60408501614219565b90509250925092565b6000602082840312156144f557600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60018110614522576145226144fc565b9052565b600081518084526020808501945080840160005b838110156145565781518752958201959082019060010161453a565b509495945050505050565b600081518084526020808501945080840160005b838110156145565781516001600160a01b031687529582019590820190600101614575565b60048110614522576145226144fc565b602081528151602082015260006020830151600581106145cc576145cc6144fc565b8060408401525060408301516145e56060840182614512565b50606083015160e06080840152614600610100840182614526565b9050608084015161461c60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526146388282614561565b91505060c0840151613ef160e085018261459a565b6000806040838503121561466057600080fd5b82359150602083013567ffffffffffffffff81111561467e57600080fd5b61468a8582860161433f565b9150509250929050565b6000602082840312156146a657600080fd5b61428982614219565b600281106132bf576132bf6144fc565b6020815281516020820152600060208301516146da816146af565b8060408401525060018060a01b036040840151166060830152606083015160a0608084015261470c60c0840182614561565b90506080840151613ef160a085018261459a565b600082601f83011261473157600080fd5b813560206147416143608361431b565b82815260059290921b8401810191818101908684111561476057600080fd5b8286015b8481101561439f5761477581614219565b8352918301918301614764565b6000806040838503121561479557600080fd5b82359150602083013567ffffffffffffffff8111156147b357600080fd5b61468a85828601614720565b600080604083850312156147d257600080fd5b823561425181614459565b6020815260006142896020830184614561565b60208152815160208201526000602083015161480b816146af565b80604084015250604083015160c0606084015261482b60e0840182614561565b60608501516001600160a01b0316608085810191909152850151848203601f190160a086015290915061485e8282614561565b91505060a0840151613ef160c085018261459a565b600082601f83011261488457600080fd5b813567ffffffffffffffff81111561489e5761489e6142d4565b6148b1601f8201601f19166020016142ea565b8181528460208386010111156148c657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156148fb57600080fd5b853567ffffffffffffffff8082111561491357600080fd5b61491f89838a01614873565b9650602088013591508082111561493557600080fd5b5061494288828901614873565b945050604086013560ff8116811461495957600080fd5b925061496760608701614219565b915061497560808701614219565b90509295509295909350565b60008060006060848603121561499657600080fd5b83356149a181614459565b925060208401359150604084013567ffffffffffffffff8111156149c457600080fd5b6143f786828701614720565b6000806000606084860312156149e557600080fd5b6149ee8461425f565b92506020840135915060408401358015158114614a0a57600080fd5b809150509250925092565b602081528151602082015260006020830151614a30816146af565b8060408401525060408301516060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160e060c0840152614a7d610100840182614561565b905060c0840151613ef160e085018261459a565b60008060408385031215614aa457600080fd5b614aad83614219565b9150614abb60208401614219565b90509250929050565b600181811c90821680614ad857607f821691505b602082108103614af857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201614b3c57614b3c614b14565b5060010190565b6020808252600d908201526c554e415554484f52495a45442160981b604082015260600190565b60208082526010908201526f494e56414c49445f524551554553542160801b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8082018082111561057b5761057b614b14565b6020808252600b908201526a4e4f545f4143544956452160a81b604082015260600190565b6020808252825482820181905260008481528281209092916040850190845b818110156142c85783546001600160a01b031683526001938401939285019201614c22565b6020808252825482820181905260008481528281209092916040850190845b818110156142c857835483526001938401939285019201614c66565b602080825260099082015268415050524f5645442160b81b604082015260600190565b6020808252600d908201526c4e4f545f415050524f5645442160981b604082015260600190565b8181038181111561057b5761057b614b14565b634e487b7160e01b600052603160045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f82111561398a57600081815260208120601f850160051c81016020861015614d675750805b601f850160051c820191505b8181101561260a57828155600101614d73565b815167ffffffffffffffff811115614da057614da06142d4565b614db481614dae8454614ac4565b84614d40565b602080601f831160018114614de95760008415614dd15750858301515b600019600386901b1c1916600185901b17855561260a565b600085815260208120601f198616915b82811015614e1857888601518255948401946001909101908401614df9565b5085821015614e365787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220ac1ac5bbc5327bb72ad538fb7c2022215e1c85017fa4ea8bca93664228db8bb064736f6c63430008150033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a9059cbb116100ad578063cdba49df1161007c578063cdba49df14610469578063d004f0f71461047c578063da3d21641461048f578063dd62ed3e146104af578063f2fde38b146104c257600080fd5b8063a9059cbb14610410578063c451c08d14610423578063c820f14614610443578063c93661941461045657600080fd5b80638da5cb5b116100e95780638da5cb5b146103c557806395d89b41146103e0578063a07addc0146103e8578063a457c2d7146103fd57600080fd5b8063715018a6146103775780637162da071461037f5780637b7b2c0e1461039f5780637d4ef73b146103b257600080fd5b8063313ce567116101925780635c975abb116101615780635c975abb1461031d57806361d22fae1461032857806364cc5eae1461033b57806370a082311461034e57600080fd5b8063313ce567146102c157806339509351146102d75780633d7c3e13146102ea5780634e3cdaeb146102fd57600080fd5b80631a6c5f90116101ce5780631a6c5f90146102735780631cf372ad1461028857806323b872dd1461029b578063250800cd146102ae57600080fd5b806306fdde0314610200578063095ea7b31461021e578063139dba551461024157806318160ddd14610261575b600080fd5b6102086104d5565b60405161021591906141cb565b60405180910390f35b61023161022c366004614235565b610567565b6040519015158152602001610215565b61025461024f36600461426e565b610581565b6040516102159190614290565b6035545b604051908152602001610215565b6102866102813660046143aa565b610799565b005b610286610296366004614401565b6109e7565b6102316102a936600461441d565b610c7e565b6102866102bc366004614466565b610ca2565b6101385460405160ff9091168152602001610215565b6102316102e5366004614235565b610ddc565b6102866102f83660046144ae565b610dfe565b61031061030b3660046144e3565b610f6d565b60405161021591906145aa565b60655460ff16610231565b61028661033636600461464d565b611133565b610286610349366004614401565b6113b3565b61026561035c366004614694565b6001600160a01b031660009081526033602052604090205490565b610286611dfd565b61039261038d3660046144e3565b611e11565b60405161021591906146bf565b6102866103ad366004614782565b611f5f565b6102866103c03660046147bf565b6120a3565b60c9546040516001600160a01b039091168152602001610215565b6102086121cd565b6103f06121dc565b60405161021591906147dd565b61023161040b366004614235565b61223d565b61023161041e366004614235565b6122b8565b6104366104313660046144e3565b6122c6565b60405161021591906147f0565b6102866104513660046148e3565b612448565b610286610464366004614981565b612612565b6102866104773660046149d0565b612727565b61028661048a366004614235565b61303c565b6104a261049d3660046144e3565b6130a9565b6040516102159190614a15565b6102656104bd366004614a91565b61321e565b6102866104d0366004614694565b613249565b6060603680546104e490614ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461051090614ac4565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b6000336105758185856132c2565b60019150505b92915050565b6060600060fd600084600481111561059b5761059b6144fc565b60048111156105ac576105ac6144fc565b81526020019081526020016000205467ffffffffffffffff8111156105d3576105d36142d4565b6040519080825280602002602001820160405280156105fc578160200160208202803683370190505b50905060005b60fd6000856004811115610618576106186144fc565b6004811115610629576106296144fc565b815260200190815260200160002054811015610792576000846004811115610653576106536144fc565b036106c25760fe600082600181111561066e5761066e6144fc565b600181111561067f5761067f6144fc565b6001811115610690576106906144fc565b8152602001908152602001600020548282815181106106b1576106b1614afe565b602002602001018181525050610780565b60018460048111156106d6576106d66144fc565b036106f257610100600082600181111561066e5761066e6144fc565b6002846004811115610706576107066144fc565b0361072257610102600082600181111561066e5761066e6144fc565b6101046000828015610736576107366144fc565b8015610744576107446144fc565b8015610752576107526144fc565b81526020019081526020016000205482828151811061077357610773614afe565b6020026020010181815250505b8061078a81614b2a565b915050610602565b5092915050565b33600090815260fb602052604090205460ff166107d15760405162461bcd60e51b81526004016107c890614b43565b60405180910390fd5b600082815261010560205260409020600301546001600160a01b03161561080a5760405162461bcd60e51b81526004016107c890614b6a565b60fd6000846004811115610820576108206144fc565b6004811115610831576108316144fc565b81526020019081526020016000205481511461088b5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b81518110156109075760008282815181106108ab576108ab614afe565b6020026020010151116108f55760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b806108ff81614b2a565b91505061088e565b5060008281526101056020526040902082815560019081018054859260ff199091169083600481111561093c5761093c6144fc565b021790555060008281526101056020908152604090912060018101805461ff00191690558251610974926002909201918401906140a4565b506000828152610105602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033600060035b6040518581527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a4505050565b33600090815260fb602052604090205460ff16610a165760405162461bcd60e51b81526004016107c890614b43565b60026101065403610a395760405162461bcd60e51b81526004016107c890614b94565b6002610106556000826004811115610a5357610a536144fc565b03610ab357600081815260ff602081905260409091206004810154600690910154610a8a926001600160a01b0390921691166133e7565b600081815260ff6020526040902060060180546003919060ff19166001835b0217905550610c38565b6001826004811115610ac757610ac76144fc565b03610b23576000818152610101602052604090206001810154600390910154610b019161010090046001600160a01b03169060ff166133e7565b6000818152610101602052604090206003908101805460ff1916600183610aa9565b6002826004811115610b3757610b376144fc565b03610b90576000818152610103602052604090206003810154600590910154610b6c916001600160a01b03169060ff166133e7565b60008181526101036020526040902060050180546003919060ff1916600183610aa9565b6003826004811115610ba457610ba46144fc565b03610bfd576000818152610105602052604090206003810154600590910154610bd9916001600160a01b03169060ff166133e7565b60008181526101056020526040902060050180546003919060ff1916600183610aa9565b60405162461bcd60e51b815260206004820152601060248201526f554e4b4e4f574e5f524551554553542160801b60448201526064016107c8565b80826004811115610c4b57610c4b6144fc565b6040517fd4b68df9eef98410eb5ed4c779e2014889bc9e9f836af8bde49982ead4877d2690600090a35050600161010655565b600033610c8c858285613482565b610c978585856134fc565b506001949350505050565b33600090815260fb602052604090205460ff16610cd15760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b031615610d095760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff6020526040902083815560019081018054869260ff19909116908381811115610d3b57610d3b6144fc565b0217905550600083815260ff60205260409020600281018390556003810180546001600160a01b03199081166001600160a01b03851617909155600482018054339216821790556006909101805460ff19169055846001811115610da157610da16144fc565b60006040518681527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a450505050565b600033610575818585610def838361321e565b610df99190614bcb565b6132c2565b33600090815260fb602052604090205460ff16610e2d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b0316610e645760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff60205260409020600401546001600160a01b03163314610e9d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60208190526040822060060154166003811115610ec357610ec36144fc565b14610ee05760405162461bcd60e51b81526004016107c890614bde565b600083815260ff60208181526040808420600281018790556003810180546001600160a01b0319166001600160a01b03881617905581518581528084019283905294889052929091529151610f3b92600590920191906140ef565b508260006040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a3505050565b610f75614144565b600082815261010560205260409020600301546001600160a01b0316610fad5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101056020908152604091829020825160e08101909352805483526001810154909183019060ff166004811115610feb57610feb6144fc565b6004811115610ffc57610ffc6144fc565b81526001820154602090910190610100900460ff16801561101f5761101f6144fc565b801561102d5761102d6144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81548152602001906001019080831161106c575b505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d4575b5050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600381111561112a5761112a6144fc565b90525092915050565b33600090815260fb602052604090205460ff166111625760405162461bcd60e51b81526004016107c890614b43565b600082815261010560205260409020600301546001600160a01b031661119a5760405162461bcd60e51b81526004016107c890614b6a565b600082815261010560205260409020600301546001600160a01b031633146111d45760405162461bcd60e51b81526004016107c890614b43565b6000828152610105602052604081206005015460ff1660038111156111fb576111fb6144fc565b146112185760405162461bcd60e51b81526004016107c890614bde565b6000828152610105602052604081206001015460fd919060ff166004811115611243576112436144fc565b6004811115611254576112546144fc565b8152602001908152602001600020548151146112ae5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b815181101561132a5760008282815181106112ce576112ce614afe565b6020026020010151116113185760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b8061132281614b2a565b9150506112b1565b506000828152610105602090815260409091208251611351926002909201918401906140a4565b506040805160008082526020808301808552868352610105909152929020905161138192600490920191906140ef565b508160035b6040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a35050565b60008260048111156113c7576113c76144fc565b0361160457600081815260ff6020819052604090912060048101546006909101546113fe926001600160a01b0390921691166136d5565b600081815260ff6020819052604090912060019081015490911690811115611428576114286144fc565b60010361146057600081815260ff60205260409020600381015460029091015461145b916001600160a01b031690613754565b6115dc565b600081815260ff6020526040902060048101546003909101546001600160a01b039182169116036114b757600081815260ff60205260409020600481015460029091015461145b916001600160a01b031690613838565b600081815260ff6020526040902060030154306001600160a01b03909116036114f757600081815260ff602052604090206002015461145b903090613838565b600081815260ff6020526040902060028101546003820154600490920154909161152d916001600160a01b03918216911661321e565b101561157b5760405162461bcd60e51b815260206004820152601760248201527f494e53554646494349454e545f414c4c4f57414e43452100000000000000000060448201526064016107c8565b600081815260ff60205260409020600381015460048201546002909201546115b0926001600160a01b03928316921690613482565b600081815260ff6020526040902060038101546002909101546115dc916001600160a01b031690613838565b600081815260ff6020526040902060060180546002919060ff19166001835b02179055505050565b6001826004811115611618576116186144fc565b036116ba5760008181526101016020526040902060018101546003909101546116529161010090046001600160a01b03169060ff166136d5565b60008181526101016020526040902060019081015460ff169081111561167a5761167a6144fc565b60000361168e5761168961398f565b611696565b6116966139e9565b60008181526101016020526040902060030180546002919060ff19166001836115fb565b60028260048111156116ce576116ce6144fc565b03611ac6576000818152610103602052604090206003810154600590910154611703916001600160a01b03169060ff166136d5565b60005b60008281526101036020526040902060020154811015611a395760008281526101036020526040902060019081015460ff1690811115611748576117486144fc565b6001036118a357600082815261010360205260408120600201805460fb9291908490811061177857611778614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff16156117d95760405162461bcd60e51b81526020600482015260096024820152684558495354494e472160b81b60448201526064016107c8565b600160fb60006101036000868152602001908152602001600020600201848154811061180757611807614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff1916941515949094179093558483526101039091529020600201805460fc91908390811061186357611863614afe565b60009182526020808320909101548354600181018555938352912090910180546001600160a01b0319166001600160a01b03909216919091179055611a27565b60fc546001106118e75760405162461bcd60e51b815260206004820152600f60248201526e4c4153545f5349474e41544f52592160881b60448201526064016107c8565b600082815261010360205260408120600201805460fb9291908490811061191057611910614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1661196f5760405162461bcd60e51b8152602060048201526008602482015267554e4b4e4f574e2160c01b60448201526064016107c8565b600082815261010360205260408120600201805460fb9183918590811061199857611998614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff19169415159490941790935584835261010390915290206002018054611a119160fc91849081106119f7576119f7614afe565b6000918252602090912001546001600160a01b0316613a22565b8051611a259160fc916020909101906140ef565b505b80611a3181614b2a565b915050611706565b5060008181526101036020526040902060058101805460ff19166002179055600190810154829160ff90911690811115611a7557611a756144fc565b7f7e514c236ce0c21fcabe88383d4dcf42e90a71538f6ecc3cb1241359cc2151d46101036000858152602001908152602001600020600201604051611aba9190614c03565b60405180910390a35050565b6003826004811115611ada57611ada6144fc565b03610bfd576000818152610105602052604090206003810154600590910154611b0f916001600160a01b03169060ff166136d5565b60005b6000828152610105602052604081206001015460fd919060ff166004811115611b3d57611b3d6144fc565b6004811115611b4e57611b4e6144fc565b815260200190815260200160002054811015611d7b576000828152610105602052604081206001015460ff166004811115611b8b57611b8b6144fc565b03611c0d57600082815261010560205260409020600201805482908110611bb457611bb4614afe565b906000526020600020015460fe6000836001811115611bd557611bd56144fc565b6001811115611be657611be66144fc565b6001811115611bf757611bf76144fc565b8152602081019190915260400160002055611d69565b60016000838152610105602052604090206001015460ff166004811115611c3657611c366144fc565b03611c8157600082815261010560205260409020600201805482908110611c5f57611c5f614afe565b90600052602060002001546101006000836001811115611bd557611bd56144fc565b60026000838152610105602052604090206001015460ff166004811115611caa57611caa6144fc565b03611cf557600082815261010560205260409020600201805482908110611cd357611cd3614afe565b90600052602060002001546101026000836001811115611bd557611bd56144fc565b600082815261010560205260409020600201805482908110611d1957611d19614afe565b90600052602060002001546101046000836000811115611d3b57611d3b6144fc565b8015611d4957611d496144fc565b8015611d5757611d576144fc565b81526020810191909152604001600020555b80611d7381614b2a565b915050611b12565b5060008181526101056020526040902060058101805460ff1916600217905560010154819060ff166004811115611db457611db46144fc565b7f374689f34df0bbe3adf83d2b6c5271d938df5fd3604e8074c28378ff0b4eae006101056000858152602001908152602001600020600201604051611aba9190614c47565b5050565b611e05613b8c565b611e0f6000613be6565b565b6040805160a08101825260008082526020820181905291810182905260608082015260808101919091526000828152610101602052604090206001015461010090046001600160a01b0316611e785760405162461bcd60e51b81526004016107c890614b6a565b60008281526101016020908152604091829020825160a0810190935280548352600180820154919284019160ff1690811115611eb657611eb66144fc565b6001811115611ec757611ec76144fc565b8152600182015461010090046001600160a01b03166020808301919091526002830180546040805182850281018501825282815294019392830182828015611f3857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f1a575b505050918352505060038281015460209092019160ff1690811115611119576111196144fc565b33600090815260fb602052604090205460ff16611f8e5760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b0316611fc65760405162461bcd60e51b81526004016107c890614b6a565b600082815261010360205260409020600301546001600160a01b031633146120005760405162461bcd60e51b81526004016107c890614b43565b6000828152610103602052604081206005015460ff166003811115612027576120276144fc565b146120445760405162461bcd60e51b81526004016107c890614bde565b600082815261010360209081526040909120825161206a926002909201918401906140ef565b506040805160008082526020808301808552868352610103909152929020905161209a92600490920191906140ef565b50816002611386565b33600090815260fb602052604090205460ff166120d25760405162461bcd60e51b81526004016107c890614b43565b6000818152610101602052604090206001015461010090046001600160a01b0316156121105760405162461bcd60e51b81526004016107c890614b6a565b60008181526101016020526040902081815560019081018054849260ff19909116908381811115612143576121436144fc565b021790555060008181526101016020526040902060018082018054610100600160a81b031916336101008102919091179091556003909201805460ff191690558390811115612194576121946144fc565b60016040518481527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a45050565b6060603780546104e490614ac4565b606060fc80548060200260200160405190810160405280929190818152602001828054801561055d57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612216575050505050905090565b6000338161224b828661321e565b9050838110156122ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107c8565b610c9782868684036132c2565b6000336105758185856134fc565b6122ce61419c565b600082815261010360205260409020600301546001600160a01b03166123065760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020908152604091829020825160c0810190935280548352600180820154919284019160ff1690811115612344576123446144fc565b6001811115612355576123556144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161239457505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116110d4575050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600054610100900460ff16158080156124685750600054600160ff909116105b806124825750303b158015612482575060005460ff166001145b6124e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107c8565b6000805460ff191660011790558015612508576000805461ff0019166101001790555b6125128686613c38565b61251a613c69565b612522613c98565b6001600160a01b03808316600081815260fb60205260408120805460ff1916600190811790915560fc805491820181559091527f371f36870d18f32a11fea0f144b021c8b407bb50f8e0267c711123f454b963c00180546001600160a01b03191690911790556101388054918516610100026001600160a81b031990921660ff8716179190911790556125b3613cc7565b6125bb613d80565b6125c482613be6565b801561260a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b33600090815260fb602052604090205460ff166126415760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b03161561267a5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020526040902082815560019081018054859260ff199091169083818111156126ad576126ad6144fc565b021790555060008281526101036020908152604090912082516126d8926002909201918401906140ef565b506000828152610103602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033836001811115612720576127206144fc565b60026109af565b33600090815260fb602052604090205460ff166127565760405162461bcd60e51b81526004016107c890614b43565b600261010654036127795760405162461bcd60e51b81526004016107c890614b94565b6002610106556000836004811115612793576127936144fc565b0361299b57600082815260ff6020819052604090912060048101546006909101546127ca926001600160a01b039092169116613e6f565b600082815260ff6020908152604080832060050180548251818502810185019093528083526128379383018282801561282c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161280e575b505050505033613e95565b9050811561289357801561285d5760405162461bcd60e51b81526004016107c890614c82565b600083815260ff602090815260408220600501805460018101825590835291200180546001600160a01b031916331790556128f6565b806128b05760405162461bcd60e51b81526004016107c890614ca5565b600083815260ff602052604081206128cb9060050133613a22565b600085815260ff6020908152604090912082519293506128f3926005909101918401906140ef565b50505b600083815260ff60208190526040822060019081015460fe93921690811115612921576129216144fc565b6001811115612932576129326144fc565b8152602080820192909252604090810160009081205486825260ff90935220600501541015612962576000612965565b60015b600084815260ff60205260409020600601805460ff19166001836003811115612990576129906144fc565b021790555050612fe8565b60018360048111156129af576129af6144fc565b03612bbe5760008281526101016020526040902060018101546003909101546129e99161010090046001600160a01b03169060ff16613e6f565b6000828152610101602090815260408083206002018054825181850281018501909352808352612a559383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ab2578015612a7b5760405162461bcd60e51b81526004016107c890614c82565b6000838152610101602090815260408220600201805460018101825590835291200180546001600160a01b03191633179055612b17565b80612acf5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010160205260408120612aeb9060020133613a22565b6000858152610101602090815260409091208251929350612b14926002909101918401906140ef565b50505b600083815261010160205260408120600190810154610100929160ff90911690811115612b4657612b466144fc565b6001811115612b5757612b576144fc565b8152602080820192909252604090810160009081205486825261010190935220600201541015612b88576000612b8b565b60015b60008481526101016020526040902060039081018054909160ff19909116906001908490811115612990576129906144fc565b6002836004811115612bd257612bd26144fc565b03612dd5576000828152610103602052604090206003810154600590910154612c07916001600160a01b03169060ff16613e6f565b6000828152610103602090815260408083206004018054825181850281018501909352808352612c739383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612cd0578015612c995760405162461bcd60e51b81526004016107c890614c82565b6000838152610103602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612d35565b80612ced5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010360205260409020612d099060040133613a22565b61010360008581526020019081526020016000206004019080519060200190612d339291906140ef565b505b600083815261010360205260408120600190810154610102929160ff90911690811115612d6457612d646144fc565b6001811115612d7557612d756144fc565b8152602080820192909252604090810160009081205486825261010390935220600401541015612da6576000612da9565b60015b600084815261010360205260409020600501805460ff19166001836003811115612990576129906144fc565b6003836004811115612de957612de96144fc565b03610bfd576000828152610105602052604090206003810154600590910154612e1e916001600160a01b03169060ff16613e6f565b6000828152610105602090815260408083206004018054825181850281018501909352808352612e8a9383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ee7578015612eb05760405162461bcd60e51b81526004016107c890614c82565b6000838152610105602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612f4c565b80612f045760405162461bcd60e51b81526004016107c890614ca5565b600083815261010560205260409020612f209060040133613a22565b61010560008581526020019081526020016000206004019080519060200190612f4a9291906140ef565b505b600083815261010560205260408120600101546101049190610100900460ff168015612f7a57612f7a6144fc565b8015612f8857612f886144fc565b8152602080820192909252604090810160009081205486825261010590935220600401541015612fb9576000612fbc565b60015b600084815261010560205260409020600501805460ff19166001836003811115612990576129906144fc565b3382846004811115612ffc57612ffc6144fc565b60405184151581527fdca74fe419e42e4b1192a5ed6d15146d8a2c79be70e858272e4137be529458139060200160405180910390a4505060016101065550565b6002610106540361305f5760405162461bcd60e51b81526004016107c890614b94565b6002610106556101385461010090046001600160a01b031633146130955760405162461bcd60e51b81526004016107c890614b43565b61309f8282613754565b5050600161010655565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c0810191909152600082815260ff60205260409020600401546001600160a01b03166131185760405162461bcd60e51b81526004016107c890614b6a565b600082815260ff6020818152604092839020835160e08101909452805484526001808201549193928501929190911690811115613157576131576144fc565b6001811115613168576131686144fc565b8152600282015460208083019190915260038301546001600160a01b039081166040808501919091526004850154909116606084015260058401805482518185028101850190935280835260809094019391929091908301828280156131f757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116131d9575b5050509183525050600682015460209091019060ff166003811115611119576111196144fc565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b613251613b8c565b6001600160a01b0381166132b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b6132bf81613be6565b50565b6001600160a01b0383166133245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c8565b6001600160a01b0382166133855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c8565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661340d5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146134355760405162461bcd60e51b81526004016107c890614b43565b6000816003811115613449576134496144fc565b148061346657506001816003811115613464576134646144fc565b145b611df95760405162461bcd60e51b81526004016107c890614bde565b600061348e848461321e565b905060001981146134f657818110156134e95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107c8565b6134f684848484036132c2565b50505050565b6001600160a01b0383166135605760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107c8565b6001600160a01b0382166135c25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107c8565b6135cd838383613ef9565b6001600160a01b038316600090815260336020526040902054818110156136455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c8565b6001600160a01b0380851660009081526033602052604080822085850390559185168152908120805484929061367c908490614bcb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516136c891815260200190565b60405180910390a36134f6565b6001600160a01b0382166136fb5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146137235760405162461bcd60e51b81526004016107c890614b43565b6001816003811115613737576137376144fc565b14611df95760405162461bcd60e51b81526004016107c890614ca5565b6001600160a01b0382166137aa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107c8565b6137b660008383613ef9565b80603560008282546137c89190614bcb565b90915550506001600160a01b038216600090815260336020526040812080548392906137f5908490614bcb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611aba565b6001600160a01b0382166138985760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107c8565b6138a482600083613ef9565b6001600160a01b038216600090815260336020526040902054818110156139185760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107c8565b6001600160a01b0383166000908152603360205260408120838303905560358054849290613947908490614ccc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016133da565b505050565b613997613f0c565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586139cc3390565b6040516001600160a01b03909116815260200160405180910390a1565b6139f1613f52565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336139cc565b606060005b8354811015613b2d57826001600160a01b0316848281548110613a4c57613a4c614afe565b6000918252602090912001546001600160a01b031603613b1b5783548490613a7690600190614ccc565b81548110613a8657613a86614afe565b9060005260206000200160009054906101000a90046001600160a01b0316848281548110613ab657613ab6614afe565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083805480613af457613af4614cdf565b600082815260209020810160001990810180546001600160a01b0319169055019055613b2d565b80613b2581614b2a565b915050613a27565b50825460408051602080840282018101909252828152918591830182828015613b7f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613b61575b5050505050905092915050565b60c9546001600160a01b03163314611e0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16613c5f5760405162461bcd60e51b81526004016107c890614cf5565b611df98282613f9b565b600054610100900460ff16613c905760405162461bcd60e51b81526004016107c890614cf5565b611e0f613fdb565b600054610100900460ff16613cbf5760405162461bcd60e51b81526004016107c890614cf5565b611e0f61400e565b60fd602081905260027fc34a738ec333e394a3927794cadc6dd0eb7d9eed0999d1e55021ea223ac362cc8190557f6443157f7701a627e53184b74fce0d403f4bf9bc1aaa0bc17c9ee17e10ec8b8f8190557fef9a6077cbcbcf7bec11d47569fea4be738d880200c72c7271b993ae0f57e37e8190556003600090815260017fddec8a35231c466760a2fede23c08a34280dd1cd9b2da7e3dd8e38d773292cc35590919060045b8152602081019190915260400160002055565b60017f32796e36004994222362c2f9423d5e208bb848170964890784a8d59ed40f50af8190557f457c8a48b4735f56b938837eb0a8a5f9c55f23c1a85767ce3b65c3e59d3d32b78190557f1c215b54eec9ee6aca29c851c685652f7166e29c4e460f5b894f8abee449ad3b8190557f0f37cc93c7327dd0773c9bad1b9130cb34ac422da3ad8b8ae014d912837518708190556101026020527f902d1eb9cb7bf5a8087a0aabaf00b340029088a7a2af68d406d96c3be8e809b681905560008080527f565a22c1af7fcc038f06206699a6bd0ad8c85d23dafe9aebac3e0df68e8fb3208290556101049080613d6d565b6001600160a01b0382166134355760405162461bcd60e51b81526004016107c890614b6a565b60008060005b8451811015613ef157836001600160a01b0316858281518110613ec057613ec0614afe565b60200260200101516001600160a01b031603613edf5760019150613ef1565b80613ee981614b2a565b915050613e9b565b509392505050565b613f01613f0c565b61398a83838361403e565b60655460ff1615611e0f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107c8565b60655460ff16611e0f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107c8565b600054610100900460ff16613fc25760405162461bcd60e51b81526004016107c890614cf5565b6036613fce8382614d86565b50603761398a8282614d86565b600054610100900460ff166140025760405162461bcd60e51b81526004016107c890614cf5565b6065805460ff19169055565b600054610100900460ff166140355760405162461bcd60e51b81526004016107c890614cf5565b611e0f33613be6565b60655460ff161561398a5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016107c8565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df5782518255916020019190600101906140c4565b506140eb9291506141b6565b5090565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061410f565b6040805160e0810190915260008082526020820190815260200160005b81526020016060815260200160006001600160a01b031681526020016060815260200160006003811115614197576141976144fc565b905290565b6040805160c0810190915260008082526020820190614161565b5b808211156140eb57600081556001016141b7565b600060208083528351808285015260005b818110156141f8578581018301518582016040015282016141dc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461423057600080fd5b919050565b6000806040838503121561424857600080fd5b61425183614219565b946020939093013593505050565b80356005811061423057600080fd5b60006020828403121561428057600080fd5b6142898261425f565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156142c8578351835292840192918401916001016142ac565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614313576143136142d4565b604052919050565b600067ffffffffffffffff821115614335576143356142d4565b5060051b60200190565b600082601f83011261435057600080fd5b813560206143656143608361431b565b6142ea565b82815260059290921b8401810191818101908684111561438457600080fd5b8286015b8481101561439f5780358352918301918301614388565b509695505050505050565b6000806000606084860312156143bf57600080fd5b6143c88461425f565b925060208401359150604084013567ffffffffffffffff8111156143eb57600080fd5b6143f78682870161433f565b9150509250925092565b6000806040838503121561441457600080fd5b6142518361425f565b60008060006060848603121561443257600080fd5b61443b84614219565b925061444960208501614219565b9150604084013590509250925092565b600281106132bf57600080fd5b6000806000806080858703121561447c57600080fd5b843561448781614459565b935060208501359250604085013591506144a360608601614219565b905092959194509250565b6000806000606084860312156144c357600080fd5b83359250602084013591506144da60408501614219565b90509250925092565b6000602082840312156144f557600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60018110614522576145226144fc565b9052565b600081518084526020808501945080840160005b838110156145565781518752958201959082019060010161453a565b509495945050505050565b600081518084526020808501945080840160005b838110156145565781516001600160a01b031687529582019590820190600101614575565b60048110614522576145226144fc565b602081528151602082015260006020830151600581106145cc576145cc6144fc565b8060408401525060408301516145e56060840182614512565b50606083015160e06080840152614600610100840182614526565b9050608084015161461c60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526146388282614561565b91505060c0840151613ef160e085018261459a565b6000806040838503121561466057600080fd5b82359150602083013567ffffffffffffffff81111561467e57600080fd5b61468a8582860161433f565b9150509250929050565b6000602082840312156146a657600080fd5b61428982614219565b600281106132bf576132bf6144fc565b6020815281516020820152600060208301516146da816146af565b8060408401525060018060a01b036040840151166060830152606083015160a0608084015261470c60c0840182614561565b90506080840151613ef160a085018261459a565b600082601f83011261473157600080fd5b813560206147416143608361431b565b82815260059290921b8401810191818101908684111561476057600080fd5b8286015b8481101561439f5761477581614219565b8352918301918301614764565b6000806040838503121561479557600080fd5b82359150602083013567ffffffffffffffff8111156147b357600080fd5b61468a85828601614720565b600080604083850312156147d257600080fd5b823561425181614459565b6020815260006142896020830184614561565b60208152815160208201526000602083015161480b816146af565b80604084015250604083015160c0606084015261482b60e0840182614561565b60608501516001600160a01b0316608085810191909152850151848203601f190160a086015290915061485e8282614561565b91505060a0840151613ef160c085018261459a565b600082601f83011261488457600080fd5b813567ffffffffffffffff81111561489e5761489e6142d4565b6148b1601f8201601f19166020016142ea565b8181528460208386010111156148c657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156148fb57600080fd5b853567ffffffffffffffff8082111561491357600080fd5b61491f89838a01614873565b9650602088013591508082111561493557600080fd5b5061494288828901614873565b945050604086013560ff8116811461495957600080fd5b925061496760608701614219565b915061497560808701614219565b90509295509295909350565b60008060006060848603121561499657600080fd5b83356149a181614459565b925060208401359150604084013567ffffffffffffffff8111156149c457600080fd5b6143f786828701614720565b6000806000606084860312156149e557600080fd5b6149ee8461425f565b92506020840135915060408401358015158114614a0a57600080fd5b809150509250925092565b602081528151602082015260006020830151614a30816146af565b8060408401525060408301516060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160e060c0840152614a7d610100840182614561565b905060c0840151613ef160e085018261459a565b60008060408385031215614aa457600080fd5b614aad83614219565b9150614abb60208401614219565b90509250929050565b600181811c90821680614ad857607f821691505b602082108103614af857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201614b3c57614b3c614b14565b5060010190565b6020808252600d908201526c554e415554484f52495a45442160981b604082015260600190565b60208082526010908201526f494e56414c49445f524551554553542160801b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8082018082111561057b5761057b614b14565b6020808252600b908201526a4e4f545f4143544956452160a81b604082015260600190565b6020808252825482820181905260008481528281209092916040850190845b818110156142c85783546001600160a01b031683526001938401939285019201614c22565b6020808252825482820181905260008481528281209092916040850190845b818110156142c857835483526001938401939285019201614c66565b602080825260099082015268415050524f5645442160b81b604082015260600190565b6020808252600d908201526c4e4f545f415050524f5645442160981b604082015260600190565b8181038181111561057b5761057b614b14565b634e487b7160e01b600052603160045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f82111561398a57600081815260208120601f850160051c81016020861015614d675750805b601f850160051c820191505b8181101561260a57828155600101614d73565b815167ffffffffffffffff811115614da057614da06142d4565b614db481614dae8454614ac4565b84614d40565b602080601f831160018114614de95760008415614dd15750858301515b600019600386901b1c1916600185901b17855561260a565b600085815260208120601f198616915b82811015614e1857888601518255948401946001909101908401614df9565b5085821015614e365787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220ac1ac5bbc5327bb72ad538fb7c2022215e1c85017fa4ea8bca93664228db8bb064736f6c63430008150033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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.