Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Advanced 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 | Method | Block |
From
|
|
To
|
|||
|---|---|---|---|---|---|---|---|---|
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer From | 24511238 | 1 min ago | 0 ETH | |||||
| Approve | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511238 | 1 min ago | 0 ETH | |||||
| Balance Of | 24511238 | 1 min ago | 0 ETH | |||||
| Transfer | 24511236 | 1 min ago | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TetherToken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.4;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol";
import "./WithBlockedList.sol";
/*
Copyright Tether.to 2020
Author Will Harborne
Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
*/
contract TetherToken is Initializable, ERC20PermitUpgradeable, OwnableUpgradeable, WithBlockedList {
// Unused variable retained to preserve storage slots across upgrades
mapping(address => bool) public isTrusted;
uint8 private tetherDecimals;
function initialize(
string memory _name,
string memory _symbol,
uint8 _decimals
) public initializer {
tetherDecimals = _decimals;
__Ownable_init();
__ERC20_init(_name, _symbol);
__ERC20Permit_init(_name);
}
function decimals() public view virtual override returns (uint8) {
return tetherDecimals;
}
function transfer(address _recipient, uint256 _amount) public virtual override onlyNotBlocked returns (bool) {
require(_recipient != address(this), "ERC20: transfer to the contract address");
return super.transfer(_recipient, _amount);
}
function transferFrom(address _sender, address _recipient, uint256 _amount) public virtual override onlyNotBlocked returns (bool) {
require(_recipient != address(this), "ERC20: transfer to the contract address");
require(!isBlocked[_sender]);
return super.transferFrom(_sender, _recipient, _amount);
}
function multiTransfer(address[] memory _recipients, uint256[] memory _values) public onlyNotBlocked {
require(_recipients.length == _values.length , "ERC20: multiTransfer mismatch");
for (uint256 i = 0; i < _recipients.length; i++) {
transfer(_recipients[i], _values[i]);
}
}
function mint(address _destination, uint256 _amount) public onlyOwner {
_mint(_destination, _amount);
emit Mint(_destination, _amount);
}
function redeem(uint256 _amount) public onlyOwner {
_burn(owner(), _amount);
emit Redeem(_amount);
}
function destroyBlockedFunds (address _blockedUser) public onlyOwner {
require(isBlocked[_blockedUser]);
uint blockedFunds = balanceOf(_blockedUser);
_burn(_blockedUser, blockedFunds);
emit DestroyedBlockedFunds(_blockedUser, blockedFunds);
}
event Mint(address indexed _destination, uint _amount);
event Redeem(uint _amount);
event DestroyedBlockedFunds(address indexed _blockedUser, uint _balance);
}pragma solidity 0.8.4;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
/*
Copyright Tether.to 2020
Author Will Harborne
Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
*/
contract WithBlockedList is OwnableUpgradeable {
/**
* @dev Reverts if called by a blocked account
*/
modifier onlyNotBlocked() {
require(!isBlocked[_msgSender()], "Blocked: transfers are blocked for user");
_;
}
mapping (address => bool) public isBlocked;
function addToBlockedList (address _user) public onlyOwner {
isBlocked[_user] = true;
emit BlockPlaced(_user);
}
function removeFromBlockedList (address _user) public onlyOwner {
isBlocked[_user] = false;
emit BlockReleased(_user);
}
event BlockPlaced(address indexed _user);
event BlockReleased(address indexed _user);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ECDSAUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712Upgradeable is Initializable {
/* solhint-disable var-name-mixedcase */
bytes32 private _HASHED_NAME;
bytes32 private _HASHED_VERSION;
bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
function __EIP712_init(string memory name, string memory version) internal initializer {
__EIP712_init_unchained(name, version);
}
function __EIP712_init_unchained(string memory name, string memory version) internal initializer {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash());
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash);
}
/**
* @dev The hash of the name parameter for the EIP712 domain.
*
* NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
* are a concern.
*/
function _EIP712NameHash() internal virtual view returns (bytes32) {
return _HASHED_NAME;
}
/**
* @dev The hash of the version parameter for the EIP712 domain.
*
* NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
* are a concern.
*/
function _EIP712VersionHash() internal virtual view returns (bytes32) {
return _HASHED_VERSION;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSAUpgradeable {
/**
* @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.
*
* 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]
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return recover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return recover(hash, r, vs);
} else {
revert("ECDSA: invalid signature length");
}
}
/**
* @dev Overload of {ECDSA-recover} 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.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
bytes32 s;
uint8 v;
assembly {
s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
v := add(shr(255, vs), 27)
}
return recover(hash, v, r, s);
}
/**
* @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) {
// 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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.
require(
uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
"ECDSA: invalid signature 's' value"
);
require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
require(signer != address(0), "ECDSA: invalid signature");
return signer;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library CountersUpgradeable {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract ContextUpgradeable is Initializable {
function __Context_init() internal initializer {
__Context_init_unchained();
}
function __Context_init_unchained() internal initializer {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20PermitUpgradeable {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./draft-IERC20PermitUpgradeable.sol";
import "../ERC20Upgradeable.sol";
import "../../../utils/cryptography/draft-EIP712Upgradeable.sol";
import "../../../utils/cryptography/ECDSAUpgradeable.sol";
import "../../../utils/CountersUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable {
using CountersUpgradeable for CountersUpgradeable.Counter;
mapping(address => CountersUpgradeable.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH;
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
function __ERC20Permit_init(string memory name) internal initializer {
__Context_init_unchained();
__EIP712_init_unchained(name, "1");
__ERC20Permit_init_unchained(name);
}
function __ERC20Permit_init_unchained(string memory name) internal initializer {
_PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSAUpgradeable.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
CountersUpgradeable.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20Upgradeable.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin guidelines: functions revert instead
* of returning `false` on failure. This behavior is nonetheless conventional
* and does not conflict with the expectations of ERC20 applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
__Context_init_unchained();
__ERC20_init_unchained(name_, symbol_);
}
function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
uint256[45] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Modifier to protect an initializer function from being invoked twice.
*/
modifier initializer() {
require(_initializing || !_initialized, "Initializable: contract is already initialized");
bool isTopLevelCall = !_initializing;
if (isTopLevelCall) {
_initializing = true;
_initialized = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../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 initializer {
__Context_init_unchained();
__Ownable_init_unchained();
}
function __Ownable_init_unchained() internal initializer {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(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");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
uint256[49] private __gap;
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"}],"name":"BlockPlaced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"}],"name":"BlockReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_blockedUser","type":"address"},{"indexed":false,"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"DestroyedBlockedFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Mint","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":"uint256","name":"_amount","type":"uint256"}],"name":"Redeem","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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"addToBlockedList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"_blockedUser","type":"address"}],"name":"destroyBlockedFunds","outputs":[],"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":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTrusted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"}],"name":"multiTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_amount","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeFromBlockedList","outputs":[],"stateMutability":"nonpayable","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":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50612051806100206000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063a457c2d711610097578063db006a7511610071578063db006a7514610362578063dd62ed3e14610375578063f2fde38b146103ae578063fbac3951146103c157600080fd5b8063a457c2d714610329578063a9059cbb1461033c578063d505accf1461034f57600080fd5b806370a082311461029e578063715018a6146102c75780637ecebe00146102cf5780638da5cb5b146102e257806395d89b41146102fd57806396d648791461030557600080fd5b80631e89d5451161014b5780633644e515116101255780633644e5151461025d57806339509351146102655780633c7c9b901461027857806340c10f191461028b57600080fd5b80631e89d5451461022157806323b872dd14610234578063313ce5671461024757600080fd5b806306fdde0314610193578063095ea7b3146101b15780630e27a385146101d45780631624f6c6146101e957806318160ddd146101fc5780631a14f4491461020e575b600080fd5b61019b6103e4565b6040516101a89190611db7565b60405180910390f35b6101c46101bf366004611c44565b610476565b60405190151581526020016101a8565b6101e76101e2366004611b54565b61048c565b005b6101e76101f7366004611d2e565b61054e565b6035545b6040519081526020016101a8565b6101e761021c366004611b54565b6105e8565b6101e761022f366004611c6d565b61065b565b6101c4610242366004611ba0565b610758565b6101005460405160ff90911681526020016101a8565b6102006107ea565b6101c4610273366004611c44565b6107f9565b6101e7610286366004611b54565b610835565b6101e7610299366004611c44565b6108ab565b6102006102ac366004611b54565b6001600160a01b031660009081526033602052604090205490565b6101e761091a565b6102006102dd366004611b54565b610950565b60cc546040516001600160a01b0390911681526020016101a8565b61019b610970565b6101c4610313366004611b54565b60ff602081905260009182526040909120541681565b6101c4610337366004611c44565b61097f565b6101c461034a366004611c44565b610a18565b6101e761035d366004611bdb565b610a82565b6101e7610370366004611d9f565b610bc8565b610200610383366004611b6e565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6101e76103bc366004611b54565b610c43565b6101c46103cf366004611b54565b60fe6020526000908152604090205460ff1681565b6060603680546103f390611f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461041f90611f9f565b801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b5050505050905090565b6000610483338484610cde565b50600192915050565b60cc546001600160a01b031633146104bf5760405162461bcd60e51b81526004016104b690611ee6565b60405180910390fd5b6001600160a01b038116600090815260fe602052604090205460ff166104e457600080fd5b6001600160a01b0381166000908152603360205260409020546105078282610e02565b816001600160a01b03167f6a2859ae7902313752498feb80a014e6e7275fe964c79aa965db815db1c7f1e98260405161054291815260200190565b60405180910390a25050565b600054610100900460ff1680610567575060005460ff16155b6105835760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff161580156105a5576000805461ffff19166101011790555b610100805460ff191660ff84161790556105bd610f50565b6105c78484610fcb565b6105d08461104a565b80156105e2576000805461ff00191690555b50505050565b60cc546001600160a01b031633146106125760405162461bcd60e51b81526004016104b690611ee6565b6001600160a01b038116600081815260fe6020526040808220805460ff19169055517f665918c9e02eb2fd85acca3969cb054fc84c138e60ec4af22ab6ef2fd4c93c279190a250565b33600090815260fe602052604090205460ff161561068b5760405162461bcd60e51b81526004016104b690611e9f565b80518251146106dc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a206d756c74695472616e73666572206d69736d6174636800000060448201526064016104b6565b60005b82518110156107535761074083828151811061070b57634e487b7160e01b600052603260045260246000fd5b602002602001015183838151811061073357634e487b7160e01b600052603260045260246000fd5b6020026020010151610a18565b508061074b81611fd4565b9150506106df565b505050565b33600090815260fe602052604081205460ff16156107885760405162461bcd60e51b81526004016104b690611e9f565b6001600160a01b0383163014156107b15760405162461bcd60e51b81526004016104b690611e0a565b6001600160a01b038416600090815260fe602052604090205460ff16156107d757600080fd5b6107e28484846110eb565b949350505050565b60006107f4611195565b905090565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610483918590610830908690611f70565b610cde565b60cc546001600160a01b0316331461085f5760405162461bcd60e51b81526004016104b690611ee6565b6001600160a01b038116600081815260fe6020526040808220805460ff19166001179055517f406bbf2d8d145125adf1198d2cf8a67c66cc4bb0ab01c37dccd4f7c0aae1e7c79190a250565b60cc546001600160a01b031633146108d55760405162461bcd60e51b81526004016104b690611ee6565b6108df8282611210565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161054291815260200190565b60cc546001600160a01b031633146109445760405162461bcd60e51b81526004016104b690611ee6565b61094e60006112ef565b565b6001600160a01b0381166000908152609960205260408120545b92915050565b6060603780546103f390611f9f565b3360009081526034602090815260408083206001600160a01b038616845290915281205482811015610a015760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b6565b610a0e3385858403610cde565b5060019392505050565b33600090815260fe602052604081205460ff1615610a485760405162461bcd60e51b81526004016104b690611e9f565b6001600160a01b038316301415610a715760405162461bcd60e51b81526004016104b690611e0a565b610a7b8383611341565b9392505050565b83421115610ad25760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016104b6565b6000609a54888888610ae38c61134e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610b3e82611376565b90506000610b4e828787876113c4565b9050896001600160a01b0316816001600160a01b031614610bb15760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016104b6565b610bbc8a8a8a610cde565b50505050505050505050565b60cc546001600160a01b03163314610bf25760405162461bcd60e51b81526004016104b690611ee6565b610c0d610c0760cc546001600160a01b031690565b82610e02565b6040518181527f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a449060200160405180910390a150565b60cc546001600160a01b03163314610c6d5760405162461bcd60e51b81526004016104b690611ee6565b6001600160a01b038116610cd25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b6565b610cdb816112ef565b50565b6001600160a01b038316610d405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b6565b6001600160a01b038216610da15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b6565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610e625760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104b6565b6001600160a01b03821660009081526033602052604090205481811015610ed65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104b6565b6001600160a01b0383166000908152603360205260408120838303905560358054849290610f05908490611f88565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1680610f69575060005460ff16155b610f855760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015610fa7576000805461ffff19166101011790555b610faf61156d565b610fb76115d7565b8015610cdb576000805461ff001916905550565b600054610100900460ff1680610fe4575060005460ff16155b6110005760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015611022576000805461ffff19166101011790555b61102a61156d565b6110348383611637565b8015610753576000805461ff0019169055505050565b600054610100900460ff1680611063575060005460ff16155b61107f5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff161580156110a1576000805461ffff19166101011790555b6110a961156d565b6110cc82604051806040016040528060018152602001603160f81b8152506116cc565b6110d582611756565b80156110e7576000805461ff00191690555b5050565b60006110f88484846117e6565b6001600160a01b03841660009081526034602090815260408083203384529091529020548281101561117d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104b6565b61118a8533858403610cde565b506001949350505050565b60006107f47f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6111c460655490565b6066546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6001600160a01b0382166112665760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104b6565b80603560008282546112789190611f70565b90915550506001600160a01b038216600090815260336020526040812080548392906112a5908490611f70565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60cc80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006104833384846117e6565b6001600160a01b03811660009081526099602052604090208054600181018255905b50919050565b600061096a611383611195565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104b6565b8360ff16601b148061145657508360ff16601c145b6114ad5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104b6565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611501573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166115645760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104b6565b95945050505050565b600054610100900460ff1680611586575060005460ff16155b6115a25760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015610fb7576000805461ffff19166101011790558015610cdb576000805461ff001916905550565b600054610100900460ff16806115f0575060005460ff16155b61160c5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff1615801561162e576000805461ffff19166101011790555b610fb7336112ef565b600054610100900460ff1680611650575060005460ff16155b61166c5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff1615801561168e576000805461ffff19166101011790555b82516116a19060369060208601906119b4565b5081516116b59060379060208501906119b4565b508015610753576000805461ff0019169055505050565b600054610100900460ff16806116e5575060005460ff16155b6117015760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015611723576000805461ffff19166101011790555b82516020808501919091208351918401919091206065919091556066558015610753576000805461ff0019169055505050565b600054610100900460ff168061176f575060005460ff16155b61178b5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff161580156117ad576000805461ffff19166101011790555b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9609a5580156110e7576000805461ff00191690555050565b6001600160a01b03831661184a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b6565b6001600160a01b0382166118ac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b6565b6001600160a01b038316600090815260336020526040902054818110156119245760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b6565b6001600160a01b0380851660009081526033602052604080822085850390559185168152908120805484929061195b908490611f70565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119a791815260200190565b60405180910390a36105e2565b8280546119c090611f9f565b90600052602060002090601f0160209004810192826119e25760008555611a28565b82601f106119fb57805160ff1916838001178555611a28565b82800160010185558215611a28579182015b82811115611a28578251825591602001919060010190611a0d565b50611a34929150611a38565b5090565b5b80821115611a345760008155600101611a39565b80356001600160a01b0381168114611a6457600080fd5b919050565b600082601f830112611a79578081fd5b81356020611a8e611a8983611f4c565b611f1b565b80838252828201915082860187848660051b8901011115611aad578586fd5b855b85811015611acb57813584529284019290840190600101611aaf565b5090979650505050505050565b600082601f830112611ae8578081fd5b813567ffffffffffffffff811115611b0257611b02612005565b611b15601f8201601f1916602001611f1b565b818152846020838601011115611b29578283fd5b816020850160208301379081016020019190915292915050565b803560ff81168114611a6457600080fd5b600060208284031215611b65578081fd5b610a7b82611a4d565b60008060408385031215611b80578081fd5b611b8983611a4d565b9150611b9760208401611a4d565b90509250929050565b600080600060608486031215611bb4578081fd5b611bbd84611a4d565b9250611bcb60208501611a4d565b9150604084013590509250925092565b600080600080600080600060e0888a031215611bf5578283fd5b611bfe88611a4d565b9650611c0c60208901611a4d565b95506040880135945060608801359350611c2860808901611b43565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611c56578182fd5b611c5f83611a4d565b946020939093013593505050565b60008060408385031215611c7f578182fd5b823567ffffffffffffffff80821115611c96578384fd5b818501915085601f830112611ca9578384fd5b81356020611cb9611a8983611f4c565b8083825282820191508286018a848660051b8901011115611cd8578889fd5b8896505b84871015611d0157611ced81611a4d565b835260019690960195918301918301611cdc565b5096505086013592505080821115611d17578283fd5b50611d2485828601611a69565b9150509250929050565b600080600060608486031215611d42578283fd5b833567ffffffffffffffff80821115611d59578485fd5b611d6587838801611ad8565b94506020860135915080821115611d7a578384fd5b50611d8786828701611ad8565b925050611d9660408501611b43565b90509250925092565b600060208284031215611db0578081fd5b5035919050565b6000602080835283518082850152825b81811015611de357858101830151858201604001528201611dc7565b81811115611df45783604083870101525b50601f01601f1916929092016040019392505050565b60208082526027908201527f45524332303a207472616e7366657220746f2074686520636f6e7472616374206040820152666164647265737360c81b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526027908201527f426c6f636b65643a207472616e73666572732061726520626c6f636b6564206660408201526637b9103ab9b2b960c91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611f4457611f44612005565b604052919050565b600067ffffffffffffffff821115611f6657611f66612005565b5060051b60200190565b60008219821115611f8357611f83611fef565b500190565b600082821015611f9a57611f9a611fef565b500390565b600181811c90821680611fb357607f821691505b6020821081141561137057634e487b7160e01b600052602260045260246000fd5b6000600019821415611fe857611fe8611fef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220bb79ca0b135c484a5d62b9ba62e3a76ff11b2c3cc91c7d7bc102c162046e820164736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063a457c2d711610097578063db006a7511610071578063db006a7514610362578063dd62ed3e14610375578063f2fde38b146103ae578063fbac3951146103c157600080fd5b8063a457c2d714610329578063a9059cbb1461033c578063d505accf1461034f57600080fd5b806370a082311461029e578063715018a6146102c75780637ecebe00146102cf5780638da5cb5b146102e257806395d89b41146102fd57806396d648791461030557600080fd5b80631e89d5451161014b5780633644e515116101255780633644e5151461025d57806339509351146102655780633c7c9b901461027857806340c10f191461028b57600080fd5b80631e89d5451461022157806323b872dd14610234578063313ce5671461024757600080fd5b806306fdde0314610193578063095ea7b3146101b15780630e27a385146101d45780631624f6c6146101e957806318160ddd146101fc5780631a14f4491461020e575b600080fd5b61019b6103e4565b6040516101a89190611db7565b60405180910390f35b6101c46101bf366004611c44565b610476565b60405190151581526020016101a8565b6101e76101e2366004611b54565b61048c565b005b6101e76101f7366004611d2e565b61054e565b6035545b6040519081526020016101a8565b6101e761021c366004611b54565b6105e8565b6101e761022f366004611c6d565b61065b565b6101c4610242366004611ba0565b610758565b6101005460405160ff90911681526020016101a8565b6102006107ea565b6101c4610273366004611c44565b6107f9565b6101e7610286366004611b54565b610835565b6101e7610299366004611c44565b6108ab565b6102006102ac366004611b54565b6001600160a01b031660009081526033602052604090205490565b6101e761091a565b6102006102dd366004611b54565b610950565b60cc546040516001600160a01b0390911681526020016101a8565b61019b610970565b6101c4610313366004611b54565b60ff602081905260009182526040909120541681565b6101c4610337366004611c44565b61097f565b6101c461034a366004611c44565b610a18565b6101e761035d366004611bdb565b610a82565b6101e7610370366004611d9f565b610bc8565b610200610383366004611b6e565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6101e76103bc366004611b54565b610c43565b6101c46103cf366004611b54565b60fe6020526000908152604090205460ff1681565b6060603680546103f390611f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461041f90611f9f565b801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b5050505050905090565b6000610483338484610cde565b50600192915050565b60cc546001600160a01b031633146104bf5760405162461bcd60e51b81526004016104b690611ee6565b60405180910390fd5b6001600160a01b038116600090815260fe602052604090205460ff166104e457600080fd5b6001600160a01b0381166000908152603360205260409020546105078282610e02565b816001600160a01b03167f6a2859ae7902313752498feb80a014e6e7275fe964c79aa965db815db1c7f1e98260405161054291815260200190565b60405180910390a25050565b600054610100900460ff1680610567575060005460ff16155b6105835760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff161580156105a5576000805461ffff19166101011790555b610100805460ff191660ff84161790556105bd610f50565b6105c78484610fcb565b6105d08461104a565b80156105e2576000805461ff00191690555b50505050565b60cc546001600160a01b031633146106125760405162461bcd60e51b81526004016104b690611ee6565b6001600160a01b038116600081815260fe6020526040808220805460ff19169055517f665918c9e02eb2fd85acca3969cb054fc84c138e60ec4af22ab6ef2fd4c93c279190a250565b33600090815260fe602052604090205460ff161561068b5760405162461bcd60e51b81526004016104b690611e9f565b80518251146106dc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a206d756c74695472616e73666572206d69736d6174636800000060448201526064016104b6565b60005b82518110156107535761074083828151811061070b57634e487b7160e01b600052603260045260246000fd5b602002602001015183838151811061073357634e487b7160e01b600052603260045260246000fd5b6020026020010151610a18565b508061074b81611fd4565b9150506106df565b505050565b33600090815260fe602052604081205460ff16156107885760405162461bcd60e51b81526004016104b690611e9f565b6001600160a01b0383163014156107b15760405162461bcd60e51b81526004016104b690611e0a565b6001600160a01b038416600090815260fe602052604090205460ff16156107d757600080fd5b6107e28484846110eb565b949350505050565b60006107f4611195565b905090565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610483918590610830908690611f70565b610cde565b60cc546001600160a01b0316331461085f5760405162461bcd60e51b81526004016104b690611ee6565b6001600160a01b038116600081815260fe6020526040808220805460ff19166001179055517f406bbf2d8d145125adf1198d2cf8a67c66cc4bb0ab01c37dccd4f7c0aae1e7c79190a250565b60cc546001600160a01b031633146108d55760405162461bcd60e51b81526004016104b690611ee6565b6108df8282611210565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161054291815260200190565b60cc546001600160a01b031633146109445760405162461bcd60e51b81526004016104b690611ee6565b61094e60006112ef565b565b6001600160a01b0381166000908152609960205260408120545b92915050565b6060603780546103f390611f9f565b3360009081526034602090815260408083206001600160a01b038616845290915281205482811015610a015760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b6565b610a0e3385858403610cde565b5060019392505050565b33600090815260fe602052604081205460ff1615610a485760405162461bcd60e51b81526004016104b690611e9f565b6001600160a01b038316301415610a715760405162461bcd60e51b81526004016104b690611e0a565b610a7b8383611341565b9392505050565b83421115610ad25760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016104b6565b6000609a54888888610ae38c61134e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610b3e82611376565b90506000610b4e828787876113c4565b9050896001600160a01b0316816001600160a01b031614610bb15760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016104b6565b610bbc8a8a8a610cde565b50505050505050505050565b60cc546001600160a01b03163314610bf25760405162461bcd60e51b81526004016104b690611ee6565b610c0d610c0760cc546001600160a01b031690565b82610e02565b6040518181527f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a449060200160405180910390a150565b60cc546001600160a01b03163314610c6d5760405162461bcd60e51b81526004016104b690611ee6565b6001600160a01b038116610cd25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b6565b610cdb816112ef565b50565b6001600160a01b038316610d405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b6565b6001600160a01b038216610da15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b6565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610e625760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104b6565b6001600160a01b03821660009081526033602052604090205481811015610ed65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104b6565b6001600160a01b0383166000908152603360205260408120838303905560358054849290610f05908490611f88565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1680610f69575060005460ff16155b610f855760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015610fa7576000805461ffff19166101011790555b610faf61156d565b610fb76115d7565b8015610cdb576000805461ff001916905550565b600054610100900460ff1680610fe4575060005460ff16155b6110005760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015611022576000805461ffff19166101011790555b61102a61156d565b6110348383611637565b8015610753576000805461ff0019169055505050565b600054610100900460ff1680611063575060005460ff16155b61107f5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff161580156110a1576000805461ffff19166101011790555b6110a961156d565b6110cc82604051806040016040528060018152602001603160f81b8152506116cc565b6110d582611756565b80156110e7576000805461ff00191690555b5050565b60006110f88484846117e6565b6001600160a01b03841660009081526034602090815260408083203384529091529020548281101561117d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104b6565b61118a8533858403610cde565b506001949350505050565b60006107f47f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6111c460655490565b6066546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6001600160a01b0382166112665760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104b6565b80603560008282546112789190611f70565b90915550506001600160a01b038216600090815260336020526040812080548392906112a5908490611f70565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60cc80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006104833384846117e6565b6001600160a01b03811660009081526099602052604090208054600181018255905b50919050565b600061096a611383611195565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104b6565b8360ff16601b148061145657508360ff16601c145b6114ad5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104b6565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611501573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166115645760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104b6565b95945050505050565b600054610100900460ff1680611586575060005460ff16155b6115a25760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015610fb7576000805461ffff19166101011790558015610cdb576000805461ff001916905550565b600054610100900460ff16806115f0575060005460ff16155b61160c5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff1615801561162e576000805461ffff19166101011790555b610fb7336112ef565b600054610100900460ff1680611650575060005460ff16155b61166c5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff1615801561168e576000805461ffff19166101011790555b82516116a19060369060208601906119b4565b5081516116b59060379060208501906119b4565b508015610753576000805461ff0019169055505050565b600054610100900460ff16806116e5575060005460ff16155b6117015760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff16158015611723576000805461ffff19166101011790555b82516020808501919091208351918401919091206065919091556066558015610753576000805461ff0019169055505050565b600054610100900460ff168061176f575060005460ff16155b61178b5760405162461bcd60e51b81526004016104b690611e51565b600054610100900460ff161580156117ad576000805461ffff19166101011790555b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9609a5580156110e7576000805461ff00191690555050565b6001600160a01b03831661184a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b6565b6001600160a01b0382166118ac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b6565b6001600160a01b038316600090815260336020526040902054818110156119245760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b6565b6001600160a01b0380851660009081526033602052604080822085850390559185168152908120805484929061195b908490611f70565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119a791815260200190565b60405180910390a36105e2565b8280546119c090611f9f565b90600052602060002090601f0160209004810192826119e25760008555611a28565b82601f106119fb57805160ff1916838001178555611a28565b82800160010185558215611a28579182015b82811115611a28578251825591602001919060010190611a0d565b50611a34929150611a38565b5090565b5b80821115611a345760008155600101611a39565b80356001600160a01b0381168114611a6457600080fd5b919050565b600082601f830112611a79578081fd5b81356020611a8e611a8983611f4c565b611f1b565b80838252828201915082860187848660051b8901011115611aad578586fd5b855b85811015611acb57813584529284019290840190600101611aaf565b5090979650505050505050565b600082601f830112611ae8578081fd5b813567ffffffffffffffff811115611b0257611b02612005565b611b15601f8201601f1916602001611f1b565b818152846020838601011115611b29578283fd5b816020850160208301379081016020019190915292915050565b803560ff81168114611a6457600080fd5b600060208284031215611b65578081fd5b610a7b82611a4d565b60008060408385031215611b80578081fd5b611b8983611a4d565b9150611b9760208401611a4d565b90509250929050565b600080600060608486031215611bb4578081fd5b611bbd84611a4d565b9250611bcb60208501611a4d565b9150604084013590509250925092565b600080600080600080600060e0888a031215611bf5578283fd5b611bfe88611a4d565b9650611c0c60208901611a4d565b95506040880135945060608801359350611c2860808901611b43565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611c56578182fd5b611c5f83611a4d565b946020939093013593505050565b60008060408385031215611c7f578182fd5b823567ffffffffffffffff80821115611c96578384fd5b818501915085601f830112611ca9578384fd5b81356020611cb9611a8983611f4c565b8083825282820191508286018a848660051b8901011115611cd8578889fd5b8896505b84871015611d0157611ced81611a4d565b835260019690960195918301918301611cdc565b5096505086013592505080821115611d17578283fd5b50611d2485828601611a69565b9150509250929050565b600080600060608486031215611d42578283fd5b833567ffffffffffffffff80821115611d59578485fd5b611d6587838801611ad8565b94506020860135915080821115611d7a578384fd5b50611d8786828701611ad8565b925050611d9660408501611b43565b90509250925092565b600060208284031215611db0578081fd5b5035919050565b6000602080835283518082850152825b81811015611de357858101830151858201604001528201611dc7565b81811115611df45783604083870101525b50601f01601f1916929092016040019392505050565b60208082526027908201527f45524332303a207472616e7366657220746f2074686520636f6e7472616374206040820152666164647265737360c81b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526027908201527f426c6f636b65643a207472616e73666572732061726520626c6f636b6564206660408201526637b9103ab9b2b960c91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611f4457611f44612005565b604052919050565b600067ffffffffffffffff821115611f6657611f66612005565b5060051b60200190565b60008219821115611f8357611f83611fef565b500190565b600082821015611f9a57611f9a611fef565b500390565b600181811c90821680611fb357607f821691505b6020821081141561137057634e487b7160e01b600052602260045260246000fd5b6000600019821415611fe857611fe8611fef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220bb79ca0b135c484a5d62b9ba62e3a76ff11b2c3cc91c7d7bc102c162046e820164736f6c63430008040033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.