Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EssentialToken
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "./core/ERC20.sol";
import "./core/utils/BlackList.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract EssentialToken is Initializable, ERC20, Pausable, Ownable, BlackList {
constructor() {
_disableInitializers();
}
function initialize(
address _owner,
string memory _name,
string memory _symbol,
uint8 _decimals,
uint256 _initialSupply,
uint256 _maxSupply
) external initializer {
_transferOwnership(_owner);
ERC20.init(
_name,
_symbol,
_decimals,
_maxSupply == type(uint256).max ? type(uint256).max : _maxSupply * 10 ** _decimals
);
_mint(_owner, _initialSupply * 10 ** _decimals);
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
function mint(address to, uint256 amount) public onlyOwner {
_mint(to, amount);
}
function blockAccount(address _account) public onlyOwner {
_blockAccount(_account);
}
function unblockAccount(address _account) public onlyOwner {
_unblockAccount(_account);
}
function _beforeTokenTransfer(address from, address to, uint256 amount) internal override whenNotPaused {
require(!isAccountBlocked(to), "BlackList: Recipient account is blocked");
require(!isAccountBlocked(from), "BlackList: Sender account is blocked");
super._beforeTokenTransfer(from, to, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.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 Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
import "../../utils/Address.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) || (!Address.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/Context.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 Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// 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 IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}// 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 Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* 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;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
contract ERC20 is Initializable, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
uint256 private _maxSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
function init(
string memory name_,
string memory symbol_,
uint8 decimals_,
uint256 maxSupply_
) internal onlyInitializing {
_name = name_;
_symbol = symbol_;
_decimals = decimals_;
_maxSupply = maxSupply_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return _decimals;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function maxSupply() public view virtual returns (uint256) {
return _maxSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address to, uint256 amount) public virtual override returns (bool) {
_transfer(msg.sender, to, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(msg.sender, spender, amount);
return true;
}
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
_spendAllowance(from, msg.sender, amount);
_transfer(from, to, amount);
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = msg.sender;
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = msg.sender;
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
function burn(uint256 amount) public virtual {
_burn(msg.sender, amount);
}
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, msg.sender, amount);
_burn(account, 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);
}
function _mint(address account, uint256 amount) internal virtual {
require(_totalSupply + amount <= _maxSupply, "ERC20: cap exceeded");
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);
}
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);
}
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);
}
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);
}
}
}
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
abstract contract BlackList {
mapping (address => bool) private _isBlackListed;
/**
* @dev Emitted when the `_account` blocked.
*/
event BlockedAccount(address indexed _account);
/**
* @dev Emitted when the `_account` unblocked.
*/
event UnblockedAccount(address indexed _account);
function isAccountBlocked(address _account) public view returns (bool) {
return _isBlackListed[_account];
}
/**
* @dev Add account to black list.
*
* WARNING: it allows everyone to set the address. Access controls MUST be defined in derived contracts.
*
* @param _account The address to be blocked
*/
function _blockAccount (address _account) internal virtual {
require(!_isBlackListed[_account], "Blacklist: Account is already blocked");
_isBlackListed[_account] = true;
emit BlockedAccount(_account);
}
function _unblockAccount (address _account) internal virtual {
require(_isBlackListed[_account], "Blacklist: Account is already unblocked");
_isBlackListed[_account] = false;
emit UnblockedAccount(_account);
}
}{
"viaIR": true,
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"}],"name":"BlockedAccount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"_account","type":"address"}],"name":"UnblockedAccount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"blockAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isAccountBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"unblockAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608080604052346101185760078054610100600160b01b0319811633601081811b62010000600160b01b0316929092179093551c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a36000549060ff8260081c166100c6575060ff8082160361008b575b60405161183d908161011e8239f35b60ff90811916176000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a13861007c565b62461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816306fdde0314610df057508063095ea7b314610dca57806318160ddd14610dac57806323b872dd14610d74578063313ce56714610d535780633950935114610d025780633f4ba83a14610c6a57806340c10f1914610c3d57806342966c6814610c205780634d78fdc614610b4d5780635c975abb14610b275780635d2b8af81461064557806370a082311461060b578063715018a6146105a957806379cc6790146105795780637c0a893d146104a65780638456cb591461044a5780638da5cb5b1461041d57806395d89b411461034c578063a457c2d7146102a5578063a9059cbb14610274578063ca88bd5b14610235578063d5abeb0114610217578063dd62ed3e146101c65763f2fde38b1461013257600080fd5b346101c15760203660031901126101c15761014b610ecc565b6101536113cd565b6001600160a01b0381161561016d5761016b90611722565b005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b346101c15760403660031901126101c1576101df610ecc565b6101e7610ee2565b9060018060a01b038091166000526002602052604060002091166000526020526020604060002054604051908152f35b346101c15760003660031901126101c1576020600454604051908152f35b346101c15760203660031901126101c1576001600160a01b03610256610ecc565b166000526008602052602060ff604060002054166040519015158152f35b346101c15760403660031901126101c15761029a610290610ecc565b602435903361118c565b602060405160018152f35b346101c15760403660031901126101c1576102be610ecc565b60243590336000526002602052604060002060018060a01b038216600052602052604060002054918083106102f95761029a92039033610ff2565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346101c15760003660031901126101c157604051600060065461036e81610f71565b808452906020906001908181169081156103f357506001146103ab575b6103a78561039b81870382610ef8565b60405191829182610e83565b0390f35b6006600090815293506000805160206117e88339815191525b8385106103e05750505050810160200161039b826103a761038b565b80548686018401529382019381016103c4565b8695506103a79693506020925061039b94915060ff191682840152151560051b820101929361038b565b346101c15760003660031901126101c15760075460405160109190911c6001600160a01b03168152602090f35b346101c15760003660031901126101c1576104636113cd565b61046b611780565b61010061ff001960075416176007557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b346101c15760203660031901126101c1576104bf610ecc565b6104c76113cd565b6001600160a01b031660008181526008602052604090205460ff16610526578060005260086020526040600020600160ff198254161790557f8632489584ac3cfc9b78cc6c2197c31ca9e3821bfa5ca5c9af28917b92db24d9600080a2005b60405162461bcd60e51b815260206004820152602560248201527f426c61636b6c6973743a204163636f756e7420697320616c726561647920626c6044820152641bd8dad95960da1b6064820152608490fd5b346101c15760403660031901126101c15761016b610595610ecc565b602435906105a48233836110f4565b61154c565b346101c15760003660031901126101c1576105c26113cd565b6007805462010000600160b01b0319811690915560009060101c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101c15760203660031901126101c1576001600160a01b0361062c610ecc565b1660005260016020526020604060002054604051908152f35b346101c15760c03660031901126101c15761065e610ecc565b60243567ffffffffffffffff81116101c15761067e903690600401610f1a565b60443567ffffffffffffffff81116101c15761069e903690600401610f1a565b9160ff60643516606435036101c15760a435916000549260ff8460081c161593848095610b1a575b8015610b03575b15610aa75760ff19811660011760005584610a95575b506106ed83611722565b6000198103610a7a5750600019905b60ff60005460081c1615610a215780519067ffffffffffffffff8211610914578190610729600554610f71565b601f81116109ad575b50602090601f83116001146109355760009261092a575b50508160011b916000199060031b1c1916176005555b835167ffffffffffffffff81116109145761077b600654610f71565b601f81116108a7575b506020601f82116001146108305781906107e79596600092610825575b50508160011b916000199060031b1c1916176006555b60ff6064351660ff1960075416176007556004556107e16107d9606435610fce565b608435610fdf565b90611428565b6107ed57005b61ff0019600054166000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a1005b0151905086806107a1565b601f1982169560066000526000805160206117e88339815191529660005b81811061088f5750916107e7969791846001959410610876575b505050811b016006556107b7565b015160001960f88460031b161c19169055868080610868565b8383015189556001909801976020938401930161084e565b6006600052601f820160051c6000805160206117e88339815191520190602083106108fe575b601f0160051c6000805160206117e883398151915201905b8181106108f25750610784565b600081556001016108e5565b6000805160206117e883398151915291506108cd565b634e487b7160e01b600052604160045260246000fd5b015190508680610749565b925060056000526000805160206117c8833981519152906000935b601f1984168510610992576001945083601f19811610610979575b505050811b0160055561075f565b015160001960f88460031b161c1916905586808061096b565b81810151835560209485019460019093019290910190610950565b9091506005600052601f830160051c6000805160206117c88339815191520160208410610a0c575b908392915b601f820160051c6000805160206117c88339815191520181106109fd5750610732565b600081558493506001016109da565b506000805160206117c88339815191526109d5565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b610a8f90610a89606435610fce565b90610fdf565b906106fc565b61ffff191661010117600055856106e3565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156106cd5750600160ff8216146106cd565b50600160ff8216106106c6565b346101c15760003660031901126101c157602060ff60075460081c166040519015158152f35b346101c15760203660031901126101c157610b66610ecc565b610b6e6113cd565b6001600160a01b031660008181526008602052604090205460ff1615610bcb57806000526008602052604060002060ff1981541690557fa885a62df16bfeabc96ed9b845b30dd4038f039ca1679490125c314222355e3f600080a2005b60405162461bcd60e51b815260206004820152602760248201527f426c61636b6c6973743a204163636f756e7420697320616c726561647920756e604482015266189b1bd8dad95960ca1b6064820152608490fd5b346101c15760203660031901126101c15761016b6004353361154c565b346101c15760403660031901126101c15761016b610c59610ecc565b610c616113cd565b60243590611428565b346101c15760003660031901126101c157610c836113cd565b60075460ff8160081c1615610cc65761ff0019166007557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b60405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606490fd5b346101c15760403660031901126101c15761029a610d1e610ecc565b336000526002602052604060002060018060a01b038216600052602052610d4c602435604060002054610fab565b9033610ff2565b346101c15760003660031901126101c157602060ff60075416604051908152f35b346101c15760603660031901126101c15761029a610d90610ecc565b610d98610ee2565b60443591610da78333836110f4565b61118c565b346101c15760003660031901126101c1576020600354604051908152f35b346101c15760403660031901126101c15761029a610de6610ecc565b6024359033610ff2565b346101c15760003660031901126101c1576000600554610e0f81610f71565b808452906020906001908181169081156103f35750600114610e3b576103a78561039b81870382610ef8565b6005600090815293506000805160206117c88339815191525b838510610e705750505050810160200161039b826103a761038b565b8054868601840152938201938101610e54565b6020808252825181830181905290939260005b828110610eb857505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610e96565b600435906001600160a01b03821682036101c157565b602435906001600160a01b03821682036101c157565b90601f8019910116810190811067ffffffffffffffff82111761091457604052565b81601f820112156101c15780359067ffffffffffffffff82116109145760405192610f4f601f8401601f191660200185610ef8565b828452602083830101116101c157816000926020809301838601378301015290565b90600182811c92168015610fa1575b6020831014610f8b57565b634e487b7160e01b600052602260045260246000fd5b91607f1691610f80565b91908201809211610fb857565b634e487b7160e01b600052601160045260246000fd5b60ff16604d8111610fb857600a0a90565b81810292918115918404141715610fb857565b6001600160a01b039081169182156110a357169182156110535760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260028252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9060018060a01b038083166000526002602052604060002090821660005260205260406000205492600019840361112c575b50505050565b8084106111475761113e930391610ff2565b38808080611126565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b6001600160a01b0390811691821561137a5716918215611329576111ae611780565b6000908382526020916008835260409060ff82822054166112d5578481526008845260ff8282205416611285578481526001845281812054838110611232579181847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef969594888495526001875203828220558781522082815401905551908152a3565b825162461bcd60e51b815260048101869052602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b815162461bcd60e51b8152600481018590526024808201527f426c61636b4c6973743a2053656e646572206163636f756e7420697320626c6f60448201526318dad95960e21b6064820152608490fd5b815162461bcd60e51b815260048101859052602760248201527f426c61636b4c6973743a20526563697069656e74206163636f756e7420697320604482015266189b1bd8dad95960ca1b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b60075460101c6001600160a01b031633036113e457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90600354916114378284610fab565b60045410611511576001600160a01b03169182156114cc57611457611780565b6000918383526020916008835260409060ff82862054166112d5578480526008845260ff828620541661128557906114b2837fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef959493610fab565b6003558585526001835280852082815401905551908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b60405162461bcd60e51b8152602060048201526013602482015272115490cc8c0e8818d85c08195e18d959591959606a1b6044820152606490fd5b6001600160a01b031680156116d357611563611780565b60009182805260209060088252604060ff8186205416611680578385526008835260ff81862054166116315783855260018352808520548281106115e25790827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef949392868852600185520381872055816003540360035551908152a3565b815162461bcd60e51b815260048101859052602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b5162461bcd60e51b8152600481018390526024808201527f426c61636b4c6973743a2053656e646572206163636f756e7420697320626c6f60448201526318dad95960e21b6064820152608490fd5b5162461bcd60e51b815260048101839052602760248201527f426c61636b4c6973743a20526563697069656e74206163636f756e7420697320604482015266189b1bd8dad95960ca1b6064820152608490fd5b60405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b6007805462010000600160b01b03198116601084811b62010000600160b01b0316919091179092556001600160a01b0392831692911c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b60ff60075460081c1661178f57565b60405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606490fdfe036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0f652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3fa2646970667358221220b0bcf55749959cc27f0768f392cb9c51594d5c7ae098e4b9c51ec802e51df96c64736f6c63430008180033
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c90816306fdde0314610df057508063095ea7b314610dca57806318160ddd14610dac57806323b872dd14610d74578063313ce56714610d535780633950935114610d025780633f4ba83a14610c6a57806340c10f1914610c3d57806342966c6814610c205780634d78fdc614610b4d5780635c975abb14610b275780635d2b8af81461064557806370a082311461060b578063715018a6146105a957806379cc6790146105795780637c0a893d146104a65780638456cb591461044a5780638da5cb5b1461041d57806395d89b411461034c578063a457c2d7146102a5578063a9059cbb14610274578063ca88bd5b14610235578063d5abeb0114610217578063dd62ed3e146101c65763f2fde38b1461013257600080fd5b346101c15760203660031901126101c15761014b610ecc565b6101536113cd565b6001600160a01b0381161561016d5761016b90611722565b005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b346101c15760403660031901126101c1576101df610ecc565b6101e7610ee2565b9060018060a01b038091166000526002602052604060002091166000526020526020604060002054604051908152f35b346101c15760003660031901126101c1576020600454604051908152f35b346101c15760203660031901126101c1576001600160a01b03610256610ecc565b166000526008602052602060ff604060002054166040519015158152f35b346101c15760403660031901126101c15761029a610290610ecc565b602435903361118c565b602060405160018152f35b346101c15760403660031901126101c1576102be610ecc565b60243590336000526002602052604060002060018060a01b038216600052602052604060002054918083106102f95761029a92039033610ff2565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346101c15760003660031901126101c157604051600060065461036e81610f71565b808452906020906001908181169081156103f357506001146103ab575b6103a78561039b81870382610ef8565b60405191829182610e83565b0390f35b6006600090815293506000805160206117e88339815191525b8385106103e05750505050810160200161039b826103a761038b565b80548686018401529382019381016103c4565b8695506103a79693506020925061039b94915060ff191682840152151560051b820101929361038b565b346101c15760003660031901126101c15760075460405160109190911c6001600160a01b03168152602090f35b346101c15760003660031901126101c1576104636113cd565b61046b611780565b61010061ff001960075416176007557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b346101c15760203660031901126101c1576104bf610ecc565b6104c76113cd565b6001600160a01b031660008181526008602052604090205460ff16610526578060005260086020526040600020600160ff198254161790557f8632489584ac3cfc9b78cc6c2197c31ca9e3821bfa5ca5c9af28917b92db24d9600080a2005b60405162461bcd60e51b815260206004820152602560248201527f426c61636b6c6973743a204163636f756e7420697320616c726561647920626c6044820152641bd8dad95960da1b6064820152608490fd5b346101c15760403660031901126101c15761016b610595610ecc565b602435906105a48233836110f4565b61154c565b346101c15760003660031901126101c1576105c26113cd565b6007805462010000600160b01b0319811690915560009060101c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101c15760203660031901126101c1576001600160a01b0361062c610ecc565b1660005260016020526020604060002054604051908152f35b346101c15760c03660031901126101c15761065e610ecc565b60243567ffffffffffffffff81116101c15761067e903690600401610f1a565b60443567ffffffffffffffff81116101c15761069e903690600401610f1a565b9160ff60643516606435036101c15760a435916000549260ff8460081c161593848095610b1a575b8015610b03575b15610aa75760ff19811660011760005584610a95575b506106ed83611722565b6000198103610a7a5750600019905b60ff60005460081c1615610a215780519067ffffffffffffffff8211610914578190610729600554610f71565b601f81116109ad575b50602090601f83116001146109355760009261092a575b50508160011b916000199060031b1c1916176005555b835167ffffffffffffffff81116109145761077b600654610f71565b601f81116108a7575b506020601f82116001146108305781906107e79596600092610825575b50508160011b916000199060031b1c1916176006555b60ff6064351660ff1960075416176007556004556107e16107d9606435610fce565b608435610fdf565b90611428565b6107ed57005b61ff0019600054166000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a1005b0151905086806107a1565b601f1982169560066000526000805160206117e88339815191529660005b81811061088f5750916107e7969791846001959410610876575b505050811b016006556107b7565b015160001960f88460031b161c19169055868080610868565b8383015189556001909801976020938401930161084e565b6006600052601f820160051c6000805160206117e88339815191520190602083106108fe575b601f0160051c6000805160206117e883398151915201905b8181106108f25750610784565b600081556001016108e5565b6000805160206117e883398151915291506108cd565b634e487b7160e01b600052604160045260246000fd5b015190508680610749565b925060056000526000805160206117c8833981519152906000935b601f1984168510610992576001945083601f19811610610979575b505050811b0160055561075f565b015160001960f88460031b161c1916905586808061096b565b81810151835560209485019460019093019290910190610950565b9091506005600052601f830160051c6000805160206117c88339815191520160208410610a0c575b908392915b601f820160051c6000805160206117c88339815191520181106109fd5750610732565b600081558493506001016109da565b506000805160206117c88339815191526109d5565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b610a8f90610a89606435610fce565b90610fdf565b906106fc565b61ffff191661010117600055856106e3565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156106cd5750600160ff8216146106cd565b50600160ff8216106106c6565b346101c15760003660031901126101c157602060ff60075460081c166040519015158152f35b346101c15760203660031901126101c157610b66610ecc565b610b6e6113cd565b6001600160a01b031660008181526008602052604090205460ff1615610bcb57806000526008602052604060002060ff1981541690557fa885a62df16bfeabc96ed9b845b30dd4038f039ca1679490125c314222355e3f600080a2005b60405162461bcd60e51b815260206004820152602760248201527f426c61636b6c6973743a204163636f756e7420697320616c726561647920756e604482015266189b1bd8dad95960ca1b6064820152608490fd5b346101c15760203660031901126101c15761016b6004353361154c565b346101c15760403660031901126101c15761016b610c59610ecc565b610c616113cd565b60243590611428565b346101c15760003660031901126101c157610c836113cd565b60075460ff8160081c1615610cc65761ff0019166007557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b60405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606490fd5b346101c15760403660031901126101c15761029a610d1e610ecc565b336000526002602052604060002060018060a01b038216600052602052610d4c602435604060002054610fab565b9033610ff2565b346101c15760003660031901126101c157602060ff60075416604051908152f35b346101c15760603660031901126101c15761029a610d90610ecc565b610d98610ee2565b60443591610da78333836110f4565b61118c565b346101c15760003660031901126101c1576020600354604051908152f35b346101c15760403660031901126101c15761029a610de6610ecc565b6024359033610ff2565b346101c15760003660031901126101c1576000600554610e0f81610f71565b808452906020906001908181169081156103f35750600114610e3b576103a78561039b81870382610ef8565b6005600090815293506000805160206117c88339815191525b838510610e705750505050810160200161039b826103a761038b565b8054868601840152938201938101610e54565b6020808252825181830181905290939260005b828110610eb857505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610e96565b600435906001600160a01b03821682036101c157565b602435906001600160a01b03821682036101c157565b90601f8019910116810190811067ffffffffffffffff82111761091457604052565b81601f820112156101c15780359067ffffffffffffffff82116109145760405192610f4f601f8401601f191660200185610ef8565b828452602083830101116101c157816000926020809301838601378301015290565b90600182811c92168015610fa1575b6020831014610f8b57565b634e487b7160e01b600052602260045260246000fd5b91607f1691610f80565b91908201809211610fb857565b634e487b7160e01b600052601160045260246000fd5b60ff16604d8111610fb857600a0a90565b81810292918115918404141715610fb857565b6001600160a01b039081169182156110a357169182156110535760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260028252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9060018060a01b038083166000526002602052604060002090821660005260205260406000205492600019840361112c575b50505050565b8084106111475761113e930391610ff2565b38808080611126565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b6001600160a01b0390811691821561137a5716918215611329576111ae611780565b6000908382526020916008835260409060ff82822054166112d5578481526008845260ff8282205416611285578481526001845281812054838110611232579181847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef969594888495526001875203828220558781522082815401905551908152a3565b825162461bcd60e51b815260048101869052602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b815162461bcd60e51b8152600481018590526024808201527f426c61636b4c6973743a2053656e646572206163636f756e7420697320626c6f60448201526318dad95960e21b6064820152608490fd5b815162461bcd60e51b815260048101859052602760248201527f426c61636b4c6973743a20526563697069656e74206163636f756e7420697320604482015266189b1bd8dad95960ca1b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b60075460101c6001600160a01b031633036113e457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90600354916114378284610fab565b60045410611511576001600160a01b03169182156114cc57611457611780565b6000918383526020916008835260409060ff82862054166112d5578480526008845260ff828620541661128557906114b2837fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef959493610fab565b6003558585526001835280852082815401905551908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b60405162461bcd60e51b8152602060048201526013602482015272115490cc8c0e8818d85c08195e18d959591959606a1b6044820152606490fd5b6001600160a01b031680156116d357611563611780565b60009182805260209060088252604060ff8186205416611680578385526008835260ff81862054166116315783855260018352808520548281106115e25790827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef949392868852600185520381872055816003540360035551908152a3565b815162461bcd60e51b815260048101859052602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b5162461bcd60e51b8152600481018390526024808201527f426c61636b4c6973743a2053656e646572206163636f756e7420697320626c6f60448201526318dad95960e21b6064820152608490fd5b5162461bcd60e51b815260048101839052602760248201527f426c61636b4c6973743a20526563697069656e74206163636f756e7420697320604482015266189b1bd8dad95960ca1b6064820152608490fd5b60405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b6007805462010000600160b01b03198116601084811b62010000600160b01b0316919091179092556001600160a01b0392831692911c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b60ff60075460081c1661178f57565b60405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606490fdfe036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0f652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3fa2646970667358221220b0bcf55749959cc27f0768f392cb9c51594d5c7ae098e4b9c51ec802e51df96c64736f6c63430008180033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
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.