ERC-20
Overview
Max Total Supply
1,046,796 BARON
Holders
32
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Baron
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol"; import "./lib/BaronBase.sol"; contract Baron is BaronBase, ERC20, ReentrancyGuard { using Address for address payable; uint256 public constant cap = 5_000_000; uint256 public mintPriceUSD = 10e18; // $10.00 // We use this price feed to pin the mint price in ETH to a fixed USD value. // NOTE: ideally we would resolve the price feed at namehash("eth-usd.data.eth") // but this doesn't work on testnets so we set the price-feed explicitly. // mainnet = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419 // goerli = 0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e // See https://docs.chain.link/docs/data-feeds/price-feeds/addresses/ address public ETH_USD_FEED; constructor(address _ETH_USD_FEED) ERC20("Baron", "BARON") { ETH_USD_FEED = _ETH_USD_FEED; _mint(msg.sender, 1_000_000); _pause(); } // Tokens are not fractionalized. function decimals() public view virtual override returns (uint8) { return 0; } // This allows anyone to mint tokens. function mint(uint256 tokenCount) external payable nonReentrant whenNotPaused { require(msg.value >= mintPriceETH() * tokenCount, "incorrect ETH payment"); require(tokenCount > 0, "token count must be nonzero"); require(tokenCount <= 15_000, "token count must be <= 15_000"); require(totalSupply() + tokenCount <= cap, "cap exceeded"); treasury.sendValue(msg.value); _mint(msg.sender, tokenCount); } // returns the ETH price (in wei) to mint a single token. function mintPriceETH() public view returns (uint256) { return convertUsdToEth(mintPriceUSD); } // returns the ETH (wei) for a given USD amount (in wei-ish USD, i.e. 1e18). function convertUsdToEth(uint256 usd) public view returns (uint256) { AggregatorInterface priceFeed = AggregatorInterface(ETH_USD_FEED); uint256 ethPrice = uint256(priceFeed.latestAnswer()) * 1e10; require(ethPrice > 0, "ETH price cannot be zero"); return (usd * 1e18) / (ethPrice); } // // Admin Methods // // This sets the mint price in USD. // NOTE: it is wei-ish USD (e.g. 10e18 = $10.00) function setMintPriceUSD(uint256 _mintPriceUSD) external onlyOperator { mintPriceUSD = _mintPriceUSD; } // This updates the price feed used to pin the mint price in ETH to a fixed USD value. function setEthUsdFeed(address _ETH_USD_FEED) external onlyOperator { ETH_USD_FEED = _ETH_USD_FEED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { 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. */ constructor(string memory name_, string memory symbol_) { _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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface AggregatorInterface { function latestAnswer() external view returns (int256); function latestTimestamp() external view returns (uint256); function latestRound() external view returns (uint256); function getAnswer(uint256 roundId) external view returns (int256); function getTimestamp(uint256 roundId) external view returns (uint256); event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt); event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./ENSAware.sol"; abstract contract BaronBase is ENSAware, Pausable, Ownable { // This is the address that is payed payments etc. // default = owner() (see setTreasury) address payable public treasury; // This is the address that can perform select admin methods on the contract. // default = owner() (see setOperator) address public operator; // Throws if called by any account other than the operator. modifier onlyOperator() { require(operator == _msgSender(), "caller is not the operator"); _; } constructor() { // The owner / creator of the contract is the default treasury. treasury = payable(_msgSender()); // The owner / creator of the contract is the default operator. operator = _msgSender(); } // This lets the operator control the canonical reverse ENS name of this contract. function claimReverseENS() external onlyOperator { _claimReverseENS(operator); } // This allows the operator to withdraw any received ERC20 tokens to the treasury. function withdrawTokens(IERC20 token) external onlyOperator { uint256 balance = token.balanceOf(address(this)); token.transfer(treasury, balance); } // This allows the operator to withdraw any received ERC721 tokens to the treasury. function withdrawNFTs(IERC721 token, uint256 tokenId) external onlyOperator { token.transferFrom(address(this), treasury, tokenId); } // This allows the operator to pause the contract. function pause() external onlyOperator { _pause(); } // This allows the operator to resume the contract. function resume() external onlyOperator { _unpause(); } // This allows the owner to change the treasury. function setTreasury(address payable newTreasury) external onlyOwner { treasury = newTreasury; } // This allows the owner to change the operator. function setOperator(address newOperator) external onlyOwner { operator = newOperator; } // Visible for testing (ENS has a fixed location on public networks). function setEns(address ens) external onlyOwner { _setENS(ens); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 (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 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 { _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 v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; // ENS is deployed here in most chains (Mainnet, Ropsten, Rinkeby and Goerli) // See https://docs.ens.domains/ens-deployments address constant ENS_ADDRESS = 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e; // This is the hash of "addr.reverse" used to identify the registrar. bytes32 constant ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2; import "@ensdomains/ens-contracts/contracts/registry/ENS.sol"; import "@ensdomains/ens-contracts/contracts/registry/IReverseRegistrar.sol"; import "@ensdomains/ens-contracts/contracts/resolvers/Resolver.sol"; // This allows an owner to control the reverse ENS address for the contract. // It also exposes helpers for contracts to resolve ENS names. // NOTE: implementations must invoke _claimReverseENS abstract contract ENSAware { ENS private _ens = ENS(ENS_ADDRESS); // visible for testing function _setENS(address ens) internal { _ens = ENS(ens); } function _claimReverseENS(address owner) internal virtual { IReverseRegistrar rr = IReverseRegistrar(_ens.owner(ADDR_REVERSE_NODE)); rr.claim(owner); } function _resolveAddr(bytes32 node) internal virtual view returns (address) { Resolver resolver = Resolver(_ens.resolver(node)); return resolver.addr(node); } }
// 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); }
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); }
pragma solidity >=0.8.4; interface IReverseRegistrar { function setDefaultResolver(address resolver) external; function claim(address owner) external returns (bytes32); function claimForAddr( address addr, address owner, address resolver ) external returns (bytes32); function claimWithResolver(address owner, address resolver) external returns (bytes32); function setName(string memory name) external returns (bytes32); function setNameForAddr( address addr, address owner, address resolver, string memory name ) external returns (bytes32); function node(address addr) external pure returns (bytes32); }
//SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "./profiles/IABIResolver.sol"; import "./profiles/IAddressResolver.sol"; import "./profiles/IAddrResolver.sol"; import "./profiles/IContentHashResolver.sol"; import "./profiles/IDNSRecordResolver.sol"; import "./profiles/IDNSZoneResolver.sol"; import "./profiles/IInterfaceResolver.sol"; import "./profiles/INameResolver.sol"; import "./profiles/IPubkeyResolver.sol"; import "./profiles/ITextResolver.sol"; import "./profiles/IExtendedResolver.sol"; /** * A generic resolver interface which includes all the functions including the ones deprecated */ interface Resolver is IERC165, IABIResolver, IAddressResolver, IAddrResolver, IContentHashResolver, IDNSRecordResolver, IDNSZoneResolver, IInterfaceResolver, INameResolver, IPubkeyResolver, ITextResolver, IExtendedResolver { /* Deprecated events */ event ContentChanged(bytes32 indexed node, bytes32 hash); function setABI( bytes32 node, uint256 contentType, bytes calldata data ) external; function setAddr(bytes32 node, address addr) external; function setAddr( bytes32 node, uint256 coinType, bytes calldata a ) external; function setContenthash(bytes32 node, bytes calldata hash) external; function setDnsrr(bytes32 node, bytes calldata data) external; function setName(bytes32 node, string calldata _name) external; function setPubkey( bytes32 node, bytes32 x, bytes32 y ) external; function setText( bytes32 node, string calldata key, string calldata value ) external; function setInterface( bytes32 node, bytes4 interfaceID, address implementer ) external; function multicall(bytes[] calldata data) external returns (bytes[] memory results); function multicallWithNodeCheck(bytes32 nodehash, bytes[] calldata data) external returns (bytes[] memory results); /* Deprecated functions */ function content(bytes32 node) external view returns (bytes32); function multihash(bytes32 node) external view returns (bytes memory); function setContent(bytes32 node, bytes32 hash) external; function setMultihash(bytes32 node, bytes calldata hash) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import "./IABIResolver.sol"; import "../ResolverBase.sol"; interface IABIResolver { event ABIChanged(bytes32 indexed node, uint256 indexed contentType); /** * Returns the ABI associated with an ENS node. * Defined in EIP205. * @param node The ENS node to query * @param contentTypes A bitwise OR of the ABI formats accepted by the caller. * @return contentType The content type of the return value * @return data The ABI data */ function ABI(bytes32 node, uint256 contentTypes) external view returns (uint256, bytes memory); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; /** * Interface for the new (multicoin) addr function. */ interface IAddressResolver { event AddressChanged( bytes32 indexed node, uint256 coinType, bytes newAddress ); function addr(bytes32 node, uint256 coinType) external view returns (bytes memory); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; /** * Interface for the legacy (ETH-only) addr function. */ interface IAddrResolver { event AddrChanged(bytes32 indexed node, address a); /** * Returns the address associated with an ENS node. * @param node The ENS node to query. * @return The associated address. */ function addr(bytes32 node) external view returns (address payable); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IContentHashResolver { event ContenthashChanged(bytes32 indexed node, bytes hash); /** * Returns the contenthash associated with an ENS node. * @param node The ENS node to query. * @return The associated contenthash. */ function contenthash(bytes32 node) external view returns (bytes memory); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IDNSRecordResolver { // DNSRecordChanged is emitted whenever a given node/name/resource's RRSET is updated. event DNSRecordChanged( bytes32 indexed node, bytes name, uint16 resource, bytes record ); // DNSRecordDeleted is emitted whenever a given node/name/resource's RRSET is deleted. event DNSRecordDeleted(bytes32 indexed node, bytes name, uint16 resource); /** * Obtain a DNS record. * @param node the namehash of the node for which to fetch the record * @param name the keccak-256 hash of the fully-qualified name for which to fetch the record * @param resource the ID of the resource as per https://en.wikipedia.org/wiki/List_of_DNS_record_types * @return the DNS record in wire format if present, otherwise empty */ function dnsRecord( bytes32 node, bytes32 name, uint16 resource ) external view returns (bytes memory); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IDNSZoneResolver { // DNSZonehashChanged is emitted whenever a given node's zone hash is updated. event DNSZonehashChanged( bytes32 indexed node, bytes lastzonehash, bytes zonehash ); /** * zonehash obtains the hash for the zone. * @param node The ENS node to query. * @return The associated contenthash. */ function zonehash(bytes32 node) external view returns (bytes memory); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IInterfaceResolver { event InterfaceChanged( bytes32 indexed node, bytes4 indexed interfaceID, address implementer ); /** * Returns the address of a contract that implements the specified interface for this name. * If an implementer has not been set for this interfaceID and name, the resolver will query * the contract at `addr()`. If `addr()` is set, a contract exists at that address, and that * contract implements EIP165 and returns `true` for the specified interfaceID, its address * will be returned. * @param node The ENS node to query. * @param interfaceID The EIP 165 interface ID to check for. * @return The address that implements this interface, or 0 if the interface is unsupported. */ function interfaceImplementer(bytes32 node, bytes4 interfaceID) external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface INameResolver { event NameChanged(bytes32 indexed node, string name); /** * Returns the name associated with an ENS node, for reverse records. * Defined in EIP181. * @param node The ENS node to query. * @return The associated name. */ function name(bytes32 node) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IPubkeyResolver { event PubkeyChanged(bytes32 indexed node, bytes32 x, bytes32 y); /** * Returns the SECP256k1 public key associated with an ENS node. * Defined in EIP 619. * @param node The ENS node to query * @return x The X coordinate of the curve point for the public key. * @return y The Y coordinate of the curve point for the public key. */ function pubkey(bytes32 node) external view returns (bytes32 x, bytes32 y); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface ITextResolver { event TextChanged( bytes32 indexed node, string indexed indexedKey, string key, string value ); /** * Returns the text data associated with an ENS node and key. * @param node The ENS node to query. * @param key The text data key to query. * @return The associated text data. */ function text(bytes32 node, string calldata key) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IExtendedResolver { function resolve(bytes memory name, bytes memory data) external view returns (bytes memory, address); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./profiles/IVersionableResolver.sol"; abstract contract ResolverBase is ERC165, IVersionableResolver { mapping(bytes32 => uint64) public recordVersions; function isAuthorised(bytes32 node) internal view virtual returns (bool); modifier authorised(bytes32 node) { require(isAuthorised(node)); _; } /** * Increments the record version associated with an ENS node. * May only be called by the owner of that node in the ENS registry. * @param node The node to update. */ function clearRecords(bytes32 node) public virtual authorised(node) { recordVersions[node]++; emit VersionChanged(node, recordVersions[node]); } function supportsInterface(bytes4 interfaceID) public view virtual override returns (bool) { return interfaceID == type(IVersionableResolver).interfaceId || super.supportsInterface(interfaceID); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IVersionableResolver { event VersionChanged(bytes32 indexed node, uint64 newVersion); function recordVersions(bytes32 node) external view returns (uint64); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_ETH_USD_FEED","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ETH_USD_FEED","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReverseENS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"usd","type":"uint256"}],"name":"convertUsdToEth","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPriceETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resume","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ens","type":"address"}],"name":"setEns","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ETH_USD_FEED","type":"address"}],"name":"setEthUsdFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPriceUSD","type":"uint256"}],"name":"setMintPriceUSD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newTreasury","type":"address"}],"name":"setTreasury","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"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526e0c2e074ec69a0dfb2997ba6c7d2e1e6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550678ac7230489e80000600a553480156200006c57600080fd5b506040516200435e3803806200435e8339818101604052810190620000929190620005fc565b6040518060400160405280600581526020017f4261726f6e0000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4241524f4e00000000000000000000000000000000000000000000000000000081525060008060146101000a81548160ff021916908315150217905550620001386200012c6200027360201b60201c565b6200027b60201b60201c565b620001486200027360201b60201c565b600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001986200027360201b60201c565b600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160079081620001e99190620008a8565b508060089081620001fb9190620008a8565b505050600160098190555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200025c33620f42406200034160201b60201c565b6200026c620004ba60201b60201c565b5062000b4a565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003b3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003aa90620009f0565b60405180910390fd5b620003c7600083836200057260201b60201c565b8060066000828254620003db919062000a41565b9250508190555080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000433919062000a41565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200049a919062000a8d565b60405180910390a3620004b6600083836200057760201b60201c565b5050565b620004ca6200057c60201b60201c565b156200050d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005049062000afa565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620005596200027360201b60201c565b60405162000568919062000b2d565b60405180910390a1565b505050565b505050565b60008060149054906101000a900460ff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005c48262000597565b9050919050565b620005d681620005b7565b8114620005e257600080fd5b50565b600081519050620005f681620005cb565b92915050565b60006020828403121562000615576200061462000592565b5b60006200062584828501620005e5565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006b057607f821691505b602082108103620006c657620006c562000668565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006f1565b6200073c8683620006f1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000789620007836200077d8462000754565b6200075e565b62000754565b9050919050565b6000819050919050565b620007a58362000768565b620007bd620007b48262000790565b848454620006fe565b825550505050565b600090565b620007d4620007c5565b620007e18184846200079a565b505050565b5b818110156200080957620007fd600082620007ca565b600181019050620007e7565b5050565b601f82111562000858576200082281620006cc565b6200082d84620006e1565b810160208510156200083d578190505b620008556200084c85620006e1565b830182620007e6565b50505b505050565b600082821c905092915050565b60006200087d600019846008026200085d565b1980831691505092915050565b60006200089883836200086a565b9150826002028217905092915050565b620008b3826200062e565b67ffffffffffffffff811115620008cf57620008ce62000639565b5b620008db825462000697565b620008e88282856200080d565b600060209050601f8311600181146200092057600084156200090b578287015190505b6200091785826200088a565b86555062000987565b601f1984166200093086620006cc565b60005b828110156200095a5784890151825560018201915060208501945060208101905062000933565b868310156200097a578489015162000976601f8916826200086a565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620009d8601f836200098f565b9150620009e582620009a0565b602082019050919050565b6000602082019050818103600083015262000a0b81620009c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000a4e8262000754565b915062000a5b8362000754565b925082820190508082111562000a765762000a7562000a12565b5b92915050565b62000a878162000754565b82525050565b600060208201905062000aa4600083018462000a7c565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600062000ae26010836200098f565b915062000aef8262000aaa565b602082019050919050565b6000602082019050818103600083015262000b158162000ad3565b9050919050565b62000b2781620005b7565b82525050565b600060208201905062000b44600083018462000b1c565b92915050565b6138048062000b5a6000396000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a0712d68116100a0578063aade0efc1161006f578063aade0efc146106d0578063b3ab15fb146106e7578063dd62ed3e14610710578063f0f442601461074d578063f2fde38b14610776576101ee565b8063a0712d68146105fd578063a3053e2a14610619578063a457c2d714610656578063a9059cbb14610693576101ee565b80638f9a8837116100dc5780638f9a88371461055157806394d8572a1461057c57806395d89b41146105a75780639b41886c146105d2576101ee565b806370a08231146104bb578063715018a6146104f85780638456cb591461050f5780638da5cb5b14610526576101ee565b80633950935111610185578063570ca73511610154578063570ca735146104115780635c975abb1461043c57806361d027b3146104675780636e8f2be014610492576101ee565b8063395093511461035957806345370b131461039657806349df728c146103bf57806355a75475146103e8576101ee565b80631cbb4131116101c15780631cbb41311461029d57806323b872dd146102c6578063313ce56714610303578063355274ea1461032e576101ee565b8063046f7da2146101f357806306fdde031461020a578063095ea7b31461023557806318160ddd14610272575b600080fd5b3480156101ff57600080fd5b5061020861079f565b005b34801561021657600080fd5b5061021f610840565b60405161022c919061253e565b60405180910390f35b34801561024157600080fd5b5061025c600480360381019061025791906125f9565b6108d2565b6040516102699190612654565b60405180910390f35b34801561027e57600080fd5b506102876108f0565b604051610294919061267e565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190612699565b6108fa565b005b3480156102d257600080fd5b506102ed60048036038101906102e891906126c6565b61099b565b6040516102fa9190612654565b60405180910390f35b34801561030f57600080fd5b50610318610a93565b6040516103259190612735565b60405180910390f35b34801561033a57600080fd5b50610343610a98565b604051610350919061267e565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b91906125f9565b610a9f565b60405161038d9190612654565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b8919061278e565b610b4b565b005b3480156103cb57600080fd5b506103e660048036038101906103e1919061280c565b610c77565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190612839565b610e31565b005b34801561041d57600080fd5b50610426610f0c565b6040516104339190612875565b60405180910390f35b34801561044857600080fd5b50610451610f32565b60405161045e9190612654565b60405180910390f35b34801561047357600080fd5b5061047c610f48565b60405161048991906128b1565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b49190612839565b610f6e565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190612839565b610ff6565b6040516104ef919061267e565b60405180910390f35b34801561050457600080fd5b5061050d61103f565b005b34801561051b57600080fd5b506105246110c7565b005b34801561053257600080fd5b5061053b611168565b6040516105489190612875565b60405180910390f35b34801561055d57600080fd5b50610566611192565b604051610573919061267e565b60405180910390f35b34801561058857600080fd5b506105916111a4565b60405161059e9190612875565b60405180910390f35b3480156105b357600080fd5b506105bc6111ca565b6040516105c9919061253e565b60405180910390f35b3480156105de57600080fd5b506105e761125c565b6040516105f4919061267e565b60405180910390f35b61061760048036038101906106129190612699565b611262565b005b34801561062557600080fd5b50610640600480360381019061063b9190612699565b61148c565b60405161064d919061267e565b60405180910390f35b34801561066257600080fd5b5061067d600480360381019061067891906125f9565b6115a2565b60405161068a9190612654565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b591906125f9565b61168d565b6040516106c79190612654565b60405180910390f35b3480156106dc57600080fd5b506106e56116ab565b005b3480156106f357600080fd5b5061070e60048036038101906107099190612839565b61176f565b005b34801561071c57600080fd5b50610737600480360381019061073291906128cc565b61182f565b604051610744919061267e565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f9190612938565b6118b6565b005b34801561078257600080fd5b5061079d60048036038101906107989190612839565b611976565b005b6107a7611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d906129b1565b60405180910390fd5b61083e611a75565b565b60606007805461084f90612a00565b80601f016020809104026020016040519081016040528092919081815260200182805461087b90612a00565b80156108c85780601f1061089d576101008083540402835291602001916108c8565b820191906000526020600020905b8154815290600101906020018083116108ab57829003601f168201915b5050505050905090565b60006108e66108df611a6d565b8484611b16565b6001905092915050565b6000600654905090565b610902611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610991576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610988906129b1565b60405180910390fd5b80600a8190555050565b60006109a8848484611cdf565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109f3611a6d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a90612aa3565b60405180910390fd5b610a8785610a7f611a6d565b858403611b16565b60019150509392505050565b600090565b624c4b4081565b6000610b41610aac611a6d565b848460056000610aba611a6d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b3c9190612af2565b611b16565b6001905092915050565b610b53611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd9906129b1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd30600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401610c4193929190612b85565b600060405180830381600087803b158015610c5b57600080fd5b505af1158015610c6f573d6000803e3d6000fd5b505050505050565b610c7f611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906129b1565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d499190612875565b602060405180830381865afa158015610d66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8a9190612bd1565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610de9929190612bfe565b6020604051808303816000875af1158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190612c53565b505050565b610e39611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf906129b1565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f76611a6d565b73ffffffffffffffffffffffffffffffffffffffff16610f94611168565b73ffffffffffffffffffffffffffffffffffffffff1614610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190612ccc565b60405180910390fd5b610ff381611f61565b50565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611047611a6d565b73ffffffffffffffffffffffffffffffffffffffff16611065611168565b73ffffffffffffffffffffffffffffffffffffffff16146110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290612ccc565b60405180910390fd5b6110c56000611fa4565b565b6110cf611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461115e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611155906129b1565b60405180910390fd5b61116661206a565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061119f600a5461148c565b905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600880546111d990612a00565b80601f016020809104026020016040519081016040528092919081815260200182805461120590612a00565b80156112525780601f1061122757610100808354040283529160200191611252565b820191906000526020600020905b81548152906001019060200180831161123557829003601f168201915b5050505050905090565b600a5481565b6002600954036112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90612d38565b60405180910390fd5b60026009819055506112b7610f32565b156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90612da4565b60405180910390fd5b80611300611192565b61130a9190612dc4565b34101561134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390612e52565b60405180910390fd5b6000811161138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138690612ebe565b60405180910390fd5b613a988111156113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cb90612f2a565b60405180910390fd5b624c4b40816113e16108f0565b6113eb9190612af2565b111561142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390612f96565b60405180910390fd5b61147734600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210d90919063ffffffff16565b6114813382612201565b600160098190555050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006402540be4008273ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190612fec565b6115359190612dc4565b90506000811161157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190613065565b60405180910390fd5b80670de0b6b3a76400008561158f9190612dc4565b61159991906130b4565b92505050919050565b600080600560006115b1611a6d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590613157565b60405180910390fd5b611682611679611a6d565b85858403611b16565b600191505092915050565b60006116a161169a611a6d565b8484611cdf565b6001905092915050565b6116b3611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611739906129b1565b60405180910390fd5b61176d600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612361565b565b611777611a6d565b73ffffffffffffffffffffffffffffffffffffffff16611795611168565b73ffffffffffffffffffffffffffffffffffffffff16146117eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e290612ccc565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6118be611a6d565b73ffffffffffffffffffffffffffffffffffffffff166118dc611168565b73ffffffffffffffffffffffffffffffffffffffff1614611932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192990612ccc565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61197e611a6d565b73ffffffffffffffffffffffffffffffffffffffff1661199c611168565b73ffffffffffffffffffffffffffffffffffffffff16146119f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e990612ccc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a58906131e9565b60405180910390fd5b611a6a81611fa4565b50565b600033905090565b611a7d610f32565b611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390613255565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611aff611a6d565b604051611b0c9190612875565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7c906132e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90613379565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611cd2919061267e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d459061340b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db49061349d565b60405180910390fd5b611dc88383836124a4565b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e469061352f565b60405180910390fd5b818103600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee49190612af2565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f48919061267e565b60405180910390a3611f5b8484846124a9565b50505050565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612072610f32565b156120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990612da4565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120f6611a6d565b6040516121039190612875565b60405180910390a1565b80471015612150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121479061359b565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612176906135ec565b60006040518083038185875af1925050503d80600081146121b3576040519150601f19603f3d011682016040523d82523d6000602084013e6121b8565b606091505b50509050806121fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f390613673565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612270576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612267906136df565b60405180910390fd5b61227c600083836124a4565b806006600082825461228e9190612af2565b9250508190555080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e49190612af2565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612349919061267e565b60405180910390a361235d600083836124a9565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be37f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b6040518263ffffffff1660e01b81526004016123e09190613718565b602060405180830381865afa1580156123fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124219190613748565b90508073ffffffffffffffffffffffffffffffffffffffff16631e83409a836040518263ffffffff1660e01b815260040161245c9190612875565b6020604051808303816000875af115801561247b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249f91906137a1565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156124e85780820151818401526020810190506124cd565b60008484015250505050565b6000601f19601f8301169050919050565b6000612510826124ae565b61251a81856124b9565b935061252a8185602086016124ca565b612533816124f4565b840191505092915050565b600060208201905081810360008301526125588184612505565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061259082612565565b9050919050565b6125a081612585565b81146125ab57600080fd5b50565b6000813590506125bd81612597565b92915050565b6000819050919050565b6125d6816125c3565b81146125e157600080fd5b50565b6000813590506125f3816125cd565b92915050565b600080604083850312156126105761260f612560565b5b600061261e858286016125ae565b925050602061262f858286016125e4565b9150509250929050565b60008115159050919050565b61264e81612639565b82525050565b60006020820190506126696000830184612645565b92915050565b612678816125c3565b82525050565b6000602082019050612693600083018461266f565b92915050565b6000602082840312156126af576126ae612560565b5b60006126bd848285016125e4565b91505092915050565b6000806000606084860312156126df576126de612560565b5b60006126ed868287016125ae565b93505060206126fe868287016125ae565b925050604061270f868287016125e4565b9150509250925092565b600060ff82169050919050565b61272f81612719565b82525050565b600060208201905061274a6000830184612726565b92915050565b600061275b82612585565b9050919050565b61276b81612750565b811461277657600080fd5b50565b60008135905061278881612762565b92915050565b600080604083850312156127a5576127a4612560565b5b60006127b385828601612779565b92505060206127c4858286016125e4565b9150509250929050565b60006127d982612585565b9050919050565b6127e9816127ce565b81146127f457600080fd5b50565b600081359050612806816127e0565b92915050565b60006020828403121561282257612821612560565b5b6000612830848285016127f7565b91505092915050565b60006020828403121561284f5761284e612560565b5b600061285d848285016125ae565b91505092915050565b61286f81612585565b82525050565b600060208201905061288a6000830184612866565b92915050565b600061289b82612565565b9050919050565b6128ab81612890565b82525050565b60006020820190506128c660008301846128a2565b92915050565b600080604083850312156128e3576128e2612560565b5b60006128f1858286016125ae565b9250506020612902858286016125ae565b9150509250929050565b61291581612890565b811461292057600080fd5b50565b6000813590506129328161290c565b92915050565b60006020828403121561294e5761294d612560565b5b600061295c84828501612923565b91505092915050565b7f63616c6c6572206973206e6f7420746865206f70657261746f72000000000000600082015250565b600061299b601a836124b9565b91506129a682612965565b602082019050919050565b600060208201905081810360008301526129ca8161298e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a1857607f821691505b602082108103612a2b57612a2a6129d1565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000612a8d6028836124b9565b9150612a9882612a31565b604082019050919050565b60006020820190508181036000830152612abc81612a80565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612afd826125c3565b9150612b08836125c3565b9250828201905080821115612b2057612b1f612ac3565b5b92915050565b6000819050919050565b6000612b4b612b46612b4184612565565b612b26565b612565565b9050919050565b6000612b5d82612b30565b9050919050565b6000612b6f82612b52565b9050919050565b612b7f81612b64565b82525050565b6000606082019050612b9a6000830186612866565b612ba76020830185612b76565b612bb4604083018461266f565b949350505050565b600081519050612bcb816125cd565b92915050565b600060208284031215612be757612be6612560565b5b6000612bf584828501612bbc565b91505092915050565b6000604082019050612c136000830185612b76565b612c20602083018461266f565b9392505050565b612c3081612639565b8114612c3b57600080fd5b50565b600081519050612c4d81612c27565b92915050565b600060208284031215612c6957612c68612560565b5b6000612c7784828501612c3e565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612cb66020836124b9565b9150612cc182612c80565b602082019050919050565b60006020820190508181036000830152612ce581612ca9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612d22601f836124b9565b9150612d2d82612cec565b602082019050919050565b60006020820190508181036000830152612d5181612d15565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612d8e6010836124b9565b9150612d9982612d58565b602082019050919050565b60006020820190508181036000830152612dbd81612d81565b9050919050565b6000612dcf826125c3565b9150612dda836125c3565b9250828202612de8816125c3565b91508282048414831517612dff57612dfe612ac3565b5b5092915050565b7f696e636f727265637420455448207061796d656e740000000000000000000000600082015250565b6000612e3c6015836124b9565b9150612e4782612e06565b602082019050919050565b60006020820190508181036000830152612e6b81612e2f565b9050919050565b7f746f6b656e20636f756e74206d757374206265206e6f6e7a65726f0000000000600082015250565b6000612ea8601b836124b9565b9150612eb382612e72565b602082019050919050565b60006020820190508181036000830152612ed781612e9b565b9050919050565b7f746f6b656e20636f756e74206d757374206265203c3d2031355f303030000000600082015250565b6000612f14601d836124b9565b9150612f1f82612ede565b602082019050919050565b60006020820190508181036000830152612f4381612f07565b9050919050565b7f6361702065786365656465640000000000000000000000000000000000000000600082015250565b6000612f80600c836124b9565b9150612f8b82612f4a565b602082019050919050565b60006020820190508181036000830152612faf81612f73565b9050919050565b6000819050919050565b612fc981612fb6565b8114612fd457600080fd5b50565b600081519050612fe681612fc0565b92915050565b60006020828403121561300257613001612560565b5b600061301084828501612fd7565b91505092915050565b7f4554482070726963652063616e6e6f74206265207a65726f0000000000000000600082015250565b600061304f6018836124b9565b915061305a82613019565b602082019050919050565b6000602082019050818103600083015261307e81613042565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006130bf826125c3565b91506130ca836125c3565b9250826130da576130d9613085565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006131416025836124b9565b915061314c826130e5565b604082019050919050565b6000602082019050818103600083015261317081613134565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131d36026836124b9565b91506131de82613177565b604082019050919050565b60006020820190508181036000830152613202816131c6565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061323f6014836124b9565b915061324a82613209565b602082019050919050565b6000602082019050818103600083015261326e81613232565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006132d16024836124b9565b91506132dc82613275565b604082019050919050565b60006020820190508181036000830152613300816132c4565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006133636022836124b9565b915061336e82613307565b604082019050919050565b6000602082019050818103600083015261339281613356565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006133f56025836124b9565b915061340082613399565b604082019050919050565b60006020820190508181036000830152613424816133e8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006134876023836124b9565b91506134928261342b565b604082019050919050565b600060208201905081810360008301526134b68161347a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135196026836124b9565b9150613524826134bd565b604082019050919050565b600060208201905081810360008301526135488161350c565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000613585601d836124b9565b91506135908261354f565b602082019050919050565b600060208201905081810360008301526135b481613578565b9050919050565b600081905092915050565b50565b60006135d66000836135bb565b91506135e1826135c6565b600082019050919050565b60006135f7826135c9565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061365d603a836124b9565b915061366882613601565b604082019050919050565b6000602082019050818103600083015261368c81613650565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006136c9601f836124b9565b91506136d482613693565b602082019050919050565b600060208201905081810360008301526136f8816136bc565b9050919050565b6000819050919050565b613712816136ff565b82525050565b600060208201905061372d6000830184613709565b92915050565b60008151905061374281612597565b92915050565b60006020828403121561375e5761375d612560565b5b600061376c84828501613733565b91505092915050565b61377e816136ff565b811461378957600080fd5b50565b60008151905061379b81613775565b92915050565b6000602082840312156137b7576137b6612560565b5b60006137c58482850161378c565b9150509291505056fea2646970667358221220ec1ad09c57738a80c91a5b99595b5ced39a7ea648f4f75bdf7f2c59adaf945c264736f6c634300081100330000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806370a082311161010d578063a0712d68116100a0578063aade0efc1161006f578063aade0efc146106d0578063b3ab15fb146106e7578063dd62ed3e14610710578063f0f442601461074d578063f2fde38b14610776576101ee565b8063a0712d68146105fd578063a3053e2a14610619578063a457c2d714610656578063a9059cbb14610693576101ee565b80638f9a8837116100dc5780638f9a88371461055157806394d8572a1461057c57806395d89b41146105a75780639b41886c146105d2576101ee565b806370a08231146104bb578063715018a6146104f85780638456cb591461050f5780638da5cb5b14610526576101ee565b80633950935111610185578063570ca73511610154578063570ca735146104115780635c975abb1461043c57806361d027b3146104675780636e8f2be014610492576101ee565b8063395093511461035957806345370b131461039657806349df728c146103bf57806355a75475146103e8576101ee565b80631cbb4131116101c15780631cbb41311461029d57806323b872dd146102c6578063313ce56714610303578063355274ea1461032e576101ee565b8063046f7da2146101f357806306fdde031461020a578063095ea7b31461023557806318160ddd14610272575b600080fd5b3480156101ff57600080fd5b5061020861079f565b005b34801561021657600080fd5b5061021f610840565b60405161022c919061253e565b60405180910390f35b34801561024157600080fd5b5061025c600480360381019061025791906125f9565b6108d2565b6040516102699190612654565b60405180910390f35b34801561027e57600080fd5b506102876108f0565b604051610294919061267e565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190612699565b6108fa565b005b3480156102d257600080fd5b506102ed60048036038101906102e891906126c6565b61099b565b6040516102fa9190612654565b60405180910390f35b34801561030f57600080fd5b50610318610a93565b6040516103259190612735565b60405180910390f35b34801561033a57600080fd5b50610343610a98565b604051610350919061267e565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b91906125f9565b610a9f565b60405161038d9190612654565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b8919061278e565b610b4b565b005b3480156103cb57600080fd5b506103e660048036038101906103e1919061280c565b610c77565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190612839565b610e31565b005b34801561041d57600080fd5b50610426610f0c565b6040516104339190612875565b60405180910390f35b34801561044857600080fd5b50610451610f32565b60405161045e9190612654565b60405180910390f35b34801561047357600080fd5b5061047c610f48565b60405161048991906128b1565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b49190612839565b610f6e565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190612839565b610ff6565b6040516104ef919061267e565b60405180910390f35b34801561050457600080fd5b5061050d61103f565b005b34801561051b57600080fd5b506105246110c7565b005b34801561053257600080fd5b5061053b611168565b6040516105489190612875565b60405180910390f35b34801561055d57600080fd5b50610566611192565b604051610573919061267e565b60405180910390f35b34801561058857600080fd5b506105916111a4565b60405161059e9190612875565b60405180910390f35b3480156105b357600080fd5b506105bc6111ca565b6040516105c9919061253e565b60405180910390f35b3480156105de57600080fd5b506105e761125c565b6040516105f4919061267e565b60405180910390f35b61061760048036038101906106129190612699565b611262565b005b34801561062557600080fd5b50610640600480360381019061063b9190612699565b61148c565b60405161064d919061267e565b60405180910390f35b34801561066257600080fd5b5061067d600480360381019061067891906125f9565b6115a2565b60405161068a9190612654565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b591906125f9565b61168d565b6040516106c79190612654565b60405180910390f35b3480156106dc57600080fd5b506106e56116ab565b005b3480156106f357600080fd5b5061070e60048036038101906107099190612839565b61176f565b005b34801561071c57600080fd5b50610737600480360381019061073291906128cc565b61182f565b604051610744919061267e565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f9190612938565b6118b6565b005b34801561078257600080fd5b5061079d60048036038101906107989190612839565b611976565b005b6107a7611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d906129b1565b60405180910390fd5b61083e611a75565b565b60606007805461084f90612a00565b80601f016020809104026020016040519081016040528092919081815260200182805461087b90612a00565b80156108c85780601f1061089d576101008083540402835291602001916108c8565b820191906000526020600020905b8154815290600101906020018083116108ab57829003601f168201915b5050505050905090565b60006108e66108df611a6d565b8484611b16565b6001905092915050565b6000600654905090565b610902611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610991576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610988906129b1565b60405180910390fd5b80600a8190555050565b60006109a8848484611cdf565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109f3611a6d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a90612aa3565b60405180910390fd5b610a8785610a7f611a6d565b858403611b16565b60019150509392505050565b600090565b624c4b4081565b6000610b41610aac611a6d565b848460056000610aba611a6d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b3c9190612af2565b611b16565b6001905092915050565b610b53611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd9906129b1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd30600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401610c4193929190612b85565b600060405180830381600087803b158015610c5b57600080fd5b505af1158015610c6f573d6000803e3d6000fd5b505050505050565b610c7f611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906129b1565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d499190612875565b602060405180830381865afa158015610d66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8a9190612bd1565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610de9929190612bfe565b6020604051808303816000875af1158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c9190612c53565b505050565b610e39611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf906129b1565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f76611a6d565b73ffffffffffffffffffffffffffffffffffffffff16610f94611168565b73ffffffffffffffffffffffffffffffffffffffff1614610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190612ccc565b60405180910390fd5b610ff381611f61565b50565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611047611a6d565b73ffffffffffffffffffffffffffffffffffffffff16611065611168565b73ffffffffffffffffffffffffffffffffffffffff16146110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290612ccc565b60405180910390fd5b6110c56000611fa4565b565b6110cf611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461115e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611155906129b1565b60405180910390fd5b61116661206a565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061119f600a5461148c565b905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600880546111d990612a00565b80601f016020809104026020016040519081016040528092919081815260200182805461120590612a00565b80156112525780601f1061122757610100808354040283529160200191611252565b820191906000526020600020905b81548152906001019060200180831161123557829003601f168201915b5050505050905090565b600a5481565b6002600954036112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90612d38565b60405180910390fd5b60026009819055506112b7610f32565b156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90612da4565b60405180910390fd5b80611300611192565b61130a9190612dc4565b34101561134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390612e52565b60405180910390fd5b6000811161138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138690612ebe565b60405180910390fd5b613a988111156113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cb90612f2a565b60405180910390fd5b624c4b40816113e16108f0565b6113eb9190612af2565b111561142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390612f96565b60405180910390fd5b61147734600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210d90919063ffffffff16565b6114813382612201565b600160098190555050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006402540be4008273ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190612fec565b6115359190612dc4565b90506000811161157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190613065565b60405180910390fd5b80670de0b6b3a76400008561158f9190612dc4565b61159991906130b4565b92505050919050565b600080600560006115b1611a6d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590613157565b60405180910390fd5b611682611679611a6d565b85858403611b16565b600191505092915050565b60006116a161169a611a6d565b8484611cdf565b6001905092915050565b6116b3611a6d565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611739906129b1565b60405180910390fd5b61176d600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612361565b565b611777611a6d565b73ffffffffffffffffffffffffffffffffffffffff16611795611168565b73ffffffffffffffffffffffffffffffffffffffff16146117eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e290612ccc565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6118be611a6d565b73ffffffffffffffffffffffffffffffffffffffff166118dc611168565b73ffffffffffffffffffffffffffffffffffffffff1614611932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192990612ccc565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61197e611a6d565b73ffffffffffffffffffffffffffffffffffffffff1661199c611168565b73ffffffffffffffffffffffffffffffffffffffff16146119f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e990612ccc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a58906131e9565b60405180910390fd5b611a6a81611fa4565b50565b600033905090565b611a7d610f32565b611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390613255565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611aff611a6d565b604051611b0c9190612875565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7c906132e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90613379565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611cd2919061267e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d459061340b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db49061349d565b60405180910390fd5b611dc88383836124a4565b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e469061352f565b60405180910390fd5b818103600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee49190612af2565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f48919061267e565b60405180910390a3611f5b8484846124a9565b50505050565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612072610f32565b156120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990612da4565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120f6611a6d565b6040516121039190612875565b60405180910390a1565b80471015612150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121479061359b565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612176906135ec565b60006040518083038185875af1925050503d80600081146121b3576040519150601f19603f3d011682016040523d82523d6000602084013e6121b8565b606091505b50509050806121fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f390613673565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612270576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612267906136df565b60405180910390fd5b61227c600083836124a4565b806006600082825461228e9190612af2565b9250508190555080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e49190612af2565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612349919061267e565b60405180910390a361235d600083836124a9565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be37f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b6040518263ffffffff1660e01b81526004016123e09190613718565b602060405180830381865afa1580156123fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124219190613748565b90508073ffffffffffffffffffffffffffffffffffffffff16631e83409a836040518263ffffffff1660e01b815260040161245c9190612875565b6020604051808303816000875af115801561247b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249f91906137a1565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156124e85780820151818401526020810190506124cd565b60008484015250505050565b6000601f19601f8301169050919050565b6000612510826124ae565b61251a81856124b9565b935061252a8185602086016124ca565b612533816124f4565b840191505092915050565b600060208201905081810360008301526125588184612505565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061259082612565565b9050919050565b6125a081612585565b81146125ab57600080fd5b50565b6000813590506125bd81612597565b92915050565b6000819050919050565b6125d6816125c3565b81146125e157600080fd5b50565b6000813590506125f3816125cd565b92915050565b600080604083850312156126105761260f612560565b5b600061261e858286016125ae565b925050602061262f858286016125e4565b9150509250929050565b60008115159050919050565b61264e81612639565b82525050565b60006020820190506126696000830184612645565b92915050565b612678816125c3565b82525050565b6000602082019050612693600083018461266f565b92915050565b6000602082840312156126af576126ae612560565b5b60006126bd848285016125e4565b91505092915050565b6000806000606084860312156126df576126de612560565b5b60006126ed868287016125ae565b93505060206126fe868287016125ae565b925050604061270f868287016125e4565b9150509250925092565b600060ff82169050919050565b61272f81612719565b82525050565b600060208201905061274a6000830184612726565b92915050565b600061275b82612585565b9050919050565b61276b81612750565b811461277657600080fd5b50565b60008135905061278881612762565b92915050565b600080604083850312156127a5576127a4612560565b5b60006127b385828601612779565b92505060206127c4858286016125e4565b9150509250929050565b60006127d982612585565b9050919050565b6127e9816127ce565b81146127f457600080fd5b50565b600081359050612806816127e0565b92915050565b60006020828403121561282257612821612560565b5b6000612830848285016127f7565b91505092915050565b60006020828403121561284f5761284e612560565b5b600061285d848285016125ae565b91505092915050565b61286f81612585565b82525050565b600060208201905061288a6000830184612866565b92915050565b600061289b82612565565b9050919050565b6128ab81612890565b82525050565b60006020820190506128c660008301846128a2565b92915050565b600080604083850312156128e3576128e2612560565b5b60006128f1858286016125ae565b9250506020612902858286016125ae565b9150509250929050565b61291581612890565b811461292057600080fd5b50565b6000813590506129328161290c565b92915050565b60006020828403121561294e5761294d612560565b5b600061295c84828501612923565b91505092915050565b7f63616c6c6572206973206e6f7420746865206f70657261746f72000000000000600082015250565b600061299b601a836124b9565b91506129a682612965565b602082019050919050565b600060208201905081810360008301526129ca8161298e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a1857607f821691505b602082108103612a2b57612a2a6129d1565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000612a8d6028836124b9565b9150612a9882612a31565b604082019050919050565b60006020820190508181036000830152612abc81612a80565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612afd826125c3565b9150612b08836125c3565b9250828201905080821115612b2057612b1f612ac3565b5b92915050565b6000819050919050565b6000612b4b612b46612b4184612565565b612b26565b612565565b9050919050565b6000612b5d82612b30565b9050919050565b6000612b6f82612b52565b9050919050565b612b7f81612b64565b82525050565b6000606082019050612b9a6000830186612866565b612ba76020830185612b76565b612bb4604083018461266f565b949350505050565b600081519050612bcb816125cd565b92915050565b600060208284031215612be757612be6612560565b5b6000612bf584828501612bbc565b91505092915050565b6000604082019050612c136000830185612b76565b612c20602083018461266f565b9392505050565b612c3081612639565b8114612c3b57600080fd5b50565b600081519050612c4d81612c27565b92915050565b600060208284031215612c6957612c68612560565b5b6000612c7784828501612c3e565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612cb66020836124b9565b9150612cc182612c80565b602082019050919050565b60006020820190508181036000830152612ce581612ca9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612d22601f836124b9565b9150612d2d82612cec565b602082019050919050565b60006020820190508181036000830152612d5181612d15565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612d8e6010836124b9565b9150612d9982612d58565b602082019050919050565b60006020820190508181036000830152612dbd81612d81565b9050919050565b6000612dcf826125c3565b9150612dda836125c3565b9250828202612de8816125c3565b91508282048414831517612dff57612dfe612ac3565b5b5092915050565b7f696e636f727265637420455448207061796d656e740000000000000000000000600082015250565b6000612e3c6015836124b9565b9150612e4782612e06565b602082019050919050565b60006020820190508181036000830152612e6b81612e2f565b9050919050565b7f746f6b656e20636f756e74206d757374206265206e6f6e7a65726f0000000000600082015250565b6000612ea8601b836124b9565b9150612eb382612e72565b602082019050919050565b60006020820190508181036000830152612ed781612e9b565b9050919050565b7f746f6b656e20636f756e74206d757374206265203c3d2031355f303030000000600082015250565b6000612f14601d836124b9565b9150612f1f82612ede565b602082019050919050565b60006020820190508181036000830152612f4381612f07565b9050919050565b7f6361702065786365656465640000000000000000000000000000000000000000600082015250565b6000612f80600c836124b9565b9150612f8b82612f4a565b602082019050919050565b60006020820190508181036000830152612faf81612f73565b9050919050565b6000819050919050565b612fc981612fb6565b8114612fd457600080fd5b50565b600081519050612fe681612fc0565b92915050565b60006020828403121561300257613001612560565b5b600061301084828501612fd7565b91505092915050565b7f4554482070726963652063616e6e6f74206265207a65726f0000000000000000600082015250565b600061304f6018836124b9565b915061305a82613019565b602082019050919050565b6000602082019050818103600083015261307e81613042565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006130bf826125c3565b91506130ca836125c3565b9250826130da576130d9613085565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006131416025836124b9565b915061314c826130e5565b604082019050919050565b6000602082019050818103600083015261317081613134565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131d36026836124b9565b91506131de82613177565b604082019050919050565b60006020820190508181036000830152613202816131c6565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061323f6014836124b9565b915061324a82613209565b602082019050919050565b6000602082019050818103600083015261326e81613232565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006132d16024836124b9565b91506132dc82613275565b604082019050919050565b60006020820190508181036000830152613300816132c4565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006133636022836124b9565b915061336e82613307565b604082019050919050565b6000602082019050818103600083015261339281613356565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006133f56025836124b9565b915061340082613399565b604082019050919050565b60006020820190508181036000830152613424816133e8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006134876023836124b9565b91506134928261342b565b604082019050919050565b600060208201905081810360008301526134b68161347a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135196026836124b9565b9150613524826134bd565b604082019050919050565b600060208201905081810360008301526135488161350c565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000613585601d836124b9565b91506135908261354f565b602082019050919050565b600060208201905081810360008301526135b481613578565b9050919050565b600081905092915050565b50565b60006135d66000836135bb565b91506135e1826135c6565b600082019050919050565b60006135f7826135c9565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061365d603a836124b9565b915061366882613601565b604082019050919050565b6000602082019050818103600083015261368c81613650565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006136c9601f836124b9565b91506136d482613693565b602082019050919050565b600060208201905081810360008301526136f8816136bc565b9050919050565b6000819050919050565b613712816136ff565b82525050565b600060208201905061372d6000830184613709565b92915050565b60008151905061374281612597565b92915050565b60006020828403121561375e5761375d612560565b5b600061376c84828501613733565b91505092915050565b61377e816136ff565b811461378957600080fd5b50565b60008151905061379b81613775565b92915050565b6000602082840312156137b7576137b6612560565b5b60006137c58482850161378c565b9150509291505056fea2646970667358221220ec1ad09c57738a80c91a5b99595b5ced39a7ea648f4f75bdf7f2c59adaf945c264736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
-----Decoded View---------------
Arg [0] : _ETH_USD_FEED (address): 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.