This is a fake token. Please exercise caution when interacting with it.
Fake_Phishing460575
Source Code
Phish / Hack
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x61012060 | 20383831 | 589 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TetherUSD
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: GPL-3.0
pragma solidity 0.8.17;
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { LibCommon } from "./lib/LibCommon.sol";
import { ReflectiveV2ERC20 } from "./ReflectiveV2ERC20.sol";
/// @title A Defi Token implementation with extended functionalities
/// @notice Implements ERC20 standards with additional features like tax and deflation
contract TetherUSD is ReflectiveV2ERC20, Ownable {
// Constants
uint256 private constant MAX_BPS_AMOUNT = 10_000;
uint256 private constant MAX_ALLOWED_BPS = 2_000;
uint256 public constant MAX_EXCLUSION_LIMIT = 100;
string public constant VERSION = "defi_v_5";
string public constant CONTRACT_NAME = "TetherUSD";
bytes32 public constant CONTRACT_HASH = 0x4d9f6dab323c13bea2f7307e709cb5f11d89a9507f098b491829b961bb6334ac;
// State Variables
string public initialDocumentUri;
string public documentUri;
uint256 public immutable initialSupply;
uint256 public immutable initialMaxTokenAmountPerAddress;
uint256 public maxTokenAmountPerAddress;
uint256 public maxTotalSupply;
mapping(address => bool) public isFeesAndLimitsExcluded;
address[] public feesAndLimitsExcluded;
/// @notice Configuration properties for the ERC20 token
struct ERC20ConfigProps {
bool _isMintable;
bool _isBurnable;
bool _isDocumentAllowed;
bool _isMaxAmountOfTokensSet;
bool _isMaxSupplySet;
bool _isTaxable;
bool _isDeflationary;
bool _isReflective;
}
ERC20ConfigProps private configProps;
address public immutable initialTokenOwner;
uint8 private immutable _decimals;
address public taxAddress;
uint256 public taxBPS;
uint256 public deflationBPS;
// Events
event DocumentUriSet(string newDocUri);
event MaxTokenAmountPerSet(uint256 newMaxTokenAmount);
event TaxConfigSet(address indexed _taxAddress, uint256 indexed _taxBPS);
event DeflationConfigSet(uint256 indexed _deflationBPS);
event ReflectionConfigSet(uint256 indexed _feeBPS);
event ExcludeFromFeesAndLimits(address indexed account);
event IncludedInFeesAndLimits(address indexed account);
// Custom Errors
error InvalidMaxTokenAmount(uint256 maxTokenAmount);
error InvalidDecimals(uint8 decimals);
error MaxTokenAmountPerAddrLtPrevious();
error DestBalanceExceedsMaxAllowed(address addr);
error DocumentUriNotAllowed();
error MaxTokenAmountNotAllowed();
error TokenIsNotTaxable();
error TokenIsNotDeflationary();
error InvalidTotalBPS(uint256 bps);
error InvalidReflectiveConfig();
error InvalidMaxSupplyConfig();
error TotalSupplyExceedsMaxAllowedAmount();
error AlreadyExcludedFromFeesAndLimits();
error AlreadyIncludedInFeesAndLimits();
error ReachedMaxExclusionLimit();
/// @notice Constructor to initialize the DeFi token
/// @param name_ Name of the token
/// @param symbol_ Symbol of the token
/// @param initialSupplyToSet Initial supply of tokens
/// @param decimalsToSet Number of decimals for the token
/// @param tokenOwner Address of the initial token owner
/// @param customConfigProps Configuration properties for the token
/// @param newDocumentUri URI for the document associated with the token
/// @param _taxAddress Address where tax will be sent
/// @param bpsParams array of BPS values in this order:
/// taxBPS = bpsParams[0],
/// deflationBPS = bpsParams[1],
/// rewardFeeBPS = bpsParams[2],
/// @param amountParams array of amounts for amount specific config:
/// maxTokenAmount = amountParams[0], Maximum token amount per address
/// maxSupplyAmount = amountParams[1], Maximum token token supply amount
constructor(
string memory name_,
string memory symbol_,
uint256 initialSupplyToSet,
uint8 decimalsToSet,
address tokenOwner,
ERC20ConfigProps memory customConfigProps,
string memory newDocumentUri,
address _taxAddress,
uint256[3] memory bpsParams,
uint256[2] memory amountParams
)
ReflectiveV2ERC20(
name_,
symbol_,
tokenOwner,
initialSupplyToSet,
decimalsToSet,
initialSupplyToSet != 0 ? bpsParams[2] : 0,
customConfigProps._isReflective
)
{
// reflection feature can't be used in combination with burning/minting/deflation
// or reflection config is invalid if no reflection BPS amount is provided
if (
(customConfigProps._isReflective &&
(customConfigProps._isBurnable ||
customConfigProps._isMintable ||
customConfigProps._isDeflationary)) ||
(!customConfigProps._isReflective && bpsParams[2] != 0)
) {
revert InvalidReflectiveConfig();
}
if (customConfigProps._isMaxAmountOfTokensSet) {
if (amountParams[0] == 0) {
revert InvalidMaxTokenAmount(amountParams[0]);
}
}
if (decimalsToSet > 18) {
revert InvalidDecimals(decimalsToSet);
}
if (
customConfigProps._isMaxSupplySet &&
(!customConfigProps._isMintable || (totalSupply() > amountParams[1]))
) {
revert InvalidMaxSupplyConfig();
}
bpsInitChecks(customConfigProps, bpsParams, _taxAddress);
LibCommon.validateAddress(tokenOwner);
taxAddress = _taxAddress;
taxBPS = bpsParams[0];
deflationBPS = bpsParams[1];
initialSupply = initialSupplyToSet;
initialMaxTokenAmountPerAddress = amountParams[0];
initialDocumentUri = newDocumentUri;
initialTokenOwner = tokenOwner;
_decimals = decimalsToSet;
configProps = customConfigProps;
documentUri = newDocumentUri;
maxTokenAmountPerAddress = amountParams[0];
maxTotalSupply = amountParams[1];
if (tokenOwner != msg.sender) {
transferOwnership(tokenOwner);
}
}
function bpsInitChecks(
ERC20ConfigProps memory customConfigProps,
uint256[3] memory bpsParams,
address _taxAddress
) private pure {
uint256 totalBPS = 0;
if (customConfigProps._isTaxable) {
LibCommon.validateAddress(_taxAddress);
totalBPS += bpsParams[0];
}
if (customConfigProps._isDeflationary) {
totalBPS += bpsParams[1];
}
if (customConfigProps._isReflective) {
totalBPS += bpsParams[2];
}
if (totalBPS > MAX_ALLOWED_BPS) {
revert InvalidTotalBPS(totalBPS);
}
}
// Public and External Functions
function getFeesAndLimitsExclusionList() external view returns (address[] memory) {
return feesAndLimitsExcluded;
}
/// @notice Checks if the token is mintable
/// @return True if the token can be minted
function isMintable() public view returns (bool) {
return configProps._isMintable;
}
/// @notice Checks if the token is burnable
/// @return True if the token can be burned
function isBurnable() public view returns (bool) {
return configProps._isBurnable;
}
function getRewardsExclusionList() public view returns (address[] memory) {
return rewardsExcluded;
}
/// @notice Checks if the maximum amount of tokens per address is set
/// @return True if there is a maximum limit for token amount per address
function isMaxAmountOfTokensSet() public view returns (bool) {
return configProps._isMaxAmountOfTokensSet;
}
/// @notice Checks if the maximum amount of token supply is set
/// @return True if there is a maximum limit for token supply
function isMaxSupplySet() public view returns (bool) {
return configProps._isMaxSupplySet;
}
/// @notice Checks if setting a document URI is allowed
/// @return True if setting a document URI is allowed
function isDocumentUriAllowed() public view returns (bool) {
return configProps._isDocumentAllowed;
}
/// @notice Returns the number of decimals used for the token
/// @return The number of decimals
function decimals() public view virtual override returns (uint8) {
return _decimals;
}
/// @notice Checks if the token is taxable
/// @return True if the token has tax applied on transfers
function isTaxable() public view returns (bool) {
return configProps._isTaxable;
}
/// @notice Checks if the token is deflationary
/// @return True if the token has deflation applied on transfers
function isDeflationary() public view returns (bool) {
return configProps._isDeflationary;
}
/// @notice Checks if the token is reflective
/// @return True if the token has reflection (ie. holder rewards) applied on transfers
function isReflective() public view returns (bool) {
return configProps._isReflective;
}
/// @notice Sets a new document URI
/// @dev Can only be called by the contract owner
/// @param newDocumentUri The new URI to be set
function setDocumentUri(string memory newDocumentUri) external onlyOwner {
if (!isDocumentUriAllowed()) {
revert DocumentUriNotAllowed();
}
documentUri = newDocumentUri;
emit DocumentUriSet(newDocumentUri);
}
/// @notice Sets a new maximum token amount per address
/// @dev Can only be called by the contract owner
/// @param newMaxTokenAmount The new maximum token amount per address
function setMaxTokenAmountPerAddress(
uint256 newMaxTokenAmount
) external onlyOwner {
if (!isMaxAmountOfTokensSet()) {
revert MaxTokenAmountNotAllowed();
}
if (newMaxTokenAmount <= maxTokenAmountPerAddress) {
revert MaxTokenAmountPerAddrLtPrevious();
}
maxTokenAmountPerAddress = newMaxTokenAmount;
emit MaxTokenAmountPerSet(newMaxTokenAmount);
}
/// @notice Sets a new reflection fee
/// @dev Can only be called by the contract owner
/// @param _feeBPS The reflection fee in basis points
function setReflectionConfig(uint256 _feeBPS) external onlyOwner {
if (!isReflective()) {
revert TokenIsNotReflective();
}
super._setReflectionFee(_feeBPS);
emit ReflectionConfigSet(_feeBPS);
}
/// @notice Sets a new tax configuration
/// @dev Can only be called by the contract owner
/// @param _taxAddress The address where tax will be sent
/// @param _taxBPS The tax rate in basis points
function setTaxConfig(
address _taxAddress,
uint256 _taxBPS
) external onlyOwner {
if (!isTaxable()) {
revert TokenIsNotTaxable();
}
uint256 totalBPS = deflationBPS + tFeeBPS + _taxBPS;
if (totalBPS > MAX_ALLOWED_BPS) {
revert InvalidTotalBPS(totalBPS);
}
LibCommon.validateAddress(_taxAddress);
taxAddress = _taxAddress;
taxBPS = _taxBPS;
emit TaxConfigSet(_taxAddress, _taxBPS);
}
/// @notice Sets a new deflation configuration
/// @dev Can only be called by the contract owner
/// @param _deflationBPS The deflation rate in basis points
function setDeflationConfig(uint256 _deflationBPS) external onlyOwner {
if (!isDeflationary()) {
revert TokenIsNotDeflationary();
}
uint256 totalBPS = deflationBPS + tFeeBPS + _deflationBPS;
if (totalBPS > MAX_ALLOWED_BPS) {
revert InvalidTotalBPS(totalBPS);
}
deflationBPS = _deflationBPS;
emit DeflationConfigSet(_deflationBPS);
}
/// @notice Transfers tokens to a specified address
/// @dev Overrides the ERC20 transfer function with added tax and deflation logic
/// @param to The address to transfer tokens to
/// @param amount The amount of tokens to be transferred
/// @return True if the transfer was successful
function transfer(
address to,
uint256 amount
) public virtual override returns (bool) {
uint256 taxAmount = _taxAmount(msg.sender, amount);
uint256 deflationAmount = _deflationAmount(msg.sender, amount);
uint256 amountToTransfer = amount - taxAmount - deflationAmount;
if (isMaxAmountOfTokensSet() && !isFeesAndLimitsExcluded[to]) {
if (balanceOf(to) + amountToTransfer > maxTokenAmountPerAddress) {
revert DestBalanceExceedsMaxAllowed(to);
}
}
if (taxAmount != 0) {
_transferNonReflectedTax(msg.sender, taxAddress, taxAmount);
}
if (deflationAmount != 0) {
_burn(msg.sender, deflationAmount);
}
return super.transfer(to, amountToTransfer);
}
/// @notice Transfers tokens from one address to another
/// @dev Overrides the ERC20 transferFrom function with added tax and deflation logic
/// @param from The address which you want to send tokens from
/// @param to The address which you want to transfer to
/// @param amount The amount of tokens to be transferred
/// @return True if the transfer was successful
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
uint256 taxAmount = _taxAmount(from, amount);
uint256 deflationAmount = _deflationAmount(from, amount);
uint256 amountToTransfer = amount - taxAmount - deflationAmount;
if (isMaxAmountOfTokensSet() && !isFeesAndLimitsExcluded[to]) {
if (balanceOf(to) + amountToTransfer > maxTokenAmountPerAddress) {
revert DestBalanceExceedsMaxAllowed(to);
}
}
if (taxAmount != 0) {
_transferNonReflectedTax(from, taxAddress, taxAmount);
}
if (deflationAmount != 0) {
_burn(from, deflationAmount);
}
return super.transferFrom(from, to, amountToTransfer);
}
/// @notice Mints new tokens to a specified address
/// @dev Can only be called by the contract owner and if minting is enabled
/// @param to The address to mint tokens to
/// @param amount The amount of tokens to mint
function mint(address to, uint256 amount) external onlyOwner {
if (!isMintable()) {
revert MintingNotEnabled();
}
if (isMaxAmountOfTokensSet() && !isFeesAndLimitsExcluded[to]) {
if (balanceOf(to) + amount > maxTokenAmountPerAddress) {
revert DestBalanceExceedsMaxAllowed(to);
}
}
if (isMaxSupplySet()) {
if (totalSupply() + amount > maxTotalSupply) {
revert TotalSupplyExceedsMaxAllowedAmount();
}
}
super._mint(to, amount);
}
/// @notice Burns a specific amount of tokens
/// @dev Can only be called by the contract owner and if burning is enabled
/// @param amount The amount of tokens to be burned
function burn(uint256 amount) external onlyOwner {
if (!isBurnable()) {
revert BurningNotEnabled();
}
_burn(msg.sender, amount);
}
/// @notice Renounces ownership of the contract
/// @dev Leaves the contract without an owner, disabling any functions that require the owner's authorization
function renounceOwnership() public override onlyOwner {
super.renounceOwnership();
}
/// @notice Transfers ownership of the contract to a new account
/// @dev Can only be called by the current owner
/// @param newOwner The address of the new owner
function transferOwnership(address newOwner) public override onlyOwner {
super.transferOwnership(newOwner);
}
/// @notice method for adding a new account to the exclusion list
/// @param account account to add to the exclusion list
/// @dev only callable by owner
function excludeFromFeesAndLimits(
address account
) external onlyOwner {
if (isFeesAndLimitsExcluded[account]) {
revert AlreadyExcludedFromFeesAndLimits();
}
if (feesAndLimitsExcluded.length >= MAX_EXCLUSION_LIMIT) {
revert ReachedMaxExclusionLimit();
}
isFeesAndLimitsExcluded[account] = true;
feesAndLimitsExcluded.push(account);
emit ExcludeFromFeesAndLimits(account);
}
/// @notice method for adding a new account to the reflection exclusion list
/// @param account account to add to the exclusion list
/// @dev only callable by owner
function excludeFromRewards(address account) external onlyOwner {
super._excludeFromRewards(account);
}
/// @notice method for removing an account from the fees exclusion list
/// @param account account to remove from the exclusion list
/// @dev only callable by owner
function includeInFeesAndLimits(address account) external onlyOwner() {
if (!isFeesAndLimitsExcluded[account]) {
revert AlreadyIncludedInFeesAndLimits();
}
for (uint256 i = 0; i < feesAndLimitsExcluded.length; i++) {
if (feesAndLimitsExcluded[i] == account) {
feesAndLimitsExcluded[i] = feesAndLimitsExcluded[feesAndLimitsExcluded.length - 1];
isFeesAndLimitsExcluded[account] = false;
feesAndLimitsExcluded.pop();
emit IncludedInFeesAndLimits(account);
break;
}
}
}
/// @notice method for removing an account from the reflection exclusion list
/// @param account account to remove from the exclusion list
/// @dev only callable by owner
function includeInRewards(address account) external onlyOwner() {
super._includeInRewards(account);
}
// Internal Functions
/// @notice Calculates the tax amount for a transfer
/// @param sender The address initiating the transfer
/// @param amount The amount of tokens being transferred
/// @return taxAmount The calculated tax amount
function _taxAmount(
address sender,
uint256 amount
) internal view returns (uint256 taxAmount) {
taxAmount = 0;
if (taxBPS != 0 && sender != taxAddress && !isFeesAndLimitsExcluded[sender]) {
taxAmount = (amount * taxBPS) / MAX_BPS_AMOUNT;
}
}
/// @notice Calculates the deflation amount for a transfer
/// @param sender The address initiating the transfer
/// @param amount The amount of tokens being transferred
/// @return deflationAmount The calculated deflation amount
function _deflationAmount(
address sender,
uint256 amount
) internal view returns (uint256 deflationAmount) {
deflationAmount = 0;
if (deflationBPS != 0 && !isFeesAndLimitsExcluded[sender]) {
deflationAmount = (amount * deflationBPS) / MAX_BPS_AMOUNT;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library LibCommon {
/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* CUSTOM ERRORS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
/// @dev The ETH transfer has failed.
error ETHTransferFailed();
/// @dev The address is the zero address.
error ZeroAddress();
/// @notice raised when an ERC20 transfer fails
error TransferFailed();
/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* ETH OPERATIONS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
/// @notice Taken from Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)
/// @dev Sends `amount` (in wei) ETH to `to`.
/// Reverts upon failure.
function safeTransferETH(address to, uint256 amount) internal {
// solhint-disable-next-line no-inline-assembly
assembly {
// Transfer the ETH and check if it succeeded or not.
if iszero(call(gas(), to, amount, 0, 0, 0, 0)) {
// Store the function selector of `ETHTransferFailed()`.
// bytes4(keccak256(bytes("ETHTransferFailed()"))) = 0xb12d13eb
mstore(0x00, 0xb12d13eb)
// Revert with (offset, size).
revert(0x1c, 0x04)
}
}
}
/// @notice Validates that the address is not the zero address using assembly.
/// @dev Reverts if the address is the zero address.
function validateAddress(address addr) internal pure {
// solhint-disable-next-line no-inline-assembly
assembly {
if iszero(shl(96, addr)) {
// Store the function selector of `ZeroAddress()`.
// bytes4(keccak256(bytes("ZeroAddress()"))) = 0xd92e233d
mstore(0x00, 0xd92e233d)
// Revert with (offset, size).
revert(0x1c, 0x04)
}
}
}
/// @notice Helper function to transfer ERC20 tokens without the need for SafeERC20.
/// @dev Reverts if the ERC20 transfer fails.
/// @param tokenAddress The address of the ERC20 token.
/// @param from The address to transfer the tokens from.
/// @param to The address to transfer the tokens to.
/// @param amount The amount of tokens to transfer.
function safeTransferFrom(
address tokenAddress,
address from,
address to,
uint256 amount
) internal returns (bool) {
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory data) = tokenAddress.call(
abi.encodeWithSignature(
"transferFrom(address,address,uint256)",
from,
to,
amount
)
);
if (!success) {
if (data.length != 0) {
// bubble up error
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(data)
revert(add(32, data), returndata_size)
}
} else {
revert TransferFailed();
}
}
return true;
}
/// @notice Helper function to transfer ERC20 tokens without the need for SafeERC20.
/// @dev Reverts if the ERC20 transfer fails.
/// @param tokenAddress The address of the ERC20 token.
/// @param to The address to transfer the tokens to.
/// @param amount The amount of tokens to transfer.
function safeTransfer(
address tokenAddress,
address to,
uint256 amount
) internal returns (bool) {
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory data) = tokenAddress.call(
abi.encodeWithSignature("transfer(address,uint256)", to, amount)
);
if (!success) {
if (data.length != 0) {
// bubble up error
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(data)
revert(add(32, data), returndata_size)
}
} else {
revert TransferFailed();
}
}
return true;
}
}// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { LibCommon } from "./lib/LibCommon.sol";
/// @title A ERC20 implementation with extended reflection token functionalities
/// @notice Implements ERC20 standards with additional token holder reward feature
abstract contract ReflectiveV2ERC20 is ERC20 {
// Constants
uint256 private constant BPS_DIVISOR = 10_000;
uint256 public constant MAX_REWARDS_EXCLUSION_LIMIT = 100;
mapping(address => uint256) private _rOwned;
mapping(address => uint256) private _tOwned;
uint256 private constant UINT_256_MAX = type(uint256).max;
uint256 private _rTotal;
uint256 private _tFeeTotal;
uint256 public tFeeBPS;
bool private immutable isReflective;
mapping (address => bool) private _isRewardsExcluded;
address[] public rewardsExcluded;
// events
event ExcludedFromRewards(address indexed account);
event IncludedInRewards(address indexed account);
// custom errors
error TokenIsNotReflective();
error TotalReflectionTooSmall();
error ZeroTransferError();
error MintingNotEnabled();
error BurningNotEnabled();
error ERC20InsufficientBalance(
address recipient,
uint256 fromBalance,
uint256 balance
);
error AlreadyExcludedFromRewards();
error AlreadyIncludedInRewards();
error ReachedMaxRewardExclusionLimit();
/// @notice Gets total supply of the erc20 token
/// @return Token total supply
function _tTotal() public view virtual returns (uint256) {
return totalSupply();
}
/// @notice Constructor to initialize the ReflectionErc20 token
/// @param name_ Name of the token
/// @param symbol_ Symbol of the token
/// @param tokenOwner Address of the token owner
/// @param totalSupply_ Initial total supply
/// @param decimalsToSet Token decimal number
/// @param decimalsToSet Token reward (reflection fee BPS value
constructor(
string memory name_,
string memory symbol_,
address tokenOwner,
uint256 totalSupply_,
uint8 decimalsToSet,
uint256 tFeeBPS_,
bool isReflective_
) ERC20(name_, symbol_) {
if (totalSupply_ != 0) {
super._mint(tokenOwner, totalSupply_ * 10 ** decimalsToSet);
_rTotal = (UINT_256_MAX - (UINT_256_MAX % totalSupply_));
}
_rOwned[tokenOwner] = _rTotal;
tFeeBPS = tFeeBPS_;
isReflective = isReflective_;
}
// public standard ERC20 functions
/// @notice Gets balance the erc20 token for specific address
/// @param account Account address
/// @return Token balance
function balanceOf(address account) public view override returns (uint256) {
if (isReflective) {
if (_isRewardsExcluded[account]) return _tOwned[account];
return tokenFromReflection(_rOwned[account]);
} else {
return super.balanceOf(account);
}
}
/// @notice Transfers allowed tokens between accounts
/// @param from From account
/// @param to To account
/// @param value Transferred value
/// @return Success
function transferFrom(
address from,
address to,
uint256 value
) public virtual override returns (bool) {
address spender = super._msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/// @notice Transfers tokens from owner to an account
/// @param to To account
/// @param value Transferred value
/// @return Success
function transfer(
address to,
uint256 value
) public virtual override returns (bool) {
address owner = super._msgSender();
_transfer(owner, to, value);
return true;
}
// override internal OZ standard ERC20 functions related to transfer
/// @notice Transfers tokens from owner to an account
/// @param to To account
/// @param amount Transferred amount
function _transfer(
address from,
address to,
uint256 amount
) internal override {
if (isReflective) {
LibCommon.validateAddress(from);
LibCommon.validateAddress(to);
if (amount == 0) {
revert ZeroTransferError();
}
if (_isRewardsExcluded[from] && !_isRewardsExcluded[to]) {
_transferFromExcluded(from, to, amount);
} else if (!_isRewardsExcluded[from] && _isRewardsExcluded[to]) {
_transferToExcluded(from, to, amount);
} else if (!_isRewardsExcluded[from] && !_isRewardsExcluded[to]) {
_transferStandard(from, to, amount);
} else if (_isRewardsExcluded[from] && _isRewardsExcluded[to]) {
_transferBothExcluded(from, to, amount);
} else {
_transferStandard(from, to, amount);
}
} else {
super._transfer(from, to, amount);
}
}
// override incompatible internal OZ standard ERC20 functions to disable them in case
// reflection mechanism is used, ie. tFeeBPS is non zero
/// @notice Creates specified amount of tokens, it either uses standard OZ ERC function
/// or in case of reflection logic, it is prohibited
/// @param account Account new tokens will be transferred to
/// @param value Created tokens value
function _mint(address account, uint256 value) internal override {
if (isReflective) {
revert MintingNotEnabled();
} else {
super._mint(account, value);
}
}
/// @notice Destroys specified amount of tokens, it either uses standard OZ ERC function
/// or in case of reflection logic, it is prohibited
/// @param account Account in which tokens will be destroyed
/// @param value Destroyed tokens value
function _burn(address account, uint256 value) internal override {
if (isReflective) {
revert BurningNotEnabled();
} else {
super._burn(account, value);
}
}
// public reflection custom functions
/// @notice Sets a new reflection fee
/// @dev Should only be called by the contract owner
/// @param _tFeeBPS The reflection fee in basis points
function _setReflectionFee(uint256 _tFeeBPS) internal {
if (!isReflective) {
revert TokenIsNotReflective();
}
tFeeBPS = _tFeeBPS;
}
/// @notice Calculates number of tokens from reflection amount
/// @param rAmount Reflection token amount
function tokenFromReflection(uint256 rAmount) public view returns (uint256) {
if (rAmount > _rTotal) {
revert TotalReflectionTooSmall();
}
uint256 currentRate = _getRate();
return rAmount / currentRate;
}
/// @notice method for adding a new account to the exclusion list
/// @param account account to add to the exclusion list
/// @dev only callable by owner
function _excludeFromRewards(
address account
) internal {
if (!isReflective) {
revert TokenIsNotReflective();
}
if (_isRewardsExcluded[account]) {
revert AlreadyExcludedFromRewards();
}
if (rewardsExcluded.length >= MAX_REWARDS_EXCLUSION_LIMIT) {
revert ReachedMaxRewardExclusionLimit();
}
if(_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isRewardsExcluded[account] = true;
rewardsExcluded.push(account);
emit ExcludedFromRewards(account);
}
/// @notice method for removing an account from the exclusion list
/// @param account account to remove from the exclusion list
/// @dev only callable by owner
function _includeInRewards(address account) internal {
if (!isReflective) {
revert TokenIsNotReflective();
}
if (!_isRewardsExcluded[account]) {
revert AlreadyIncludedInRewards();
}
for (uint256 i = 0; i < rewardsExcluded.length; i++) {
if (rewardsExcluded[i] == account) {
rewardsExcluded[i] = rewardsExcluded[rewardsExcluded.length - 1];
_isRewardsExcluded[account] = false;
_tOwned[account] = 0;
rewardsExcluded.pop();
emit IncludedInRewards(account);
break;
}
}
}
// private reflection custom functions
/// @notice Transfers reflected amount of tokens
/// @param sender Account to transfer tokens from
/// @param recipient Account to transfer tokens to
/// @param tAmount Total token amount
function _transferStandard(
address sender,
address recipient,
uint256 tAmount
) private {
uint256 tFee = calculateFee(tAmount, sender);
uint256 tTransferAmount = tAmount - tFee;
(uint256 rAmount, uint256 rFee, uint256 rTransferAmount) = _getRValues(
tAmount,
tFee,
tTransferAmount
);
if (tAmount != 0) {
_rUpdate(sender, recipient, rAmount, rTransferAmount);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tAmount);
}
}
/// @notice Transfers reflected amount of tokens from excluded account
/// @param sender Account to transfer tokens from
/// @param recipient Account to transfer tokens to
/// @param tAmount Total token amount
function _transferFromExcluded(
address sender,
address recipient,
uint256 tAmount
) private {
uint256 tFee = calculateFee(tAmount, sender);
uint256 tTransferAmount = tAmount - tFee;
(uint256 rAmount, uint256 rFee, uint256 rTransferAmount) = _getRValues(
tAmount,
tFee,
tTransferAmount
);
if (tAmount != 0) {
_rUpdate(sender, recipient, rAmount, rTransferAmount);
_tOwned[sender] = _tOwned[sender] - (tAmount);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tAmount);
}
}
/// @notice Transfers reflected amount of tokens to excluded account
/// @param sender Account to transfer tokens from
/// @param recipient Account to transfer tokens to
/// @param tAmount Total token amount
function _transferToExcluded(
address sender,
address recipient,
uint256 tAmount
) private {
uint256 tFee = calculateFee(tAmount, sender);
uint256 tTransferAmount = tAmount - tFee;
(uint256 rAmount, uint256 rFee, uint256 rTransferAmount) = _getRValues(
tAmount,
tFee,
tTransferAmount
);
if (tAmount != 0) {
_rUpdate(sender, recipient, rAmount, rTransferAmount);
_tOwned[recipient] = _tOwned[recipient] + (tTransferAmount);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tAmount);
}
}
function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
uint256 tFee = calculateFee(tAmount, sender);
uint256 tTransferAmount = tAmount - tFee;
(uint256 rAmount, uint256 rFee, uint256 rTransferAmount) = _getRValues(
tAmount,
tFee,
tTransferAmount
);
if (tAmount != 0) {
_rUpdate(sender, recipient, rAmount, rTransferAmount);
_tOwned[sender] = _tOwned[sender] - (tAmount);
_tOwned[recipient] = _tOwned[recipient] + (tTransferAmount);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tAmount);
}
}
/// @notice Deducts reflection fee from reflection supply to 'distribute' token holder rewards
/// @param rFee Reflection fee
/// @param tFee Token fee
function _reflectFee(uint256 rFee, uint256 tFee) private {
_rTotal = _rTotal - rFee;
_tFeeTotal = _tFeeTotal + tFee;
}
/// @notice Calculates the reflection fee from token amount
/// @param amount Amount of tokens to calculate fee from
/// @param amount Sender address
function calculateFee(uint256 amount, address sender) private view returns (uint256) {
if (_isRewardsExcluded[sender]) {
return 0;
} else {
return (amount * tFeeBPS) / BPS_DIVISOR;
}
}
/// @notice Transfers Tax related tokens and do not apply reflection fees
/// @param from Account to transfer tokens from
/// @param to Account to transfer tokens to
/// @param tAmount Total token amount
function _transferNonReflectedTax(
address from,
address to,
uint256 tAmount
) internal {
if (isReflective) {
if (tAmount != 0) {
uint256 currentRate = _getRate();
uint256 rAmount = tAmount * currentRate;
_rUpdate(from, to, rAmount, rAmount);
emit Transfer(from, to, tAmount);
}
} else {
super._transfer(from, to, tAmount);
}
}
/// @notice Get reflective values from token values
/// @param tAmount Token amount
/// @param tFee Token fee
/// @param tTransferAmount Transfer amount
function _getRValues(
uint256 tAmount,
uint256 tFee,
uint256 tTransferAmount
) private view returns (uint256, uint256, uint256) {
uint256 currentRate = _getRate();
uint256 rAmount = tAmount * currentRate;
uint256 rFee = tFee * currentRate;
uint256 rTransferAmount = tTransferAmount * currentRate;
return (rAmount, rFee, rTransferAmount);
}
/// @notice Get ratio rate between reflective and token supply
/// @return Reflective rate
function _getRate() private view returns (uint256) {
(uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
return rSupply / tSupply;
}
/// @notice Get reflective and token supplies
/// @return Reflective and token supplies
function _getCurrentSupply() private view returns (uint256, uint256) {
return (_rTotal, _tTotal());
}
/// @notice Update reflective balances to reflect amount transfer,
/// with or without a fee applied. If a fee is applied,
/// the amount deducted from the sender will differ
/// from amount added to the recipient
/// @param sender Sender address
/// @param recipient Recipient address
/// @param rSubAmount Amount to be deducted from sender
/// @param rTransferAmount Amount to be added to recipient
function _rUpdate(
address sender,
address recipient,
uint256 rSubAmount,
uint256 rTransferAmount
) private {
uint256 fromBalance = _rOwned[sender];
if (fromBalance < rSubAmount) {
revert ERC20InsufficientBalance(recipient, fromBalance, rSubAmount);
}
_rOwned[sender] = _rOwned[sender] - rSubAmount;
_rOwned[recipient] = _rOwned[recipient] + rTransferAmount;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract 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}.
*
* 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 default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts 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);
}{
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"initialSupplyToSet","type":"uint256"},{"internalType":"uint8","name":"decimalsToSet","type":"uint8"},{"internalType":"address","name":"tokenOwner","type":"address"},{"components":[{"internalType":"bool","name":"_isMintable","type":"bool"},{"internalType":"bool","name":"_isBurnable","type":"bool"},{"internalType":"bool","name":"_isDocumentAllowed","type":"bool"},{"internalType":"bool","name":"_isMaxAmountOfTokensSet","type":"bool"},{"internalType":"bool","name":"_isMaxSupplySet","type":"bool"},{"internalType":"bool","name":"_isTaxable","type":"bool"},{"internalType":"bool","name":"_isDeflationary","type":"bool"},{"internalType":"bool","name":"_isReflective","type":"bool"}],"internalType":"struct TetherUSD.ERC20ConfigProps","name":"customConfigProps","type":"tuple"},{"internalType":"string","name":"newDocumentUri","type":"string"},{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256[3]","name":"bpsParams","type":"uint256[3]"},{"internalType":"uint256[2]","name":"amountParams","type":"uint256[2]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExcludedFromFeesAndLimits","type":"error"},{"inputs":[],"name":"AlreadyExcludedFromRewards","type":"error"},{"inputs":[],"name":"AlreadyIncludedInFeesAndLimits","type":"error"},{"inputs":[],"name":"AlreadyIncludedInRewards","type":"error"},{"inputs":[],"name":"BurningNotEnabled","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"DestBalanceExceedsMaxAllowed","type":"error"},{"inputs":[],"name":"DocumentUriNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"fromBalance","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"InvalidDecimals","type":"error"},{"inputs":[],"name":"InvalidMaxSupplyConfig","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxTokenAmount","type":"uint256"}],"name":"InvalidMaxTokenAmount","type":"error"},{"inputs":[],"name":"InvalidReflectiveConfig","type":"error"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"InvalidTotalBPS","type":"error"},{"inputs":[],"name":"MaxTokenAmountNotAllowed","type":"error"},{"inputs":[],"name":"MaxTokenAmountPerAddrLtPrevious","type":"error"},{"inputs":[],"name":"MintingNotEnabled","type":"error"},{"inputs":[],"name":"ReachedMaxExclusionLimit","type":"error"},{"inputs":[],"name":"ReachedMaxRewardExclusionLimit","type":"error"},{"inputs":[],"name":"TokenIsNotDeflationary","type":"error"},{"inputs":[],"name":"TokenIsNotReflective","type":"error"},{"inputs":[],"name":"TokenIsNotTaxable","type":"error"},{"inputs":[],"name":"TotalReflectionTooSmall","type":"error"},{"inputs":[],"name":"TotalSupplyExceedsMaxAllowedAmount","type":"error"},{"inputs":[],"name":"ZeroTransferError","type":"error"},{"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":"uint256","name":"_deflationBPS","type":"uint256"}],"name":"DeflationConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newDocUri","type":"string"}],"name":"DocumentUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromFeesAndLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludedFromRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"IncludedInFeesAndLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"IncludedInRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxTokenAmount","type":"uint256"}],"name":"MaxTokenAmountPerSet","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":true,"internalType":"uint256","name":"_feeBPS","type":"uint256"}],"name":"ReflectionConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_taxAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"_taxBPS","type":"uint256"}],"name":"TaxConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EXCLUSION_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_REWARDS_EXCLUSION_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deflationBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"documentUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFeesAndLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feesAndLimitsExcluded","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeesAndLimitsExclusionList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsExclusionList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFeesAndLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialDocumentUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMaxTokenAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialTokenOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDeflationary","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDocumentUriAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFeesAndLimitsExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMaxAmountOfTokensSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMaxSupplySet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isReflective","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardsExcluded","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deflationBPS","type":"uint256"}],"name":"setDeflationConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDocumentUri","type":"string"}],"name":"setDocumentUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTokenAmount","type":"uint256"}],"name":"setMaxTokenAmountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeBPS","type":"uint256"}],"name":"setReflectionConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256","name":"_taxBPS","type":"uint256"}],"name":"setTaxConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6101206040523480156200001257600080fd5b5060405162006d1738038062006d17833981810160405281019062000038919062001097565b8989878a8a60008d036200004e5760006200006b565b86600260038110620000655762000064620011ec565b5b60200201515b8a60e00151868681600390816200008391906200145c565b5080600490816200009591906200145c565b505050600084146200013557620000d38584600a620000b59190620016c6565b86620000c2919062001717565b6200068860201b6200213b1760201c565b837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62000101919062001791565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200012e9190620017c9565b6007819055505b600754600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160098190555080151560808115158152505050505050505050620001b5620001a9620007f560201b60201c565b620007fd60201b60201c565b8460e001518015620001e25750846020015180620001d4575084600001515b80620001e157508460c001515b5b806200021957508460e0015115801562000218575060008260026003811062000210576200020f620011ec565b5b602002015114155b5b1562000251576040517f30a870cc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846060015115620002db57600081600060028110620002755762000274620011ec565b5b602002015103620002da5780600060028110620002975762000296620011ec565b5b60200201516040517f64824b8d000000000000000000000000000000000000000000000000000000008152600401620002d1919062001815565b60405180910390fd5b5b60128760ff1611156200032757866040517fca9503910000000000000000000000000000000000000000000000000000000081526004016200031e919062001843565b60405180910390fd5b84608001518015620003705750846000015115806200036f575080600160028110620003585762000357620011ec565b5b60200201516200036d620008c360201b60201c565b115b5b15620003a8576040517fb51a848200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620003bb858385620008cd60201b60201c565b620003d186620009da60201b620022911760201c565b82601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600060038110620004295762000428620011ec565b5b6020020151601581905550816001600381106200044b576200044a620011ec565b5b60200201516016819055508760a0818152505080600060028110620004755762000474620011ec565b5b602002015160c0818152505083600d90816200049291906200145c565b508573ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250508660ff166101008160ff168152505084601360008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555060808201518160000160046101000a81548160ff02191690831515021790555060a08201518160000160056101000a81548160ff02191690831515021790555060c08201518160000160066101000a81548160ff02191690831515021790555060e08201518160000160076101000a81548160ff02191690831515021790555090505083600e9081620005ed91906200145c565b5080600060028110620006055762000604620011ec565b5b6020020151600f8190555080600160028110620006275762000626620011ec565b5b60200201516010819055503373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161462000678576200067786620009f460201b60201c565b5b5050505050505050505062001a28565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006f190620018c1565b60405180910390fd5b6200070e6000838362000a1d60201b60201c565b8060026000828254620007229190620018e3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620007d5919062001815565b60405180910390a3620007f16000838362000a2260201b60201c565b5050565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600254905090565b60008360a00151156200091c57620008f082620009da60201b620022911760201c565b82600060038110620009075762000906620011ec565b5b602002015181620009199190620018e3565b90505b8360c00151156200095357826001600381106200093e576200093d620011ec565b5b602002015181620009509190620018e3565b90505b8360e00151156200098a5782600260038110620009755762000974620011ec565b5b602002015181620009879190620018e3565b90505b6107d0811115620009d457806040517f3e474e0d000000000000000000000000000000000000000000000000000000008152600401620009cb919062001815565b60405180910390fd5b50505050565b8060601b620009f15763d92e233d6000526004601cfd5b50565b62000a0462000a2760201b60201c565b62000a1a8162000ab860201b620022aa1760201c565b50565b505050565b505050565b62000a37620007f560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000a5d62000b4e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aad906200196e565b60405180910390fd5b565b62000ac862000a2760201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000b3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b319062001a06565b60405180910390fd5b62000b4b81620007fd60201b60201c565b50565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000be18262000b96565b810181811067ffffffffffffffff8211171562000c035762000c0262000ba7565b5b80604052505050565b600062000c1862000b78565b905062000c26828262000bd6565b919050565b600067ffffffffffffffff82111562000c495762000c4862000ba7565b5b62000c548262000b96565b9050602081019050919050565b60005b8381101562000c8157808201518184015260208101905062000c64565b60008484015250505050565b600062000ca462000c9e8462000c2b565b62000c0c565b90508281526020810184848401111562000cc35762000cc262000b91565b5b62000cd084828562000c61565b509392505050565b600082601f83011262000cf05762000cef62000b8c565b5b815162000d0284826020860162000c8d565b91505092915050565b6000819050919050565b62000d208162000d0b565b811462000d2c57600080fd5b50565b60008151905062000d408162000d15565b92915050565b600060ff82169050919050565b62000d5e8162000d46565b811462000d6a57600080fd5b50565b60008151905062000d7e8162000d53565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000db18262000d84565b9050919050565b62000dc38162000da4565b811462000dcf57600080fd5b50565b60008151905062000de38162000db8565b92915050565b600080fd5b60008115159050919050565b62000e058162000dee565b811462000e1157600080fd5b50565b60008151905062000e258162000dfa565b92915050565b6000610100828403121562000e455762000e4462000de9565b5b62000e5261010062000c0c565b9050600062000e648482850162000e14565b600083015250602062000e7a8482850162000e14565b602083015250604062000e908482850162000e14565b604083015250606062000ea68482850162000e14565b606083015250608062000ebc8482850162000e14565b60808301525060a062000ed28482850162000e14565b60a08301525060c062000ee88482850162000e14565b60c08301525060e062000efe8482850162000e14565b60e08301525092915050565b600067ffffffffffffffff82111562000f285762000f2762000ba7565b5b602082029050919050565b600080fd5b600062000f4f62000f498462000f0a565b62000c0c565b9050806020840283018581111562000f6c5762000f6b62000f33565b5b835b8181101562000f99578062000f84888262000d2f565b84526020840193505060208101905062000f6e565b5050509392505050565b600082601f83011262000fbb5762000fba62000b8c565b5b600362000fca84828562000f38565b91505092915050565b600067ffffffffffffffff82111562000ff15762000ff062000ba7565b5b602082029050919050565b6000620010136200100d8462000fd3565b62000c0c565b9050806020840283018581111562001030576200102f62000f33565b5b835b818110156200105d578062001048888262000d2f565b84526020840193505060208101905062001032565b5050509392505050565b600082601f8301126200107f576200107e62000b8c565b5b60026200108e84828562000ffc565b91505092915050565b6000806000806000806000806000806102808b8d031215620010be57620010bd62000b82565b5b60008b015167ffffffffffffffff811115620010df57620010de62000b87565b5b620010ed8d828e0162000cd8565b9a505060208b015167ffffffffffffffff81111562001111576200111062000b87565b5b6200111f8d828e0162000cd8565b9950506040620011328d828e0162000d2f565b9850506060620011458d828e0162000d6d565b9750506080620011588d828e0162000dd2565b96505060a06200116b8d828e0162000e2b565b9550506101a08b015167ffffffffffffffff81111562001190576200118f62000b87565b5b6200119e8d828e0162000cd8565b9450506101c0620011b28d828e0162000dd2565b9350506101e0620011c68d828e0162000fa3565b925050610240620011da8d828e0162001067565b9150509295989b9194979a5092959850565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200126e57607f821691505b60208210810362001284576200128362001226565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620012ee7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620012af565b620012fa8683620012af565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200133d62001337620013318462000d0b565b62001312565b62000d0b565b9050919050565b6000819050919050565b62001359836200131c565b62001371620013688262001344565b848454620012bc565b825550505050565b600090565b6200138862001379565b620013958184846200134e565b505050565b5b81811015620013bd57620013b16000826200137e565b6001810190506200139b565b5050565b601f8211156200140c57620013d6816200128a565b620013e1846200129f565b81016020851015620013f1578190505b6200140962001400856200129f565b8301826200139a565b50505b505050565b600082821c905092915050565b6000620014316000198460080262001411565b1980831691505092915050565b60006200144c83836200141e565b9150826002028217905092915050565b62001467826200121b565b67ffffffffffffffff81111562001483576200148262000ba7565b5b6200148f825462001255565b6200149c828285620013c1565b600060209050601f831160018114620014d45760008415620014bf578287015190505b620014cb85826200143e565b8655506200153b565b601f198416620014e4866200128a565b60005b828110156200150e57848901518255600182019150602085019450602081019050620014e7565b868310156200152e57848901516200152a601f8916826200141e565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620015d157808604811115620015a957620015a862001543565b5b6001851615620015b95780820291505b8081029050620015c98562001572565b945062001589565b94509492505050565b600082620015ec5760019050620016bf565b81620015fc5760009050620016bf565b8160018114620016155760028114620016205762001656565b6001915050620016bf565b60ff84111562001635576200163462001543565b5b8360020a9150848211156200164f576200164e62001543565b5b50620016bf565b5060208310610133831016604e8410600b8410161715620016905782820a9050838111156200168a576200168962001543565b5b620016bf565b6200169f84848460016200157f565b92509050818404811115620016b957620016b862001543565b5b81810290505b9392505050565b6000620016d38262000d0b565b9150620016e08362000d46565b92506200170f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620015da565b905092915050565b6000620017248262000d0b565b9150620017318362000d0b565b9250828202620017418162000d0b565b915082820484148315176200175b576200175a62001543565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006200179e8262000d0b565b9150620017ab8362000d0b565b925082620017be57620017bd62001762565b5b828206905092915050565b6000620017d68262000d0b565b9150620017e38362000d0b565b9250828203905081811115620017fe57620017fd62001543565b5b92915050565b6200180f8162000d0b565b82525050565b60006020820190506200182c600083018462001804565b92915050565b6200183d8162000d46565b82525050565b60006020820190506200185a600083018462001832565b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620018a9601f8362001860565b9150620018b68262001871565b602082019050919050565b60006020820190508181036000830152620018dc816200189a565b9050919050565b6000620018f08262000d0b565b9150620018fd8362000d0b565b925082820190508082111562001918576200191762001543565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200195660208362001860565b915062001963826200191e565b602082019050919050565b60006020820190508181036000830152620019898162001947565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000620019ee60268362001860565b9150620019fb8262001990565b604082019050919050565b6000602082019050818103600083015262001a2181620019df565b9050919050565b60805160a05160c05160e0516101005161527962001a9e6000396000611269015260006116d90152600061183d0152600061128f0152600081816115640152818161257e015281816129d501528181612aa901528181612b6201528181612c4701528181612f91015261374101526152796000f3fe608060405234801561001057600080fd5b50600436106103775760003560e01c806370a08231116101d3578063af465a2711610104578063de0060ca116100a2578063f820f5671161007c578063f820f56714610a32578063f8afaba514610a50578063f91f825d14610a6c578063ffa1ad7414610a8857610377565b8063de0060ca146109dc578063f19c4e3b146109fa578063f2fde38b14610a1657610377565b8063bfcf7355116100de578063bfcf735514610954578063d48e412714610972578063d8f6785114610990578063dd62ed3e146109ac57610377565b8063af465a27146108fc578063b609995e1461091a578063b7bda68f1461093657610377565b806395d89b4111610171578063a457c2d71161014b578063a457c2d714610862578063a476df6114610892578063a9059cbb146108ae578063a9d86685146108de57610377565b806395d89b41146108085780639703a19d14610826578063a32f69761461084457610377565b80638da5cb5b116101ad5780638da5cb5b146107905780638dac7191146107ae5780638e8c10a2146107cc57806393fbda99146107ea57610377565b806370a0823114610738578063715018a614610768578063883356d91461077257610377565b80632fa782eb116102ad57806349a602db1161024b578063542e966711610225578063542e9667146106c05780635514c832146106de5780635a3990ce146106fc578063614d08f81461071a57610377565b806349a602db146106545780634a88266c146106725780634ac0bc32146106a257610377565b8063395093511161028757806339509351146105ce57806340c10f19146105fe57806342966c681461061a57806346b45af71461063657610377565b80632fa782eb14610574578063313ce56714610592578063378dc3dc146105b057610377565b8063154af8e71161031a57806323bbbd6a116102f457806323bbbd6a146104d85780632ab4d052146105085780632d838119146105265780632e0ee48e1461055657610377565b8063154af8e71461046c57806318160ddd1461048a57806323b872dd146104a857610377565b806306fdde031161035657806306fdde03146103e6578063095ea7b3146104045780630bd9275614610434578063111e03761461045057610377565b8062af2d9d1461037c57806302252c4d146103ac578063044ab74e146103c8575b600080fd5b61039660048036038101906103919190614159565b610aa6565b6040516103a391906141c7565b60405180910390f35b6103c660048036038101906103c19190614159565b610ae5565b005b6103d0610ba7565b6040516103dd9190614272565b60405180910390f35b6103ee610c35565b6040516103fb9190614272565b60405180910390f35b61041e600480360381019061041991906142c0565b610cc7565b60405161042b919061431b565b60405180910390f35b61044e60048036038101906104499190614336565b610cea565b005b61046a60048036038101906104659190614336565b610fa0565b005b610474610fb4565b6040516104819190614421565b60405180910390f35b610492611042565b60405161049f9190614452565b60405180910390f35b6104c260048036038101906104bd919061446d565b61104c565b6040516104cf919061431b565b60405180910390f35b6104f260048036038101906104ed9190614159565b6111a2565b6040516104ff91906141c7565b60405180910390f35b6105106111e1565b60405161051d9190614452565b60405180910390f35b610540600480360381019061053b9190614159565b6111e7565b60405161054d9190614452565b60405180910390f35b61055e611245565b60405161056b919061431b565b60405180910390f35b61057c61125f565b6040516105899190614452565b60405180910390f35b61059a611265565b6040516105a791906144dc565b60405180910390f35b6105b861128d565b6040516105c59190614452565b60405180910390f35b6105e860048036038101906105e391906142c0565b6112b1565b6040516105f5919061431b565b60405180910390f35b610618600480360381019061061391906142c0565b6112e8565b005b610634600480360381019061062f9190614159565b611456565b005b61063e6114a9565b60405161064b919061431b565b60405180910390f35b61065c6114c3565b6040516106699190614452565b60405180910390f35b61068c60048036038101906106879190614336565b6114c8565b604051610699919061431b565b60405180910390f35b6106aa6114e8565b6040516106b7919061431b565b60405180910390f35b6106c8611502565b6040516106d59190614452565b60405180910390f35b6106e6611508565b6040516106f39190614452565b60405180910390f35b61070461150d565b604051610711919061431b565b60405180910390f35b610722611527565b60405161072f9190614272565b60405180910390f35b610752600480360381019061074d9190614336565b611560565b60405161075f9190614452565b60405180910390f35b610770611681565b005b61077a611693565b604051610787919061431b565b60405180910390f35b6107986116ad565b6040516107a591906141c7565b60405180910390f35b6107b66116d7565b6040516107c391906141c7565b60405180910390f35b6107d46116fb565b6040516107e1919061431b565b60405180910390f35b6107f2611715565b6040516107ff9190614421565b60405180910390f35b6108106117a3565b60405161081d9190614272565b60405180910390f35b61082e611835565b60405161083b9190614452565b60405180910390f35b61084c61183b565b6040516108599190614452565b60405180910390f35b61087c600480360381019061087791906142c0565b61185f565b604051610889919061431b565b60405180910390f35b6108ac60048036038101906108a7919061462c565b6118d6565b005b6108c860048036038101906108c391906142c0565b611966565b6040516108d5919061431b565b60405180910390f35b6108e6611aba565b6040516108f39190614272565b60405180910390f35b610904611b48565b6040516109119190614452565b60405180910390f35b610934600480360381019061092f9190614336565b611b57565b005b61093e611b6b565b60405161094b91906141c7565b60405180910390f35b61095c611b91565b604051610969919061468e565b60405180910390f35b61097a611bb8565b6040516109879190614452565b60405180910390f35b6109aa60048036038101906109a59190614159565b611bbe565b005b6109c660048036038101906109c191906146a9565b611ca2565b6040516109d39190614452565b60405180910390f35b6109e4611d29565b6040516109f1919061431b565b60405180910390f35b610a146004803603810190610a0f91906142c0565b611d43565b005b610a306004803603810190610a2b9190614336565b611e89565b005b610a3a611e9d565b604051610a47919061431b565b60405180910390f35b610a6a6004803603810190610a659190614336565b611eb7565b005b610a866004803603810190610a819190614159565b612083565b005b610a90612102565b604051610a9d9190614272565b60405180910390f35b60128181548110610ab657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610aed61232d565b610af561150d565b610b2b576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f548111610b66576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f819055507f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d5981604051610b9c9190614452565b60405180910390a150565b600e8054610bb490614718565b80601f0160208091040260200160405190810160405280929190818152602001828054610be090614718565b8015610c2d5780601f10610c0257610100808354040283529160200191610c2d565b820191906000526020600020905b815481529060010190602001808311610c1057829003601f168201915b505050505081565b606060038054610c4490614718565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7090614718565b8015610cbd5780601f10610c9257610100808354040283529160200191610cbd565b820191906000526020600020905b815481529060010190602001808311610ca057829003601f168201915b5050505050905090565b600080610cd26123ab565b9050610cdf8185856123b3565b600191505092915050565b610cf261232d565b601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d75576040517fed68fdd600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b601280549050811015610f9c578173ffffffffffffffffffffffffffffffffffffffff1660128281548110610db057610daf614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610f895760126001601280549050610e0a91906147a7565b81548110610e1b57610e1a614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660128281548110610e5a57610e59614749565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506012805480610f0c57610f0b6147db565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590558173ffffffffffffffffffffffffffffffffffffffff167f98bab529cae32acf2e47348750c372f438f475b15be0136f55544297ef96bd2c60405160405180910390a2610f9c565b8080610f949061480a565b915050610d78565b5050565b610fa861232d565b610fb18161257c565b50565b6060600b80548060200260200160405190810160405280929190818152602001828054801561103857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610fee575b5050505050905090565b6000600254905090565b600080611059858461286b565b90506000611067868561294c565b9050600081838661107891906147a7565b61108291906147a7565b905061108c61150d565b80156110e25750601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561114257600f54816110f488611560565b6110fe9190614852565b111561114157856040517ff6202a8f00000000000000000000000000000000000000000000000000000000815260040161113891906141c7565b60405180910390fd5b5b600083146111785761117787601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856129d3565b5b6000821461118b5761118a8783612aa7565b5b611196878783612b0d565b93505050509392505050565b600b81815481106111b257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b6000600754821115611225576040517fc91fa8bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061122f612b3c565b9050808361123d91906148b5565b915050919050565b6000601360000160079054906101000a900460ff16905090565b60155481565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806112bc6123ab565b90506112dd8185856112ce8589611ca2565b6112d89190614852565b6123b3565b600191505092915050565b6112f061232d565b6112f86114a9565b61132e576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61133661150d565b801561138c5750601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156113ec57600f548161139e84611560565b6113a89190614852565b11156113eb57816040517ff6202a8f0000000000000000000000000000000000000000000000000000000081526004016113e291906141c7565b60405180910390fd5b5b6113f4611d29565b156114485760105481611405611042565b61140f9190614852565b1115611447576040517f44ea8ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6114528282612b60565b5050565b61145e61232d565b611466611693565b61149c576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114a63382612aa7565b50565b6000601360000160009054906101000a900460ff16905090565b606481565b60116020528060005260406000206000915054906101000a900460ff1681565b6000601360000160059054906101000a900460ff16905090565b60165481565b606481565b6000601360000160039054906101000a900460ff16905090565b6040518060400160405280600981526020017f546574686572555344000000000000000000000000000000000000000000000081525081565b60007f00000000000000000000000000000000000000000000000000000000000000001561167057600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561162157600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061167c565b611669600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e7565b905061167c565b61167982612bc6565b90505b919050565b61168961232d565b611691612c0e565b565b6000601360000160019054906101000a900460ff16905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000601360000160069054906101000a900460ff16905090565b6060601280548060200260200160405190810160405280929190818152602001828054801561179957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161174f575b5050505050905090565b6060600480546117b290614718565b80601f01602080910402602001604051908101604052809291908181526020018280546117de90614718565b801561182b5780601f106118005761010080835404028352916020019161182b565b820191906000526020600020905b81548152906001019060200180831161180e57829003601f168201915b5050505050905090565b60095481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008061186a6123ab565b905060006118788286611ca2565b9050838110156118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614958565b60405180910390fd5b6118ca82868684036123b3565b60019250505092915050565b6118de61232d565b6118e6611e9d565b61191c576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e908161192b9190614b24565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade8160405161195b9190614272565b60405180910390a150565b600080611973338461286b565b90506000611981338561294c565b9050600081838661199291906147a7565b61199c91906147a7565b90506119a661150d565b80156119fc5750601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611a5c57600f5481611a0e88611560565b611a189190614852565b1115611a5b57856040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401611a5291906141c7565b60405180910390fd5b5b60008314611a9257611a9133601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856129d3565b5b60008214611aa557611aa43383612aa7565b5b611aaf8682612c22565b935050505092915050565b600d8054611ac790614718565b80601f0160208091040260200160405190810160405280929190818152602001828054611af390614718565b8015611b405780601f10611b1557610100808354040283529160200191611b40565b820191906000526020600020905b815481529060010190602001808311611b2357829003601f168201915b505050505081565b6000611b52611042565b905090565b611b5f61232d565b611b6881612c45565b50565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f4d9f6dab323c13bea2f7307e709cb5f11d89a9507f098b491829b961bb6334ac60001b81565b600f5481565b611bc661232d565b611bce6116fb565b611c04576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600954601654611c179190614852565b611c219190614852565b90506107d0811115611c6a57806040517f3e474e0d000000000000000000000000000000000000000000000000000000008152600401611c619190614452565b60405180910390fd5b81601681905550817fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec360405160405180910390a25050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000601360000160049054906101000a900460ff16905090565b611d4b61232d565b611d536114e8565b611d89576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600954601654611d9c9190614852565b611da69190614852565b90506107d0811115611def57806040517f3e474e0d000000000000000000000000000000000000000000000000000000008152600401611de69190614452565b60405180910390fd5b611df883612291565b82601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601581905550818373ffffffffffffffffffffffffffffffffffffffff167facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a60405160405180910390a3505050565b611e9161232d565b611e9a816122aa565b50565b6000601360000160029054906101000a900460ff16905090565b611ebf61232d565b601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f43576040517ff20d03d600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606460128054905010611f82576040517fc92787fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506012819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f94f5dc0e322a0a7c5af09958609aeb2384692e22922827ff9595db226c01dfa560405160405180910390a250565b61208b61232d565b612093611245565b6120c9576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120d281612f8f565b807f76e1296412dac7b50002658bf9aab02d0cfe366f373222d5c14d0168ee8199e360405160405180910390a250565b6040518060400160405280600881526020017f646566695f765f3500000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190614c42565b60405180910390fd5b6121b660008383612ff0565b80600260008282546121c89190614852565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122799190614452565b60405180910390a361228d60008383612ff5565b5050565b8060601b6122a75763d92e233d6000526004601cfd5b50565b6122b261232d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231890614cd4565b60405180910390fd5b61232a81612ffa565b50565b6123356123ab565b73ffffffffffffffffffffffffffffffffffffffff166123536116ad565b73ffffffffffffffffffffffffffffffffffffffff16146123a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a090614d40565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241990614dd2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248890614e64565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161256f9190614452565b60405180910390a3505050565b7f00000000000000000000000000000000000000000000000000000000000000006125d3576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612657576040517fe2f18de900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6064600b8054905010612696576040517ff266e36200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561276a57612726600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e7565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600b819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f743dcd4a012534912a3350f3ed8937d3b4f0771c62892ed15e4373dc2c5f584a60405160405180910390a250565b600080601554141580156128cd5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156129235750601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561294657612710601554836129399190614e84565b61294391906148b5565b90505b92915050565b600080601654141580156129aa5750601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156129cd57612710601654836129c09190614e84565b6129ca91906148b5565b90505b92915050565b7f000000000000000000000000000000000000000000000000000000000000000015612a965760008114612a91576000612a0b612b3c565b905060008183612a1b9190614e84565b9050612a29858583846130c0565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612a869190614452565b60405180910390a350505b612aa2565b612aa1838383613270565b5b505050565b7f000000000000000000000000000000000000000000000000000000000000000015612aff576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b0982826134e6565b5050565b600080612b186123ab565b9050612b258582856136b3565b612b3085858561373f565b60019150509392505050565b6000806000612b49613ab6565b915091508082612b5991906148b5565b9250505090565b7f000000000000000000000000000000000000000000000000000000000000000015612bb8576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bc2828261213b565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612c1661232d565b612c206000612ffa565b565b600080612c2d6123ab565b9050612c3a81858561373f565b600191505092915050565b7f0000000000000000000000000000000000000000000000000000000000000000612c9c576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612d1f576040517f1214f5e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b600b80549050811015612f8b578173ffffffffffffffffffffffffffffffffffffffff16600b8281548110612d5a57612d59614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612f7857600b6001600b80549050612db491906147a7565b81548110612dc557612dc4614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b8281548110612e0457612e03614749565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b805480612efb57612efa6147db565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590558173ffffffffffffffffffffffffffffffffffffffff167f9ccbe1146da67d2d78acc466156a4860eecd4209be8b75a9370e8bf3e949ed1f60405160405180910390a2612f8b565b8080612f839061480a565b915050612d22565b5050565b7f0000000000000000000000000000000000000000000000000000000000000000612fe6576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060098190555050565b505050565b505050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561314d578381846040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161314493929190614ec6565b60405180910390fd5b82600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461319891906147a7565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132269190614852565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036132df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d690614f6f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361334e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334590615001565b60405180910390fd5b613359838383612ff0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156133df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d690615093565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516134cd9190614452565b60405180910390a36134e0848484612ff5565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354c90615125565b60405180910390fd5b61356182600083612ff0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de906151b7565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161369a9190614452565b60405180910390a36136ae83600084612ff5565b505050565b60006136bf8484611ca2565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114613739578181101561372b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372290615223565b60405180910390fd5b61373884848484036123b3565b5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000015613aa55761376e83612291565b61377782612291565b600081036137b1576040517f76c4f5b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156138545750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561386957613864838383613acc565b613aa0565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561390c5750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156139215761391c838383613c1c565b613a9f565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156139c55750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156139da576139d5838383613d6c565b613a9e565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015613a7c5750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15613a9157613a8c838383613e2e565b613a9d565b613a9c838383613d6c565b5b5b5b5b613ab1565b613ab0838383613270565b5b505050565b600080600754613ac4611b48565b915091509091565b6000613ad8828561400c565b905060008183613ae891906147a7565b90506000806000613afa86868661408d565b92509250925060008614613c1257613b14888885846130c0565b85600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613b5f91906147a7565b600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613bac82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613c099190614452565b60405180910390a35b5050505050505050565b6000613c28828561400c565b905060008183613c3891906147a7565b90506000806000613c4a86868661408d565b92509250925060008614613d6257613c64888885846130c0565b83600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613caf9190614852565b600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613cfc82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613d599190614452565b60405180910390a35b5050505050505050565b6000613d78828561400c565b905060008183613d8891906147a7565b90506000806000613d9a86868661408d565b92509250925060008614613e2457613db4888885846130c0565b613dbe82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613e1b9190614452565b60405180910390a35b5050505050505050565b6000613e3a828561400c565b905060008183613e4a91906147a7565b90506000806000613e5c86868661408d565b9250925092506000861461400257613e76888885846130c0565b85600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ec191906147a7565b600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613f4f9190614852565b600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613f9c82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613ff99190614452565b60405180910390a35b5050505050505050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156140695760009050614087565b6127106009548461407a9190614e84565b61408491906148b5565b90505b92915050565b60008060008061409b612b3c565b9050600081886140ab9190614e84565b9050600082886140bb9190614e84565b9050600083886140cb9190614e84565b90508282829650965096505050505093509350939050565b816007546140f191906147a7565b600781905550806008546141059190614852565b6008819055505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61413681614123565b811461414157600080fd5b50565b6000813590506141538161412d565b92915050565b60006020828403121561416f5761416e614119565b5b600061417d84828501614144565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141b182614186565b9050919050565b6141c1816141a6565b82525050565b60006020820190506141dc60008301846141b8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561421c578082015181840152602081019050614201565b60008484015250505050565b6000601f19601f8301169050919050565b6000614244826141e2565b61424e81856141ed565b935061425e8185602086016141fe565b61426781614228565b840191505092915050565b6000602082019050818103600083015261428c8184614239565b905092915050565b61429d816141a6565b81146142a857600080fd5b50565b6000813590506142ba81614294565b92915050565b600080604083850312156142d7576142d6614119565b5b60006142e5858286016142ab565b92505060206142f685828601614144565b9150509250929050565b60008115159050919050565b61431581614300565b82525050565b6000602082019050614330600083018461430c565b92915050565b60006020828403121561434c5761434b614119565b5b600061435a848285016142ab565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614398816141a6565b82525050565b60006143aa838361438f565b60208301905092915050565b6000602082019050919050565b60006143ce82614363565b6143d8818561436e565b93506143e38361437f565b8060005b838110156144145781516143fb888261439e565b9750614406836143b6565b9250506001810190506143e7565b5085935050505092915050565b6000602082019050818103600083015261443b81846143c3565b905092915050565b61444c81614123565b82525050565b60006020820190506144676000830184614443565b92915050565b60008060006060848603121561448657614485614119565b5b6000614494868287016142ab565b93505060206144a5868287016142ab565b92505060406144b686828701614144565b9150509250925092565b600060ff82169050919050565b6144d6816144c0565b82525050565b60006020820190506144f160008301846144cd565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61453982614228565b810181811067ffffffffffffffff8211171561455857614557614501565b5b80604052505050565b600061456b61410f565b90506145778282614530565b919050565b600067ffffffffffffffff82111561459757614596614501565b5b6145a082614228565b9050602081019050919050565b82818337600083830152505050565b60006145cf6145ca8461457c565b614561565b9050828152602081018484840111156145eb576145ea6144fc565b5b6145f68482856145ad565b509392505050565b600082601f830112614613576146126144f7565b5b81356146238482602086016145bc565b91505092915050565b60006020828403121561464257614641614119565b5b600082013567ffffffffffffffff8111156146605761465f61411e565b5b61466c848285016145fe565b91505092915050565b6000819050919050565b61468881614675565b82525050565b60006020820190506146a3600083018461467f565b92915050565b600080604083850312156146c0576146bf614119565b5b60006146ce858286016142ab565b92505060206146df858286016142ab565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061473057607f821691505b602082108103614743576147426146e9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147b282614123565b91506147bd83614123565b92508282039050818111156147d5576147d4614778565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061481582614123565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361484757614846614778565b5b600182019050919050565b600061485d82614123565b915061486883614123565b92508282019050808211156148805761487f614778565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148c082614123565b91506148cb83614123565b9250826148db576148da614886565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006149426025836141ed565b915061494d826148e6565b604082019050919050565b6000602082019050818103600083015261497181614935565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026149da7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261499d565b6149e4868361499d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a21614a1c614a1784614123565b6149fc565b614123565b9050919050565b6000819050919050565b614a3b83614a06565b614a4f614a4782614a28565b8484546149aa565b825550505050565b600090565b614a64614a57565b614a6f818484614a32565b505050565b5b81811015614a9357614a88600082614a5c565b600181019050614a75565b5050565b601f821115614ad857614aa981614978565b614ab28461498d565b81016020851015614ac1578190505b614ad5614acd8561498d565b830182614a74565b50505b505050565b600082821c905092915050565b6000614afb60001984600802614add565b1980831691505092915050565b6000614b148383614aea565b9150826002028217905092915050565b614b2d826141e2565b67ffffffffffffffff811115614b4657614b45614501565b5b614b508254614718565b614b5b828285614a97565b600060209050601f831160018114614b8e5760008415614b7c578287015190505b614b868582614b08565b865550614bee565b601f198416614b9c86614978565b60005b82811015614bc457848901518255600182019150602085019450602081019050614b9f565b86831015614be15784890151614bdd601f891682614aea565b8355505b6001600288020188555050505b505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614c2c601f836141ed565b9150614c3782614bf6565b602082019050919050565b60006020820190508181036000830152614c5b81614c1f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cbe6026836141ed565b9150614cc982614c62565b604082019050919050565b60006020820190508181036000830152614ced81614cb1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d2a6020836141ed565b9150614d3582614cf4565b602082019050919050565b60006020820190508181036000830152614d5981614d1d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614dbc6024836141ed565b9150614dc782614d60565b604082019050919050565b60006020820190508181036000830152614deb81614daf565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e4e6022836141ed565b9150614e5982614df2565b604082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b6000614e8f82614123565b9150614e9a83614123565b9250828202614ea881614123565b91508282048414831517614ebf57614ebe614778565b5b5092915050565b6000606082019050614edb60008301866141b8565b614ee86020830185614443565b614ef56040830184614443565b949350505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614f596025836141ed565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614feb6023836141ed565b9150614ff682614f8f565b604082019050919050565b6000602082019050818103600083015261501a81614fde565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061507d6026836141ed565b915061508882615021565b604082019050919050565b600060208201905081810360008301526150ac81615070565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061510f6021836141ed565b915061511a826150b3565b604082019050919050565b6000602082019050818103600083015261513e81615102565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006151a16022836141ed565b91506151ac82615145565b604082019050919050565b600060208201905081810360008301526151d081615194565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061520d601d836141ed565b9150615218826151d7565b602082019050919050565b6000602082019050818103600083015261523c81615200565b905091905056fea26469706673582212204026aa932a9a895796f8debbdd50cc3f9dd156e7346cb08c72c1213ea69bab5b64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000c1b2fa9d8000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5465746865722055534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000455534454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103775760003560e01c806370a08231116101d3578063af465a2711610104578063de0060ca116100a2578063f820f5671161007c578063f820f56714610a32578063f8afaba514610a50578063f91f825d14610a6c578063ffa1ad7414610a8857610377565b8063de0060ca146109dc578063f19c4e3b146109fa578063f2fde38b14610a1657610377565b8063bfcf7355116100de578063bfcf735514610954578063d48e412714610972578063d8f6785114610990578063dd62ed3e146109ac57610377565b8063af465a27146108fc578063b609995e1461091a578063b7bda68f1461093657610377565b806395d89b4111610171578063a457c2d71161014b578063a457c2d714610862578063a476df6114610892578063a9059cbb146108ae578063a9d86685146108de57610377565b806395d89b41146108085780639703a19d14610826578063a32f69761461084457610377565b80638da5cb5b116101ad5780638da5cb5b146107905780638dac7191146107ae5780638e8c10a2146107cc57806393fbda99146107ea57610377565b806370a0823114610738578063715018a614610768578063883356d91461077257610377565b80632fa782eb116102ad57806349a602db1161024b578063542e966711610225578063542e9667146106c05780635514c832146106de5780635a3990ce146106fc578063614d08f81461071a57610377565b806349a602db146106545780634a88266c146106725780634ac0bc32146106a257610377565b8063395093511161028757806339509351146105ce57806340c10f19146105fe57806342966c681461061a57806346b45af71461063657610377565b80632fa782eb14610574578063313ce56714610592578063378dc3dc146105b057610377565b8063154af8e71161031a57806323bbbd6a116102f457806323bbbd6a146104d85780632ab4d052146105085780632d838119146105265780632e0ee48e1461055657610377565b8063154af8e71461046c57806318160ddd1461048a57806323b872dd146104a857610377565b806306fdde031161035657806306fdde03146103e6578063095ea7b3146104045780630bd9275614610434578063111e03761461045057610377565b8062af2d9d1461037c57806302252c4d146103ac578063044ab74e146103c8575b600080fd5b61039660048036038101906103919190614159565b610aa6565b6040516103a391906141c7565b60405180910390f35b6103c660048036038101906103c19190614159565b610ae5565b005b6103d0610ba7565b6040516103dd9190614272565b60405180910390f35b6103ee610c35565b6040516103fb9190614272565b60405180910390f35b61041e600480360381019061041991906142c0565b610cc7565b60405161042b919061431b565b60405180910390f35b61044e60048036038101906104499190614336565b610cea565b005b61046a60048036038101906104659190614336565b610fa0565b005b610474610fb4565b6040516104819190614421565b60405180910390f35b610492611042565b60405161049f9190614452565b60405180910390f35b6104c260048036038101906104bd919061446d565b61104c565b6040516104cf919061431b565b60405180910390f35b6104f260048036038101906104ed9190614159565b6111a2565b6040516104ff91906141c7565b60405180910390f35b6105106111e1565b60405161051d9190614452565b60405180910390f35b610540600480360381019061053b9190614159565b6111e7565b60405161054d9190614452565b60405180910390f35b61055e611245565b60405161056b919061431b565b60405180910390f35b61057c61125f565b6040516105899190614452565b60405180910390f35b61059a611265565b6040516105a791906144dc565b60405180910390f35b6105b861128d565b6040516105c59190614452565b60405180910390f35b6105e860048036038101906105e391906142c0565b6112b1565b6040516105f5919061431b565b60405180910390f35b610618600480360381019061061391906142c0565b6112e8565b005b610634600480360381019061062f9190614159565b611456565b005b61063e6114a9565b60405161064b919061431b565b60405180910390f35b61065c6114c3565b6040516106699190614452565b60405180910390f35b61068c60048036038101906106879190614336565b6114c8565b604051610699919061431b565b60405180910390f35b6106aa6114e8565b6040516106b7919061431b565b60405180910390f35b6106c8611502565b6040516106d59190614452565b60405180910390f35b6106e6611508565b6040516106f39190614452565b60405180910390f35b61070461150d565b604051610711919061431b565b60405180910390f35b610722611527565b60405161072f9190614272565b60405180910390f35b610752600480360381019061074d9190614336565b611560565b60405161075f9190614452565b60405180910390f35b610770611681565b005b61077a611693565b604051610787919061431b565b60405180910390f35b6107986116ad565b6040516107a591906141c7565b60405180910390f35b6107b66116d7565b6040516107c391906141c7565b60405180910390f35b6107d46116fb565b6040516107e1919061431b565b60405180910390f35b6107f2611715565b6040516107ff9190614421565b60405180910390f35b6108106117a3565b60405161081d9190614272565b60405180910390f35b61082e611835565b60405161083b9190614452565b60405180910390f35b61084c61183b565b6040516108599190614452565b60405180910390f35b61087c600480360381019061087791906142c0565b61185f565b604051610889919061431b565b60405180910390f35b6108ac60048036038101906108a7919061462c565b6118d6565b005b6108c860048036038101906108c391906142c0565b611966565b6040516108d5919061431b565b60405180910390f35b6108e6611aba565b6040516108f39190614272565b60405180910390f35b610904611b48565b6040516109119190614452565b60405180910390f35b610934600480360381019061092f9190614336565b611b57565b005b61093e611b6b565b60405161094b91906141c7565b60405180910390f35b61095c611b91565b604051610969919061468e565b60405180910390f35b61097a611bb8565b6040516109879190614452565b60405180910390f35b6109aa60048036038101906109a59190614159565b611bbe565b005b6109c660048036038101906109c191906146a9565b611ca2565b6040516109d39190614452565b60405180910390f35b6109e4611d29565b6040516109f1919061431b565b60405180910390f35b610a146004803603810190610a0f91906142c0565b611d43565b005b610a306004803603810190610a2b9190614336565b611e89565b005b610a3a611e9d565b604051610a47919061431b565b60405180910390f35b610a6a6004803603810190610a659190614336565b611eb7565b005b610a866004803603810190610a819190614159565b612083565b005b610a90612102565b604051610a9d9190614272565b60405180910390f35b60128181548110610ab657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610aed61232d565b610af561150d565b610b2b576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f548111610b66576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f819055507f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d5981604051610b9c9190614452565b60405180910390a150565b600e8054610bb490614718565b80601f0160208091040260200160405190810160405280929190818152602001828054610be090614718565b8015610c2d5780601f10610c0257610100808354040283529160200191610c2d565b820191906000526020600020905b815481529060010190602001808311610c1057829003601f168201915b505050505081565b606060038054610c4490614718565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7090614718565b8015610cbd5780601f10610c9257610100808354040283529160200191610cbd565b820191906000526020600020905b815481529060010190602001808311610ca057829003601f168201915b5050505050905090565b600080610cd26123ab565b9050610cdf8185856123b3565b600191505092915050565b610cf261232d565b601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d75576040517fed68fdd600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b601280549050811015610f9c578173ffffffffffffffffffffffffffffffffffffffff1660128281548110610db057610daf614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610f895760126001601280549050610e0a91906147a7565b81548110610e1b57610e1a614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660128281548110610e5a57610e59614749565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506012805480610f0c57610f0b6147db565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590558173ffffffffffffffffffffffffffffffffffffffff167f98bab529cae32acf2e47348750c372f438f475b15be0136f55544297ef96bd2c60405160405180910390a2610f9c565b8080610f949061480a565b915050610d78565b5050565b610fa861232d565b610fb18161257c565b50565b6060600b80548060200260200160405190810160405280929190818152602001828054801561103857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610fee575b5050505050905090565b6000600254905090565b600080611059858461286b565b90506000611067868561294c565b9050600081838661107891906147a7565b61108291906147a7565b905061108c61150d565b80156110e25750601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561114257600f54816110f488611560565b6110fe9190614852565b111561114157856040517ff6202a8f00000000000000000000000000000000000000000000000000000000815260040161113891906141c7565b60405180910390fd5b5b600083146111785761117787601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856129d3565b5b6000821461118b5761118a8783612aa7565b5b611196878783612b0d565b93505050509392505050565b600b81815481106111b257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b6000600754821115611225576040517fc91fa8bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061122f612b3c565b9050808361123d91906148b5565b915050919050565b6000601360000160079054906101000a900460ff16905090565b60155481565b60007f0000000000000000000000000000000000000000000000000000000000000012905090565b7f0000000000000000000000000000000000000000000000000000000c1b2fa9d881565b6000806112bc6123ab565b90506112dd8185856112ce8589611ca2565b6112d89190614852565b6123b3565b600191505092915050565b6112f061232d565b6112f86114a9565b61132e576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61133661150d565b801561138c5750601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156113ec57600f548161139e84611560565b6113a89190614852565b11156113eb57816040517ff6202a8f0000000000000000000000000000000000000000000000000000000081526004016113e291906141c7565b60405180910390fd5b5b6113f4611d29565b156114485760105481611405611042565b61140f9190614852565b1115611447576040517f44ea8ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6114528282612b60565b5050565b61145e61232d565b611466611693565b61149c576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114a63382612aa7565b50565b6000601360000160009054906101000a900460ff16905090565b606481565b60116020528060005260406000206000915054906101000a900460ff1681565b6000601360000160059054906101000a900460ff16905090565b60165481565b606481565b6000601360000160039054906101000a900460ff16905090565b6040518060400160405280600981526020017f546574686572555344000000000000000000000000000000000000000000000081525081565b60007f00000000000000000000000000000000000000000000000000000000000000001561167057600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561162157600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061167c565b611669600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e7565b905061167c565b61167982612bc6565b90505b919050565b61168961232d565b611691612c0e565b565b6000601360000160019054906101000a900460ff16905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f00000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d81565b6000601360000160069054906101000a900460ff16905090565b6060601280548060200260200160405190810160405280929190818152602001828054801561179957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161174f575b5050505050905090565b6060600480546117b290614718565b80601f01602080910402602001604051908101604052809291908181526020018280546117de90614718565b801561182b5780601f106118005761010080835404028352916020019161182b565b820191906000526020600020905b81548152906001019060200180831161180e57829003601f168201915b5050505050905090565b60095481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008061186a6123ab565b905060006118788286611ca2565b9050838110156118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614958565b60405180910390fd5b6118ca82868684036123b3565b60019250505092915050565b6118de61232d565b6118e6611e9d565b61191c576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e908161192b9190614b24565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade8160405161195b9190614272565b60405180910390a150565b600080611973338461286b565b90506000611981338561294c565b9050600081838661199291906147a7565b61199c91906147a7565b90506119a661150d565b80156119fc5750601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611a5c57600f5481611a0e88611560565b611a189190614852565b1115611a5b57856040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401611a5291906141c7565b60405180910390fd5b5b60008314611a9257611a9133601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856129d3565b5b60008214611aa557611aa43383612aa7565b5b611aaf8682612c22565b935050505092915050565b600d8054611ac790614718565b80601f0160208091040260200160405190810160405280929190818152602001828054611af390614718565b8015611b405780601f10611b1557610100808354040283529160200191611b40565b820191906000526020600020905b815481529060010190602001808311611b2357829003601f168201915b505050505081565b6000611b52611042565b905090565b611b5f61232d565b611b6881612c45565b50565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f4d9f6dab323c13bea2f7307e709cb5f11d89a9507f098b491829b961bb6334ac60001b81565b600f5481565b611bc661232d565b611bce6116fb565b611c04576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600954601654611c179190614852565b611c219190614852565b90506107d0811115611c6a57806040517f3e474e0d000000000000000000000000000000000000000000000000000000008152600401611c619190614452565b60405180910390fd5b81601681905550817fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec360405160405180910390a25050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000601360000160049054906101000a900460ff16905090565b611d4b61232d565b611d536114e8565b611d89576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600954601654611d9c9190614852565b611da69190614852565b90506107d0811115611def57806040517f3e474e0d000000000000000000000000000000000000000000000000000000008152600401611de69190614452565b60405180910390fd5b611df883612291565b82601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601581905550818373ffffffffffffffffffffffffffffffffffffffff167facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a60405160405180910390a3505050565b611e9161232d565b611e9a816122aa565b50565b6000601360000160029054906101000a900460ff16905090565b611ebf61232d565b601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f43576040517ff20d03d600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606460128054905010611f82576040517fc92787fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506012819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f94f5dc0e322a0a7c5af09958609aeb2384692e22922827ff9595db226c01dfa560405160405180910390a250565b61208b61232d565b612093611245565b6120c9576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120d281612f8f565b807f76e1296412dac7b50002658bf9aab02d0cfe366f373222d5c14d0168ee8199e360405160405180910390a250565b6040518060400160405280600881526020017f646566695f765f3500000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190614c42565b60405180910390fd5b6121b660008383612ff0565b80600260008282546121c89190614852565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122799190614452565b60405180910390a361228d60008383612ff5565b5050565b8060601b6122a75763d92e233d6000526004601cfd5b50565b6122b261232d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231890614cd4565b60405180910390fd5b61232a81612ffa565b50565b6123356123ab565b73ffffffffffffffffffffffffffffffffffffffff166123536116ad565b73ffffffffffffffffffffffffffffffffffffffff16146123a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a090614d40565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241990614dd2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248890614e64565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161256f9190614452565b60405180910390a3505050565b7f00000000000000000000000000000000000000000000000000000000000000006125d3576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612657576040517fe2f18de900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6064600b8054905010612696576040517ff266e36200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561276a57612726600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e7565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600b819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f743dcd4a012534912a3350f3ed8937d3b4f0771c62892ed15e4373dc2c5f584a60405160405180910390a250565b600080601554141580156128cd5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156129235750601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561294657612710601554836129399190614e84565b61294391906148b5565b90505b92915050565b600080601654141580156129aa5750601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156129cd57612710601654836129c09190614e84565b6129ca91906148b5565b90505b92915050565b7f000000000000000000000000000000000000000000000000000000000000000015612a965760008114612a91576000612a0b612b3c565b905060008183612a1b9190614e84565b9050612a29858583846130c0565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612a869190614452565b60405180910390a350505b612aa2565b612aa1838383613270565b5b505050565b7f000000000000000000000000000000000000000000000000000000000000000015612aff576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b0982826134e6565b5050565b600080612b186123ab565b9050612b258582856136b3565b612b3085858561373f565b60019150509392505050565b6000806000612b49613ab6565b915091508082612b5991906148b5565b9250505090565b7f000000000000000000000000000000000000000000000000000000000000000015612bb8576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bc2828261213b565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612c1661232d565b612c206000612ffa565b565b600080612c2d6123ab565b9050612c3a81858561373f565b600191505092915050565b7f0000000000000000000000000000000000000000000000000000000000000000612c9c576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612d1f576040517f1214f5e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b600b80549050811015612f8b578173ffffffffffffffffffffffffffffffffffffffff16600b8281548110612d5a57612d59614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612f7857600b6001600b80549050612db491906147a7565b81548110612dc557612dc4614749565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b8281548110612e0457612e03614749565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b805480612efb57612efa6147db565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590558173ffffffffffffffffffffffffffffffffffffffff167f9ccbe1146da67d2d78acc466156a4860eecd4209be8b75a9370e8bf3e949ed1f60405160405180910390a2612f8b565b8080612f839061480a565b915050612d22565b5050565b7f0000000000000000000000000000000000000000000000000000000000000000612fe6576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060098190555050565b505050565b505050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561314d578381846040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161314493929190614ec6565b60405180910390fd5b82600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461319891906147a7565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132269190614852565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036132df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d690614f6f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361334e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334590615001565b60405180910390fd5b613359838383612ff0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156133df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d690615093565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516134cd9190614452565b60405180910390a36134e0848484612ff5565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354c90615125565b60405180910390fd5b61356182600083612ff0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de906151b7565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161369a9190614452565b60405180910390a36136ae83600084612ff5565b505050565b60006136bf8484611ca2565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114613739578181101561372b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372290615223565b60405180910390fd5b61373884848484036123b3565b5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000015613aa55761376e83612291565b61377782612291565b600081036137b1576040517f76c4f5b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156138545750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561386957613864838383613acc565b613aa0565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561390c5750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156139215761391c838383613c1c565b613a9f565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156139c55750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156139da576139d5838383613d6c565b613a9e565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015613a7c5750600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15613a9157613a8c838383613e2e565b613a9d565b613a9c838383613d6c565b5b5b5b5b613ab1565b613ab0838383613270565b5b505050565b600080600754613ac4611b48565b915091509091565b6000613ad8828561400c565b905060008183613ae891906147a7565b90506000806000613afa86868661408d565b92509250925060008614613c1257613b14888885846130c0565b85600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613b5f91906147a7565b600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613bac82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613c099190614452565b60405180910390a35b5050505050505050565b6000613c28828561400c565b905060008183613c3891906147a7565b90506000806000613c4a86868661408d565b92509250925060008614613d6257613c64888885846130c0565b83600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613caf9190614852565b600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613cfc82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613d599190614452565b60405180910390a35b5050505050505050565b6000613d78828561400c565b905060008183613d8891906147a7565b90506000806000613d9a86868661408d565b92509250925060008614613e2457613db4888885846130c0565b613dbe82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613e1b9190614452565b60405180910390a35b5050505050505050565b6000613e3a828561400c565b905060008183613e4a91906147a7565b90506000806000613e5c86868661408d565b9250925092506000861461400257613e76888885846130c0565b85600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ec191906147a7565b600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613f4f9190614852565b600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613f9c82866140e3565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef88604051613ff99190614452565b60405180910390a35b5050505050505050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156140695760009050614087565b6127106009548461407a9190614e84565b61408491906148b5565b90505b92915050565b60008060008061409b612b3c565b9050600081886140ab9190614e84565b9050600082886140bb9190614e84565b9050600083886140cb9190614e84565b90508282829650965096505050505093509350939050565b816007546140f191906147a7565b600781905550806008546141059190614852565b6008819055505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61413681614123565b811461414157600080fd5b50565b6000813590506141538161412d565b92915050565b60006020828403121561416f5761416e614119565b5b600061417d84828501614144565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141b182614186565b9050919050565b6141c1816141a6565b82525050565b60006020820190506141dc60008301846141b8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561421c578082015181840152602081019050614201565b60008484015250505050565b6000601f19601f8301169050919050565b6000614244826141e2565b61424e81856141ed565b935061425e8185602086016141fe565b61426781614228565b840191505092915050565b6000602082019050818103600083015261428c8184614239565b905092915050565b61429d816141a6565b81146142a857600080fd5b50565b6000813590506142ba81614294565b92915050565b600080604083850312156142d7576142d6614119565b5b60006142e5858286016142ab565b92505060206142f685828601614144565b9150509250929050565b60008115159050919050565b61431581614300565b82525050565b6000602082019050614330600083018461430c565b92915050565b60006020828403121561434c5761434b614119565b5b600061435a848285016142ab565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614398816141a6565b82525050565b60006143aa838361438f565b60208301905092915050565b6000602082019050919050565b60006143ce82614363565b6143d8818561436e565b93506143e38361437f565b8060005b838110156144145781516143fb888261439e565b9750614406836143b6565b9250506001810190506143e7565b5085935050505092915050565b6000602082019050818103600083015261443b81846143c3565b905092915050565b61444c81614123565b82525050565b60006020820190506144676000830184614443565b92915050565b60008060006060848603121561448657614485614119565b5b6000614494868287016142ab565b93505060206144a5868287016142ab565b92505060406144b686828701614144565b9150509250925092565b600060ff82169050919050565b6144d6816144c0565b82525050565b60006020820190506144f160008301846144cd565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61453982614228565b810181811067ffffffffffffffff8211171561455857614557614501565b5b80604052505050565b600061456b61410f565b90506145778282614530565b919050565b600067ffffffffffffffff82111561459757614596614501565b5b6145a082614228565b9050602081019050919050565b82818337600083830152505050565b60006145cf6145ca8461457c565b614561565b9050828152602081018484840111156145eb576145ea6144fc565b5b6145f68482856145ad565b509392505050565b600082601f830112614613576146126144f7565b5b81356146238482602086016145bc565b91505092915050565b60006020828403121561464257614641614119565b5b600082013567ffffffffffffffff8111156146605761465f61411e565b5b61466c848285016145fe565b91505092915050565b6000819050919050565b61468881614675565b82525050565b60006020820190506146a3600083018461467f565b92915050565b600080604083850312156146c0576146bf614119565b5b60006146ce858286016142ab565b92505060206146df858286016142ab565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061473057607f821691505b602082108103614743576147426146e9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147b282614123565b91506147bd83614123565b92508282039050818111156147d5576147d4614778565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061481582614123565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361484757614846614778565b5b600182019050919050565b600061485d82614123565b915061486883614123565b92508282019050808211156148805761487f614778565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148c082614123565b91506148cb83614123565b9250826148db576148da614886565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006149426025836141ed565b915061494d826148e6565b604082019050919050565b6000602082019050818103600083015261497181614935565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026149da7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261499d565b6149e4868361499d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a21614a1c614a1784614123565b6149fc565b614123565b9050919050565b6000819050919050565b614a3b83614a06565b614a4f614a4782614a28565b8484546149aa565b825550505050565b600090565b614a64614a57565b614a6f818484614a32565b505050565b5b81811015614a9357614a88600082614a5c565b600181019050614a75565b5050565b601f821115614ad857614aa981614978565b614ab28461498d565b81016020851015614ac1578190505b614ad5614acd8561498d565b830182614a74565b50505b505050565b600082821c905092915050565b6000614afb60001984600802614add565b1980831691505092915050565b6000614b148383614aea565b9150826002028217905092915050565b614b2d826141e2565b67ffffffffffffffff811115614b4657614b45614501565b5b614b508254614718565b614b5b828285614a97565b600060209050601f831160018114614b8e5760008415614b7c578287015190505b614b868582614b08565b865550614bee565b601f198416614b9c86614978565b60005b82811015614bc457848901518255600182019150602085019450602081019050614b9f565b86831015614be15784890151614bdd601f891682614aea565b8355505b6001600288020188555050505b505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614c2c601f836141ed565b9150614c3782614bf6565b602082019050919050565b60006020820190508181036000830152614c5b81614c1f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cbe6026836141ed565b9150614cc982614c62565b604082019050919050565b60006020820190508181036000830152614ced81614cb1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d2a6020836141ed565b9150614d3582614cf4565b602082019050919050565b60006020820190508181036000830152614d5981614d1d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614dbc6024836141ed565b9150614dc782614d60565b604082019050919050565b60006020820190508181036000830152614deb81614daf565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e4e6022836141ed565b9150614e5982614df2565b604082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b6000614e8f82614123565b9150614e9a83614123565b9250828202614ea881614123565b91508282048414831517614ebf57614ebe614778565b5b5092915050565b6000606082019050614edb60008301866141b8565b614ee86020830185614443565b614ef56040830184614443565b949350505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614f596025836141ed565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614feb6023836141ed565b9150614ff682614f8f565b604082019050919050565b6000602082019050818103600083015261501a81614fde565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061507d6026836141ed565b915061508882615021565b604082019050919050565b600060208201905081810360008301526150ac81615070565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061510f6021836141ed565b915061511a826150b3565b604082019050919050565b6000602082019050818103600083015261513e81615102565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006151a16022836141ed565b91506151ac82615145565b604082019050919050565b600060208201905081810360008301526151d081615194565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061520d601d836141ed565b9150615218826151d7565b602082019050919050565b6000602082019050818103600083015261523c81615200565b905091905056fea26469706673582212204026aa932a9a895796f8debbdd50cc3f9dd156e7346cb08c72c1213ea69bab5b64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000c1b2fa9d8000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5465746865722055534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000455534454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Tether USD
Arg [1] : symbol_ (string): USDT
Arg [2] : initialSupplyToSet (uint256): 51995716056
Arg [3] : decimalsToSet (uint8): 18
Arg [4] : tokenOwner (address): 0x06a952822d956FA997A60d4D7f885d243a8abC8D
Arg [5] : customConfigProps (tuple):
Arg [1] : _isMintable (bool): False
Arg [2] : _isBurnable (bool): False
Arg [3] : _isDocumentAllowed (bool): False
Arg [4] : _isMaxAmountOfTokensSet (bool): False
Arg [5] : _isMaxSupplySet (bool): False
Arg [6] : _isTaxable (bool): False
Arg [7] : _isDeflationary (bool): False
Arg [8] : _isReflective (bool): False
Arg [6] : newDocumentUri (string):
Arg [7] : _taxAddress (address): 0x06a952822d956FA997A60d4D7f885d243a8abC8D
Arg [8] : bpsParams (uint256[3]): 0,0,0
Arg [9] : amountParams (uint256[2]): 0,0
-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000c1b2fa9d8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 00000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [14] : 00000000000000000000000006a952822d956fa997a60d4d7f885d243a8abc8d
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [21] : 5465746865722055534400000000000000000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [23] : 5553445400000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.