Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
RipioCoin
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
contract RipioCoin is Initializable, ERC20Upgradeable, PausableUpgradeable, AccessControlUpgradeable, ERC20PermitUpgradeable {
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
function initialize() initializer public {
__ERC20_init("Ripio Coin", "RPC");
__Pausable_init();
__AccessControl_init();
__ERC20Permit_init("Ripio Coin");
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
_setupRole(PAUSER_ROLE, msg.sender);
_mint(msg.sender, 10000000000 * 10 ** decimals());
_setupRole(MINTER_ROLE, msg.sender);
}
function pause() public onlyRole(PAUSER_ROLE) {
_pause();
}
function unpause() public onlyRole(PAUSER_ROLE) {
_unpause();
}
function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) {
_mint(to, amount);
}
function _beforeTokenTransfer(address from, address to, uint256 amount)
internal
whenNotPaused
override
{
super._beforeTokenTransfer(from, to, amount);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";
/**
* @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 initializer {
__Context_init_unchained();
__ERC20_init_unchained(name_, symbol_);
}
function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
uint256[45] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";
/**
* @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 initializer {
__Context_init_unchained();
__Pausable_init_unchained();
}
function __Pausable_init_unchained() internal initializer {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
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());
}
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IAccessControlUpgradeable.sol";
import "../utils/ContextUpgradeable.sol";
import "../utils/StringsUpgradeable.sol";
import "../utils/introspection/ERC165Upgradeable.sol";
import "../proxy/utils/Initializable.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
function __AccessControl_init() internal initializer {
__Context_init_unchained();
__ERC165_init_unchained();
__AccessControl_init_unchained();
}
function __AccessControl_init_unchained() internal initializer {
}
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role, _msgSender());
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
StringsUpgradeable.toHexString(uint160(account), 20),
" is missing role ",
StringsUpgradeable.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
function _grantRole(bytes32 role, address account) private {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./draft-IERC20PermitUpgradeable.sol";
import "../ERC20Upgradeable.sol";
import "../../../utils/cryptography/draft-EIP712Upgradeable.sol";
import "../../../utils/cryptography/ECDSAUpgradeable.sol";
import "../../../utils/CountersUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable {
using CountersUpgradeable for CountersUpgradeable.Counter;
mapping(address => CountersUpgradeable.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH;
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
function __ERC20Permit_init(string memory name) internal initializer {
__Context_init_unchained();
__EIP712_init_unchained(name, "1");
__ERC20Permit_init_unchained(name);
}
function __ERC20Permit_init_unchained(string memory name) internal initializer {
_PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSAUpgradeable.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
CountersUpgradeable.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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 a proxied contract can't have 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.
*
* 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.
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Modifier to protect an initializer function from being invoked twice.
*/
modifier initializer() {
require(_initializing || !_initialized, "Initializable: contract is already initialized");
bool isTopLevelCall = !_initializing;
if (isTopLevelCall) {
_initializing = true;
_initialized = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20Upgradeable.sol";
/**
* @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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";
/**
* @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 initializer {
__Context_init_unchained();
}
function __Context_init_unchained() internal initializer {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControlUpgradeable {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library StringsUpgradeable {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {
function __ERC165_init() internal initializer {
__ERC165_init_unchained();
}
function __ERC165_init_unchained() internal initializer {
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165Upgradeable).interfaceId;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165Upgradeable {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20PermitUpgradeable {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ECDSAUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712Upgradeable is Initializable {
/* solhint-disable var-name-mixedcase */
bytes32 private _HASHED_NAME;
bytes32 private _HASHED_VERSION;
bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
function __EIP712_init(string memory name, string memory version) internal initializer {
__EIP712_init_unchained(name, version);
}
function __EIP712_init_unchained(string memory name, string memory version) internal initializer {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash());
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash);
}
/**
* @dev The hash of the name parameter for the EIP712 domain.
*
* NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
* are a concern.
*/
function _EIP712NameHash() internal virtual view returns (bytes32) {
return _HASHED_NAME;
}
/**
* @dev The hash of the version parameter for the EIP712 domain.
*
* NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
* are a concern.
*/
function _EIP712VersionHash() internal virtual view returns (bytes32) {
return _HASHED_VERSION;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSAUpgradeable {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s;
uint8 v;
assembly {
s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
v := add(shr(255, vs), 27)
}
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library CountersUpgradeable {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506143c4806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d539139311610071578063d539139314610509578063d547741f14610527578063dd62ed3e14610543578063e63ab1e914610573576101c4565b8063a457c2d71461048d578063a9059cbb146104bd578063d505accf146104ed576101c4565b80638456cb59116100d35780638456cb591461041757806391d148541461042157806395d89b4114610451578063a217fddf1461046f576101c4565b806370a08231146103ad5780637ecebe00146103dd5780638129fc1c1461040d576101c4565b8063313ce56711610166578063395093511161014057806339509351146103395780633f4ba83a1461036957806340c10f19146103735780635c975abb1461038f576101c4565b8063313ce567146102e15780633644e515146102ff57806336568abe1461031d576101c4565b806318160ddd116101a257806318160ddd1461024757806323b872dd14610265578063248a9ca3146102955780632f2ff15d146102c5576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063095ea7b314610217575b600080fd5b6101e360048036038101906101de91906131a1565b610591565b6040516101f09190613624565b60405180910390f35b61020161060b565b60405161020e9190613753565b60405180910390f35b610231600480360381019061022c9190613100565b61069d565b60405161023e9190613624565b60405180910390f35b61024f6106bb565b60405161025c91906139d5565b60405180910390f35b61027f600480360381019061027a9190613013565b6106c5565b60405161028c9190613624565b60405180910390f35b6102af60048036038101906102aa919061313c565b6107bd565b6040516102bc919061363f565b60405180910390f35b6102df60048036038101906102da9190613165565b6107dd565b005b6102e9610806565b6040516102f691906139f0565b60405180910390f35b61030761080f565b604051610314919061363f565b60405180910390f35b61033760048036038101906103329190613165565b61081e565b005b610353600480360381019061034e9190613100565b6108a1565b6040516103609190613624565b60405180910390f35b61037161094d565b005b61038d60048036038101906103889190613100565b61098a565b005b6103976109cb565b6040516103a49190613624565b60405180910390f35b6103c760048036038101906103c29190612fae565b6109e2565b6040516103d491906139d5565b60405180910390f35b6103f760048036038101906103f29190612fae565b610a2b565b60405161040491906139d5565b60405180910390f35b610415610a7c565b005b61041f610ca5565b005b61043b60048036038101906104369190613165565b610ce2565b6040516104489190613624565b60405180910390f35b610459610d4d565b6040516104669190613753565b60405180910390f35b610477610ddf565b604051610484919061363f565b60405180910390f35b6104a760048036038101906104a29190613100565b610de6565b6040516104b49190613624565b60405180910390f35b6104d760048036038101906104d29190613100565b610ed1565b6040516104e49190613624565b60405180910390f35b61050760048036038101906105029190613062565b610eef565b005b610511611014565b60405161051e919061363f565b60405180910390f35b610541600480360381019061053c9190613165565b611038565b005b61055d60048036038101906105589190612fd7565b611061565b60405161056a91906139d5565b60405180910390f35b61057b6110e8565b604051610588919061363f565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060457506106038261110c565b5b9050919050565b60606036805461061a90613d3b565b80601f016020809104026020016040519081016040528092919081815260200182805461064690613d3b565b80156106935780601f1061066857610100808354040283529160200191610693565b820191906000526020600020905b81548152906001019060200180831161067657829003601f168201915b5050505050905090565b60006106b16106aa611176565b848461117e565b6001905092915050565b6000603554905090565b60006106d2848484611349565b6000603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061071d611176565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079490613915565b60405180910390fd5b6107b1856107a9611176565b85840361117e565b60019150509392505050565b600060c96000838152602001908152602001600020600101549050919050565b6107e6826107bd565b6107f7816107f2611176565b6115cd565b610801838361166a565b505050565b60006012905090565b600061081961174b565b905090565b610826611176565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90613995565b60405180910390fd5b61089d828261178b565b5050565b60006109436108ae611176565b8484603460006108bc611176565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461093e9190613a32565b61117e565b6001905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61097f8161097a611176565b6115cd565b61098761186d565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109bc816109b7611176565b6115cd565b6109c6838361190f565b505050565b6000606560009054906101000a900460ff16905090565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610a7561012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611a70565b9050919050565b600060019054906101000a900460ff1680610aa2575060008054906101000a900460ff16155b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad8906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015610b31576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610ba56040518060400160405280600a81526020017f526970696f20436f696e000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f5250430000000000000000000000000000000000000000000000000000000000815250611a7e565b610bad611b6b565b610bb5611c54565b610bf36040518060400160405280600a81526020017f526970696f20436f696e00000000000000000000000000000000000000000000815250611d45565b610c006000801b33611e6f565b610c2a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611e6f565b610c5733610c36610806565b600a610c429190613adb565b6402540be400610c529190613bf9565b61190f565b610c817f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611e6f565b8015610ca25760008060016101000a81548160ff0219169083151502179055505b50565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610cd781610cd2611176565b6115cd565b610cdf611e7d565b50565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060378054610d5c90613d3b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8890613d3b565b8015610dd55780601f10610daa57610100808354040283529160200191610dd5565b820191906000526020600020905b815481529060010190602001808311610db857829003601f168201915b5050505050905090565b6000801b81565b60008060346000610df5611176565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990613975565b60405180910390fd5b610ec6610ebd611176565b8585840361117e565b600191505092915050565b6000610ee5610ede611176565b8484611349565b6001905092915050565b83421115610f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2990613835565b60405180910390fd5b600061013054888888610f448c611f20565b89604051602001610f5a9695949392919061365a565b6040516020818303038152906040528051906020012090506000610f7d82611f7f565b90506000610f8d82878787611f99565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff4906138f5565b60405180910390fd5b6110088a8a8a61117e565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611041826107bd565b6110528161104d611176565b6115cd565b61105c838361178b565b505050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590613955565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590613815565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161133c91906139d5565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090613935565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611429576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611420906137b5565b60405180910390fd5b611434838383611fc4565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290613855565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115509190613a32565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115b491906139d5565b60405180910390a36115c784848461201c565b50505050565b6115d78282610ce2565b611666576115fc8173ffffffffffffffffffffffffffffffffffffffff166014612021565b61160a8360001c6020612021565b60405160200161161b9291906135cf565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d9190613753565b60405180910390fd5b5050565b6116748282610ce2565b61174757600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116ec611176565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006117867f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61177961231b565b611781612325565b61232f565b905090565b6117958282610ce2565b1561186957600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061180e611176565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6118756109cb565b6118b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ab906137d5565b60405180910390fd5b6000606560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118f8611176565b6040516119059190613609565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906139b5565b60405180910390fd5b61198b60008383611fc4565b806035600082825461199d9190613a32565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119f39190613a32565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a5891906139d5565b60405180910390a3611a6c6000838361201c565b5050565b600081600001549050919050565b600060019054906101000a900460ff1680611aa4575060008054906101000a900460ff16155b611ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ada906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611b33576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611b3b612369565b611b458383612442565b8015611b665760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680611b91575060008054906101000a900460ff16155b611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc7906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611c20576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611c28612369565b611c3061254b565b8015611c515760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611c7a575060008054906101000a900460ff16155b611cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb0906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611d09576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611d11612369565b611d1961263f565b611d21612718565b8015611d425760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611d6b575060008054906101000a900460ff16155b611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da1906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611dfa576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611e02612369565b611e41826040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506127f1565b611e4a826128f4565b8015611e6b5760008060016101000a81548160ff0219169083151502179055505b5050565b611e79828261166a565b5050565b611e856109cb565b15611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90613895565b60405180910390fd5b6001606560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f09611176565b604051611f169190613609565b60405180910390a1565b60008061012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611f6e81611a70565b9150611f79816129f6565b50919050565b6000611f92611f8c61174b565b83612a0c565b9050919050565b6000806000611faa87878787612a3f565b91509150611fb781612b4c565b8192505050949350505050565b611fcc6109cb565b1561200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390613895565b60405180910390fd5b612017838383612e9d565b505050565b505050565b6060600060028360026120349190613bf9565b61203e9190613a32565b67ffffffffffffffff81111561207d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120af5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061210d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612197577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121d79190613bf9565b6121e19190613a32565b90505b60018111156122cd577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612249577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612286577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806122c690613d11565b90506121e4565b5060008414612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890613795565b60405180910390fd5b8091505092915050565b600060fb54905090565b600060fc54905090565b6000838383463060405160200161234a9594939291906136bb565b6040516020818303038152906040528051906020012090509392505050565b600060019054906101000a900460ff168061238f575060008054906101000a900460ff16155b6123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c5906138b5565b60405180910390fd5b60008060019054906101000a900460ff16159050801561241e576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561243f5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612468575060008054906101000a900460ff16155b6124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249e906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156124f7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b826036908051906020019061250d929190612ea2565b508160379080519060200190612524929190612ea2565b5080156125465760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612571575060008054906101000a900460ff16155b6125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a7906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015612600576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000606560006101000a81548160ff021916908315150217905550801561263c5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612665575060008054906101000a900460ff16155b6126a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269b906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156126f4576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156127155760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061273e575060008054906101000a900460ff16155b61277d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612774906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156127cd576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156127ee5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612817575060008054906101000a900460ff16155b612856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284d906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156128a6576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000838051906020012090506000838051906020012090508160fb819055508060fc81905550505080156128ef5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061291a575060008054906101000a900460ff16155b612959576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612950906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156129a9576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101308190555080156129f25760008060016101000a81548160ff0219169083151502179055505b5050565b6001816000016000828254019250508190555050565b60008282604051602001612a21929190613598565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612a7a576000600391509150612b43565b601b8560ff1614158015612a925750601c8560ff1614155b15612aa4576000600491509150612b43565b600060018787878760405160008152602001604052604051612ac9949392919061370e565b6020604051602081039080840390855afa158015612aeb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b3a57600060019250925050612b43565b80600092509250505b94509492505050565b60006004811115612b86577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612bbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612bca57612e9a565b60016004811115612c04577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7590613775565b60405180910390fd5b60026004811115612cb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612cf1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d29906137f5565b60405180910390fd5b60036004811115612d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612da5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddd90613875565b60405180910390fd5b600480811115612e1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612e58577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e90906138d5565b60405180910390fd5b5b50565b505050565b828054612eae90613d3b565b90600052602060002090601f016020900481019282612ed05760008555612f17565b82601f10612ee957805160ff1916838001178555612f17565b82800160010185558215612f17579182015b82811115612f16578251825591602001919060010190612efb565b5b509050612f249190612f28565b5090565b5b80821115612f41576000816000905550600101612f29565b5090565b600081359050612f548161431b565b92915050565b600081359050612f6981614332565b92915050565b600081359050612f7e81614349565b92915050565b600081359050612f9381614360565b92915050565b600081359050612fa881614377565b92915050565b600060208284031215612fc057600080fd5b6000612fce84828501612f45565b91505092915050565b60008060408385031215612fea57600080fd5b6000612ff885828601612f45565b925050602061300985828601612f45565b9150509250929050565b60008060006060848603121561302857600080fd5b600061303686828701612f45565b935050602061304786828701612f45565b925050604061305886828701612f84565b9150509250925092565b600080600080600080600060e0888a03121561307d57600080fd5b600061308b8a828b01612f45565b975050602061309c8a828b01612f45565b96505060406130ad8a828b01612f84565b95505060606130be8a828b01612f84565b94505060806130cf8a828b01612f99565b93505060a06130e08a828b01612f5a565b92505060c06130f18a828b01612f5a565b91505092959891949750929550565b6000806040838503121561311357600080fd5b600061312185828601612f45565b925050602061313285828601612f84565b9150509250929050565b60006020828403121561314e57600080fd5b600061315c84828501612f5a565b91505092915050565b6000806040838503121561317857600080fd5b600061318685828601612f5a565b925050602061319785828601612f45565b9150509250929050565b6000602082840312156131b357600080fd5b60006131c184828501612f6f565b91505092915050565b6131d381613c53565b82525050565b6131e281613c65565b82525050565b6131f181613c71565b82525050565b61320861320382613c71565b613d6d565b82525050565b600061321982613a0b565b6132238185613a16565b9350613233818560208601613cde565b61323c81613dd5565b840191505092915050565b600061325282613a0b565b61325c8185613a27565b935061326c818560208601613cde565b80840191505092915050565b6000613285601883613a16565b915061329082613df3565b602082019050919050565b60006132a8602083613a16565b91506132b382613e1c565b602082019050919050565b60006132cb602383613a16565b91506132d682613e45565b604082019050919050565b60006132ee601483613a16565b91506132f982613e94565b602082019050919050565b6000613311601f83613a16565b915061331c82613ebd565b602082019050919050565b6000613334602283613a16565b915061333f82613ee6565b604082019050919050565b6000613357600283613a27565b915061336282613f35565b600282019050919050565b600061337a601d83613a16565b915061338582613f5e565b602082019050919050565b600061339d602683613a16565b91506133a882613f87565b604082019050919050565b60006133c0602283613a16565b91506133cb82613fd6565b604082019050919050565b60006133e3601083613a16565b91506133ee82614025565b602082019050919050565b6000613406602e83613a16565b91506134118261404e565b604082019050919050565b6000613429602283613a16565b91506134348261409d565b604082019050919050565b600061344c601e83613a16565b9150613457826140ec565b602082019050919050565b600061346f602883613a16565b915061347a82614115565b604082019050919050565b6000613492602583613a16565b915061349d82614164565b604082019050919050565b60006134b5602483613a16565b91506134c0826141b3565b604082019050919050565b60006134d8601783613a27565b91506134e382614202565b601782019050919050565b60006134fb602583613a16565b91506135068261422b565b604082019050919050565b600061351e601183613a27565b91506135298261427a565b601182019050919050565b6000613541602f83613a16565b915061354c826142a3565b604082019050919050565b6000613564601f83613a16565b915061356f826142f2565b602082019050919050565b61358381613cc7565b82525050565b61359281613cd1565b82525050565b60006135a38261334a565b91506135af82856131f7565b6020820191506135bf82846131f7565b6020820191508190509392505050565b60006135da826134cb565b91506135e68285613247565b91506135f182613511565b91506135fd8284613247565b91508190509392505050565b600060208201905061361e60008301846131ca565b92915050565b600060208201905061363960008301846131d9565b92915050565b600060208201905061365460008301846131e8565b92915050565b600060c08201905061366f60008301896131e8565b61367c60208301886131ca565b61368960408301876131ca565b613696606083018661357a565b6136a3608083018561357a565b6136b060a083018461357a565b979650505050505050565b600060a0820190506136d060008301886131e8565b6136dd60208301876131e8565b6136ea60408301866131e8565b6136f7606083018561357a565b61370460808301846131ca565b9695505050505050565b600060808201905061372360008301876131e8565b6137306020830186613589565b61373d60408301856131e8565b61374a60608301846131e8565b95945050505050565b6000602082019050818103600083015261376d818461320e565b905092915050565b6000602082019050818103600083015261378e81613278565b9050919050565b600060208201905081810360008301526137ae8161329b565b9050919050565b600060208201905081810360008301526137ce816132be565b9050919050565b600060208201905081810360008301526137ee816132e1565b9050919050565b6000602082019050818103600083015261380e81613304565b9050919050565b6000602082019050818103600083015261382e81613327565b9050919050565b6000602082019050818103600083015261384e8161336d565b9050919050565b6000602082019050818103600083015261386e81613390565b9050919050565b6000602082019050818103600083015261388e816133b3565b9050919050565b600060208201905081810360008301526138ae816133d6565b9050919050565b600060208201905081810360008301526138ce816133f9565b9050919050565b600060208201905081810360008301526138ee8161341c565b9050919050565b6000602082019050818103600083015261390e8161343f565b9050919050565b6000602082019050818103600083015261392e81613462565b9050919050565b6000602082019050818103600083015261394e81613485565b9050919050565b6000602082019050818103600083015261396e816134a8565b9050919050565b6000602082019050818103600083015261398e816134ee565b9050919050565b600060208201905081810360008301526139ae81613534565b9050919050565b600060208201905081810360008301526139ce81613557565b9050919050565b60006020820190506139ea600083018461357a565b92915050565b6000602082019050613a056000830184613589565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000613a3d82613cc7565b9150613a4883613cc7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a7d57613a7c613d77565b5b828201905092915050565b6000808291508390505b6001851115613ad257808604811115613aae57613aad613d77565b5b6001851615613abd5780820291505b8081029050613acb85613de6565b9450613a92565b94509492505050565b6000613ae682613cc7565b9150613af183613cd1565b9250613b1e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613b26565b905092915050565b600082613b365760019050613bf2565b81613b445760009050613bf2565b8160018114613b5a5760028114613b6457613b93565b6001915050613bf2565b60ff841115613b7657613b75613d77565b5b8360020a915084821115613b8d57613b8c613d77565b5b50613bf2565b5060208310610133831016604e8410600b8410161715613bc85782820a905083811115613bc357613bc2613d77565b5b613bf2565b613bd58484846001613a88565b92509050818404811115613bec57613beb613d77565b5b81810290505b9392505050565b6000613c0482613cc7565b9150613c0f83613cc7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c4857613c47613d77565b5b828202905092915050565b6000613c5e82613ca7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015613cfc578082015181840152602081019050613ce1565b83811115613d0b576000848401525b50505050565b6000613d1c82613cc7565b91506000821415613d3057613d2f613d77565b5b600182039050919050565b60006002820490506001821680613d5357607f821691505b60208210811415613d6757613d66613da6565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61432481613c53565b811461432f57600080fd5b50565b61433b81613c71565b811461434657600080fd5b50565b61435281613c7b565b811461435d57600080fd5b50565b61436981613cc7565b811461437457600080fd5b50565b61438081613cd1565b811461438b57600080fd5b5056fea2646970667358221220522ba8324e0578309da2a214266e02e9d1dd95a0d7029da3c2abe4ee647ae55464736f6c63430008020033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d539139311610071578063d539139314610509578063d547741f14610527578063dd62ed3e14610543578063e63ab1e914610573576101c4565b8063a457c2d71461048d578063a9059cbb146104bd578063d505accf146104ed576101c4565b80638456cb59116100d35780638456cb591461041757806391d148541461042157806395d89b4114610451578063a217fddf1461046f576101c4565b806370a08231146103ad5780637ecebe00146103dd5780638129fc1c1461040d576101c4565b8063313ce56711610166578063395093511161014057806339509351146103395780633f4ba83a1461036957806340c10f19146103735780635c975abb1461038f576101c4565b8063313ce567146102e15780633644e515146102ff57806336568abe1461031d576101c4565b806318160ddd116101a257806318160ddd1461024757806323b872dd14610265578063248a9ca3146102955780632f2ff15d146102c5576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063095ea7b314610217575b600080fd5b6101e360048036038101906101de91906131a1565b610591565b6040516101f09190613624565b60405180910390f35b61020161060b565b60405161020e9190613753565b60405180910390f35b610231600480360381019061022c9190613100565b61069d565b60405161023e9190613624565b60405180910390f35b61024f6106bb565b60405161025c91906139d5565b60405180910390f35b61027f600480360381019061027a9190613013565b6106c5565b60405161028c9190613624565b60405180910390f35b6102af60048036038101906102aa919061313c565b6107bd565b6040516102bc919061363f565b60405180910390f35b6102df60048036038101906102da9190613165565b6107dd565b005b6102e9610806565b6040516102f691906139f0565b60405180910390f35b61030761080f565b604051610314919061363f565b60405180910390f35b61033760048036038101906103329190613165565b61081e565b005b610353600480360381019061034e9190613100565b6108a1565b6040516103609190613624565b60405180910390f35b61037161094d565b005b61038d60048036038101906103889190613100565b61098a565b005b6103976109cb565b6040516103a49190613624565b60405180910390f35b6103c760048036038101906103c29190612fae565b6109e2565b6040516103d491906139d5565b60405180910390f35b6103f760048036038101906103f29190612fae565b610a2b565b60405161040491906139d5565b60405180910390f35b610415610a7c565b005b61041f610ca5565b005b61043b60048036038101906104369190613165565b610ce2565b6040516104489190613624565b60405180910390f35b610459610d4d565b6040516104669190613753565b60405180910390f35b610477610ddf565b604051610484919061363f565b60405180910390f35b6104a760048036038101906104a29190613100565b610de6565b6040516104b49190613624565b60405180910390f35b6104d760048036038101906104d29190613100565b610ed1565b6040516104e49190613624565b60405180910390f35b61050760048036038101906105029190613062565b610eef565b005b610511611014565b60405161051e919061363f565b60405180910390f35b610541600480360381019061053c9190613165565b611038565b005b61055d60048036038101906105589190612fd7565b611061565b60405161056a91906139d5565b60405180910390f35b61057b6110e8565b604051610588919061363f565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060457506106038261110c565b5b9050919050565b60606036805461061a90613d3b565b80601f016020809104026020016040519081016040528092919081815260200182805461064690613d3b565b80156106935780601f1061066857610100808354040283529160200191610693565b820191906000526020600020905b81548152906001019060200180831161067657829003601f168201915b5050505050905090565b60006106b16106aa611176565b848461117e565b6001905092915050565b6000603554905090565b60006106d2848484611349565b6000603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061071d611176565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079490613915565b60405180910390fd5b6107b1856107a9611176565b85840361117e565b60019150509392505050565b600060c96000838152602001908152602001600020600101549050919050565b6107e6826107bd565b6107f7816107f2611176565b6115cd565b610801838361166a565b505050565b60006012905090565b600061081961174b565b905090565b610826611176565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90613995565b60405180910390fd5b61089d828261178b565b5050565b60006109436108ae611176565b8484603460006108bc611176565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461093e9190613a32565b61117e565b6001905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61097f8161097a611176565b6115cd565b61098761186d565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109bc816109b7611176565b6115cd565b6109c6838361190f565b505050565b6000606560009054906101000a900460ff16905090565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610a7561012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611a70565b9050919050565b600060019054906101000a900460ff1680610aa2575060008054906101000a900460ff16155b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad8906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015610b31576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610ba56040518060400160405280600a81526020017f526970696f20436f696e000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f5250430000000000000000000000000000000000000000000000000000000000815250611a7e565b610bad611b6b565b610bb5611c54565b610bf36040518060400160405280600a81526020017f526970696f20436f696e00000000000000000000000000000000000000000000815250611d45565b610c006000801b33611e6f565b610c2a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611e6f565b610c5733610c36610806565b600a610c429190613adb565b6402540be400610c529190613bf9565b61190f565b610c817f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611e6f565b8015610ca25760008060016101000a81548160ff0219169083151502179055505b50565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610cd781610cd2611176565b6115cd565b610cdf611e7d565b50565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060378054610d5c90613d3b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8890613d3b565b8015610dd55780601f10610daa57610100808354040283529160200191610dd5565b820191906000526020600020905b815481529060010190602001808311610db857829003601f168201915b5050505050905090565b6000801b81565b60008060346000610df5611176565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990613975565b60405180910390fd5b610ec6610ebd611176565b8585840361117e565b600191505092915050565b6000610ee5610ede611176565b8484611349565b6001905092915050565b83421115610f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2990613835565b60405180910390fd5b600061013054888888610f448c611f20565b89604051602001610f5a9695949392919061365a565b6040516020818303038152906040528051906020012090506000610f7d82611f7f565b90506000610f8d82878787611f99565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff4906138f5565b60405180910390fd5b6110088a8a8a61117e565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611041826107bd565b6110528161104d611176565b6115cd565b61105c838361178b565b505050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590613955565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590613815565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161133c91906139d5565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090613935565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611429576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611420906137b5565b60405180910390fd5b611434838383611fc4565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290613855565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115509190613a32565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115b491906139d5565b60405180910390a36115c784848461201c565b50505050565b6115d78282610ce2565b611666576115fc8173ffffffffffffffffffffffffffffffffffffffff166014612021565b61160a8360001c6020612021565b60405160200161161b9291906135cf565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d9190613753565b60405180910390fd5b5050565b6116748282610ce2565b61174757600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116ec611176565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006117867f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61177961231b565b611781612325565b61232f565b905090565b6117958282610ce2565b1561186957600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061180e611176565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6118756109cb565b6118b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ab906137d5565b60405180910390fd5b6000606560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118f8611176565b6040516119059190613609565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906139b5565b60405180910390fd5b61198b60008383611fc4565b806035600082825461199d9190613a32565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119f39190613a32565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a5891906139d5565b60405180910390a3611a6c6000838361201c565b5050565b600081600001549050919050565b600060019054906101000a900460ff1680611aa4575060008054906101000a900460ff16155b611ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ada906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611b33576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611b3b612369565b611b458383612442565b8015611b665760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680611b91575060008054906101000a900460ff16155b611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc7906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611c20576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611c28612369565b611c3061254b565b8015611c515760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611c7a575060008054906101000a900460ff16155b611cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb0906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611d09576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611d11612369565b611d1961263f565b611d21612718565b8015611d425760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611d6b575060008054906101000a900460ff16155b611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da1906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611dfa576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611e02612369565b611e41826040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506127f1565b611e4a826128f4565b8015611e6b5760008060016101000a81548160ff0219169083151502179055505b5050565b611e79828261166a565b5050565b611e856109cb565b15611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90613895565b60405180910390fd5b6001606560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f09611176565b604051611f169190613609565b60405180910390a1565b60008061012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611f6e81611a70565b9150611f79816129f6565b50919050565b6000611f92611f8c61174b565b83612a0c565b9050919050565b6000806000611faa87878787612a3f565b91509150611fb781612b4c565b8192505050949350505050565b611fcc6109cb565b1561200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390613895565b60405180910390fd5b612017838383612e9d565b505050565b505050565b6060600060028360026120349190613bf9565b61203e9190613a32565b67ffffffffffffffff81111561207d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120af5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061210d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612197577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121d79190613bf9565b6121e19190613a32565b90505b60018111156122cd577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612249577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612286577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806122c690613d11565b90506121e4565b5060008414612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890613795565b60405180910390fd5b8091505092915050565b600060fb54905090565b600060fc54905090565b6000838383463060405160200161234a9594939291906136bb565b6040516020818303038152906040528051906020012090509392505050565b600060019054906101000a900460ff168061238f575060008054906101000a900460ff16155b6123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c5906138b5565b60405180910390fd5b60008060019054906101000a900460ff16159050801561241e576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561243f5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612468575060008054906101000a900460ff16155b6124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249e906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156124f7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b826036908051906020019061250d929190612ea2565b508160379080519060200190612524929190612ea2565b5080156125465760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612571575060008054906101000a900460ff16155b6125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a7906138b5565b60405180910390fd5b60008060019054906101000a900460ff161590508015612600576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000606560006101000a81548160ff021916908315150217905550801561263c5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612665575060008054906101000a900460ff16155b6126a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269b906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156126f4576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156127155760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061273e575060008054906101000a900460ff16155b61277d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612774906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156127cd576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156127ee5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612817575060008054906101000a900460ff16155b612856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284d906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156128a6576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000838051906020012090506000838051906020012090508160fb819055508060fc81905550505080156128ef5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061291a575060008054906101000a900460ff16155b612959576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612950906138b5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156129a9576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101308190555080156129f25760008060016101000a81548160ff0219169083151502179055505b5050565b6001816000016000828254019250508190555050565b60008282604051602001612a21929190613598565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612a7a576000600391509150612b43565b601b8560ff1614158015612a925750601c8560ff1614155b15612aa4576000600491509150612b43565b600060018787878760405160008152602001604052604051612ac9949392919061370e565b6020604051602081039080840390855afa158015612aeb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b3a57600060019250925050612b43565b80600092509250505b94509492505050565b60006004811115612b86577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612bbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612bca57612e9a565b60016004811115612c04577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7590613775565b60405180910390fd5b60026004811115612cb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612cf1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d29906137f5565b60405180910390fd5b60036004811115612d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612da5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddd90613875565b60405180910390fd5b600480811115612e1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612e58577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e90906138d5565b60405180910390fd5b5b50565b505050565b828054612eae90613d3b565b90600052602060002090601f016020900481019282612ed05760008555612f17565b82601f10612ee957805160ff1916838001178555612f17565b82800160010185558215612f17579182015b82811115612f16578251825591602001919060010190612efb565b5b509050612f249190612f28565b5090565b5b80821115612f41576000816000905550600101612f29565b5090565b600081359050612f548161431b565b92915050565b600081359050612f6981614332565b92915050565b600081359050612f7e81614349565b92915050565b600081359050612f9381614360565b92915050565b600081359050612fa881614377565b92915050565b600060208284031215612fc057600080fd5b6000612fce84828501612f45565b91505092915050565b60008060408385031215612fea57600080fd5b6000612ff885828601612f45565b925050602061300985828601612f45565b9150509250929050565b60008060006060848603121561302857600080fd5b600061303686828701612f45565b935050602061304786828701612f45565b925050604061305886828701612f84565b9150509250925092565b600080600080600080600060e0888a03121561307d57600080fd5b600061308b8a828b01612f45565b975050602061309c8a828b01612f45565b96505060406130ad8a828b01612f84565b95505060606130be8a828b01612f84565b94505060806130cf8a828b01612f99565b93505060a06130e08a828b01612f5a565b92505060c06130f18a828b01612f5a565b91505092959891949750929550565b6000806040838503121561311357600080fd5b600061312185828601612f45565b925050602061313285828601612f84565b9150509250929050565b60006020828403121561314e57600080fd5b600061315c84828501612f5a565b91505092915050565b6000806040838503121561317857600080fd5b600061318685828601612f5a565b925050602061319785828601612f45565b9150509250929050565b6000602082840312156131b357600080fd5b60006131c184828501612f6f565b91505092915050565b6131d381613c53565b82525050565b6131e281613c65565b82525050565b6131f181613c71565b82525050565b61320861320382613c71565b613d6d565b82525050565b600061321982613a0b565b6132238185613a16565b9350613233818560208601613cde565b61323c81613dd5565b840191505092915050565b600061325282613a0b565b61325c8185613a27565b935061326c818560208601613cde565b80840191505092915050565b6000613285601883613a16565b915061329082613df3565b602082019050919050565b60006132a8602083613a16565b91506132b382613e1c565b602082019050919050565b60006132cb602383613a16565b91506132d682613e45565b604082019050919050565b60006132ee601483613a16565b91506132f982613e94565b602082019050919050565b6000613311601f83613a16565b915061331c82613ebd565b602082019050919050565b6000613334602283613a16565b915061333f82613ee6565b604082019050919050565b6000613357600283613a27565b915061336282613f35565b600282019050919050565b600061337a601d83613a16565b915061338582613f5e565b602082019050919050565b600061339d602683613a16565b91506133a882613f87565b604082019050919050565b60006133c0602283613a16565b91506133cb82613fd6565b604082019050919050565b60006133e3601083613a16565b91506133ee82614025565b602082019050919050565b6000613406602e83613a16565b91506134118261404e565b604082019050919050565b6000613429602283613a16565b91506134348261409d565b604082019050919050565b600061344c601e83613a16565b9150613457826140ec565b602082019050919050565b600061346f602883613a16565b915061347a82614115565b604082019050919050565b6000613492602583613a16565b915061349d82614164565b604082019050919050565b60006134b5602483613a16565b91506134c0826141b3565b604082019050919050565b60006134d8601783613a27565b91506134e382614202565b601782019050919050565b60006134fb602583613a16565b91506135068261422b565b604082019050919050565b600061351e601183613a27565b91506135298261427a565b601182019050919050565b6000613541602f83613a16565b915061354c826142a3565b604082019050919050565b6000613564601f83613a16565b915061356f826142f2565b602082019050919050565b61358381613cc7565b82525050565b61359281613cd1565b82525050565b60006135a38261334a565b91506135af82856131f7565b6020820191506135bf82846131f7565b6020820191508190509392505050565b60006135da826134cb565b91506135e68285613247565b91506135f182613511565b91506135fd8284613247565b91508190509392505050565b600060208201905061361e60008301846131ca565b92915050565b600060208201905061363960008301846131d9565b92915050565b600060208201905061365460008301846131e8565b92915050565b600060c08201905061366f60008301896131e8565b61367c60208301886131ca565b61368960408301876131ca565b613696606083018661357a565b6136a3608083018561357a565b6136b060a083018461357a565b979650505050505050565b600060a0820190506136d060008301886131e8565b6136dd60208301876131e8565b6136ea60408301866131e8565b6136f7606083018561357a565b61370460808301846131ca565b9695505050505050565b600060808201905061372360008301876131e8565b6137306020830186613589565b61373d60408301856131e8565b61374a60608301846131e8565b95945050505050565b6000602082019050818103600083015261376d818461320e565b905092915050565b6000602082019050818103600083015261378e81613278565b9050919050565b600060208201905081810360008301526137ae8161329b565b9050919050565b600060208201905081810360008301526137ce816132be565b9050919050565b600060208201905081810360008301526137ee816132e1565b9050919050565b6000602082019050818103600083015261380e81613304565b9050919050565b6000602082019050818103600083015261382e81613327565b9050919050565b6000602082019050818103600083015261384e8161336d565b9050919050565b6000602082019050818103600083015261386e81613390565b9050919050565b6000602082019050818103600083015261388e816133b3565b9050919050565b600060208201905081810360008301526138ae816133d6565b9050919050565b600060208201905081810360008301526138ce816133f9565b9050919050565b600060208201905081810360008301526138ee8161341c565b9050919050565b6000602082019050818103600083015261390e8161343f565b9050919050565b6000602082019050818103600083015261392e81613462565b9050919050565b6000602082019050818103600083015261394e81613485565b9050919050565b6000602082019050818103600083015261396e816134a8565b9050919050565b6000602082019050818103600083015261398e816134ee565b9050919050565b600060208201905081810360008301526139ae81613534565b9050919050565b600060208201905081810360008301526139ce81613557565b9050919050565b60006020820190506139ea600083018461357a565b92915050565b6000602082019050613a056000830184613589565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000613a3d82613cc7565b9150613a4883613cc7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a7d57613a7c613d77565b5b828201905092915050565b6000808291508390505b6001851115613ad257808604811115613aae57613aad613d77565b5b6001851615613abd5780820291505b8081029050613acb85613de6565b9450613a92565b94509492505050565b6000613ae682613cc7565b9150613af183613cd1565b9250613b1e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613b26565b905092915050565b600082613b365760019050613bf2565b81613b445760009050613bf2565b8160018114613b5a5760028114613b6457613b93565b6001915050613bf2565b60ff841115613b7657613b75613d77565b5b8360020a915084821115613b8d57613b8c613d77565b5b50613bf2565b5060208310610133831016604e8410600b8410161715613bc85782820a905083811115613bc357613bc2613d77565b5b613bf2565b613bd58484846001613a88565b92509050818404811115613bec57613beb613d77565b5b81810290505b9392505050565b6000613c0482613cc7565b9150613c0f83613cc7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c4857613c47613d77565b5b828202905092915050565b6000613c5e82613ca7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015613cfc578082015181840152602081019050613ce1565b83811115613d0b576000848401525b50505050565b6000613d1c82613cc7565b91506000821415613d3057613d2f613d77565b5b600182039050919050565b60006002820490506001821680613d5357607f821691505b60208210811415613d6757613d66613da6565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61432481613c53565b811461432f57600080fd5b50565b61433b81613c71565b811461434657600080fd5b50565b61435281613c7b565b811461435d57600080fd5b50565b61436981613cc7565b811461437457600080fd5b50565b61438081613cd1565b811461438b57600080fd5b5056fea2646970667358221220522ba8324e0578309da2a214266e02e9d1dd95a0d7029da3c2abe4ee647ae55464736f6c63430008020033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.