Source Code
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | ||||
|---|---|---|---|---|---|---|---|
| 26475622 | 111 days ago | 0 FRAX | |||||
| 26475622 | 111 days ago | 0 FRAX | |||||
| 26475526 | 111 days ago | 0 FRAX | |||||
| 26475526 | 111 days ago | 0 FRAX | |||||
| 26467059 | 111 days ago | 0 FRAX | |||||
| 26423873 | 112 days ago | 0 FRAX | |||||
| 26423858 | 112 days ago | 0 FRAX | |||||
| 26380659 | 113 days ago | 0 FRAX | |||||
| 26380656 | 113 days ago | 0 FRAX | |||||
| 26337456 | 114 days ago | 0 FRAX | |||||
| 26337453 | 114 days ago | 0 FRAX | |||||
| 26315873 | 115 days ago | 0 FRAX | |||||
| 26294255 | 115 days ago | 0 FRAX | |||||
| 26272656 | 116 days ago | 0 FRAX | |||||
| 26251053 | 116 days ago | 0 FRAX | |||||
| 26229453 | 117 days ago | 0 FRAX | |||||
| 26207873 | 117 days ago | 0 FRAX | |||||
| 26207850 | 117 days ago | 0 FRAX | |||||
| 26202962 | 117 days ago | 0 FRAX | |||||
| 26164661 | 118 days ago | 0 FRAX | |||||
| 26147485 | 118 days ago | 0 FRAX | |||||
| 26147485 | 118 days ago | 0 FRAX | |||||
| 26147485 | 118 days ago | 0 FRAX | |||||
| 26147485 | 118 days ago | 0 FRAX | |||||
| 26147485 | 118 days ago | 0 FRAX |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
VNXCToken
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity Standard Json-Input format)
/** * VNXC Stablecoin Smart Contract * Author: Wazen SHBAIR - [email protected] * Created: 30.10.2022 * Updated: 05.07.2024 * (c) Copyright by VNX S.A, Luxembourg. **/ /** * SPDX-License-Identifier: MIT */ pragma solidity ^0.8.0; import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol"; import "./irbac.sol"; import "./ITransferProvider.sol"; /** * @title VNXC - VNX Stablecoin smart contract * @dev ERC20 Token backed by fiat/crypto reserves */ contract VNXCToken is Initializable, OwnableUpgradeable, ERC20PausableUpgradeable, ERC20PermitUpgradeable { using SafeMath for uint256; string public currency; /** * @dev Role manager and transfer control */ ITransferProvider private transferProvider; IRBAC private rbacManager; uint8 public assetProtectionRoleId; uint8 public minterRoleId; //uint8 public masterMinterRoleId; mapping(address => bool) internal frozenList; mapping(address => uint256) internal minterAllowed; event Mint(address indexed minter, address indexed to, uint256 amount); event Burn(address indexed burner, uint256 amount); event MinterConfigured(address indexed minter, uint256 minterAllowedAmount); event MinterRemoved(address indexed oldMinter); event AssetProtectionRoleSet (uint8 indexed oldAssetProtectionRole, uint8 indexed newAssetProtectionRole); event MinterRoleSet (uint8 indexed oldMinterRoleId, uint8 indexed newMinterRoleId); event TransferProviderChanged(address indexed oldProvider, address indexed newProvider); event AddressFrozen(address indexed _account); event AddressUnfrozen(address indexed _account); /** * @dev Modifier to make a function callable only by an account * that belongs to the Admin role. */ modifier onlyAdmin() { require(isAdmin(), "Only Admin role"); _; } /** * @dev Throws if called by any account other than a minter */ modifier onlyMinters() { require(isMinter(), "caller is not Minter"); _; } /** * @dev throws if called by any account other than Asset Protector */ modifier onlyAssetProtector() { require(isAssetProtector(), "caller is not Asset Protector"); _; } /** * @dev Throws if argument account is blacklisted * @param _account The address to check */ modifier notFrozen(address _account) { require(!frozenList[_account], "account is frozen"); _; } /** * @dev Checks if account is frozen * @param _account The address to check */ function isFrozen(address _account) external view returns (bool) { return frozenList[_account]; } ////////////////////////////////////////////////////////////////////////////$ /** * @dev Sets a new Minter role id. * @param _newMinterRoleId The new role id that is allowed to burn/mint * tokens to control supply. */ function setMinterRole(uint8 _newMinterRoleId) external onlyAdmin { require(_newMinterRoleId != minterRoleId, "Same minter role id!"); emit MinterRoleSet(minterRoleId, _newMinterRoleId); minterRoleId = _newMinterRoleId; } /** * @dev Sets a new asset protection role id. * @param _newAssetProtectionRoleId The new role id that is allowed to * freeze/unfreeze addresses and seize their tokens. */ function setAssetProtectionRole(uint8 _newAssetProtectionRoleId) external onlyAdmin { require(assetProtectionRoleId != _newAssetProtectionRoleId, "Same Asset Protect Id!"); emit AssetProtectionRoleSet(assetProtectionRoleId, _newAssetProtectionRoleId); assetProtectionRoleId = _newAssetProtectionRoleId; } /** * @dev Sets a new transfers control provider contract address. * @param _newProvider The address of the new transfers control contract. */ function changeTransferProvider(address _newProvider) external onlyAdmin { require(address(transferProvider) != _newProvider, "Same provider!"); require(_newProvider != address(0), "Provider=0!"); emit TransferProviderChanged(address(transferProvider), _newProvider); transferProvider = ITransferProvider(_newProvider); } /** * @dev Returns true if the caller has the admin role */ function isAdmin() public view returns (bool) { return rbacManager.hasRole(msg.sender, 0); } /** * @dev Returns true if the caller is the admin role */ function isMinter() public view returns (bool) { return rbacManager.hasRole(msg.sender, minterRoleId); } /** * @dev Returns true if the caller has the Asset Protector role */ function isAssetProtector() public view returns (bool) { return rbacManager.hasRole(msg.sender, assetProtectionRoleId); } /** * @dev Initialization function * @param _tokenName Token name * @param _tokenSymbol Token symbol * @param _tokenCurrency Backed fiat currency * @param _assetProtectionRoleId Asset protector role number * @param _minterRoleId minter role number * @param _newOwner the owner of the smart contract * @param _rbac the RBAC manger address * @param _initTransferProvider Transfere provider address * @param _minterAllowance Owner minting allowance */ function initialize( string memory _tokenName, string memory _tokenSymbol, string memory _tokenCurrency, uint8 _assetProtectionRoleId, uint8 _minterRoleId, address _newOwner, address _rbac, address _initTransferProvider, uint256 _minterAllowance ) public initializer { require(_initTransferProvider != address(0), "Init=0!"); require(_newOwner != address(0), "newOwner=0!"); require(_rbac != address(0), "rbacManager=0!"); currency = _tokenCurrency; __ERC20_init(_tokenName, _tokenSymbol); __Ownable_init(); __ERC20Pausable_init(); __ERC20Permit_init(_tokenName); rbacManager = IRBAC(_rbac); assetProtectionRoleId = _assetProtectionRoleId; minterRoleId = _minterRoleId; transferProvider = ITransferProvider(_initTransferProvider); minterAllowed[_msgSender()] = _minterAllowance; transferOwnership(_newOwner); } /** * @dev A hook to be called before transfer/mint/burn tokens function call. * @param from Payer's address * @param to Payee's address * @param amount Transfer amount */ function _beforeTokenTransfer( address from, address to, uint256 amount) internal override(ERC20Upgradeable, ERC20PausableUpgradeable) { require(transferProvider.approveTransfer(from, to, amount, msg.sender), "Declined by TP!"); super._beforeTokenTransfer(from, to, amount); } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. Must be less than or equal * to the minterAllowance of the caller. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) external whenNotPaused onlyMinters notFrozen(msg.sender) notFrozen(_to) returns (bool) { require(_to != address(0), "mint to=0!"); require(_amount > 0, "mint amount<0!"); uint256 mintingAllowedAmount = minterAllowed[msg.sender]; require( _amount <= mintingAllowedAmount, "mint_amount>minterAllowance!" ); minterAllowed[msg.sender] = mintingAllowedAmount.sub(_amount); _mint(_to, _amount); emit Mint(msg.sender, _to, _amount); return true; } /** * @dev Get minter allowance for an account * @param minter The address of the minter */ function minterAllowance(address minter) external view returns (uint256) { return minterAllowed[minter]; } /** * @notice Transfer tokens by spending allowance * @param from Payer's address * @param to Payee's address * @param value Transfer amount * @return True if successful */ function transferFrom( address from, address to, uint256 value) public override whenNotPaused notFrozen(msg.sender) notFrozen(from) notFrozen(to) returns (bool) { return super.transferFrom(from, to, value); } /** * @notice Transfer the tokens to a specified address from msg.sender * @param to The address to transfer to * @param value The amount to be transferred. * @return True if successful */ function transfer(address to, uint256 value) public override whenNotPaused notFrozen(msg.sender) notFrozen(to) returns (bool) { return super.transfer(to, value); } /** * @dev Function to add/update a new minter * @param minterAddress The address of the minter * @param minterAllowedAmount The minting amount allowed for the minter * @return True if the operation was successful. */ function configureMinter(address minterAddress, uint256 minterAllowedAmount) external whenNotPaused onlyAdmin returns (bool) { minterAllowed[minterAddress] = minterAllowedAmount; emit MinterConfigured(minterAddress, minterAllowedAmount); return true; } /** * @dev Function to remove a minter * @param minterAddress The address of the minter to remove * @return True if the operation was successful. */ function removeMinter(address minterAddress) external onlyAdmin returns (bool) { minterAllowed[minterAddress] = 0; emit MinterRemoved(minterAddress); return true; } /** * @dev allows a minter to burn some of its own tokens * Validates that caller is a minter and that sender is not frozen * amount is less than or equal to the minter's account balance * @param _amount uint256 the amount of tokens to be burned */ function burn(address _from, uint256 _amount) external whenNotPaused onlyMinters notFrozen(msg.sender) notFrozen(_from) { require(_from != address(0), "burn from=0!"); _burn(_from, _amount); emit Burn(_from, _amount); } /** * @notice Increase the allowance by a given increment * @param spender Spender's address * @param increment Amount of increase in allowance * @return True if successful */ function increaseAllowance(address spender, uint256 increment) public override whenNotPaused notFrozen(msg.sender) notFrozen(spender) returns (bool) { return super.increaseAllowance(spender, increment); } /** * @notice Decrease the allowance by a given decrement * @param spender Spender's address * @param decrement Amount of decrease in allowance */ function decreaseAllowance(address spender, uint256 decrement) public override whenNotPaused notFrozen(msg.sender) notFrozen(spender) returns (bool) { return super.decreaseAllowance(spender, decrement); } /** * @dev Freezes address balance from being transferred. * @param _addr The new address to freeze. */ function freeze(address _addr) external onlyAssetProtector { require(!frozenList[_addr], "Frozen"); frozenList[_addr] = true; emit AddressFrozen(_addr); } /** * @dev Unfreezes address balance allowing transfers. * @param _addr The new address to unfreeze. */ function unFreeze(address _addr) external onlyAssetProtector { require(frozenList[_addr], "Unfrozen"); frozenList[_addr] = false; emit AddressUnfrozen(_addr); } /** * @dev Reclaim the FRTs from a specific frozen user address and send them to the wallet of the sender (asset protection address). * @param _addr The frozen address to reclaim the tokens from. */ function reclaimTokensFromFrozenAddress(address _addr) external onlyAssetProtector { require(frozenList[_addr], "!Frozen"); super.transferFrom(_addr, _msgSender(), balanceOf(_addr)); } /** * @dev Pauses all transfer operations on token */ function pause() external onlyAssetProtector { _pause(); } /** * @dev Unpauses all transfer operations on token */ function unpause() external onlyAssetProtector { _unpause(); } /** * @dev Approve the address _spender to spend the specified amount of tokens on behalf of msg.sender. * @param _spender The address that will be allowed to spend the tokens. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public whenNotPaused override returns (bool) { require(!frozenList[_spender] && !frozenList[_msgSender()], "Frozen"); return super.approve(_spender, _value); } /** * @dev Update the currency * @param _newCurrencyName the new of new currency */ function updateCurrencyName (string memory _newCurrencyName) public onlyAdmin { currency = _newCurrencyName; } }
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
function __Ownable_init() internal onlyInitializing {
__Ownable_init_unchained();
}
function __Ownable_init_unchained() internal onlyInitializing {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)
pragma solidity ^0.8.0;
interface IERC5267Upgradeable {
/**
* @dev MAY be emitted to signal that the domain could have changed.
*/
event EIP712DomainChanged();
/**
* @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
* signature.
*/
function eip712Domain()
external
view
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
import "../../utils/AddressUpgradeable.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```solidity
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
*
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
* @custom:oz-retyped-from bool
*/
uint8 private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint8 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts.
*
* Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
* constructor.
*
* Emits an {Initialized} event.
*/
modifier initializer() {
bool isTopLevelCall = !_initializing;
require(
(isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
"Initializable: contract is already initialized"
);
_initialized = 1;
if (isTopLevelCall) {
_initializing = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* A reinitializer may be used after the original initialization step. This is essential to configure modules that
* are added through upgrades and that require initialization.
*
* When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
* cannot be nested. If one is invoked in the context of another, execution will revert.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*
* WARNING: setting the version to 255 will prevent any future reinitialization.
*
* Emits an {Initialized} event.
*/
modifier reinitializer(uint8 version) {
require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
_initialized = version;
_initializing = true;
_;
_initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
require(_initializing, "Initializable: contract is not initializing");
_;
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*
* Emits an {Initialized} event the first time it is successfully executed.
*/
function _disableInitializers() internal virtual {
require(!_initializing, "Initializable: contract is initializing");
if (_initialized != type(uint8).max) {
_initialized = type(uint8).max;
emit Initialized(type(uint8).max);
}
}
/**
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint8) {
return _initialized;
}
/**
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _initializing;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import {Initializable} from "../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 onlyInitializing {
__Pausable_init_unchained();
}
function __Pausable_init_unchained() internal onlyInitializing {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import {Initializable} from "../../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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* 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}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {
__ERC20_init_unchained(name_, symbol_);
}
function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[45] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Pausable.sol)
pragma solidity ^0.8.0;
import "../ERC20Upgradeable.sol";
import "../../../security/PausableUpgradeable.sol";
import {Initializable} from "../../../proxy/utils/Initializable.sol";
/**
* @dev ERC20 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*
* IMPORTANT: This contract does not include public pause and unpause functions. In
* addition to inheriting this contract, you must define both functions, invoking the
* {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
* access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
* make the contract unpausable.
*/
abstract contract ERC20PausableUpgradeable is Initializable, ERC20Upgradeable, PausableUpgradeable {
function __ERC20Pausable_init() internal onlyInitializing {
__Pausable_init_unchained();
}
function __ERC20Pausable_init_unchained() internal onlyInitializing {
}
/**
* @dev See {ERC20-_beforeTokenTransfer}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
require(!paused(), "ERC20Pausable: token transfer while paused");
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/ERC20Permit.sol)
pragma solidity ^0.8.0;
import "./IERC20PermitUpgradeable.sol";
import "../ERC20Upgradeable.sol";
import "../../../utils/cryptography/ECDSAUpgradeable.sol";
import "../../../utils/cryptography/EIP712Upgradeable.sol";
import "../../../utils/CountersUpgradeable.sol";
import {Initializable} from "../../../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._
*
* @custom:storage-size 51
*/
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 constant _PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
* However, to ensure consistency with the upgradeable transpiler, we will continue
* to reserve a slot.
* @custom:oz-renamed-from _PERMIT_TYPEHASH
*/
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;
/**
* @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 onlyInitializing {
__EIP712_init_unchained(name, "1");
}
function __ERC20Permit_init_unchained(string memory) internal onlyInitializing {}
/**
* @inheritdoc IERC20PermitUpgradeable
*/
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);
}
/**
* @inheritdoc IERC20PermitUpgradeable
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @inheritdoc IERC20PermitUpgradeable
*/
// 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();
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
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
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)
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.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
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].
*
* CAUTION: See Security Considerations above.
*/
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 // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; // EIP-2612 is Final as of 2022-11-01. This file is deprecated. import "./ERC20PermitUpgradeable.sol";
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
pragma solidity ^0.8.0;
import {Initializable} from "../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 onlyInitializing {
}
function __Context_init_unchained() internal onlyInitializing {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/MathUpgradeable.sol";
import "./math/SignedMathUpgradeable.sol";
/**
* @dev String operations.
*/
library StringsUpgradeable {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = MathUpgradeable.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toString(int256 value) internal pure returns (string memory) {
return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMathUpgradeable.abs(value))));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, MathUpgradeable.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return keccak256(bytes(a)) == keccak256(bytes(b));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../StringsUpgradeable.sol";
/**
* @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 // Deprecated in v4.8
}
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");
}
}
/**
* @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) {
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.
/// @solidity memory-safe-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 {
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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 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 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 message) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, "\x19Ethereum Signed Message:\n32")
mstore(0x1c, hash)
message := keccak256(0x00, 0x3c)
}
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", StringsUpgradeable.toString(s.length), s));
}
/**
* @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 data) {
/// @solidity memory-safe-assembly
assembly {
let ptr := mload(0x40)
mstore(ptr, "\x19\x01")
mstore(add(ptr, 0x02), domainSeparator)
mstore(add(ptr, 0x22), structHash)
data := keccak256(ptr, 0x42)
}
}
/**
* @dev Returns an Ethereum Signed Data with intended validator, created from a
* `validator` and `data` according to the version 0 of EIP-191.
*
* See {recover}.
*/
function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x00", validator, data));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)
pragma solidity ^0.8.8;
import "./ECDSAUpgradeable.sol";
import "../../interfaces/IERC5267Upgradeable.sol";
import {Initializable} from "../../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].
*
* NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
* separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
* separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
*
* _Available since v3.4._
*
* @custom:storage-size 52
*/
abstract contract EIP712Upgradeable is Initializable, IERC5267Upgradeable {
bytes32 private constant _TYPE_HASH =
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
/// @custom:oz-renamed-from _HASHED_NAME
bytes32 private _hashedName;
/// @custom:oz-renamed-from _HASHED_VERSION
bytes32 private _hashedVersion;
string private _name;
string private _version;
/**
* @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 onlyInitializing {
__EIP712_init_unchained(name, version);
}
function __EIP712_init_unchained(string memory name, string memory version) internal onlyInitializing {
_name = name;
_version = version;
// Reset prior values in storage if upgrading
_hashedName = 0;
_hashedVersion = 0;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
return _buildDomainSeparator();
}
function _buildDomainSeparator() private view returns (bytes32) {
return keccak256(abi.encode(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash(), 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 See {EIP-5267}.
*
* _Available since v4.9._
*/
function eip712Domain()
public
view
virtual
override
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
)
{
// If the hashed name and version in storage are non-zero, the contract hasn't been properly initialized
// and the EIP712 domain is not reliable, as it will be missing name and version.
require(_hashedName == 0 && _hashedVersion == 0, "EIP712: Uninitialized");
return (
hex"0f", // 01111
_EIP712Name(),
_EIP712Version(),
block.chainid,
address(this),
bytes32(0),
new uint256[](0)
);
}
/**
* @dev 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 _EIP712Name() internal virtual view returns (string memory) {
return _name;
}
/**
* @dev 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 _EIP712Version() internal virtual view returns (string memory) {
return _version;
}
/**
* @dev The hash of the name parameter for the EIP712 domain.
*
* NOTE: In previous versions this function was virtual. In this version you should override `_EIP712Name` instead.
*/
function _EIP712NameHash() internal view returns (bytes32) {
string memory name = _EIP712Name();
if (bytes(name).length > 0) {
return keccak256(bytes(name));
} else {
// If the name is empty, the contract may have been upgraded without initializing the new storage.
// We return the name hash in storage if non-zero, otherwise we assume the name is empty by design.
bytes32 hashedName = _hashedName;
if (hashedName != 0) {
return hashedName;
} else {
return keccak256("");
}
}
}
/**
* @dev The hash of the version parameter for the EIP712 domain.
*
* NOTE: In previous versions this function was virtual. In this version you should override `_EIP712Version` instead.
*/
function _EIP712VersionHash() internal view returns (bytes32) {
string memory version = _EIP712Version();
if (bytes(version).length > 0) {
return keccak256(bytes(version));
} else {
// If the version is empty, the contract may have been upgraded without initializing the new storage.
// We return the version hash in storage if non-zero, otherwise we assume the version is empty by design.
bytes32 hashedVersion = _hashedVersion;
if (hashedVersion != 0) {
return hashedVersion;
} else {
return keccak256("");
}
}
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[48] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library MathUpgradeable {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1, "Math: mulDiv overflow");
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMathUpgradeable {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ITransferProvider {
event TransferApproved(address indexed from, address indexed to, uint256 value);
event TransferDeclined(address indexed from, address indexed to, uint256 value);
/* function approve transfer upon its own rules and return true or false */
function approveTransfer(address from, address to, uint256 value, address spender) external returns(bool);
/* function to inform provider about transfer on admin behalf to take it into providers account */
function considerTransfer(address from, address to, uint256 value) external returns(bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IRBAC {
event RoleCreated(uint256 role);
event BearerAdded(address indexed account, uint256 role);
event BearerRemoved(address indexed account, uint256 role);
function addRootRole(string calldata roleDescription) external returns(uint256);
function removeBearer(address account, uint256 role) external;
function addRole(string calldata roleDescription, uint256 admin) external returns(uint256);
function totalRoles() external view returns(uint256);
function hasRole(address account, uint256 role) external view returns(bool);
function addBearer(address account, uint256 role) external;
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"}],"name":"AddressFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"}],"name":"AddressUnfrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"oldAssetProtectionRole","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"newAssetProtectionRole","type":"uint8"}],"name":"AssetProtectionRoleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"minterAllowedAmount","type":"uint256"}],"name":"MinterConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldMinter","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"oldMinterRoleId","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"newMinterRoleId","type":"uint8"}],"name":"MinterRoleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":true,"internalType":"address","name":"oldProvider","type":"address"},{"indexed":true,"internalType":"address","name":"newProvider","type":"address"}],"name":"TransferProviderChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","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":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"assetProtectionRoleId","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProvider","type":"address"}],"name":"changeTransferProvider","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"uint256","name":"minterAllowedAmount","type":"uint256"}],"name":"configureMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"decrement","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"increment","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_tokenCurrency","type":"string"},{"internalType":"uint8","name":"_assetProtectionRoleId","type":"uint8"},{"internalType":"uint8","name":"_minterRoleId","type":"uint8"},{"internalType":"address","name":"_newOwner","type":"address"},{"internalType":"address","name":"_rbac","type":"address"},{"internalType":"address","name":"_initTransferProvider","type":"address"},{"internalType":"uint256","name":"_minterAllowance","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAssetProtector","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"minterAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterRoleId","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_addr","type":"address"}],"name":"reclaimTokensFromFrozenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minterAddress","type":"address"}],"name":"removeMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newAssetProtectionRoleId","type":"uint8"}],"name":"setAssetProtectionRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newMinterRoleId","type":"uint8"}],"name":"setMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unFreeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newCurrencyName","type":"string"}],"name":"updateCurrencyName","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60808060405234610016576131de908161001c8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146123c557508063095ea7b31461235557806318160ddd1461233757806323b872dd146122a65780633092afd51461223857806330b19a4d146120de578063313ce567146120c25780633644e5151461209f578063395093511461200e57806339547e7514611ff35780633f4ba83a14611f5c57806340c10f1914611c6e5780634e44d95614611bee57806350e59eb314611bd35780635c975abb14611bb05780636145302d14611b8b57806370a0823114611b51578063715018a614611af4578063776bbac314611a3b5780637ecebe0014611a0057806383cfab421461194d5780638456cb59146118f057806384b0196e146117d357806384bba475146117ae5780638a6db9c3146117735780638d1fdf2f146116ec5780638da5cb5b146116c357806395d89b41146116075780639dc29fac14611362578063a457c2d71461126e578063a9059cbb146111f7578063b5af0d7a14611111578063b6db75a0146110ec578063c746645c1461102c578063ce97637a1461062e578063d505accf14610478578063dd62ed3e14610427578063ded81f0414610390578063e583983614610350578063e5a6b10f146102765763f2fde38b146101e257600080fd5b34610271576020366003190112610271576101fb612496565b6102036126d8565b6001600160a01b0381161561021d5761021b90612730565b005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b34610271576000366003190112610271576040516000610162805461029a81612559565b8085529160019180831690811561032657506001146102dc575b6102d8856102c4818703826124c2565b604051918291602083526020830190612456565b0390f35b600090815292506000805160206131898339815191525b82841061030e5750505081016020016102c4826102d86102b4565b805460208587018101919091529093019281016102f3565b8695506102d8969350602092506102c494915060ff191682840152151560051b82010192936102b4565b34610271576020366003190112610271576001600160a01b03610371612496565b16600052610165602052602060ff604060002054166040519015158152f35b34610271576020366003190112610271576103a9612496565b6103b96103b4612c11565b6130a7565b6001600160a01b0381166000818152610165602052604090205490919060ff16156103f85761021b916000526065602052604060002054903390612d90565b60405162461bcd60e51b815260206004820152600760248201526610a33937bd32b760c91b6044820152606490fd5b3461027157604036600319011261027157610440612496565b6104486124ac565b9060018060a01b038091166000526066602052604060002091166000526020526020604060002054604051908152f35b346102715760e036600319011261027157610491612496565b6104996124ac565b604435906064356104a8612549565b908042116105e95760018060a01b0390818616928360005261012f6020526040600020908154916001830190556040519260208401927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98452866040860152858816606086015288608086015260a085015260c084015260c0835260e08301918383106001600160401b038411176105d35761057f9361057793604052519020610550612a24565b906040519161190160f01b83526002830152602282015260c43591604260a4359220612995565b91909161287b565b160361058e5761021b92612779565b60405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606490fd5b634e487b7160e01b600052604160045260246000fd5b60405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606490fd5b3461027157610120366003190112610271576004356001600160401b0381116102715761065f9036906004016124e3565b6024356001600160401b0381116102715761067e9036906004016124e3565b6044356001600160401b0381116102715761069d9036906004016124e3565b9160ff6064351660643503610271576106b4612549565b6001600160a01b039160a43580841690036102715760c4359083821682036102715760e435948486168603610271576000549660ff8860081c16159788809961101f575b8015611008575b15610fac5760ff19811660011760005588610f9a575b5085871615610f6b578560a4351615610f385785841615610f02578051906001600160401b0382116105d357819061074f61016254612559565b601f8111610e8d575b50602090601f8311600114610e1357600092610e08575b50508160011b916000199060031b1c191617610162555b6107a060ff60005460081c1661079b81612c46565b612c46565b81516001600160401b0381116105d3576107bb606854612559565b601f8111610d9f575b50806020601f8211600114610d2c57600091610d21575b508160011b916000199060031b1c1916176068555b8051906001600160401b0382116105d357819061080e606954612559565b601f8111610cad575b50602090601f8311600114610c3557600092610c2a575b50508160011b916000199060031b1c1916176069555b61085960ff60005460081c1661079b81612c46565b61086233612730565b60ff60005460081c169061087582612c46565b61087e82612c46565b60ff196097541660975561089182612c46565b604051918260408101106001600160401b036040850111176105d3576108cb906040840160405260018452603160f81b6020850152612c46565b8051906001600160401b0382116105d35781906108e960fd54612559565b601f8111610bb6575b50602090601f8311600114610b3e57600092610b33575b50508160011b916000199060031b1c19161760fd555b8051906001600160401b0382116105d357819061093d60fe54612559565b601f8111610ac3575b50602090601f8311600114610a3d57600092610a32575b50508160011b916000199060031b1c19161760fe555b600060fb55600060fc55610164918383549160ff60a81b9060a81b1692169069ffffffffffffffffffff60b01b161760ff60a01b60643560a01b161717905561016391166bffffffffffffffffffffffff60a01b82541617905533600052610166602052610104356040600020556109e96126d8565b6109f460a435612730565b6109fa57005b61ff0019600054166000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a1005b01519050878061095d565b60fe60009081527f54075df80ec1ae6ac9100e1fd0ebf3246c17f5c933137af392011f4c5f61513a9350601f198516905b818110610aab5750908460019594939210610a92575b505050811b0160fe55610973565b015160001960f88460031b161c19169055878080610a84565b92936020600181928786015181550195019301610a6e565b90915060fe6000527f54075df80ec1ae6ac9100e1fd0ebf3246c17f5c933137af392011f4c5f61513a601f840160051c81019160208510610b29575b90601f859493920160051c01905b818110610b1a5750610946565b60008155849350600101610b0d565b9091508190610aff565b015190508880610909565b925060fd600052600080516020613149833981519152906000935b601f1984168510610b9b576001945083601f19811610610b82575b505050811b0160fd5561091f565b015160001960f88460031b161c19169055888080610b74565b81810151835560209485019460019093019290910190610b59565b90915060fd600052601f830160051c6000805160206131498339815191520160208410610c15575b908392915b601f820160051c600080516020613149833981519152018110610c0657506108f2565b60008155849350600101610be3565b50600080516020613149833981519152610bde565b01519050888061082e565b92506069600052600080516020613129833981519152906000935b601f1984168510610c92576001945083601f19811610610c79575b505050811b01606955610844565b015160001960f88460031b161c19169055888080610c6b565b81810151835560209485019460019093019290910190610c50565b9091506069600052601f830160051c6000805160206131298339815191520160208410610d0c575b908392915b601f820160051c600080516020613129833981519152018110610cfd5750610817565b60008155849350600101610cda565b50600080516020613129833981519152610cd5565b9050830151896107db565b915060686000526000805160206131698339815191526000925b601f1983168410610d87576001935082601f19811610610d6e575b5050811b016068556107f0565b85015160001960f88460031b161c191690558980610d61565b85810151825560209384019360019092019101610d46565b6068600052601f820160051c6000805160206131698339815191520160208310610df3575b601f820160051c600080516020613169833981519152018110610de757506107c4565b60008155600101610dc4565b50600080516020613169833981519152610dc4565b01519050898061076f565b9250610162600052600080516020613189833981519152906000935b601f1984168510610e72576001945083601f19811610610e59575b505050811b0161016255610786565b015160001960f88460031b161c19169055898080610e4a565b81810151835560209485019460019093019290910190610e2f565b909150610162600052601f830160051c6000805160206131898339815191520160208410610eed575b908392915b601f820160051c600080516020613189833981519152018110610ede5750610758565b60008155849350600101610ebb565b50600080516020613189833981519152610eb6565b60405162461bcd60e51b815260206004820152600e60248201526d726261634d616e616765723d302160901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600b60248201526a6e65774f776e65723d302160a81b6044820152606490fd5b60405162461bcd60e51b8152602060048201526007602482015266496e69743d302160c81b6044820152606490fd5b61ffff19166101011760005588610715565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156106ff5750600160ff8216146106ff565b50600160ff8216106106f8565b3461027157602036600319011261027157611045612539565b611055611050612b60565b612b0a565b6101649081549060ff8260a01c1660ff8216908181146110ae577fa85b58a559e8225961a31f8e6fe0d3a186c02e0de5686bb16eaba4f82c77afc7600080a360ff60a01b1990911660a09190911b60ff60a01b16179055005b60405162461bcd60e51b815260206004820152601660248201527553616d652041737365742050726f746563742049642160501b6044820152606490fd5b34610271576000366003190112610271576020611107612b60565b6040519015158152f35b346102715760203660031901126102715761112a612496565b611135611050612b60565b610163805490916001600160a01b03908116919081168281146111c157821561118e5782907fb39f188b693b7c8f56d8cc9c1975403ed4705a4f09fc9ed99477698f0f713a05600080a36001600160a01b031916179055005b60405162461bcd60e51b815260206004820152600b60248201526a50726f76696465723d302160a81b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d53616d652070726f76696465722160901b6044820152606490fd5b3461027157604036600319011261027157611263611213612496565b61121b612d29565b336000526101658060205261123860ff6040600020541615612ce9565b60018060a01b03821660005260205261125960ff6040600020541615612ce9565b6024359033612e30565b602060405160018152f35b3461027157604036600319011261027157611287612496565b60243590611293612d29565b33600052610165906020918083526112b360ff6040600020541615612ce9565b6001600160a01b03821660008181529184526040909120546112d89060ff1615612ce9565b336000526066835260406000209060005282526040600020549280841061130f576113069293039033612779565b60405160018152f35b60405162461bcd60e51b815260048101849052602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346102715760403660031901126102715761137b612496565b602490813590611389612d29565b611399611394612bc1565b612ca6565b33600052610165916020918383526113b960ff6040600020541615612ce9565b6001600160a01b0390811660008181529484526040909420546113df9060ff1615612ce9565b83156115d45782600091610163541660846040518094819363afe9a9a560e01b8352896004840152818b8401528760448401523360648401525af19081156115c85760009161159b575b50156115655760ff6097541661150e5782600052606582526040600020548181106114bf5790807fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5939285600052606584520360406000205580606754036067556000847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051858152a3604051908152a2005b60405162461bcd60e51b8152600481018490526022818701527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b60405162461bcd60e51b815260048101839052602a818601527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608490fd5b60405162461bcd60e51b815260048101839052600f818601526e4465636c696e65642062792054502160881b6044820152606490fd5b6115bb9150833d85116115c1575b6115b381836124c2565b810190612b48565b85611429565b503d6115a9565b6040513d6000823e3d90fd5b60405162461bcd60e51b815260048101849052600c818701526b6275726e2066726f6d3d302160a01b6044820152606490fd5b3461027157600036600319011261027157604051600060695461162981612559565b8084529060019081811690811561169c5750600114611653575b6102d8846102c4818603826124c2565b6069600090815292506000805160206131298339815191525b8284106116845750505081016020016102c482611643565b8054602085870181019190915290930192810161166c565b60ff191660208087019190915292151560051b850190920192506102c49150839050611643565b34610271576000366003190112610271576033546040516001600160a01b039091168152602090f35b3461027157602036600319011261027157611705612496565b6117106103b4612c11565b60018060a01b0316806000526101658060205261173560ff60406000205416156130f3565b816000526020526040600020600160ff198254161790557f90811a8edd3b3c17eeaefffc17f639cc69145d41a359c9843994dc2538203690600080a2005b34610271576020366003190112610271576001600160a01b03611794612496565b166000526101666020526020604060002054604051908152f35b3461027157600036600319011261027157602060ff6101645460a81c16604051908152f35b346102715760003660031901126102715760fb5415806118e6575b156118a9576117fb612593565b61180361263f565b6040516020808201928284106001600160401b038511176105d357918161185c859461184e979660405260008452604051978897600f60f81b895260e0858a015260e0890190612456565b908782036040890152612456565b91466060870152306080870152600060a087015285830360c0870152519182815201929160005b82811061189257505050500390f35b835185528695509381019392810192600101611883565b60405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b6044820152606490fd5b5060fc54156117ee565b346102715760003660031901126102715761190c6103b4612c11565b611914612d29565b600160ff1960975416176097557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461027157602036600319011261027157611966612496565b6119716103b4612c11565b6001600160a01b03166000818152610165602081905260409091205460ff16156119d05781600052602052604060002060ff1981541690557fc3776b472ebf54114339eec9e4dc924e7ce307a97f5c1ee72b6d474e6e5e8b7c600080a2005b60405162461bcd60e51b81526020600482015260086024820152672ab7333937bd32b760c11b6044820152606490fd5b34610271576020366003190112610271576001600160a01b03611a21612496565b1660005261012f6020526020604060002054604051908152f35b3461027157602036600319011261027157611a54612539565b611a5f611050612b60565b6101649081549060ff8260a81c1660ff821690808214611ab8577f42dcf0e478501125311a035ce1f285846b24d04b18668022677c3f07059ce2d9600080a360ff60a81b1990911660a89190911b60ff60a81b16179055005b60405162461bcd60e51b815260206004820152601460248201527353616d65206d696e74657220726f6c652069642160601b6044820152606490fd5b3461027157600036600319011261027157611b0d6126d8565b603380546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610271576020366003190112610271576001600160a01b03611b72612496565b1660005260656020526020604060002054604051908152f35b3461027157600036600319011261027157602060ff6101645460a01c16604051908152f35b3461027157600036600319011261027157602060ff609754166040519015158152f35b34610271576000366003190112610271576020611107612bc1565b3461027157604036600319011261027157611c07612496565b7f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20602060243592611c36612d29565b611c41611050612b60565b6001600160a01b0316600081815261016683526040908190208590555193845292a2602060405160018152f35b3461027157604036600319011261027157611c87612496565b60248035611c93612d29565b611c9e611394612bc1565b3360005261016591602093838552611cbe60ff6040600020541615612ce9565b6001600160a01b039081166000818152948652604090942054611ce49060ff1615612ce9565b8315611f2b578215611ef6573360005261016680865260406000205490818511611eb257848203918211611e9d5791869160009333855283526040842055610163541660846040518094819363afe9a9a560e01b835281600484015289888401528860448401523360648401525af19081156115c857600091611e80575b5015611e4b5760ff60975416611df55750611d7f81606754612d6d565b606755816000526065835260406000208181540190558160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051858152a36040519081527fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8833392a360405160018152f35b83602a6084926040519262461bcd60e51b845260048401528201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152fd5b83600f6064926040519262461bcd60e51b845260048401528201526e4465636c696e65642062792054502160881b6044820152fd5b611e979150853d87116115c1576115b381836124c2565b85611d62565b83634e487b7160e01b60005260116004526000fd5b60405162461bcd60e51b815260048101889052601c818601527f6d696e745f616d6f756e743e6d696e746572416c6c6f77616e636521000000006044820152606490fd5b60405162461bcd60e51b815260048101869052600e818401526d6d696e7420616d6f756e743c302160901b6044820152606490fd5b60405162461bcd60e51b815260048101869052600a81840152696d696e7420746f3d302160b01b6044820152606490fd5b3461027157600036600319011261027157611f786103b4612c11565b60975460ff811615611fb75760ff19166097557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b60405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606490fd5b34610271576000366003190112610271576020611107612c11565b346102715760403660031901126102715761126361202a612496565b612032612d29565b336000526101658060205261204f60ff6040600020541615612ce9565b60018060a01b038216908160005260205261207260ff6040600020541615612ce9565b336000526066602052604060002090600052602052612098602435604060002054612d6d565b9033612779565b346102715760003660031901126102715760206120ba612a24565b604051908152f35b3461027157600036600319011261027157602060405160128152f35b3461027157602080600319360112610271576001600160401b0390600435828111610271576121119036906004016124e3565b9161211d611050612b60565b82519081116105d357610162916121348354612559565b601f81116121e7575b5080601f8311600114612179575081929360009261216e575b5050600019600383901b1c191660019190911b179055005b015190508380612156565b90601f1983169484600052600080516020613189833981519152926000905b8782106121cf5750508360019596106121b6575b505050811b019055005b015160001960f88460031b161c191690558380806121ac565b80600185968294968601518155019501930190612198565b83600052600080516020613189833981519152601f840160051c81019183851061222e575b601f0160051c01905b818110612222575061213d565b60008155600101612215565b909150819061220c565b34610271576020366003190112610271576020612253612496565b61225e611050612b60565b6001600160a01b03166000818152610166835260408082208290555191907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929080a260018152f35b346102715760603660031901126102715760206111076122c4612496565b6122cc6124ac565b6122d4612d29565b336000526101658085526122f060ff6040600020541615612ce9565b6001600160a01b03838116600090815282875260409020546123159060ff1615612ce9565b8216600052845261232e60ff6040600020541615612ce9565b60443591612d90565b34610271576000366003190112610271576020606754604051908152f35b3461027157604036600319011261027157611263612371612496565b612379612d29565b6001600160a01b0381166000908152610165602052604090205460ff1615806123b0575b6123a6906130f3565b6024359033612779565b50336000908152604090205460ff161561239d565b346102715760003660031901126102715760006068546123e481612559565b8084529060019081811690811561169c575060011461240d576102d8846102c4818603826124c2565b6068600090815292506000805160206131698339815191525b82841061243e5750505081016020016102c482611643565b80546020858701810191909152909301928101612426565b919082519283825260005b848110612482575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201612461565b600435906001600160a01b038216820361027157565b602435906001600160a01b038216820361027157565b90601f801991011681019081106001600160401b038211176105d357604052565b81601f82011215610271578035906001600160401b0382116105d35760405192612517601f8401601f1916602001856124c2565b8284526020838301011161027157816000926020809301838601378301015290565b6004359060ff8216820361027157565b6084359060ff8216820361027157565b90600182811c92168015612589575b602083101461257357565b634e487b7160e01b600052602260045260246000fd5b91607f1691612568565b6040519060008260fd54916125a783612559565b8083529260019081811690811561261d57506001146125d0575b506125ce925003836124c2565b565b60fd600090815291506000805160206131498339815191525b84831061260257506125ce9350508101602001386125c1565b81935090816020925483858a010152019101909185926125e9565b9050602092506125ce94915060ff191682840152151560051b820101386125c1565b6040519060008260fe549161265383612559565b8083529260019081811690811561261d575060011461267957506125ce925003836124c2565b60fe600090815291507f54075df80ec1ae6ac9100e1fd0ebf3246c17f5c933137af392011f4c5f61513a5b8483106126bd57506125ce9350508101602001386125c1565b81935090816020925483858a010152019101909185926126a4565b6033546001600160a01b031633036126ec57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b603380546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6001600160a01b0390811691821561282a57169182156127da5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260668252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b600581101561297f578061288c5750565b600181036128d95760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b600281036129265760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b60031461292f57565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b634e487b7160e01b600052602160045260246000fd5b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311612a185791608094939160ff602094604051948552168484015260408301526060820152600093849182805260015afa15612a0b5781516001600160a01b03811615612a05579190565b50600190565b50604051903d90823e3d90fd5b50505050600090600390565b612a2c612a99565b612a34612ae4565b6040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815260c081018181106001600160401b038211176105d35760405251902090565b612aa1612593565b8051908115612ab1576020012090565b505060fb548015612abf5790565b507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47090565b612aec61263f565b8051908115612afc576020012090565b505060fc548015612abf5790565b15612b1157565b60405162461bcd60e51b815260206004820152600f60248201526e4f6e6c792041646d696e20726f6c6560881b6044820152606490fd5b90816020910312610271575180151581036102715790565b61016454604051632e4bfa5160e11b81523360048201526000602482015290602090829060449082906001600160a01b03165afa9081156115c857600091612ba6575090565b612bbe915060203d81116115c1576115b381836124c2565b90565b61016454604051632e4bfa5160e11b815233600482015260a882901c60ff1660248201529060209082908180604481015b03916001600160a01b03165afa9081156115c857600091612ba6575090565b61016454604051632e4bfa5160e11b815233600482015260a082901c60ff166024820152906020908290818060448101612bf2565b15612c4d57565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b15612cad57565b60405162461bcd60e51b815260206004820152601460248201527331b0b63632b91034b9903737ba1026b4b73a32b960611b6044820152606490fd5b15612cf057565b60405162461bcd60e51b815260206004820152601160248201527030b1b1b7bab73a1034b990333937bd32b760791b6044820152606490fd5b60ff60975416612d3557565b60405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606490fd5b91908201809211612d7a57565b634e487b7160e01b600052601160045260246000fd5b919060018060a01b0383166000526066602052604060002033600052602052604060002054926000198403612dcf575b612dca9350612e30565b600190565b828410612deb57612de683612dca95033383612779565b612dc0565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b6001600160a01b039290831691821561305457831692831561300357610163541690604080519263afe9a9a560e01b84528460048501528560248501528260448501523360648501526020938481608481600080965af1908115612ff9578291612fdc575b5015612fa65760ff60975416612f4f578481526065845281812054838110612efc579181847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef969594888495526065875203828220558781522082815401905551908152a3565b825162461bcd60e51b815260048101869052602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b815162461bcd60e51b815260048101859052602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608490fd5b815162461bcd60e51b815260048101859052600f60248201526e4465636c696e65642062792054502160881b6044820152606490fd5b612ff39150853d87116115c1576115b381836124c2565b38612e95565b83513d84823e3d90fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b156130ae57565b60405162461bcd60e51b815260206004820152601d60248201527f63616c6c6572206973206e6f742041737365742050726f746563746f720000006044820152606490fd5b156130fa57565b60405162461bcd60e51b8152602060048201526006602482015265233937bd32b760d11b6044820152606490fdfe7fb4302e8e91f9110a6554c2c0a24601252c2a42c2220ca988efcfe3999143089346ac6dd7de6b96975fec380d4d994c4c12e6a8897544f22915316cc6cca280a2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c2209775329af0939a5988989bfee913a9ad10b9335cb63ebc9fd2b69e5f877d0455ac919a2646970667358221220fe45937762a36a1f8c2f4ac14e2fdefcd3739bddbb642b054aceb8a5f046771164736f6c63430008140033
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146123c557508063095ea7b31461235557806318160ddd1461233757806323b872dd146122a65780633092afd51461223857806330b19a4d146120de578063313ce567146120c25780633644e5151461209f578063395093511461200e57806339547e7514611ff35780633f4ba83a14611f5c57806340c10f1914611c6e5780634e44d95614611bee57806350e59eb314611bd35780635c975abb14611bb05780636145302d14611b8b57806370a0823114611b51578063715018a614611af4578063776bbac314611a3b5780637ecebe0014611a0057806383cfab421461194d5780638456cb59146118f057806384b0196e146117d357806384bba475146117ae5780638a6db9c3146117735780638d1fdf2f146116ec5780638da5cb5b146116c357806395d89b41146116075780639dc29fac14611362578063a457c2d71461126e578063a9059cbb146111f7578063b5af0d7a14611111578063b6db75a0146110ec578063c746645c1461102c578063ce97637a1461062e578063d505accf14610478578063dd62ed3e14610427578063ded81f0414610390578063e583983614610350578063e5a6b10f146102765763f2fde38b146101e257600080fd5b34610271576020366003190112610271576101fb612496565b6102036126d8565b6001600160a01b0381161561021d5761021b90612730565b005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b34610271576000366003190112610271576040516000610162805461029a81612559565b8085529160019180831690811561032657506001146102dc575b6102d8856102c4818703826124c2565b604051918291602083526020830190612456565b0390f35b600090815292506000805160206131898339815191525b82841061030e5750505081016020016102c4826102d86102b4565b805460208587018101919091529093019281016102f3565b8695506102d8969350602092506102c494915060ff191682840152151560051b82010192936102b4565b34610271576020366003190112610271576001600160a01b03610371612496565b16600052610165602052602060ff604060002054166040519015158152f35b34610271576020366003190112610271576103a9612496565b6103b96103b4612c11565b6130a7565b6001600160a01b0381166000818152610165602052604090205490919060ff16156103f85761021b916000526065602052604060002054903390612d90565b60405162461bcd60e51b815260206004820152600760248201526610a33937bd32b760c91b6044820152606490fd5b3461027157604036600319011261027157610440612496565b6104486124ac565b9060018060a01b038091166000526066602052604060002091166000526020526020604060002054604051908152f35b346102715760e036600319011261027157610491612496565b6104996124ac565b604435906064356104a8612549565b908042116105e95760018060a01b0390818616928360005261012f6020526040600020908154916001830190556040519260208401927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98452866040860152858816606086015288608086015260a085015260c084015260c0835260e08301918383106001600160401b038411176105d35761057f9361057793604052519020610550612a24565b906040519161190160f01b83526002830152602282015260c43591604260a4359220612995565b91909161287b565b160361058e5761021b92612779565b60405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606490fd5b634e487b7160e01b600052604160045260246000fd5b60405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606490fd5b3461027157610120366003190112610271576004356001600160401b0381116102715761065f9036906004016124e3565b6024356001600160401b0381116102715761067e9036906004016124e3565b6044356001600160401b0381116102715761069d9036906004016124e3565b9160ff6064351660643503610271576106b4612549565b6001600160a01b039160a43580841690036102715760c4359083821682036102715760e435948486168603610271576000549660ff8860081c16159788809961101f575b8015611008575b15610fac5760ff19811660011760005588610f9a575b5085871615610f6b578560a4351615610f385785841615610f02578051906001600160401b0382116105d357819061074f61016254612559565b601f8111610e8d575b50602090601f8311600114610e1357600092610e08575b50508160011b916000199060031b1c191617610162555b6107a060ff60005460081c1661079b81612c46565b612c46565b81516001600160401b0381116105d3576107bb606854612559565b601f8111610d9f575b50806020601f8211600114610d2c57600091610d21575b508160011b916000199060031b1c1916176068555b8051906001600160401b0382116105d357819061080e606954612559565b601f8111610cad575b50602090601f8311600114610c3557600092610c2a575b50508160011b916000199060031b1c1916176069555b61085960ff60005460081c1661079b81612c46565b61086233612730565b60ff60005460081c169061087582612c46565b61087e82612c46565b60ff196097541660975561089182612c46565b604051918260408101106001600160401b036040850111176105d3576108cb906040840160405260018452603160f81b6020850152612c46565b8051906001600160401b0382116105d35781906108e960fd54612559565b601f8111610bb6575b50602090601f8311600114610b3e57600092610b33575b50508160011b916000199060031b1c19161760fd555b8051906001600160401b0382116105d357819061093d60fe54612559565b601f8111610ac3575b50602090601f8311600114610a3d57600092610a32575b50508160011b916000199060031b1c19161760fe555b600060fb55600060fc55610164918383549160ff60a81b9060a81b1692169069ffffffffffffffffffff60b01b161760ff60a01b60643560a01b161717905561016391166bffffffffffffffffffffffff60a01b82541617905533600052610166602052610104356040600020556109e96126d8565b6109f460a435612730565b6109fa57005b61ff0019600054166000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a1005b01519050878061095d565b60fe60009081527f54075df80ec1ae6ac9100e1fd0ebf3246c17f5c933137af392011f4c5f61513a9350601f198516905b818110610aab5750908460019594939210610a92575b505050811b0160fe55610973565b015160001960f88460031b161c19169055878080610a84565b92936020600181928786015181550195019301610a6e565b90915060fe6000527f54075df80ec1ae6ac9100e1fd0ebf3246c17f5c933137af392011f4c5f61513a601f840160051c81019160208510610b29575b90601f859493920160051c01905b818110610b1a5750610946565b60008155849350600101610b0d565b9091508190610aff565b015190508880610909565b925060fd600052600080516020613149833981519152906000935b601f1984168510610b9b576001945083601f19811610610b82575b505050811b0160fd5561091f565b015160001960f88460031b161c19169055888080610b74565b81810151835560209485019460019093019290910190610b59565b90915060fd600052601f830160051c6000805160206131498339815191520160208410610c15575b908392915b601f820160051c600080516020613149833981519152018110610c0657506108f2565b60008155849350600101610be3565b50600080516020613149833981519152610bde565b01519050888061082e565b92506069600052600080516020613129833981519152906000935b601f1984168510610c92576001945083601f19811610610c79575b505050811b01606955610844565b015160001960f88460031b161c19169055888080610c6b565b81810151835560209485019460019093019290910190610c50565b9091506069600052601f830160051c6000805160206131298339815191520160208410610d0c575b908392915b601f820160051c600080516020613129833981519152018110610cfd5750610817565b60008155849350600101610cda565b50600080516020613129833981519152610cd5565b9050830151896107db565b915060686000526000805160206131698339815191526000925b601f1983168410610d87576001935082601f19811610610d6e575b5050811b016068556107f0565b85015160001960f88460031b161c191690558980610d61565b85810151825560209384019360019092019101610d46565b6068600052601f820160051c6000805160206131698339815191520160208310610df3575b601f820160051c600080516020613169833981519152018110610de757506107c4565b60008155600101610dc4565b50600080516020613169833981519152610dc4565b01519050898061076f565b9250610162600052600080516020613189833981519152906000935b601f1984168510610e72576001945083601f19811610610e59575b505050811b0161016255610786565b015160001960f88460031b161c19169055898080610e4a565b81810151835560209485019460019093019290910190610e2f565b909150610162600052601f830160051c6000805160206131898339815191520160208410610eed575b908392915b601f820160051c600080516020613189833981519152018110610ede5750610758565b60008155849350600101610ebb565b50600080516020613189833981519152610eb6565b60405162461bcd60e51b815260206004820152600e60248201526d726261634d616e616765723d302160901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600b60248201526a6e65774f776e65723d302160a81b6044820152606490fd5b60405162461bcd60e51b8152602060048201526007602482015266496e69743d302160c81b6044820152606490fd5b61ffff19166101011760005588610715565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156106ff5750600160ff8216146106ff565b50600160ff8216106106f8565b3461027157602036600319011261027157611045612539565b611055611050612b60565b612b0a565b6101649081549060ff8260a01c1660ff8216908181146110ae577fa85b58a559e8225961a31f8e6fe0d3a186c02e0de5686bb16eaba4f82c77afc7600080a360ff60a01b1990911660a09190911b60ff60a01b16179055005b60405162461bcd60e51b815260206004820152601660248201527553616d652041737365742050726f746563742049642160501b6044820152606490fd5b34610271576000366003190112610271576020611107612b60565b6040519015158152f35b346102715760203660031901126102715761112a612496565b611135611050612b60565b610163805490916001600160a01b03908116919081168281146111c157821561118e5782907fb39f188b693b7c8f56d8cc9c1975403ed4705a4f09fc9ed99477698f0f713a05600080a36001600160a01b031916179055005b60405162461bcd60e51b815260206004820152600b60248201526a50726f76696465723d302160a81b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d53616d652070726f76696465722160901b6044820152606490fd5b3461027157604036600319011261027157611263611213612496565b61121b612d29565b336000526101658060205261123860ff6040600020541615612ce9565b60018060a01b03821660005260205261125960ff6040600020541615612ce9565b6024359033612e30565b602060405160018152f35b3461027157604036600319011261027157611287612496565b60243590611293612d29565b33600052610165906020918083526112b360ff6040600020541615612ce9565b6001600160a01b03821660008181529184526040909120546112d89060ff1615612ce9565b336000526066835260406000209060005282526040600020549280841061130f576113069293039033612779565b60405160018152f35b60405162461bcd60e51b815260048101849052602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346102715760403660031901126102715761137b612496565b602490813590611389612d29565b611399611394612bc1565b612ca6565b33600052610165916020918383526113b960ff6040600020541615612ce9565b6001600160a01b0390811660008181529484526040909420546113df9060ff1615612ce9565b83156115d45782600091610163541660846040518094819363afe9a9a560e01b8352896004840152818b8401528760448401523360648401525af19081156115c85760009161159b575b50156115655760ff6097541661150e5782600052606582526040600020548181106114bf5790807fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5939285600052606584520360406000205580606754036067556000847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051858152a3604051908152a2005b60405162461bcd60e51b8152600481018490526022818701527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b60405162461bcd60e51b815260048101839052602a818601527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608490fd5b60405162461bcd60e51b815260048101839052600f818601526e4465636c696e65642062792054502160881b6044820152606490fd5b6115bb9150833d85116115c1575b6115b381836124c2565b810190612b48565b85611429565b503d6115a9565b6040513d6000823e3d90fd5b60405162461bcd60e51b815260048101849052600c818701526b6275726e2066726f6d3d302160a01b6044820152606490fd5b3461027157600036600319011261027157604051600060695461162981612559565b8084529060019081811690811561169c5750600114611653575b6102d8846102c4818603826124c2565b6069600090815292506000805160206131298339815191525b8284106116845750505081016020016102c482611643565b8054602085870181019190915290930192810161166c565b60ff191660208087019190915292151560051b850190920192506102c49150839050611643565b34610271576000366003190112610271576033546040516001600160a01b039091168152602090f35b3461027157602036600319011261027157611705612496565b6117106103b4612c11565b60018060a01b0316806000526101658060205261173560ff60406000205416156130f3565b816000526020526040600020600160ff198254161790557f90811a8edd3b3c17eeaefffc17f639cc69145d41a359c9843994dc2538203690600080a2005b34610271576020366003190112610271576001600160a01b03611794612496565b166000526101666020526020604060002054604051908152f35b3461027157600036600319011261027157602060ff6101645460a81c16604051908152f35b346102715760003660031901126102715760fb5415806118e6575b156118a9576117fb612593565b61180361263f565b6040516020808201928284106001600160401b038511176105d357918161185c859461184e979660405260008452604051978897600f60f81b895260e0858a015260e0890190612456565b908782036040890152612456565b91466060870152306080870152600060a087015285830360c0870152519182815201929160005b82811061189257505050500390f35b835185528695509381019392810192600101611883565b60405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b6044820152606490fd5b5060fc54156117ee565b346102715760003660031901126102715761190c6103b4612c11565b611914612d29565b600160ff1960975416176097557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461027157602036600319011261027157611966612496565b6119716103b4612c11565b6001600160a01b03166000818152610165602081905260409091205460ff16156119d05781600052602052604060002060ff1981541690557fc3776b472ebf54114339eec9e4dc924e7ce307a97f5c1ee72b6d474e6e5e8b7c600080a2005b60405162461bcd60e51b81526020600482015260086024820152672ab7333937bd32b760c11b6044820152606490fd5b34610271576020366003190112610271576001600160a01b03611a21612496565b1660005261012f6020526020604060002054604051908152f35b3461027157602036600319011261027157611a54612539565b611a5f611050612b60565b6101649081549060ff8260a81c1660ff821690808214611ab8577f42dcf0e478501125311a035ce1f285846b24d04b18668022677c3f07059ce2d9600080a360ff60a81b1990911660a89190911b60ff60a81b16179055005b60405162461bcd60e51b815260206004820152601460248201527353616d65206d696e74657220726f6c652069642160601b6044820152606490fd5b3461027157600036600319011261027157611b0d6126d8565b603380546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610271576020366003190112610271576001600160a01b03611b72612496565b1660005260656020526020604060002054604051908152f35b3461027157600036600319011261027157602060ff6101645460a01c16604051908152f35b3461027157600036600319011261027157602060ff609754166040519015158152f35b34610271576000366003190112610271576020611107612bc1565b3461027157604036600319011261027157611c07612496565b7f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20602060243592611c36612d29565b611c41611050612b60565b6001600160a01b0316600081815261016683526040908190208590555193845292a2602060405160018152f35b3461027157604036600319011261027157611c87612496565b60248035611c93612d29565b611c9e611394612bc1565b3360005261016591602093838552611cbe60ff6040600020541615612ce9565b6001600160a01b039081166000818152948652604090942054611ce49060ff1615612ce9565b8315611f2b578215611ef6573360005261016680865260406000205490818511611eb257848203918211611e9d5791869160009333855283526040842055610163541660846040518094819363afe9a9a560e01b835281600484015289888401528860448401523360648401525af19081156115c857600091611e80575b5015611e4b5760ff60975416611df55750611d7f81606754612d6d565b606755816000526065835260406000208181540190558160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051858152a36040519081527fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8833392a360405160018152f35b83602a6084926040519262461bcd60e51b845260048401528201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152fd5b83600f6064926040519262461bcd60e51b845260048401528201526e4465636c696e65642062792054502160881b6044820152fd5b611e979150853d87116115c1576115b381836124c2565b85611d62565b83634e487b7160e01b60005260116004526000fd5b60405162461bcd60e51b815260048101889052601c818601527f6d696e745f616d6f756e743e6d696e746572416c6c6f77616e636521000000006044820152606490fd5b60405162461bcd60e51b815260048101869052600e818401526d6d696e7420616d6f756e743c302160901b6044820152606490fd5b60405162461bcd60e51b815260048101869052600a81840152696d696e7420746f3d302160b01b6044820152606490fd5b3461027157600036600319011261027157611f786103b4612c11565b60975460ff811615611fb75760ff19166097557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b60405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606490fd5b34610271576000366003190112610271576020611107612c11565b346102715760403660031901126102715761126361202a612496565b612032612d29565b336000526101658060205261204f60ff6040600020541615612ce9565b60018060a01b038216908160005260205261207260ff6040600020541615612ce9565b336000526066602052604060002090600052602052612098602435604060002054612d6d565b9033612779565b346102715760003660031901126102715760206120ba612a24565b604051908152f35b3461027157600036600319011261027157602060405160128152f35b3461027157602080600319360112610271576001600160401b0390600435828111610271576121119036906004016124e3565b9161211d611050612b60565b82519081116105d357610162916121348354612559565b601f81116121e7575b5080601f8311600114612179575081929360009261216e575b5050600019600383901b1c191660019190911b179055005b015190508380612156565b90601f1983169484600052600080516020613189833981519152926000905b8782106121cf5750508360019596106121b6575b505050811b019055005b015160001960f88460031b161c191690558380806121ac565b80600185968294968601518155019501930190612198565b83600052600080516020613189833981519152601f840160051c81019183851061222e575b601f0160051c01905b818110612222575061213d565b60008155600101612215565b909150819061220c565b34610271576020366003190112610271576020612253612496565b61225e611050612b60565b6001600160a01b03166000818152610166835260408082208290555191907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929080a260018152f35b346102715760603660031901126102715760206111076122c4612496565b6122cc6124ac565b6122d4612d29565b336000526101658085526122f060ff6040600020541615612ce9565b6001600160a01b03838116600090815282875260409020546123159060ff1615612ce9565b8216600052845261232e60ff6040600020541615612ce9565b60443591612d90565b34610271576000366003190112610271576020606754604051908152f35b3461027157604036600319011261027157611263612371612496565b612379612d29565b6001600160a01b0381166000908152610165602052604090205460ff1615806123b0575b6123a6906130f3565b6024359033612779565b50336000908152604090205460ff161561239d565b346102715760003660031901126102715760006068546123e481612559565b8084529060019081811690811561169c575060011461240d576102d8846102c4818603826124c2565b6068600090815292506000805160206131698339815191525b82841061243e5750505081016020016102c482611643565b80546020858701810191909152909301928101612426565b919082519283825260005b848110612482575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201612461565b600435906001600160a01b038216820361027157565b602435906001600160a01b038216820361027157565b90601f801991011681019081106001600160401b038211176105d357604052565b81601f82011215610271578035906001600160401b0382116105d35760405192612517601f8401601f1916602001856124c2565b8284526020838301011161027157816000926020809301838601378301015290565b6004359060ff8216820361027157565b6084359060ff8216820361027157565b90600182811c92168015612589575b602083101461257357565b634e487b7160e01b600052602260045260246000fd5b91607f1691612568565b6040519060008260fd54916125a783612559565b8083529260019081811690811561261d57506001146125d0575b506125ce925003836124c2565b565b60fd600090815291506000805160206131498339815191525b84831061260257506125ce9350508101602001386125c1565b81935090816020925483858a010152019101909185926125e9565b9050602092506125ce94915060ff191682840152151560051b820101386125c1565b6040519060008260fe549161265383612559565b8083529260019081811690811561261d575060011461267957506125ce925003836124c2565b60fe600090815291507f54075df80ec1ae6ac9100e1fd0ebf3246c17f5c933137af392011f4c5f61513a5b8483106126bd57506125ce9350508101602001386125c1565b81935090816020925483858a010152019101909185926126a4565b6033546001600160a01b031633036126ec57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b603380546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6001600160a01b0390811691821561282a57169182156127da5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260668252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b600581101561297f578061288c5750565b600181036128d95760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b600281036129265760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b60031461292f57565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b634e487b7160e01b600052602160045260246000fd5b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311612a185791608094939160ff602094604051948552168484015260408301526060820152600093849182805260015afa15612a0b5781516001600160a01b03811615612a05579190565b50600190565b50604051903d90823e3d90fd5b50505050600090600390565b612a2c612a99565b612a34612ae4565b6040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815260c081018181106001600160401b038211176105d35760405251902090565b612aa1612593565b8051908115612ab1576020012090565b505060fb548015612abf5790565b507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47090565b612aec61263f565b8051908115612afc576020012090565b505060fc548015612abf5790565b15612b1157565b60405162461bcd60e51b815260206004820152600f60248201526e4f6e6c792041646d696e20726f6c6560881b6044820152606490fd5b90816020910312610271575180151581036102715790565b61016454604051632e4bfa5160e11b81523360048201526000602482015290602090829060449082906001600160a01b03165afa9081156115c857600091612ba6575090565b612bbe915060203d81116115c1576115b381836124c2565b90565b61016454604051632e4bfa5160e11b815233600482015260a882901c60ff1660248201529060209082908180604481015b03916001600160a01b03165afa9081156115c857600091612ba6575090565b61016454604051632e4bfa5160e11b815233600482015260a082901c60ff166024820152906020908290818060448101612bf2565b15612c4d57565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b15612cad57565b60405162461bcd60e51b815260206004820152601460248201527331b0b63632b91034b9903737ba1026b4b73a32b960611b6044820152606490fd5b15612cf057565b60405162461bcd60e51b815260206004820152601160248201527030b1b1b7bab73a1034b990333937bd32b760791b6044820152606490fd5b60ff60975416612d3557565b60405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606490fd5b91908201809211612d7a57565b634e487b7160e01b600052601160045260246000fd5b919060018060a01b0383166000526066602052604060002033600052602052604060002054926000198403612dcf575b612dca9350612e30565b600190565b828410612deb57612de683612dca95033383612779565b612dc0565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b6001600160a01b039290831691821561305457831692831561300357610163541690604080519263afe9a9a560e01b84528460048501528560248501528260448501523360648501526020938481608481600080965af1908115612ff9578291612fdc575b5015612fa65760ff60975416612f4f578481526065845281812054838110612efc579181847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef969594888495526065875203828220558781522082815401905551908152a3565b825162461bcd60e51b815260048101869052602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b815162461bcd60e51b815260048101859052602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608490fd5b815162461bcd60e51b815260048101859052600f60248201526e4465636c696e65642062792054502160881b6044820152606490fd5b612ff39150853d87116115c1576115b381836124c2565b38612e95565b83513d84823e3d90fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b156130ae57565b60405162461bcd60e51b815260206004820152601d60248201527f63616c6c6572206973206e6f742041737365742050726f746563746f720000006044820152606490fd5b156130fa57565b60405162461bcd60e51b8152602060048201526006602482015265233937bd32b760d11b6044820152606490fdfe7fb4302e8e91f9110a6554c2c0a24601252c2a42c2220ca988efcfe3999143089346ac6dd7de6b96975fec380d4d994c4c12e6a8897544f22915316cc6cca280a2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c2209775329af0939a5988989bfee913a9ad10b9335cb63ebc9fd2b69e5f877d0455ac919a2646970667358221220fe45937762a36a1f8c2f4ac14e2fdefcd3739bddbb642b054aceb8a5f046771164736f6c63430008140033
Deployed Bytecode Sourcemap
921:13084:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;1324:62:0;;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;2423:22:0;921:13084:22;;2517:8:0;;;:::i;:::-;921:13084:22;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;1066:22;921:13084;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;-1:-1:-1;;;;;921:13084:22;;:::i;:::-;;;;3140:10;921:13084;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;2637:60;2645:18;;:::i;:::-;2637:60;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;12876:10;921:13084;;;;;;;;;;;;;;12915:57;921:13084;;;3877:9:4;921:13084:22;;;;;;965:10:12;;12915:57:22;;:::i;921:13084::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;4460:11:4;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;:::i;:::-;2557:15:7;;;:27;921:13084:22;;;;;;;;;;;;;;;3662:7:7;921:13084:22;;;;;;;;;;;;;;;;2660:79:7;921:13084:22;2660:79:7;;921:13084:22;1372:95:7;921:13084:22;;1372:95:7;921:13084:22;1372:95:7;;921:13084:22;;;;;1372:95:7;;921:13084:22;1372:95:7;921:13084:22;1372:95:7;;921:13084:22;;1372:95:7;;921:13084:22;;1372:95:7;;921:13084:22;;2660:79:7;;921:13084:22;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;6813:5:15;921:13084:22;6766:25:15;921:13084:22;;;;2650:90:7;;3404:23:16;;:::i;:::-;8529:231:15;921:13084:22;8529:231:15;;-1:-1:-1;;;8529:231:15;;;;;;;;;;921:13084:22;;;8529:231:15;921:13084:22;;8529:231:15;;6766:25;:::i;:::-;6813:5;;;;:::i;:::-;921:13084:22;2879:15:7;1372:95;;2965:5;;;:::i;1372:95::-;921:13084:22;;-1:-1:-1;;;1372:95:7;;921:13084:22;;1372:95:7;;;;921:13084:22;1372:95:7;;921:13084:22;1372:95:7;921:13084:22;;;1372:95:7;921:13084:22;;1372:95:7;921:13084:22;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3301:14:2;3347:34;;;;;;921:13084:22;3346:108:2;;;;921:13084:22;;;;-1:-1:-1;;921:13084:22;;;;;;;3562:65:2;;921:13084:22;;;;;6150:35;921:13084;;;;;;6215:23;921:13084;;;;;6272:19;921:13084;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;6321:25;921:13084;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6321:25;921:13084;;5366:69:2;921:13084:22;;;;;;5366:69:2;;;:::i;:::-;;:::i;:::-;921:13084:22;;-1:-1:-1;;;;;921:13084:22;;;;;2404:13:4;921:13084:22;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2404:13:4;921:13084:22;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;2427:17:4;921:13084:22;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2427:17:4;921:13084:22;;5366:69:2;921:13084:22;;;;;;5366:69:2;;;:::i;:::-;1216:12:0;965:10:12;1216:12:0;:::i;:::-;921:13084:22;;;;;;5366:69:2;;;;:::i;:::-;;;;:::i;:::-;921:13084:22;;1260:15:3;921:13084:22;;1260:15:3;921:13084:22;5366:69:2;;;:::i;:::-;921:13084:22;;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;5366:69:2;921:13084:22;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;5366:69:2;:::i;:::-;921:13084:22;;;-1:-1:-1;;;;;921:13084:22;;;;;;;3084:12:16;921:13084:22;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3084:12:16;921:13084:22;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;3106:18:16;921:13084:22;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3106:18:16;921:13084:22;;;3189:15:16;921:13084:22;;3214:18:16;921:13084:22;6502:26;921:13084;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6632:59;921:13084;;;;;;;;;;;965:10:12;921:13084:22;;6701:13;921:13084;;;;;;;;1324:62:0;;:::i;:::-;2517:8;921:13084:22;;2517:8:0;:::i;:::-;3647:99:2;;921:13084:22;3647:99:2;921:13084:22;;;;;;;3721:14:2;921:13084:22;;;;;;3721:14:2;921:13084:22;;;;;-1:-1:-1;921:13084:22;;;;;3106:18:16;921:13084:22;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;3106:18:16;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3106:18:16;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;3084:12:16;921:13084:22;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;3084:12:16;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3084:12:16;921:13084:22;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;;-1:-1:-1;921:13084:22;;;;;;;2427:17:4;921:13084:22;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;2427:17:4;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2427:17:4;921:13084:22;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;2404:13:4;921:13084:22;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;2404:13:4;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2404:13:4;921:13084:22;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;;-1:-1:-1;921:13084:22;;;;;;;6321:25;921:13084;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;6321:25;921:13084;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6321:25;921:13084;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;3562:65:2;-1:-1:-1;;921:13084:22;;;;;3562:65:2;;;921:13084:22;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;3346:108:2;3426:4;;1713:19:11;:23;3387:66:2;;3346:108;3387:66;921:13084:22;;;;;3436:17:2;3346:108;;3347:34;921:13084:22;;;;;3365:16:2;3347:34;;921:13084:22;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;2269:37;2277:9;;:::i;:::-;2269:37;:::i;:::-;3975:21;921:13084;;;;;;;;;;;;3975:50;;;;921:13084;;4067:72;921:13084;4067:72;;-1:-1:-1;;;;921:13084:22;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;2269:37;2277:9;;:::i;2269:37::-;4472:16;921:13084;;4472:16;;-1:-1:-1;;;;;921:13084:22;;;;;;;4464:41;;;921:13084;;4542:26;;921:13084;;4599:64;;;921:13084;4599:64;;-1:-1:-1;;;;;;921:13084:22;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;4252:6:4;921:13084:22;;:::i;:::-;1468:72:3;;:::i;:::-;9344:10:22;921:13084;;2892:10;921:13084;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;921:13084;;;;;;;;;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;921:13084;;9344:10;;4252:6:4;:::i;:::-;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;;;1468:72:3;;;:::i;:::-;11788:10:22;921:13084;;2892:10;921:13084;;;;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;2883:51;;921:13084;;2891:21;2883:51;:::i;:::-;11788:10;921:13084;;4460:11:4;921:13084:22;;;;;;;;;;;;;;7150:35:4;;;;921:13084:22;;7286:34:4;921:13084:22;;;11788:10;;7286:34:4;:::i;:::-;921:13084:22;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;;;;;1468:72:3;;;:::i;:::-;2443:43:22;2451:10;;:::i;:::-;2443:43;:::i;:::-;10825:10;921:13084;;2892:10;921:13084;;;;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;;2883:51;;921:13084;;2891:21;2883:51;:::i;:::-;10884:19;;921:13084;;;;;7173:16;921:13084;;;;;;;;;;;;7173:62;;;921:13084;7173:62;;921:13084;;;;;;;;;;;10825:10;921:13084;;;;7173:62;;;;;;;921:13084;7173:62;;;921:13084;;;;;;1949:7:3;921:13084:22;;;;;;;9971:9:4;921:13084:22;;;;;;10007:24:4;;;921:13084:22;;;;10966:20;921:13084;;;;;9971:9:4;921:13084:22;;;;;;;;10241:22:4;921:13084:22;;10241:22:4;921:13084:22;;;10289:37:4;921:13084:22;;;;;;10289:37:4;921:13084:22;;;;;10966:20;921:13084;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;7173:62;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;921:13084;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;2815:7:4;921:13084:22;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2815:7:4;921:13084:22;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;-1:-1:-1;921:13084:22;;-1:-1:-1;921:13084:22;;;;;;;;-1:-1:-1;;921:13084:22;;;;1534:6:0;921:13084:22;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;2637:60;2645:18;;:::i;2637:60::-;921:13084;;;;;;;;;12129:10;921:13084;;;12120:37;921:13084;;;;;;12128:18;12120:37;:::i;:::-;921:13084;;;;;;;;;;;;;;;;;12206:20;921:13084;12206:20;;921:13084;;;;;;;-1:-1:-1;;921:13084:22;;;;-1:-1:-1;;;;;921:13084:22;;:::i;:::-;;;;8474:13;921:13084;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;1276:25;921:13084;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;5087:11:16;921:13084:22;5087:16:16;:39;;;921:13084:22;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;5271:13:16;;921:13084:22;;;;5306:4:16;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;5087:39:16;921:13084:22;5107:14:16;921:13084:22;5107:19:16;5087:39;;921:13084:22;;;;;;-1:-1:-1;;921:13084:22;;;;2637:60;2645:18;;:::i;2637:60::-;1468:72:3;;:::i;:::-;2519:4;921:13084:22;;2509:14:3;921:13084:22;;;2509:14:3;921:13084:22;2538:20:3;921:13084:22;;;965:10:12;921:13084:22;;2538:20:3;921:13084:22;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;2637:60;2645:18;;:::i;2637:60::-;-1:-1:-1;;;;;921:13084:22;;;;;12441:10;921:13084;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12521:22;921:13084;12521:22;;921:13084;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;-1:-1:-1;;;;;921:13084:22;;:::i;:::-;;;;3138:7:7;921:13084:22;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;2269:37;2277:9;;:::i;2269:37::-;3524:12;921:13084;;;;;;;;;;;;3504:32;;;;921:13084;;3576:45;921:13084;3576:45;;-1:-1:-1;;;;921:13084:22;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;1324:62:0;;:::i;:::-;2779:6;921:13084:22;;-1:-1:-1;;;;;;921:13084:22;;;;;;;-1:-1:-1;;;;;921:13084:22;2827:40:0;921:13084:22;;2827:40:0;921:13084:22;;;;;;;-1:-1:-1;;921:13084:22;;;;-1:-1:-1;;;;;921:13084:22;;:::i;:::-;;;;3877:9:4;921:13084:22;;;;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;1236:34;921:13084;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;1949:7:3;921:13084:22;;;;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;9939:52;921:13084;;;1468:72:3;;;:::i;:::-;2269:37:22;2277:9;;:::i;2269:37::-;-1:-1:-1;;;;;921:13084:22;;;;;9874:13;921:13084;;;;;;;;;;;;;;;9939:52;921:13084;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;:::i;:::-;;;;1468:72:3;;:::i;:::-;2443:43:22;2451:10;;:::i;2443:43::-;7751:10;921:13084;;2892:10;921:13084;;;;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;;2883:51;;921:13084;;2891:21;2883:51;:::i;:::-;7831:17;;921:13084;;7881:11;;921:13084;;7751:10;921:13084;;7953:13;921:13084;;;;;;;8009:31;;;;921:13084;;;;;;;;;;7751:10;;;921:13084;7751:10;;921:13084;;;;;;;;7173:16;921:13084;;;;;;;;;;;;7173:62;;;921:13084;7173:62;;921:13084;;;;;;;;;;;7751:10;921:13084;;;;7173:62;;;;;;;921:13084;7173:62;;;921:13084;;;;;;1949:7:3;921:13084:22;;;;;9089:22:4;921:13084:22;9089:22:4;921:13084:22;9089:22:4;:::i;:::-;;921:13084:22;;;;9257:9:4;921:13084:22;;;;;;;;;;;;;9310:37:4;921:13084:22;;;;;;9310:37:4;921:13084:22;;;;;8209:30;7751:10;;8209:30;;921:13084;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;7173:62;;;;;;;;;;;;;;:::i;:::-;;;;921:13084;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;2637:60;2645:18;;:::i;2637:60::-;1949:7:3;921:13084:22;;;;;;;;;;1949:7:3;921:13084:22;2785:22:3;921:13084:22;;;965:10:12;921:13084:22;;2785:22:3;921:13084:22;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;921:13084:22;;;;6379:38:4;921:13084:22;;:::i;:::-;1468:72:3;;:::i;:::-;11341:10:22;921:13084;;2892:10;921:13084;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;921:13084;;;;;;;;;;;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;11341:10;921:13084;;4460:11:4;921:13084:22;;;;;;;;;;6379:38:4;921:13084:22;;;;;;6379:38:4;:::i;:::-;11341:10:22;;6379:38:4;:::i;921:13084:22:-;;;;;;-1:-1:-1;;921:13084:22;;;;;3404:23:16;;:::i;:::-;921:13084:22;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;3544:2:4;921:13084:22;;;;;;;;;;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;;:::i;:::-;2277:9;2269:37;2277:9;;:::i;2269:37::-;921:13084;;;;;;;13969:27;921:13084;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;921:13084:22;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;;;:::i;:::-;2269:37;2277:9;;:::i;2269:37::-;-1:-1:-1;;;;;921:13084:22;;;;;10315:13;921:13084;;;;;;;;;;;;10362:28;;921:13084;10362:28;921:13084;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;8958:35;921:13084;;:::i;:::-;;;:::i;:::-;1468:72:3;;:::i;:::-;8856:10:22;921:13084;;2892:10;921:13084;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;;;;2883:51;;921:13084;;2891:21;2883:51;:::i;:::-;921:13084;;;;;;2883:51;921:13084;;;;;;2891:21;2883:51;:::i;:::-;921:13084;;8958:35;;:::i;921:13084::-;;;;;;-1:-1:-1;;921:13084:22;;;;;3700:12:4;921:13084:22;;;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;4964:6:4;921:13084:22;;:::i;:::-;1468:72:3;;:::i;:::-;-1:-1:-1;;;;;921:13084:22;;;;;;13652:10;921:13084;;;;;;;;13651:21;;:50;;921:13084;13643:69;;;:::i;:::-;921:13084;;965:10:12;;4964:6:4;:::i;13651:50:22:-;-1:-1:-1;965:10:12;921:13084:22;;;;;;;;;;13676:25;13651:50;;921:13084;;;;;;-1:-1:-1;;921:13084:22;;;;;2602:5:4;921:13084:22;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2602:5:4;921:13084:22;;;;;-1:-1:-1;;;;;;;;;;;;921:13084:22;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;921:13084:22;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;;;;-1:-1:-1;;921:13084:22;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;921:13084:22;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;5692:5:16;921:13084:22;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;5692:5:16;-1:-1:-1;921:13084:22;;;-1:-1:-1;;;;;;;;;;;;;921:13084:22;;;;;;-1:-1:-1;921:13084:22;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;921:13084:22;6020:8:16;921:13084:22;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6020:8:16;-1:-1:-1;921:13084:22;;;-1:-1:-1;;921:13084:22;;;;;;;-1:-1:-1;921:13084:22;;-1:-1:-1;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1620:130:0;1534:6;921:13084:22;-1:-1:-1;;;;;921:13084:22;965:10:12;1683:23:0;921:13084:22;;1620:130:0:o;921:13084:22:-;;;;;;;;;;;;;;;;;;;;;;;;;2687:187:0;2779:6;921:13084:22;;-1:-1:-1;;;;;921:13084:22;;;-1:-1:-1;;;;;;921:13084:22;;;;;;;;;;2827:40:0;-1:-1:-1;;2827:40:0;2687:187::o;10815:340:4:-;-1:-1:-1;;;;;921:13084:22;;;;10916:19:4;;921:13084:22;;;10994:21:4;;;921:13084:22;;;11116:32:4;921:13084:22;;10933:1:4;921:13084:22;11065:11:4;921:13084:22;;;10933:1:4;921:13084:22;;10933:1:4;921:13084:22;;;;;10933:1:4;921:13084:22;;;;;;;11116:32:4;10815:340::o;921:13084:22:-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;592:511:15;921:13084:22;;;;;;660:29:15;;;705:7;:::o;656:441::-;921:13084:22;756:38:15;;921:13084:22;;;;-1:-1:-1;;;810:34:15;;921:13084:22;810:34:15;;;921:13084:22;;;;;;;;;;;;;810:34:15;752:345;874:35;865:44;;874:35;;921:13084:22;;-1:-1:-1;;;925:41:15;;921:13084:22;925:41:15;;;921:13084:22;;;;;;;;;;;;;925:41:15;861:236;996:30;987:39;983:114;;592:511::o;983:114::-;921:13084:22;;-1:-1:-1;;;1042:44:15;;921:13084:22;1042:44:15;;;921:13084:22;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;1042:44:15;921:13084:22;;;;669:20:15;921:13084:22;;;;;669:20:15;921:13084:22;5031:1456:15;;;;6043:66;6030:79;;6026:161;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6298:24:15;;;;;;;;;;;;;;-1:-1:-1;;;;;921:13084:22;;6336:20:15;6332:101;;6443:37;5031:1456;:::o;6332:101::-;6372:50;6298:24;6372:50;:::o;6298:24::-;921:13084:22;;;;;;;;;;;6026:161:15;6125:51;;;;6141:1;6125:51;6145:30;6125:51;:::o;3440:192:16:-;3554:17;;:::i;:::-;3573:20;;:::i;:::-;921:13084:22;;3531:93:16;;;;921:13084:22;1934:95:16;921:13084:22;;;1934:95:16;;921:13084:22;1934:95:16;;;921:13084:22;3595:13:16;1934:95;;;921:13084:22;3618:4:16;1934:95;;;921:13084:22;1934:95:16;3531:93;;1934:95;921:13084:22;;;;;-1:-1:-1;;;;;921:13084:22;;;;;;;;3521:104:16;;3440:192;:::o;6250:630::-;921:13084:22;;:::i;:::-;;;;6367:22:16;;;;921:13084:22;;6412:22:16;6405:29;:::o;6363:511::-;-1:-1:-1;;6709:11:16;921:13084:22;6738:15:16;;;;6773:17;:::o;6734:130::-;6829:20;6836:13;6829:20;:::o;7101:666::-;921:13084:22;;:::i;:::-;;;;7227:25:16;;;;921:13084:22;;7275:25:16;7268:32;:::o;7223:538::-;-1:-1:-1;;7587:14:16;921:13084:22;7619:18:16;;;;7657:20;:::o;921:13084:22:-;;;;:::o;:::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4810:104::-;4873:11;921:13084;;;-1:-1:-1;;;4873:34:22;;4893:10;4873:34;;;921:13084;-1:-1:-1;921:13084:22;;;;;4873:34;;921:13084;;;;;;-1:-1:-1;;;;;921:13084:22;4873:34;;;;;;;-1:-1:-1;4873:34:22;;;4866:41;4810:104;:::o;4873:34::-;;;;;;;;;;;;;;:::i;:::-;4810:104;:::o;4993:116::-;5057:11;921:13084;;;-1:-1:-1;;;5057:45:22;;5077:10;5057:45;;;921:13084;;;;;;;;;;;;5057:45;;921:13084;;;;;;;5057:45;;;-1:-1:-1;;;;;921:13084:22;5057:45;;;;;;;-1:-1:-1;5057:45:22;;;5050:52;4993:116;:::o;5199:133::-;5271:11;921:13084;;;-1:-1:-1;;;5271:54:22;;5291:10;5271:54;;;921:13084;;;;;;;;;;;;5271:54;;921:13084;;;;;;;5271:54;921:13084;;;;;:::o;:::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;2031:106:3;921:13084:22;1949:7:3;921:13084:22;;;;2031:106:3:o;921:13084:22:-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;5561:256:4;;;921:13084:22;;;;;;;-1:-1:-1;921:13084:22;4460:11:4;921:13084:22;;;-1:-1:-1;921:13084:22;965:10:12;-1:-1:-1;921:13084:22;;;;-1:-1:-1;921:13084:22;;;;;11602:37:4;;11598:243;;5561:256;5782:6;;;;:::i;:::-;921:13084:22;5561:256:4;:::o;11598:243::-;11663:26;;;921:13084:22;;11790:25:4;921:13084:22;5782:6:4;921:13084:22;;965:10:12;11790:25:4;;:::i;:::-;11598:243;;921:13084:22;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;7814:788:4;-1:-1:-1;;;;;921:13084:22;;;;;7910:18:4;;921:13084:22;;;;7988:16:4;;;921:13084:22;;7173:16;921:13084;;;;;;;;;;7173:62;;;;;;921:13084;;;;;;;;;;;7224:10;921:13084;;;;7173:62;-1:-1:-1;;;921:13084:22;-1:-1:-1;;7173:62:22;;;;;;;;;;;;;7814:788:4;921:13084:22;;;;;1949:7:3;921:13084:22;;;;;;;8126:9:4;921:13084:22;;;;;;8159:21:4;;;921:13084:22;;;;;8521:26:4;921:13084:22;;;;;;;8126:9:4;921:13084:22;;;;;;;;;;;;;;;;;;;;;8521:26:4;7814:788::o;921:13084:22:-;;;-1:-1:-1;;;921:13084:22;;7173:62;921:13084;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;7173:62;921:13084;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;7173:62;921:13084;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;7173:62;;;;;;;;;;;;;;:::i;:::-;;;;;921:13084;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;921:13084:22;;;;;;;;;;;;-1:-1:-1;;;921:13084:22;;;;;;
Swarm Source
ipfs://fe45937762a36a1f8c2f4ac14e2fdefcd3739bddbb642b054aceb8a5f0467711
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in FRAX
0
Multichain Portfolio | 35 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.