Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 27,751 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Batch Renew Any | 21465377 | 394 days ago | IN | 0.00246762 ETH | 0.0024857 | ||||
| Batch Renew Any | 21465147 | 394 days ago | IN | 0.00825906 ETH | 0.00092075 | ||||
| Batch Renew Any | 21464805 | 394 days ago | IN | 0.00164313 ETH | 0.0009855 | ||||
| Batch Renew Any | 21464798 | 394 days ago | IN | 0.0024647 ETH | 0.00170273 | ||||
| Batch Renew Any | 21464788 | 394 days ago | IN | 0.01150193 ETH | 0.00324673 | ||||
| Batch Renew Any | 21464480 | 394 days ago | IN | 0.0049551 ETH | 0.00176536 | ||||
| Batch Renew Any | 21464445 | 394 days ago | IN | 0.07380406 ETH | 0.00386138 | ||||
| Batch Renew Any | 21463732 | 395 days ago | IN | 0.00335041 ETH | 0.00066505 | ||||
| Batch Renew Any | 21463710 | 395 days ago | IN | 0.00102738 ETH | 0.00052798 | ||||
| Batch Renew Any | 21463619 | 395 days ago | IN | 0.00234831 ETH | 0.00059504 | ||||
| Batch Renew Any | 21463524 | 395 days ago | IN | 0.00505389 ETH | 0.00106616 | ||||
| Batch Renew Any | 21463327 | 395 days ago | IN | 0.00333393 ETH | 0.00071423 | ||||
| Batch Renew Any | 21462999 | 395 days ago | IN | 0.01658656 ETH | 0.00285592 | ||||
| Batch Renew Any | 21462993 | 395 days ago | IN | 0.01769233 ETH | 0.00112139 | ||||
| Batch Renew Any | 21462964 | 395 days ago | IN | 0.00829328 ETH | 0.00169092 | ||||
| Batch Renew Any | 21462202 | 395 days ago | IN | 0.00227146 ETH | 0.00201108 | ||||
| Batch Renew Any | 21462200 | 395 days ago | IN | 0.02044322 ETH | 0.00305107 | ||||
| Batch Renew Any | 21461976 | 395 days ago | IN | 0.00334608 ETH | 0.00065653 | ||||
| Batch Renew Any | 21461966 | 395 days ago | IN | 0.00167304 ETH | 0.00055565 | ||||
| Batch Renew Any | 21461960 | 395 days ago | IN | 0.00167304 ETH | 0.00061456 | ||||
| Batch Renew Any | 21461954 | 395 days ago | IN | 0.00168295 ETH | 0.00063685 | ||||
| Batch Renew Any | 21461740 | 395 days ago | IN | 0.00108193 ETH | 0.00063414 | ||||
| Batch Renew Any | 21461731 | 395 days ago | IN | 0.00191419 ETH | 0.00063354 | ||||
| Batch Renew Any | 21461707 | 395 days ago | IN | 0.00098991 ETH | 0.00067955 | ||||
| Batch Renew Any | 21461691 | 395 days ago | IN | 0.00142626 ETH | 0.00066825 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 21465377 | 394 days ago | 0.00022432 ETH | ||||
| Renew | 21465377 | 394 days ago | 0.00037388 ETH | ||||
| Renew | 21465377 | 394 days ago | 0.00037388 ETH | ||||
| Renew | 21465377 | 394 days ago | 0.00037388 ETH | ||||
| Renew | 21465377 | 394 days ago | 0.00037388 ETH | ||||
| Renew | 21465377 | 394 days ago | 0.00037388 ETH | ||||
| Renew | 21465377 | 394 days ago | 0.00037388 ETH | ||||
| Transfer | 21465147 | 394 days ago | 0.00075082 ETH | ||||
| Renew | 21465147 | 394 days ago | 0.00750823 ETH | ||||
| Transfer | 21464805 | 394 days ago | 0.00014937 ETH | ||||
| Renew | 21464805 | 394 days ago | 0.00149375 ETH | ||||
| Transfer | 21464798 | 394 days ago | 0.00022406 ETH | ||||
| Renew | 21464798 | 394 days ago | 0.00074687 ETH | ||||
| Renew | 21464798 | 394 days ago | 0.00074687 ETH | ||||
| Renew | 21464798 | 394 days ago | 0.00074687 ETH | ||||
| Transfer | 21464788 | 394 days ago | 0.00104563 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Renew | 21464788 | 394 days ago | 0.00149375 ETH | ||||
| Transfer | 21464480 | 394 days ago | 0.00045046 ETH | ||||
| Renew | 21464480 | 394 days ago | 0.00150154 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EnsBatchRenew
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/IEnsRenewer.sol";
import "ens-contracts/ethregistrar/IBaseRegistrar.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {INameWrapper, CAN_EXTEND_EXPIRY} from "ens-contracts/wrapper/INameWrapper.sol";
contract EnsBatchRenew is Ownable {
IEnsRenewer public immutable ens;
IBaseRegistrar public immutable baseRegistrar;
INameWrapper public immutable nameWrapper;
constructor(
IEnsRenewer _ens,
IBaseRegistrar _baseRegistrar,
INameWrapper _nameWrapper
) {
ens = _ens;
baseRegistrar = _baseRegistrar;
nameWrapper = _nameWrapper;
}
/**
* Function called "batchRenew" that allows the caller to renew multiple ENS names in a single transaction
* @param _names: an array of strings representing the ENS names to be renewed
* @param _durations: an array of uint256 values representing the number of seconds for which each corresponding ENS name in "names" should be renewed
*/
function batchRenew(
string[] calldata _names,
uint256[] calldata _durations
) public payable {
//no price check in here. but ENS will revert if the price is not correct
for (uint256 i; i < _names.length; ) {
ens.renew{value: ens.rentPrice(_names[i], _durations[i])}(
_names[i],
_durations[i]
);
unchecked {
++i;
}
}
//return any excess funds to the caller if any
if (address(this).balance > 0) {
payable(msg.sender).transfer(address(this).balance);
}
}
/**
@notice Function called "batchRenewAny" that can renew both ENS names and subdomains in a single transaction
@param _names: an array of labels for TLDs
@param _durations: an array of uint256 values representing the number of seconds for which each corresponding ENS name in "names" should be renewed
@param _parentNodes: array of parent nodes for subdomains
@param _subLabelHashes: array of subdomain label hashes
@param _subExpiries: array of expires for subdomains
*/
function batchRenewAny(
string[] calldata _names,
uint256[] calldata _durations,
bytes32[] calldata _parentNodes,
bytes32[] calldata _subLabelHashes,
uint64[] calldata _subExpiries
) external payable {
batchRenew(_names, _durations);
batchRenewSubdomains(_parentNodes, _subLabelHashes, _subExpiries);
}
/**
* @notice Function called "batchRenewSubdomains" that allows the caller to renew multiple subdomains in a single transaction
* @dev Only can be renewed by owner of subdomain if CAN_EXTEND_EXPIRY fuse is set
* @dev Only can be renewed by owner of parent domain if CAN_EXTEND_EXPIRY fuse is not set
* @param _parentNodes: array of parent nodes for subdomains
* @param _subLabelHashes: array of subdomain label hashes
* @param _subExpiries: array of expiries for subdomains
*/
function batchRenewSubdomains(
bytes32[] calldata _parentNodes,
bytes32[] calldata _subLabelHashes,
uint64[] calldata _subExpiries
) public {
require(
_parentNodes.length == _subLabelHashes.length,
"length mismatch"
);
for (uint256 i; i < _parentNodes.length; ) {
bytes32 subdomainHash = keccak256(
abi.encodePacked(_parentNodes[i], _subLabelHashes[i])
);
(address owner, uint32 fuses, ) = nameWrapper.getData(
uint256(subdomainHash)
);
if (
(fuses & CAN_EXTEND_EXPIRY != 0 && owner == msg.sender) ||
(nameWrapper.ownerOf(uint256(_parentNodes[i])) == msg.sender)
) {
nameWrapper.extendExpiry(
_parentNodes[i],
_subLabelHashes[i],
_subExpiries[i]
);
}
unchecked {
++i;
}
}
}
// withdraw any tokens that may be sent to this contract
function withdrawTokens(address _token) public onlyOwner {
IERC20 token = IERC20(_token);
token.transfer(msg.sender, token.balanceOf(address(this)));
}
/**
* @notice Function called "getPrice" that allows the caller to calculate the total price for renewing a list of ENS names for specified durations
* @param _names: an array of strings representing the ENS names to be renewed
* @param _durations: an array of uint256 values representing the number of seconds for which each corresponding ENS name in "names" should be renewed
* @return _price the total price for renewing all the names in "names" for the corresponding durations in "durations"
*/
function getPrice(
string[] calldata _names,
uint256[] memory _durations
) public view returns (uint256 _price) {
require(_names.length == _durations.length, "length mismatch");
for (uint256 i; i < _names.length; ) {
//you can overflow it if you want.. not going to achive much though.
unchecked {
_price += ens.rentPrice(_names[i], _durations[i]);
++i;
}
}
}
/**
* @notice
* This function retrieves the expiry time for each name in the given array.
*
* @param _names An array of names to get the expiry time for.
* @return _expiries An array of expiry times for the given names.
*/
function getExpiryArrayFromLabels(
string[] calldata _names
) public view returns (uint256[] memory _expiries) {
// Initialize the array to hold the expiry times to the same length as the names array.
_expiries = new uint256[](_names.length);
// Loop through each name in the array.
for (uint256 i; i < _names.length; ) {
// Get the expiry time for the name by hashing the name and looking up the expiry time using the hash as the ID.
_expiries[i] = baseRegistrar.nameExpires(
uint256(keccak256(abi.encodePacked(_names[i])))
);
// Increment the counter without checking for integer overflow.
unchecked {
++i;
}
}
}
/**
* @notice
* This function retrieves the price for aggregated renewals.
*
* @param _names An array of names to get the expiry time for.
* @return _price A sum of the prices for each name.
*/
function getSyncPriceFromLabels(
string[] calldata _names,
uint256 _syncdate
) external view returns (uint256 _price) {
uint256[] memory durations = getSyncArrayFromLabels(_names, _syncdate);
_price = getPrice(_names, durations);
}
function visionRenew(
string[] calldata _names,
uint256 _duration
) external payable {
for (uint256 i; i < _names.length; ) {
ens.renew{value: ens.rentPrice(_names[i], _duration)}(
_names[i],
_duration
);
unchecked {
++i;
}
}
//return any excess funds to the caller if any
if (address(this).balance > 0) {
payable(msg.sender).transfer(address(this).balance);
}
}
function syncExpirations(
string[] calldata _names,
uint256 _syncdate
) external payable {
uint256[] memory durations = getSyncArrayFromLabels(_names, _syncdate);
for (uint256 i; i < _names.length; ) {
ens.renew{value: ens.rentPrice(_names[i], durations[i])}(
_names[i],
durations[i]
);
unchecked {
++i;
}
}
//return any excess funds to the caller if any
if (address(this).balance > 0) {
payable(msg.sender).transfer(address(this).balance);
}
}
/**
* @notice
* This function retrieves the expiry time for each ID in the given array.
*
* @param _ids An array of IDs to get the expiry time for.
* @return _expiries An array of expiry times for the given IDs.
*/
function getExpiryArray(
uint256[] calldata _ids
) external view returns (uint256[] memory _expiries) {
// Initialize the array to hold the expiry times to the same length as the ID array.
_expiries = new uint256[](_ids.length);
// Loop through each ID in the array.
for (uint256 i; i < _ids.length; ) {
// Get the expiry time for the ID.
_expiries[i] = baseRegistrar.nameExpires(_ids[i]);
// Increment the counter without checking for integer overflow.
unchecked {
++i;
}
}
}
/**
* @notice
* This function calculates the duration between a new expiry time and the current expiry time for each ID in the given array.
* If the new expiry time is earlier than the current expiry time, the duration will be set to 0.
*
* @param _ids An array of IDs to calculate the duration for.
* @param _newExpiry The new expiry time to use for the calculation.
*/
function getSyncArray(
uint256[] calldata _ids,
uint256 _newExpiry
) external view returns (uint256[] memory _durations) {
// Initialize the array to hold the durations to the same length as the ID array.
_durations = new uint256[](_ids.length);
// Loop through each ID in the array.
for (uint256 i; i < _ids.length; ) {
// Get the current expiry time for the ID.
uint256 expiry = baseRegistrar.nameExpires(_ids[i]);
// If the new expiry time is later than the current expiry time, set the duration to the difference between the two.
// Otherwise, set the duration to 0.
_durations[i] = _newExpiry > expiry ? _newExpiry - expiry : 0;
unchecked {
++i;
}
}
}
/**
* @notice
* This function calculates the duration between a new expiry time and the current expiry time for each label in the given array.
* If the new expiry time is earlier than the current expiry time, the duration will be set to 0.
*
* @param _labels An array of labels to calculate the duration for.
* @param _newExpiry The new expiry time to use for the calculation.
*/
function getSyncArrayFromLabels(
string[] calldata _labels,
uint256 _newExpiry
) public view returns (uint256[] memory _durations) {
// Initialize the array to hold the durations to the same length as the label array.
_durations = new uint256[](_labels.length);
// Loop through each label in the array.
for (uint256 i; i < _labels.length; ) {
// Get the current expiry time for the label by hashing the label and looking up the expiry time using the hash as the ID.
uint256 expiry = baseRegistrar.nameExpires(
uint256(keccak256(abi.encodePacked(_labels[i])))
);
// If the new expiry time is later than the current expiry time, set the duration to the difference between the two.
// Otherwise, set the duration to 0.
_durations[i] = _newExpiry > expiry ? _newExpiry - expiry : 0;
unchecked {
++i;
}
}
}
}import "../registry/ENS.sol";
import "./IBaseRegistrar.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
interface IBaseRegistrar is IERC721 {
event ControllerAdded(address indexed controller);
event ControllerRemoved(address indexed controller);
event NameMigrated(
uint256 indexed id,
address indexed owner,
uint256 expires
);
event NameRegistered(
uint256 indexed id,
address indexed owner,
uint256 expires
);
event NameRenewed(uint256 indexed id, uint256 expires);
// Authorises a controller, who can register and renew domains.
function addController(address controller) external;
// Revoke controller permission for an address.
function removeController(address controller) external;
// Set the resolver for the TLD this registrar manages.
function setResolver(address resolver) external;
// Returns the expiration timestamp of the specified label hash.
function nameExpires(uint256 id) external view returns (uint256);
// Returns true iff the specified name is available for registration.
function available(uint256 id) external view returns (bool);
/**
* @dev Register a name.
*/
function register(
uint256 id,
address owner,
uint256 duration
) external returns (uint256);
function renew(uint256 id, uint256 duration) external returns (uint256);
/**
* @dev Reclaim ownership of a name in ENS, if you own it in the registrar.
*/
function reclaim(uint256 id, address owner) external;
}pragma solidity >=0.8.4;
interface ENS {
// Logged when the owner of a node assigns a new owner to a subnode.
event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);
// Logged when the owner of a node transfers ownership to a new account.
event Transfer(bytes32 indexed node, address owner);
// Logged when the resolver for a node changes.
event NewResolver(bytes32 indexed node, address resolver);
// Logged when the TTL of a node changes
event NewTTL(bytes32 indexed node, uint64 ttl);
// Logged when an operator is added or removed.
event ApprovalForAll(
address indexed owner,
address indexed operator,
bool approved
);
function setRecord(
bytes32 node,
address owner,
address resolver,
uint64 ttl
) external;
function setSubnodeRecord(
bytes32 node,
bytes32 label,
address owner,
address resolver,
uint64 ttl
) external;
function setSubnodeOwner(
bytes32 node,
bytes32 label,
address owner
) external returns (bytes32);
function setResolver(bytes32 node, address resolver) external;
function setOwner(bytes32 node, address owner) external;
function setTTL(bytes32 node, uint64 ttl) external;
function setApprovalForAll(address operator, bool approved) external;
function owner(bytes32 node) external view returns (address);
function resolver(bytes32 node) external view returns (address);
function ttl(bytes32 node) external view returns (uint64);
function recordExists(bytes32 node) external view returns (bool);
function isApprovedForAll(
address owner,
address operator
) external view returns (bool);
}//SPDX-License-Identifier: MIT
pragma solidity ~0.8.17;
interface IMetadataService {
function uri(uint256) external view returns (string memory);
}//SPDX-License-Identifier: MIT
pragma solidity ~0.8.17;
import "../registry/ENS.sol";
import "../ethregistrar/IBaseRegistrar.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "./IMetadataService.sol";
import "./INameWrapperUpgrade.sol";
uint32 constant CANNOT_UNWRAP = 1;
uint32 constant CANNOT_BURN_FUSES = 2;
uint32 constant CANNOT_TRANSFER = 4;
uint32 constant CANNOT_SET_RESOLVER = 8;
uint32 constant CANNOT_SET_TTL = 16;
uint32 constant CANNOT_CREATE_SUBDOMAIN = 32;
uint32 constant CANNOT_APPROVE = 64;
//uint16 reserved for parent controlled fuses from bit 17 to bit 32
uint32 constant PARENT_CANNOT_CONTROL = 1 << 16;
uint32 constant IS_DOT_ETH = 1 << 17;
uint32 constant CAN_EXTEND_EXPIRY = 1 << 18;
uint32 constant CAN_DO_EVERYTHING = 0;
uint32 constant PARENT_CONTROLLED_FUSES = 0xFFFF0000;
// all fuses apart from IS_DOT_ETH
uint32 constant USER_SETTABLE_FUSES = 0xFFFDFFFF;
interface INameWrapper is IERC1155 {
event NameWrapped(
bytes32 indexed node,
bytes name,
address owner,
uint32 fuses,
uint64 expiry
);
event NameUnwrapped(bytes32 indexed node, address owner);
event FusesSet(bytes32 indexed node, uint32 fuses);
event ExpiryExtended(bytes32 indexed node, uint64 expiry);
function ens() external view returns (ENS);
function registrar() external view returns (IBaseRegistrar);
function metadataService() external view returns (IMetadataService);
function names(bytes32) external view returns (bytes memory);
function name() external view returns (string memory);
function upgradeContract() external view returns (INameWrapperUpgrade);
function supportsInterface(bytes4 interfaceID) external view returns (bool);
function wrap(
bytes calldata name,
address wrappedOwner,
address resolver
) external;
function wrapETH2LD(
string calldata label,
address wrappedOwner,
uint16 ownerControlledFuses,
address resolver
) external returns (uint64 expires);
function registerAndWrapETH2LD(
string calldata label,
address wrappedOwner,
uint256 duration,
address resolver,
uint16 ownerControlledFuses
) external returns (uint256 registrarExpiry);
function renew(
uint256 labelHash,
uint256 duration
) external returns (uint256 expires);
function unwrap(bytes32 node, bytes32 label, address owner) external;
function unwrapETH2LD(
bytes32 label,
address newRegistrant,
address newController
) external;
function upgrade(bytes calldata name, bytes calldata extraData) external;
function setFuses(
bytes32 node,
uint16 ownerControlledFuses
) external returns (uint32 newFuses);
function setChildFuses(
bytes32 parentNode,
bytes32 labelhash,
uint32 fuses,
uint64 expiry
) external;
function setSubnodeRecord(
bytes32 node,
string calldata label,
address owner,
address resolver,
uint64 ttl,
uint32 fuses,
uint64 expiry
) external returns (bytes32);
function setRecord(
bytes32 node,
address owner,
address resolver,
uint64 ttl
) external;
function setSubnodeOwner(
bytes32 node,
string calldata label,
address newOwner,
uint32 fuses,
uint64 expiry
) external returns (bytes32);
function extendExpiry(
bytes32 node,
bytes32 labelhash,
uint64 expiry
) external returns (uint64);
function canModifyName(
bytes32 node,
address addr
) external view returns (bool);
function setResolver(bytes32 node, address resolver) external;
function setTTL(bytes32 node, uint64 ttl) external;
function ownerOf(uint256 id) external view returns (address owner);
function approve(address to, uint256 tokenId) external;
function getApproved(uint256 tokenId) external view returns (address);
function getData(
uint256 id
) external view returns (address, uint32, uint64);
function setMetadataService(IMetadataService _metadataService) external;
function uri(uint256 tokenId) external view returns (string memory);
function setUpgradeContract(INameWrapperUpgrade _upgradeAddress) external;
function allFusesBurned(
bytes32 node,
uint32 fuseMask
) external view returns (bool);
function isWrapped(bytes32) external view returns (bool);
function isWrapped(bytes32, bytes32) external view returns (bool);
}//SPDX-License-Identifier: MIT
pragma solidity ~0.8.17;
interface INameWrapperUpgrade {
function wrapFromUpgrade(
bytes calldata name,
address wrappedOwner,
uint32 fuses,
uint64 expiry,
address approved,
bytes calldata extraData
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the amount of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
external
view
returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes calldata data
) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface 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.8.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
interface IEnsRenewer {
function renew(string calldata _name, uint256 _duration) external payable;
function rentPrice(
string calldata _name,
uint256 _duration
) external view returns (uint256);
}{
"remappings": [
"@ens/=lib/EnsPrimaryContractNamer/lib/ens-contracts/contracts/",
"@ensdomains/buffer/=lib/buffer/",
"@openzeppelin/=node_modules/@openzeppelin/",
"EnsPrimaryContractNamer/=lib/EnsPrimaryContractNamer/src/",
"chainlink/=lib/chainlink/integration-tests/contracts/ethereum/src/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"ens-contracts/=lib/ens-contracts/contracts/",
"forge-std/=lib/forge-std/src/",
"old-ens-contracts/=lib/old-ens-contracts/contracts/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
"solady/=lib/solady/src/",
"solmate/=lib/solady/lib/solmate/src/",
"string-utils/=lib/solidity-stringutils/blob/master/src/"
],
"optimizer": {
"enabled": true,
"runs": 10000,
"details": {
"peephole": true,
"inliner": true,
"deduplicate": false,
"cse": true,
"yul": true
}
},
"metadata": {
"bytecodeHash": "ipfs"
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "london",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IEnsRenewer","name":"_ens","type":"address"},{"internalType":"contract IBaseRegistrar","name":"_baseRegistrar","type":"address"},{"internalType":"contract INameWrapper","name":"_nameWrapper","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"baseRegistrar","outputs":[{"internalType":"contract IBaseRegistrar","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256[]","name":"_durations","type":"uint256[]"}],"name":"batchRenew","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256[]","name":"_durations","type":"uint256[]"},{"internalType":"bytes32[]","name":"_parentNodes","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_subLabelHashes","type":"bytes32[]"},{"internalType":"uint64[]","name":"_subExpiries","type":"uint64[]"}],"name":"batchRenewAny","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_parentNodes","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_subLabelHashes","type":"bytes32[]"},{"internalType":"uint64[]","name":"_subExpiries","type":"uint64[]"}],"name":"batchRenewSubdomains","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract IEnsRenewer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"getExpiryArray","outputs":[{"internalType":"uint256[]","name":"_expiries","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"}],"name":"getExpiryArrayFromLabels","outputs":[{"internalType":"uint256[]","name":"_expiries","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256[]","name":"_durations","type":"uint256[]"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256","name":"_newExpiry","type":"uint256"}],"name":"getSyncArray","outputs":[{"internalType":"uint256[]","name":"_durations","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"_labels","type":"string[]"},{"internalType":"uint256","name":"_newExpiry","type":"uint256"}],"name":"getSyncArrayFromLabels","outputs":[{"internalType":"uint256[]","name":"_durations","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256","name":"_syncdate","type":"uint256"}],"name":"getSyncPriceFromLabels","outputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameWrapper","outputs":[{"internalType":"contract INameWrapper","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256","name":"_syncdate","type":"uint256"}],"name":"syncExpirations","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"visionRenew","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60e06040523480156200001157600080fd5b506040516200218f3803806200218f8339810160408190526200003491620000c6565b6200003f336200005d565b6001600160a01b0392831660805290821660a0521660c0526200011a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114620000c357600080fd5b50565b600080600060608486031215620000dc57600080fd5b8351620000e981620000ad565b6020850151909350620000fc81620000ad565b60408501519092506200010f81620000ad565b809150509250925092565b60805160a05160c051611ff86200019760003960008181610345015281816113bd01528181611475015261154a01526000818161029a01528181610b0a01528181610cfc01528181610e310152610fce0152600081816101ce015281816104bc015281816106a20152818161088b01526110ed0152611ff86000f3fe6080604052600436106101295760003560e01c80638d21e95d116100a5578063b664565411610074578063da88750511610059578063da88750514610432578063dceb52a414610447578063f2fde38b1461046957600080fd5b8063b6645654146103c6578063c2c52360146103fc57600080fd5b80638d21e95d146102e55780638da5cb5b146102fa578063a8e5fbc014610333578063b5f9dbed1461039057600080fd5b80633f15457f116100fc5780636039437c116100e15780636039437c1461023b578063715018a61461027157806374f045651461028857600080fd5b80633f15457f146101bc57806349df728c1461021957600080fd5b806305b613c91461012e578063156211691461014357806322416f4a1461017557806328dd9f5e1461018a575b600080fd5b61014161013c36600461188d565b61048b565b005b34801561014f57600080fd5b5061016361015e36600461188d565b61065c565b60405190815260200160405180910390f35b61018861018336600461188d565b610680565b005b34801561019657600080fd5b506101aa6101a5366004611908565b61080d565b60405190815260200160405180910390f35b3480156101c857600080fd5b506101f07f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561022557600080fd5b50610239610234366004611a34565b610978565b005b34801561024757600080fd5b5061025b61025636600461188d565b610ab3565b6040516102689190611a58565b60405180910390f35b34801561027d57600080fd5b50610286610c6d565b005b34801561029457600080fd5b506102bc7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6102f86102f3366004611a9c565b610c81565b005b34801561030657600080fd5b506000546040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561033f57600080fd5b506103677f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561039c57600080fd5b506103b06103ab366004611b8d565b610ca7565b6040516103bd9190611a58565b60405180910390f35b3480156103d257600080fd5b506103e66103e1366004611bcf565b610ddc565b6040516103f39190611a58565b60405180910390f35b34801561040857600080fd5b5061041c610417366004611c11565b610f77565b6040516104299190611a58565b60405180910390f35b610445610440366004611c5d565b6110cb565b005b34801561045357600080fd5b50610467610462366004611cc9565b61128b565b005b34801561047557600080fd5b50610489610484366004611a34565b61168a565b005b6000610498848484610ab3565b905060005b838110156106215773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663acf1a841816383e7f6ff8888868181106104fa576104f9611d63565b5b905060200281019061050c9190611d92565b87878151811061051f5761051e611d63565b5b60200260200101516040518463ffffffff1660e01b815260040161054593929190611dfe565b602060405180830381865afa158015610562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105869190611e55565b87878581811061059957610598611d63565b5b90506020028101906105ab9190611d92565b8686815181106105be576105bd611d63565b5b60200260200101516040518563ffffffff1660e01b81526004016105e493929190611dfe565b6000604051808303818588803b1580156105fd57600080fd5b505af1158015610611573d6000803e3d6000fd5b505050505080600101905061049d565b5047156106565760405133904780156108fc02916000818181858888f19350505050158015610654573d6000803e3d6000fd5b505b50505050565b60008061066a858585610ab3565b905061067785858361080d565b95945050505050565b60005b828110156107d35773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663acf1a841816383e7f6ff8787868181106106e0576106df611d63565b5b90506020028101906106f29190611d92565b876040518463ffffffff1660e01b815260040161071193929190611dfe565b602060405180830381865afa15801561072e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107529190611e55565b86868581811061076557610764611d63565b5b90506020028101906107779190611d92565b866040518563ffffffff1660e01b815260040161079693929190611dfe565b6000604051808303818588803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b5050505050806001019050610683565b5047156108085760405133904780156108fc02916000818181858888f19350505050158015610806573d6000803e3d6000fd5b505b505050565b8051600090831461087e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015260640160405180910390fd5b60005b83811015610970577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166383e7f6ff8686848181106108d8576108d7611d63565b5b90506020028101906108ea9190611d92565b8685815181106108fd576108fc611d63565b5b60200260200101516040518463ffffffff1660e01b815260040161092393929190611dfe565b602060405180830381865afa158015610940573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109649190611e55565b90910190600101610881565b509392505050565b610980611745565b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152819073ffffffffffffffffffffffffffffffffffffffff82169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611e55565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015610a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aae9190611e6e565b505050565b60608267ffffffffffffffff811115610acf57610ace6118d9565b5b604051908082528060200260200182016040528015610af8578160200160208202803683370190505b50905060005b83811015610c655760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d6e4fa86878785818110610b5757610b56611d63565b5b9050602002810190610b699190611d92565b604051602001610b7a929190611e97565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815290829052805160209091012060e083901b7fffffffff000000000000000000000000000000000000000000000000000000001682526004820152602401602060405180830381865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190611e55565b9050808411610c33576000610c3e565b610c3d8185611ea7565b5b838381518110610c5157610c50611d63565b5b602090810291909101015250600101610afe565b509392505050565b610c75611745565b610c7f60006117cc565b565b610c8d8a8a8a8a6110cb565b610c9b86868686868661128b565b50505050505050505050565b60608167ffffffffffffffff811115610cc357610cc26118d9565b5b604051908082528060200260200182016040528015610cec578160200160208202803683370190505b50905060005b82811015610dd5577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d6e4fa86858584818110610d4957610d48611d63565b5b905060200201356040518263ffffffff1660e01b8152600401610d6e91815260200190565b602060405180830381865afa158015610d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daf9190611e55565b828281518110610dc257610dc1611d63565b5b6020908102919091010152600101610cf2565b5092915050565b60608167ffffffffffffffff811115610df857610df76118d9565b5b604051908082528060200260200182016040528015610e21578160200160208202803683370190505b50905060005b82811015610f70577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d6e4fa86858584818110610e7e57610e7d611d63565b5b9050602002810190610e909190611d92565b604051602001610ea1929190611e97565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815290829052805160209091012060e083901b7fffffffff000000000000000000000000000000000000000000000000000000001682526004820152602401602060405180830381865afa158015610f26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4a9190611e55565b828281518110610f5d57610f5c611d63565b5b6020908102919091010152600101610e27565b5092915050565b60608267ffffffffffffffff811115610f9357610f926118d9565b5b604051908082528060200260200182016040528015610fbc578160200160208202803683370190505b50905060005b838110156110c35760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d6e4fa8687878581811061101b5761101a611d63565b5b905060200201356040518263ffffffff1660e01b815260040161104091815260200190565b602060405180830381865afa15801561105d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110819190611e55565b905080841161109157600061109c565b61109b8185611ea7565b5b8383815181106110af576110ae611d63565b5b602090810291909101015250600101610fc2565b509392505050565b60005b838110156112505773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663acf1a841816383e7f6ff88888681811061112b5761112a611d63565b5b905060200281019061113d9190611d92565b8888888181106111505761114f611d63565b5b905060200201356040518463ffffffff1660e01b815260040161117593929190611dfe565b602060405180830381865afa158015611192573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b69190611e55565b8787858181106111c9576111c8611d63565b5b90506020028101906111db9190611d92565b8787878181106111ee576111ed611d63565b5b905060200201356040518563ffffffff1660e01b815260040161121393929190611dfe565b6000604051808303818588803b15801561122c57600080fd5b505af1158015611240573d6000803e3d6000fd5b50505050508060010190506110ce565b5047156112855760405133904780156108fc02916000818181858888f19350505050158015611283573d6000803e3d6000fd5b505b50505050565b8483146112f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015260640160405180910390fd5b60005b8581101561168157600087878381811061131857611317611d63565b5b9050602002013586868481811061133257611331611d63565b5b90506020020135604051602001611353929190918252602082015260400190565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529082905280516020909101207f0178fe3f00000000000000000000000000000000000000000000000000000000825260048201819052915060009081907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630178fe3f90602401606060405180830381865afa158015611419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f00565b5090925090506204000081161580159061146c575073ffffffffffffffffffffffffffffffffffffffff821633145b806115435750337f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e8c8c888181106114c2576114c1611d63565b5b9050602002013560001c6040518263ffffffff1660e01b81526004016114ea91815260200190565b602060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190611f56565b73ffffffffffffffffffffffffffffffffffffffff16145b15611673577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636e5d6ad28b8b8781811061159757611596611d63565b5b905060200201358a8a888181106115b1576115b0611d63565b5b905060200201358989898181106115cb576115ca611d63565b5b90506020020160208101906115e09190611f7a565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526004810193909352602483019190915267ffffffffffffffff1660448201526064016020604051808303816000875af115801561164d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116719190611f9e565b505b8360010193505050506112fb565b50505050505050565b611692611745565b73ffffffffffffffffffffffffffffffffffffffff8116611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b611742816117cc565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146117ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f84011261185357600080fd5b50813567ffffffffffffffff81111561186b57600080fd5b6020830191508360208260051b850101111561188657600080fd5b9250929050565b6000806000604084860312156118a257600080fd5b833567ffffffffffffffff8111156118b957600080fd5b6118c586828701611841565b909790965060209590950135949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006040848603121561191d57600080fd5b833567ffffffffffffffff8082111561193557600080fd5b61194187838801611841565b909550935060209150858201358181111561195b57600080fd5b8601601f8101881361196c57600080fd5b80358281111561197f5761197e6118d9565b5b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811086821117156119c3576119c26118d9565b5b60405291825284820193508281018501918a8311156119e157600080fd5b928501925b828410156119ff578335855293850193928501926119e6565b8096505050505050509250925092565b73ffffffffffffffffffffffffffffffffffffffff81168114611a3157600080fd5b50565b600060208284031215611a4657600080fd5b8135611a5181611a0f565b9392505050565b6020808252825182820181905260009190848201906040850190845b81811015611a9057835183529284019291840191600101611a74565b50909695505050505050565b60008060008060008060008060008060a08b8d031215611abb57600080fd5b8a3567ffffffffffffffff80821115611ad357600080fd5b611adf8e838f01611841565b909c509a5060208d0135915080821115611af857600080fd5b611b048e838f01611841565b909a50985060408d0135915080821115611b1d57600080fd5b611b298e838f01611841565b909850965060608d0135915080821115611b4257600080fd5b611b4e8e838f01611841565b909650945060808d0135915080821115611b6757600080fd5b50611b748d828e01611841565b915080935050809150509295989b9194979a5092959850565b60008060208385031215611ba057600080fd5b823567ffffffffffffffff811115611bb757600080fd5b611bc385828601611841565b90969095509350505050565b60008060208385031215611be257600080fd5b823567ffffffffffffffff811115611bf957600080fd5b611c0585828601611841565b90969095509350505050565b600080600060408486031215611c2657600080fd5b833567ffffffffffffffff811115611c3d57600080fd5b611c4986828701611841565b909790965060209590950135949350505050565b60008060008060408587031215611c7357600080fd5b843567ffffffffffffffff80821115611c8b57600080fd5b611c9788838901611841565b90965094506020870135915080821115611cb057600080fd5b50611cbd87828801611841565b95989497509550505050565b60008060008060008060608789031215611ce257600080fd5b863567ffffffffffffffff80821115611cfa57600080fd5b611d068a838b01611841565b90985096506020890135915080821115611d1f57600080fd5b611d2b8a838b01611841565b90965094506040890135915080821115611d4457600080fd5b50611d5189828a01611841565b979a9699509497509295939492505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611dc757600080fd5b83018035915067ffffffffffffffff821115611de257600080fd5b602001915036819003821315611df757600080fd5b9250929050565b6040815282604082015282846060830137600060608483010152600060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601168301019050826020830152949350505050565b600060208284031215611e6757600080fd5b5051919050565b600060208284031215611e8057600080fd5b81518015158114611e9057600080fd5b9392505050565b8183823760009101908152919050565b81810381811115611ee1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b92915050565b67ffffffffffffffff81168114611efd57600080fd5b50565b600080600060608486031215611f1557600080fd5b8351611f2081611a0f565b602085015190935063ffffffff81168114611f3a57600080fd5b6040850151909250611f4b81611ee7565b809150509250925092565b600060208284031215611f6857600080fd5b8151611f7381611a0f565b9392505050565b600060208284031215611f8c57600080fd5b8135611f9781611ee7565b9392505050565b600060208284031215611fb057600080fd5b8151611fbb81611ee7565b939250505056fea264697066735822122091b8757449674775695575f319a5b999b949864df006954133a058726a95389864736f6c63430008110033000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea85000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe25686401
Deployed Bytecode
0x6080604052600436106101295760003560e01c80638d21e95d116100a5578063b664565411610074578063da88750511610059578063da88750514610432578063dceb52a414610447578063f2fde38b1461046957600080fd5b8063b6645654146103c6578063c2c52360146103fc57600080fd5b80638d21e95d146102e55780638da5cb5b146102fa578063a8e5fbc014610333578063b5f9dbed1461039057600080fd5b80633f15457f116100fc5780636039437c116100e15780636039437c1461023b578063715018a61461027157806374f045651461028857600080fd5b80633f15457f146101bc57806349df728c1461021957600080fd5b806305b613c91461012e578063156211691461014357806322416f4a1461017557806328dd9f5e1461018a575b600080fd5b61014161013c36600461188d565b61048b565b005b34801561014f57600080fd5b5061016361015e36600461188d565b61065c565b60405190815260200160405180910390f35b61018861018336600461188d565b610680565b005b34801561019657600080fd5b506101aa6101a5366004611908565b61080d565b60405190815260200160405180910390f35b3480156101c857600080fd5b506101f07f000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561022557600080fd5b50610239610234366004611a34565b610978565b005b34801561024757600080fd5b5061025b61025636600461188d565b610ab3565b6040516102689190611a58565b60405180910390f35b34801561027d57600080fd5b50610286610c6d565b005b34801561029457600080fd5b506102bc7f00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea8581565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6102f86102f3366004611a9c565b610c81565b005b34801561030657600080fd5b506000546040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561033f57600080fd5b506103677f000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe2568640181565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561039c57600080fd5b506103b06103ab366004611b8d565b610ca7565b6040516103bd9190611a58565b60405180910390f35b3480156103d257600080fd5b506103e66103e1366004611bcf565b610ddc565b6040516103f39190611a58565b60405180910390f35b34801561040857600080fd5b5061041c610417366004611c11565b610f77565b6040516104299190611a58565b60405180910390f35b610445610440366004611c5d565b6110cb565b005b34801561045357600080fd5b50610467610462366004611cc9565b61128b565b005b34801561047557600080fd5b50610489610484366004611a34565b61168a565b005b6000610498848484610ab3565b905060005b838110156106215773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b1663acf1a841816383e7f6ff8888868181106104fa576104f9611d63565b5b905060200281019061050c9190611d92565b87878151811061051f5761051e611d63565b5b60200260200101516040518463ffffffff1660e01b815260040161054593929190611dfe565b602060405180830381865afa158015610562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105869190611e55565b87878581811061059957610598611d63565b5b90506020028101906105ab9190611d92565b8686815181106105be576105bd611d63565b5b60200260200101516040518563ffffffff1660e01b81526004016105e493929190611dfe565b6000604051808303818588803b1580156105fd57600080fd5b505af1158015610611573d6000803e3d6000fd5b505050505080600101905061049d565b5047156106565760405133904780156108fc02916000818181858888f19350505050158015610654573d6000803e3d6000fd5b505b50505050565b60008061066a858585610ab3565b905061067785858361080d565b95945050505050565b60005b828110156107d35773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b1663acf1a841816383e7f6ff8787868181106106e0576106df611d63565b5b90506020028101906106f29190611d92565b876040518463ffffffff1660e01b815260040161071193929190611dfe565b602060405180830381865afa15801561072e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107529190611e55565b86868581811061076557610764611d63565b5b90506020028101906107779190611d92565b866040518563ffffffff1660e01b815260040161079693929190611dfe565b6000604051808303818588803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b5050505050806001019050610683565b5047156108085760405133904780156108fc02916000818181858888f19350505050158015610806573d6000803e3d6000fd5b505b505050565b8051600090831461087e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015260640160405180910390fd5b60005b83811015610970577f000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b73ffffffffffffffffffffffffffffffffffffffff166383e7f6ff8686848181106108d8576108d7611d63565b5b90506020028101906108ea9190611d92565b8685815181106108fd576108fc611d63565b5b60200260200101516040518463ffffffff1660e01b815260040161092393929190611dfe565b602060405180830381865afa158015610940573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109649190611e55565b90910190600101610881565b509392505050565b610980611745565b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152819073ffffffffffffffffffffffffffffffffffffffff82169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611e55565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015610a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aae9190611e6e565b505050565b60608267ffffffffffffffff811115610acf57610ace6118d9565b5b604051908082528060200260200182016040528015610af8578160200160208202803683370190505b50905060005b83811015610c655760007f00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff1663d6e4fa86878785818110610b5757610b56611d63565b5b9050602002810190610b699190611d92565b604051602001610b7a929190611e97565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815290829052805160209091012060e083901b7fffffffff000000000000000000000000000000000000000000000000000000001682526004820152602401602060405180830381865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190611e55565b9050808411610c33576000610c3e565b610c3d8185611ea7565b5b838381518110610c5157610c50611d63565b5b602090810291909101015250600101610afe565b509392505050565b610c75611745565b610c7f60006117cc565b565b610c8d8a8a8a8a6110cb565b610c9b86868686868661128b565b50505050505050505050565b60608167ffffffffffffffff811115610cc357610cc26118d9565b5b604051908082528060200260200182016040528015610cec578160200160208202803683370190505b50905060005b82811015610dd5577f00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff1663d6e4fa86858584818110610d4957610d48611d63565b5b905060200201356040518263ffffffff1660e01b8152600401610d6e91815260200190565b602060405180830381865afa158015610d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daf9190611e55565b828281518110610dc257610dc1611d63565b5b6020908102919091010152600101610cf2565b5092915050565b60608167ffffffffffffffff811115610df857610df76118d9565b5b604051908082528060200260200182016040528015610e21578160200160208202803683370190505b50905060005b82811015610f70577f00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff1663d6e4fa86858584818110610e7e57610e7d611d63565b5b9050602002810190610e909190611d92565b604051602001610ea1929190611e97565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815290829052805160209091012060e083901b7fffffffff000000000000000000000000000000000000000000000000000000001682526004820152602401602060405180830381865afa158015610f26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4a9190611e55565b828281518110610f5d57610f5c611d63565b5b6020908102919091010152600101610e27565b5092915050565b60608267ffffffffffffffff811115610f9357610f926118d9565b5b604051908082528060200260200182016040528015610fbc578160200160208202803683370190505b50905060005b838110156110c35760007f00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff1663d6e4fa8687878581811061101b5761101a611d63565b5b905060200201356040518263ffffffff1660e01b815260040161104091815260200190565b602060405180830381865afa15801561105d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110819190611e55565b905080841161109157600061109c565b61109b8185611ea7565b5b8383815181106110af576110ae611d63565b5b602090810291909101015250600101610fc2565b509392505050565b60005b838110156112505773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b1663acf1a841816383e7f6ff88888681811061112b5761112a611d63565b5b905060200281019061113d9190611d92565b8888888181106111505761114f611d63565b5b905060200201356040518463ffffffff1660e01b815260040161117593929190611dfe565b602060405180830381865afa158015611192573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b69190611e55565b8787858181106111c9576111c8611d63565b5b90506020028101906111db9190611d92565b8787878181106111ee576111ed611d63565b5b905060200201356040518563ffffffff1660e01b815260040161121393929190611dfe565b6000604051808303818588803b15801561122c57600080fd5b505af1158015611240573d6000803e3d6000fd5b50505050508060010190506110ce565b5047156112855760405133904780156108fc02916000818181858888f19350505050158015611283573d6000803e3d6000fd5b505b50505050565b8483146112f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015260640160405180910390fd5b60005b8581101561168157600087878381811061131857611317611d63565b5b9050602002013586868481811061133257611331611d63565b5b90506020020135604051602001611353929190918252602082015260400190565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529082905280516020909101207f0178fe3f00000000000000000000000000000000000000000000000000000000825260048201819052915060009081907f000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe2568640173ffffffffffffffffffffffffffffffffffffffff1690630178fe3f90602401606060405180830381865afa158015611419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f00565b5090925090506204000081161580159061146c575073ffffffffffffffffffffffffffffffffffffffff821633145b806115435750337f000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe2568640173ffffffffffffffffffffffffffffffffffffffff16636352211e8c8c888181106114c2576114c1611d63565b5b9050602002013560001c6040518263ffffffff1660e01b81526004016114ea91815260200190565b602060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190611f56565b73ffffffffffffffffffffffffffffffffffffffff16145b15611673577f000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe2568640173ffffffffffffffffffffffffffffffffffffffff16636e5d6ad28b8b8781811061159757611596611d63565b5b905060200201358a8a888181106115b1576115b0611d63565b5b905060200201358989898181106115cb576115ca611d63565b5b90506020020160208101906115e09190611f7a565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526004810193909352602483019190915267ffffffffffffffff1660448201526064016020604051808303816000875af115801561164d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116719190611f9e565b505b8360010193505050506112fb565b50505050505050565b611692611745565b73ffffffffffffffffffffffffffffffffffffffff8116611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b611742816117cc565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146117ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f84011261185357600080fd5b50813567ffffffffffffffff81111561186b57600080fd5b6020830191508360208260051b850101111561188657600080fd5b9250929050565b6000806000604084860312156118a257600080fd5b833567ffffffffffffffff8111156118b957600080fd5b6118c586828701611841565b909790965060209590950135949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006040848603121561191d57600080fd5b833567ffffffffffffffff8082111561193557600080fd5b61194187838801611841565b909550935060209150858201358181111561195b57600080fd5b8601601f8101881361196c57600080fd5b80358281111561197f5761197e6118d9565b5b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811086821117156119c3576119c26118d9565b5b60405291825284820193508281018501918a8311156119e157600080fd5b928501925b828410156119ff578335855293850193928501926119e6565b8096505050505050509250925092565b73ffffffffffffffffffffffffffffffffffffffff81168114611a3157600080fd5b50565b600060208284031215611a4657600080fd5b8135611a5181611a0f565b9392505050565b6020808252825182820181905260009190848201906040850190845b81811015611a9057835183529284019291840191600101611a74565b50909695505050505050565b60008060008060008060008060008060a08b8d031215611abb57600080fd5b8a3567ffffffffffffffff80821115611ad357600080fd5b611adf8e838f01611841565b909c509a5060208d0135915080821115611af857600080fd5b611b048e838f01611841565b909a50985060408d0135915080821115611b1d57600080fd5b611b298e838f01611841565b909850965060608d0135915080821115611b4257600080fd5b611b4e8e838f01611841565b909650945060808d0135915080821115611b6757600080fd5b50611b748d828e01611841565b915080935050809150509295989b9194979a5092959850565b60008060208385031215611ba057600080fd5b823567ffffffffffffffff811115611bb757600080fd5b611bc385828601611841565b90969095509350505050565b60008060208385031215611be257600080fd5b823567ffffffffffffffff811115611bf957600080fd5b611c0585828601611841565b90969095509350505050565b600080600060408486031215611c2657600080fd5b833567ffffffffffffffff811115611c3d57600080fd5b611c4986828701611841565b909790965060209590950135949350505050565b60008060008060408587031215611c7357600080fd5b843567ffffffffffffffff80821115611c8b57600080fd5b611c9788838901611841565b90965094506020870135915080821115611cb057600080fd5b50611cbd87828801611841565b95989497509550505050565b60008060008060008060608789031215611ce257600080fd5b863567ffffffffffffffff80821115611cfa57600080fd5b611d068a838b01611841565b90985096506020890135915080821115611d1f57600080fd5b611d2b8a838b01611841565b90965094506040890135915080821115611d4457600080fd5b50611d5189828a01611841565b979a9699509497509295939492505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611dc757600080fd5b83018035915067ffffffffffffffff821115611de257600080fd5b602001915036819003821315611df757600080fd5b9250929050565b6040815282604082015282846060830137600060608483010152600060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601168301019050826020830152949350505050565b600060208284031215611e6757600080fd5b5051919050565b600060208284031215611e8057600080fd5b81518015158114611e9057600080fd5b9392505050565b8183823760009101908152919050565b81810381811115611ee1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b92915050565b67ffffffffffffffff81168114611efd57600080fd5b50565b600080600060608486031215611f1557600080fd5b8351611f2081611a0f565b602085015190935063ffffffff81168114611f3a57600080fd5b6040850151909250611f4b81611ee7565b809150509250925092565b600060208284031215611f6857600080fd5b8151611f7381611a0f565b9392505050565b600060208284031215611f8c57600080fd5b8135611f9781611ee7565b9392505050565b600060208284031215611fb057600080fd5b8151611fbb81611ee7565b939250505056fea264697066735822122091b8757449674775695575f319a5b999b949864df006954133a058726a95389864736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea85000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe25686401
-----Decoded View---------------
Arg [0] : _ens (address): 0x253553366Da8546fC250F225fe3d25d0C782303b
Arg [1] : _baseRegistrar (address): 0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85
Arg [2] : _nameWrapper (address): 0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000253553366da8546fc250f225fe3d25d0c782303b
Arg [1] : 00000000000000000000000057f1887a8bf19b14fc0df6fd9b2acc9af147ea85
Arg [2] : 000000000000000000000000d4416b13d2b3a9abae7acd5d6c2bbdbe25686401
Loading...
Loading
Loading...
Loading
Net Worth in USD
$97.37
Net Worth in ETH
0.032372
Token Allocations
ETH
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| SCROLL | 100.00% | $3,007.81 | 0.0324 | $97.37 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.