Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 433 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 22415275 | 309 days ago | IN | 0 ETH | 0.00001997 | ||||
| Approve | 21064029 | 498 days ago | IN | 0 ETH | 0.00048379 | ||||
| Approve | 21056252 | 499 days ago | IN | 0 ETH | 0.00044374 | ||||
| Approve | 21056251 | 499 days ago | IN | 0 ETH | 0.00081961 | ||||
| Approve | 21036365 | 502 days ago | IN | 0 ETH | 0.0006144 | ||||
| Approve | 21030955 | 502 days ago | IN | 0 ETH | 0.00055243 | ||||
| Approve | 21029855 | 503 days ago | IN | 0 ETH | 0.00118399 | ||||
| Approve | 21027583 | 503 days ago | IN | 0 ETH | 0.00015899 | ||||
| Approve | 21027581 | 503 days ago | IN | 0 ETH | 0.00016144 | ||||
| Approve | 21027264 | 503 days ago | IN | 0 ETH | 0.00088318 | ||||
| Approve | 21026892 | 503 days ago | IN | 0 ETH | 0.00046255 | ||||
| Approve | 21026597 | 503 days ago | IN | 0 ETH | 0.0005316 | ||||
| Approve | 21026502 | 503 days ago | IN | 0 ETH | 0.00105073 | ||||
| Approve | 21024794 | 503 days ago | IN | 0 ETH | 0.00029429 | ||||
| Approve | 21024002 | 503 days ago | IN | 0 ETH | 0.00043882 | ||||
| Approve | 21023995 | 503 days ago | IN | 0 ETH | 0.000402 | ||||
| Approve | 21023983 | 503 days ago | IN | 0 ETH | 0.0002985 | ||||
| Transfer | 21023973 | 503 days ago | IN | 0 ETH | 0.00023078 | ||||
| Approve | 21023868 | 503 days ago | IN | 0 ETH | 0.00027194 | ||||
| Transfer | 21023837 | 503 days ago | IN | 0 ETH | 0.00026973 | ||||
| Approve | 21023822 | 503 days ago | IN | 0 ETH | 0.00036109 | ||||
| Approve | 21023719 | 503 days ago | IN | 0 ETH | 0.00050872 | ||||
| Approve | 21023699 | 503 days ago | IN | 0 ETH | 0.00045404 | ||||
| Transfer | 21023693 | 503 days ago | IN | 0 ETH | 0.00036664 | ||||
| Approve | 21023690 | 503 days ago | IN | 0 ETH | 0.00058187 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 21030956 | 502 days ago | 0.03647097 ETH | ||||
| Transfer | 21030956 | 502 days ago | 0.03647097 ETH | ||||
| Transfer | 21030956 | 502 days ago | 0.07294194 ETH | ||||
| Transfer | 21028441 | 503 days ago | 0.04045134 ETH | ||||
| Transfer | 21028441 | 503 days ago | 0.04045134 ETH | ||||
| Transfer | 21028441 | 503 days ago | 0.08090269 ETH | ||||
| Transfer | 21026893 | 503 days ago | 0.0455884 ETH | ||||
| Transfer | 21026893 | 503 days ago | 0.0455884 ETH | ||||
| Transfer | 21026893 | 503 days ago | 0.09117681 ETH | ||||
| Transfer | 21024313 | 503 days ago | 0.0474365 ETH | ||||
| Transfer | 21024313 | 503 days ago | 0.0474365 ETH | ||||
| Transfer | 21024313 | 503 days ago | 0.094873 ETH | ||||
| Transfer | 21024310 | 503 days ago | 0.04859467 ETH | ||||
| Transfer | 21024310 | 503 days ago | 0.04859467 ETH | ||||
| Transfer | 21024310 | 503 days ago | 0.09718935 ETH | ||||
| Transfer | 21024310 | 503 days ago | 0.04980075 ETH | ||||
| Transfer | 21024310 | 503 days ago | 0.04980075 ETH | ||||
| Transfer | 21024310 | 503 days ago | 0.09960151 ETH | ||||
| Transfer | 21023843 | 503 days ago | 0.05558319 ETH | ||||
| Transfer | 21023843 | 503 days ago | 0.05558319 ETH | ||||
| Transfer | 21023843 | 503 days ago | 0.11116638 ETH | ||||
| Transfer | 21023809 | 503 days ago | 0.05727629 ETH | ||||
| Transfer | 21023809 | 503 days ago | 0.05727629 ETH | ||||
| Transfer | 21023809 | 503 days ago | 0.11455259 ETH | ||||
| Transfer | 21023808 | 503 days ago | 0.05957109 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
DONJON
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 10000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
/* Tg:
Twitter:
Website:
___ ____ _ _ _ ____ _ _
F __". F __ ] F L L] L] F __ ] F L L]
J |--\ L J |--| L J \| L | L J |--| L J \| L
| | J | | | | | | |\ | | | | | | | | |\ |
F L__J | F L__J J F L\\ J .--__J J F L__J J F L\\ J
J______/FJ\______/FJ__L \\__LJ\_____/J\______/FJ__L \\__L
|______F J______F |__L J__| J_____/ J______F |__L J__|
*/
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
}
pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable returns (uint[] memory amounts);
function swapTokensForExactETH(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactTokensForETH(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapETHForExactTokens(
uint amountOut,
address[] calldata path,
address to,
uint deadline
) external payable returns (uint[] memory amounts);
}
pragma solidity >=0.6.2;
interface IUniswapV2Router02 is IUniswapV2Router01 {
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
pragma solidity >=0.8.24;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./interfaces/IManager.sol";
contract DONJON is ERC20 {
IManager private Manager;
address private Treasury;
address private tDONJON;
address private Staking;
address private Redeem;
mapping(address => bool) private _isExcludedFromFee;
address private _feeReceiver;
uint256 private _marketingFee = 50;
address private constant DEAD = 0x000000000000000000000000000000000000dEaD;
uint256 private _initialTax = 40;
uint256 private _intermediateTax = 15;
uint256 public _finalBuyTax = 0;
uint256 public _finalSellTax = 15;
uint256 private _blockAtLaunch;
uint256 private _blockRemoveFirstLimits = 3;
uint256 private _blockRemoveSecondLimits = 5;
uint8 private constant _decimals = 18;
uint256 private _tTotal = 100_000 * 10 ** _decimals;
uint256 private _maxWalletSize = (_tTotal * 300) / 10000; // 3% of total supply
uint256 private swapThreshold = (_tTotal * 50) / 10000; // 0.5% of total supply
IUniswapV2Router02 private router;
address public pair;
bool private initialized = false;
bool public tradingOpen = false;
bool private inSwap = false;
bool private swapEnabled = false;
mapping(address => uint256) private _flag;
//--------------------------------------------------//
constructor(address _manager, address feeReceiver) ERC20("Donjon", "DONJON") {
router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
Manager = IManager(_manager);
_feeReceiver = feeReceiver;
_isExcludedFromFee[msg.sender] = true;
_isExcludedFromFee[address(this)] = true;
_approve(address(this), address(router), type(uint256).max);
_mint(msg.sender, _tTotal);
emit Transfer(address(0), msg.sender, _tTotal);
}
//--------------------------------------------------//
modifier onlyOwner() {
require(msg.sender == Manager.owner(), "Not Authorized");
_;
}
modifier lockTheSwap() {
inSwap = true;
_;
inSwap = false;
}
//--------------------------------------------------//
function setManager(address _manager) external onlyOwner {
Manager = IManager(_manager);
}
function setRouter(address _router) external onlyOwner {
router = IUniswapV2Router02(_router);
}
function setFeeReceiver(address feeReceiver) external onlyOwner {
_feeReceiver = feeReceiver;
}
function setMarketingFee(uint256 marketingFee) external onlyOwner {
_marketingFee = marketingFee;
}
function downSellingFee(uint256 _newFee) external onlyOwner {
require(_newFee <= 15, "Fee too high");
_finalSellTax = _newFee;
}
function clearFlag(address account) external onlyOwner {
_flag[account] = 0;
}
function initializePair() external onlyOwner returns (address) {
require(!initialized, "Already initialized");
pair = IUniswapV2Factory(router.factory()).createPair(
address(this),
router.WETH()
);
initialized = true;
return pair;
}
function setPair(address _pair) external onlyOwner {
pair = _pair;
}
function setIsInitialized(bool _initialized) external onlyOwner {
initialized = _initialized;
}
/**
* @dev Set a new threshold to trigger swapBack
*/
function setSwapThreshold(uint256 newTax) external onlyOwner {
swapThreshold = newTax;
}
function rescueTokens(address token, uint256 amount) external onlyOwner {
IERC20(token).transfer(msg.sender, amount);
}
function rescueETH(uint256 amount) external onlyOwner {
bool tmpSuccess;
(tmpSuccess, ) = payable(msg.sender).call{value: amount, gas: 5000000}(
""
);
}
function updateAddresses() external onlyOwner {
Treasury = _getContract("Treasury");
tDONJON = _getContract("Bond");
Staking = _getContract("Staking");
Redeem = _getContract("Redeem");
}
/** @dev Remove wallet cap.
* @notice Can only be called by the current owner.
*/
function removeLimits() external onlyOwner {
_maxWalletSize = _tTotal;
}
/** @dev Enable trading.
* @notice Can only be called by the current owner.
* @notice Can only be called once.
*/
function openTrading() external onlyOwner {
require(!tradingOpen, "trading is already open");
swapEnabled = true;
tradingOpen = true;
_blockAtLaunch = block.number;
}
//--------------------------------------------------//
function transfer(
address recipient,
uint256 amount
) public override returns (bool) {
require(
initialized || msg.sender == Manager.owner(),
"Not yet initialized"
);
if (msg.sender == pair) {
return update(msg.sender, recipient, amount);
} else {
return _basicTransfer(msg.sender, recipient, amount);
}
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public override returns (bool) {
address spender = msg.sender;
_spendAllowance(sender, spender, amount);
update(sender, recipient, amount);
return true;
}
function update(
address sender,
address recipient,
uint256 amount
) internal returns (bool) {
require(
_isExcludedFromFee[sender] ||
_isExcludedFromFee[recipient] ||
tradingOpen,
"Not authorized to trade yet"
);
uint256 blockSinceLaunch = block.number - _blockAtLaunch;
if (blockSinceLaunch < _blockRemoveFirstLimits && _blockAtLaunch != 0) {
address _owner = Manager.owner();
if (sender != _owner && recipient != _owner && recipient != DEAD) {
if (recipient != pair) {
uint256 _limit = _maxWalletSize;
require(
_isExcludedFromFee[recipient] ||
(balanceOf(recipient) + amount <= _limit),
"Transfer amount exceeds the MaxWallet size."
);
}
}
}
if (shouldSwapBack() && recipient == pair) {
swapBack();
}
uint256 amountReceived = amount;
if (!_isExcludedFromFee[sender] && !_isExcludedFromFee[recipient]) {
amountReceived = takeFee(sender, recipient, amountReceived);
}
if (
_flag[sender] > 0 &&
sender != pair &&
recipient != pair &&
sender != Staking &&
recipient != Staking
) {
transferFlag(sender, recipient, amount);
}
_transfer(sender, recipient, amountReceived);
return true;
}
function _basicTransfer(
address sender,
address recipient,
uint256 amount
) internal returns (bool) {
if (_flag[sender] > 0) {
transferFlag(sender, recipient, amount);
}
_transfer(sender, recipient, amount);
return true;
}
function transferFlag(
address sender,
address recipient,
uint256 amount
) internal {
if (_flag[sender] > amount) {
_flag[sender] -= amount;
_flag[recipient] += amount;
} else {
_flag[recipient] += _flag[sender];
_flag[sender] = 0;
}
}
function takeFee(
address sender,
address recipient,
uint256 amount
) internal returns (uint256) {
uint256 feeAmount;
uint256 blockSinceLaunch = block.number - _blockAtLaunch;
if (blockSinceLaunch > _blockRemoveSecondLimits) {
if (sender == pair && recipient != pair) {
feeAmount = (amount * _finalBuyTax) / 100;
} else if (sender != pair && recipient == pair) {
uint256 tax = _flag[sender] > 0 ? _initialTax : _finalSellTax;
feeAmount = (amount * tax) / 100;
if (_flag[sender] > amount) {
_flag[sender] -= amount;
} else {
_flag[sender] = 0;
}
}
} else if (blockSinceLaunch > _blockRemoveFirstLimits) {
uint256 tax = _flag[sender] > 0 ? _initialTax : _intermediateTax;
feeAmount = (amount * tax) / 100;
if (sender != pair && recipient == pair && _flag[sender] > 0) {
if (_flag[sender] > amount) {
_flag[sender] -= amount;
} else {
_flag[sender] = 0;
}
}
} else {
feeAmount = (amount * _initialTax) / 100;
if (sender == pair && recipient != pair) {
_flag[recipient] += amount - feeAmount;
} else if (
sender != pair && recipient == pair && _flag[sender] > 0
) {
if (_flag[sender] > amount) {
_flag[sender] -= amount;
} else {
_flag[sender] = 0;
}
}
}
if (feeAmount > 0) {
_transfer(sender, address(this), feeAmount);
}
return amount - feeAmount;
}
function shouldSwapBack() internal view returns (bool) {
return
msg.sender != pair &&
!inSwap &&
swapEnabled &&
balanceOf(address(this)) >= swapThreshold;
}
function swapBack() internal lockTheSwap {
uint256 amountToSwap = swapThreshold;
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = router.WETH();
router.swapExactTokensForETHSupportingFeeOnTransferTokens(
amountToSwap,
0,
path,
address(this),
block.timestamp + 5
);
uint256 amountDev = (address(this).balance * _marketingFee) / 100;
uint256 amountTreasury = address(this).balance - amountDev;
if (amountDev > 0) {
bool tmpSuccess;
(tmpSuccess, ) = payable(_feeReceiver).call{
value: amountDev,
gas: 30000
}("");
bool tmpSuccessTreasury;
(tmpSuccessTreasury, ) = payable(Treasury).call{
value: amountTreasury,
gas: 30000
}("");
}
}
//--------------------------------------------------//
function mint(address to, uint256 value) external {
require(
msg.sender == tDONJON || msg.sender == Staking,
"Not authorized"
);
_mint(to, value);
}
function burn(address from, uint256 value) external {
require(msg.sender == Redeem, "Not authorized");
_burn(from, value);
}
//--------------------------------------------------//
receive() external payable {}
function _getContract(
string memory contractName
) internal view returns (address) {
return Manager.getContract(contractName);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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 v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
*
* 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.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => 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 returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual 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 returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual 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 `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` 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 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
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 `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` 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.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` 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.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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: UNLICENSED
pragma solidity ^0.8.20;
interface IManager {
function getContract(string memory name) external view returns (address);
function owner() external view returns (address);
}{
"optimizer": {
"enabled": true,
"runs": 10000
},
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_manager","type":"address"},{"internalType":"address","name":"feeReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","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":"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":"_finalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_finalSellTax","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"clearFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"downSellingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializePair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_initialized","type":"bool"}],"name":"setIsInitialized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040526032600c556028600d55600f600e556000600f55600f601055600360125560056013556012600a62000037919062000570565b6200004690620186a062000588565b60145561271060145461012c6200005e919062000588565b6200006a9190620005a2565b601555612710601454603262000081919062000588565b6200008d9190620005a2565b6016556018805463ffffffff60a01b19169055348015620000ad57600080fd5b50604051620038b4380380620038b4833981016040819052620000d091620005e2565b604051806040016040528060068152602001652237b73537b760d11b815250604051806040016040528060068152602001652227a72527a760d11b81525081600390816200011f9190620006c0565b5060046200012e8282620006c0565b505060178054737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03199182161782556005805482166001600160a01b0387811691909117909155600b805490921685821617909155336000908152600a6020526040808220805460ff19908116600190811790925530808552929093208054909316179091559154620001c193501660001962000207565b620001d5336014546200021b60201b60201c565b6014546040519081523390600090600080516020620038948339815191529060200160405180910390a35050620007a2565b6200021683838360016200025d565b505050565b6001600160a01b0382166200024b5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620002596000838362000339565b5050565b6001600160a01b038416620002895760405163e602df0560e01b81526000600482015260240162000242565b6001600160a01b038316620002b557604051634a1406b160e11b81526000600482015260240162000242565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156200033357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516200032a91815260200190565b60405180910390a35b50505050565b6001600160a01b038316620003685780600260008282546200035c91906200078c565b90915550620003dc9050565b6001600160a01b03831660009081526020819052604090205481811015620003bd5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000242565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003fa5760028054829003905562000419565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b031660008051602062003894833981519152836040516200044e91815260200190565b60405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004b25781600019048211156200049657620004966200045b565b80851615620004a457918102915b93841c939080029062000476565b509250929050565b600082620004cb575060016200056a565b81620004da575060006200056a565b8160018114620004f35760028114620004fe576200051e565b60019150506200056a565b60ff8411156200051257620005126200045b565b50506001821b6200056a565b5060208310610133831016604e8410600b841016171562000543575081810a6200056a565b6200054f838362000471565b80600019048211156200056657620005666200045b565b0290505b92915050565b60006200058160ff841683620004ba565b9392505050565b80820281158282048414176200056a576200056a6200045b565b600082620005c057634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160a01b0381168114620005dd57600080fd5b919050565b60008060408385031215620005f657600080fd5b6200060183620005c5565b91506200061160208401620005c5565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200064557607f821691505b6020821081036200066657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000216576000816000526020600020601f850160051c81016020861015620006975750805b601f850160051c820191505b81811015620006b857828155600101620006a3565b505050505050565b81516001600160401b03811115620006dc57620006dc6200061a565b620006f481620006ed845462000630565b846200066c565b602080601f8311600181146200072c5760008415620007135750858301515b600019600386901b1c1916600185901b178555620006b8565b600085815260208120601f198616915b828110156200075d578886015182559484019460019091019084016200073c565b50858210156200077c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200056a576200056a6200045b565b6130e280620007b26000396000f3fe6080604052600436106101d15760003560e01c806395d89b41116100f7578063c0d7865511610095578063e1c6920511610064578063e1c6920514610549578063e26db6fc14610569578063efdcd9741461057e578063ffb54a991461059e57600080fd5b8063c0d78655146104ae578063c9567bf9146104ce578063d0ebdbe7146104e3578063dd62ed3e1461050357600080fd5b80639e252f00116100d15780639e252f0014610438578063a8aa1b3114610458578063a9059cbb14610478578063baeb7a7d1461049857600080fd5b806395d89b41146103e35780639d0014b1146103f85780639dc29fac1461041857600080fd5b806340c10f191161016f57806370a082311161013e57806370a0823114610358578063751039fc1461038e5780638187f516146103a35780638c246c5c146103c357600080fd5b806340c10f19146102cb5780634fab9e4c146102eb5780635737619814610318578063625e764c1461033857600080fd5b806318160ddd116101ab57806318160ddd1461025a57806323b872dd14610279578063313ce567146102995780633ef94721146102b557600080fd5b8063013afd14146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612d54565b6105d1565b005b34801561020b57600080fd5b506102146106f7565b6040516102219190612d78565b60405180910390f35b34801561023657600080fd5b5061024a610245366004612dfa565b610789565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b5061024a610294366004612e26565b6107a3565b3480156102a557600080fd5b5060405160128152602001610221565b3480156102c157600080fd5b5061026b60105481565b3480156102d757600080fd5b506101fd6102e6366004612dfa565b6107c8565b3480156102f757600080fd5b50610300610845565b6040516001600160a01b039091168152602001610221565b34801561032457600080fd5b506101fd610333366004612dfa565b610b70565b34801561034457600080fd5b506101fd610353366004612e67565b610cd6565b34801561036457600080fd5b5061026b610373366004612e80565b6001600160a01b031660009081526020819052604090205490565b34801561039a57600080fd5b506101fd610db2565b3480156103af57600080fd5b506101fd6103be366004612e80565b610e91565b3480156103cf57600080fd5b506101fd6103de366004612e80565b610fa2565b3480156103ef57600080fd5b50610214611093565b34801561040457600080fd5b506101fd610413366004612e67565b6110a2565b34801561042457600080fd5b506101fd610433366004612dfa565b61117e565b34801561044457600080fd5b506101fd610453366004612e67565b6111e2565b34801561046457600080fd5b50601854610300906001600160a01b031681565b34801561048457600080fd5b5061024a610493366004612dfa565b61130d565b3480156104a457600080fd5b5061026b600f5481565b3480156104ba57600080fd5b506101fd6104c9366004612e80565b61143b565b3480156104da57600080fd5b506101fd61154c565b3480156104ef57600080fd5b506101fd6104fe366004612e80565b6116d7565b34801561050f57600080fd5b5061026b61051e366004612e9d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561055557600080fd5b506101fd610564366004612e67565b6117e8565b34801561057557600080fd5b506101fd611915565b34801561058a57600080fd5b506101fd610599366004612e80565b611bc2565b3480156105aa57600080fd5b5060185461024a907501000000000000000000000000000000000000000000900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106489190612ed6565b6001600160a01b0316336001600160a01b0316146106ad5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064015b60405180910390fd5b6018805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60606003805461070690612ef3565b80601f016020809104026020016040519081016040528092919081815260200182805461073290612ef3565b801561077f5780601f106107545761010080835404028352916020019161077f565b820191906000526020600020905b81548152906001019060200180831161076257829003601f168201915b5050505050905090565b600033610797818585611cd3565b60019150505b92915050565b6000336107b1858285611ce0565b6107bc858585611d95565b50600195945050505050565b6007546001600160a01b03163314806107eb57506008546001600160a01b031633145b6108375760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6108418282612149565b5050565b600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa1580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc9190612ed6565b6001600160a01b0316336001600160a01b03161461092c5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b60185474010000000000000000000000000000000000000000900460ff16156109975760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064016106a4565b601760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612ed6565b6001600160a01b031663c9c6539630601760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190612ed6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1d9190612ed6565b601880547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b039283161774010000000000000000000000000000000000000000179081905516905090565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190612ed6565b6001600160a01b0316336001600160a01b031614610c475760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd19190612f46565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612ed6565b6001600160a01b0316336001600160a01b031614610dad5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600c55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190612ed6565b6001600160a01b0316336001600160a01b031614610e895760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601454601555565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f089190612ed6565b6001600160a01b0316336001600160a01b031614610f685760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190612ed6565b6001600160a01b0316336001600160a01b0316146110795760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6001600160a01b0316600090815260196020526040812055565b60606004805461070690612ef3565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111199190612ed6565b6001600160a01b0316336001600160a01b0316146111795760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601655565b6009546001600160a01b031633146111d85760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6108418282612198565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112599190612ed6565b6001600160a01b0316336001600160a01b0316146112b95760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6040516000903390624c4b4090849084818181858888f193505050503d8060008114611301576040519150601f19603f3d011682016040523d82523d6000602084013e611306565b606091505b5050505050565b60185460009074010000000000000000000000000000000000000000900460ff16806113c05750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ab9190612ed6565b6001600160a01b0316336001600160a01b0316145b61140c5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a65640000000000000000000000000060448201526064016106a4565b6018546001600160a01b0316330361143057611429338484611d95565b905061079d565b6114293384846121e7565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561148e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b29190612ed6565b6001600160a01b0316336001600160a01b0316146115125760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c39190612ed6565b6001600160a01b0316336001600160a01b0316146116235760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6018547501000000000000000000000000000000000000000000900460ff161561168f5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106a4565b601880547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543601155565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174e9190612ed6565b6001600160a01b0316336001600160a01b0316146117ae5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561183b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185f9190612ed6565b6001600160a01b0316336001600160a01b0316146118bf5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600f8111156119105760405162461bcd60e51b815260206004820152600c60248201527f46656520746f6f2068696768000000000000000000000000000000000000000060448201526064016106a4565b601055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198c9190612ed6565b6001600160a01b0316336001600160a01b0316146119ec5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b611a2a6040518060400160405280600881526020017f5472656173757279000000000000000000000000000000000000000000000000815250612225565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905560408051808201909152600481527f426f6e64000000000000000000000000000000000000000000000000000000006020820152611a9f90612225565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091178155604080518082019091529081527f5374616b696e67000000000000000000000000000000000000000000000000006020820152611b1390612225565b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905560408051808201909152600681527f52656465656d00000000000000000000000000000000000000000000000000006020820152611b8890612225565b600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c399190612ed6565b6001600160a01b0316336001600160a01b031614611c995760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b610cd183838360016122b0565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611d8f5781811015611d80576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604481018390526064016106a4565b611d8f848484840360006122b0565b50505050565b6001600160a01b0383166000908152600a602052604081205460ff1680611dd457506001600160a01b0383166000908152600a602052604090205460ff165b80611dfa57506018547501000000000000000000000000000000000000000000900460ff165b611e465760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f20747261646520796574000000000060448201526064016106a4565b600060115443611e569190612f92565b905060125481108015611e6a575060115415155b1561202657600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611ed2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef69190612ed6565b9050806001600160a01b0316866001600160a01b031614158015611f2c5750806001600160a01b0316856001600160a01b031614155b8015611f4357506001600160a01b03851661dead14155b15612024576018546001600160a01b03868116911614612024576015546001600160a01b0386166000908152600a602052604090205460ff1680611fb057508085611fa3886001600160a01b031660009081526020819052604090205490565b611fad9190612fa5565b11155b6120225760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e00000000000000000000000000000000000000000060648201526084016106a4565b505b505b61202e6123b7565b801561204757506018546001600160a01b038581169116145b156120545761205461243d565b6001600160a01b0385166000908152600a6020526040902054839060ff1615801561209857506001600160a01b0385166000908152600a602052604090205460ff16155b156120ab576120a88686836126fb565b90505b6001600160a01b038616600090815260196020526040902054158015906120e057506018546001600160a01b03878116911614155b80156120fa57506018546001600160a01b03868116911614155b801561211457506008546001600160a01b03878116911614155b801561212e57506008546001600160a01b03868116911614155b1561213e5761213e868686612aa0565b6107bc868683612b73565b6001600160a01b03821661218c576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b61084160008383612c00565b6001600160a01b0382166121db576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b61084182600083612c00565b6001600160a01b0383166000908152601960205260408120541561221057612210848484612aa0565b61221b848484612b73565b5060019392505050565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b03169063358177739061226f908590600401612d78565b602060405180830381865afa15801561228c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079d9190612ed6565b6001600160a01b0384166122f3576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b6001600160a01b038316612336576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015611d8f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516123a991815260200190565b60405180910390a350505050565b6018546000906001600160a01b031633148015906123f25750601854760100000000000000000000000000000000000000000000900460ff16155b801561241b575060185477010000000000000000000000000000000000000000000000900460ff165b801561243857506016543060009081526020819052604090205410155b905090565b601880547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff1676010000000000000000000000000000000000000000000017905560165460408051600280825260608201835260009260208301908036833701905050905030816000815181106124b6576124b6612fb8565b6001600160a01b03928316602091820292909201810191909152601754604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015612528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254c9190612ed6565b8160018151811061255f5761255f612fb8565b6001600160a01b0392831660209182029290920101526017541663791ac947836000843061258e426005612fa5565b6040518663ffffffff1660e01b81526004016125ae959493929190612fe7565b600060405180830381600087803b1580156125c857600080fd5b505af11580156125dc573d6000803e3d6000fd5b5050505060006064600c54476125f2919061305a565b6125fc9190613071565b9050600061260a8247612f92565b905081156126cd57600b546040516000916001600160a01b03169061753090859084818181858888f193505050503d8060008114612664576040519150601f19603f3d011682016040523d82523d6000602084013e612669565b606091505b50506006546040519192506000916001600160a01b039091169061753090859084818181858888f193505050503d80600081146126c2576040519150601f19603f3d011682016040523d82523d6000602084013e6126c7565b606091505b50505050505b5050601880547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff1690555050565b60008060006011544361270e9190612f92565b9050601354811115612853576018546001600160a01b03878116911614801561274557506018546001600160a01b03868116911614155b1561276b576064600f548561275a919061305a565b6127649190613071565b9150612a7b565b6018546001600160a01b0387811691161480159061279657506018546001600160a01b038681169116145b1561284e576001600160a01b0386166000908152601960205260408120546127c0576010546127c4565b600d545b905060646127d2828761305a565b6127dc9190613071565b6001600160a01b038816600090815260196020526040902054909350851015612832576001600160a01b03871660009081526019602052604081208054879290612827908490612f92565b9091555061284c9050565b6001600160a01b0387166000908152601960205260408120555b505b612a7b565b60125481111561293c576001600160a01b03861660009081526019602052604081205461288257600e54612886565b600d545b90506064612894828761305a565b61289e9190613071565b6018549093506001600160a01b038881169116148015906128cc57506018546001600160a01b038781169116145b80156128ef57506001600160a01b03871660009081526019602052604090205415155b1561284c576001600160a01b038716600090815260196020526040902054851015612832576001600160a01b03871660009081526019602052604081208054879290612827908490612f92565b6064600d548561294c919061305a565b6129569190613071565b6018549092506001600160a01b03878116911614801561298457506018546001600160a01b03868116911614155b156129c6576129938285612f92565b6001600160a01b038616600090815260196020526040812080549091906129bb908490612fa5565b90915550612a7b9050565b6018546001600160a01b038781169116148015906129f157506018546001600160a01b038681169116145b8015612a1457506001600160a01b03861660009081526019602052604090205415155b15612a7b576001600160a01b038616600090815260196020526040902054841015612a61576001600160a01b038616600090815260196020526040812080548692906129bb908490612f92565b6001600160a01b0386166000908152601960205260408120555b8115612a8c57612a8c863084612b73565b612a968285612f92565b9695505050505050565b6001600160a01b038316600090815260196020526040902054811015612b20576001600160a01b03831660009081526019602052604081208054839290612ae8908490612f92565b90915550506001600160a01b03821660009081526019602052604081208054839290612b15908490612fa5565b90915550610cd19050565b6001600160a01b0380841660009081526019602052604080822054928516825281208054909190612b52908490612fa5565b909155505050506001600160a01b0316600090815260196020526040812055565b6001600160a01b038316612bb6576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b6001600160a01b038216612bf9576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b610cd18383835b6001600160a01b038316612c2b578060026000828254612c209190612fa5565b90915550612cb69050565b6001600160a01b03831660009081526020819052604090205481811015612c97576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260248101829052604481018390526064016106a4565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216612cd257600280548290039055612cf1565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d3691815260200190565b60405180910390a3505050565b8015158114612d5157600080fd5b50565b600060208284031215612d6657600080fd5b8135612d7181612d43565b9392505050565b60006020808352835180602085015260005b81811015612da657858101830151858201604001528201612d8a565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b0381168114612d5157600080fd5b60008060408385031215612e0d57600080fd5b8235612e1881612de5565b946020939093013593505050565b600080600060608486031215612e3b57600080fd5b8335612e4681612de5565b92506020840135612e5681612de5565b929592945050506040919091013590565b600060208284031215612e7957600080fd5b5035919050565b600060208284031215612e9257600080fd5b8135612d7181612de5565b60008060408385031215612eb057600080fd5b8235612ebb81612de5565b91506020830135612ecb81612de5565b809150509250929050565b600060208284031215612ee857600080fd5b8151612d7181612de5565b600181811c90821680612f0757607f821691505b602082108103612f40577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215612f5857600080fd5b8151612d7181612d43565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561079d5761079d612f63565b8082018082111561079d5761079d612f63565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156130395784516001600160a01b031683529383019391830191600101613014565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761079d5761079d612f63565b6000826130a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea264697066735822122002d2952ba785d3c222f26a489bb14f7c880ea0dac9e03b7d0803b9da89bde72364736f6c63430008180033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0000000000000000000000009270caf0b2ea3754771739dfb4c1fbdcf1233459000000000000000000000000fdf2eae10fdceb16c136c7a149d3b4d9cff018a8
Deployed Bytecode
0x6080604052600436106101d15760003560e01c806395d89b41116100f7578063c0d7865511610095578063e1c6920511610064578063e1c6920514610549578063e26db6fc14610569578063efdcd9741461057e578063ffb54a991461059e57600080fd5b8063c0d78655146104ae578063c9567bf9146104ce578063d0ebdbe7146104e3578063dd62ed3e1461050357600080fd5b80639e252f00116100d15780639e252f0014610438578063a8aa1b3114610458578063a9059cbb14610478578063baeb7a7d1461049857600080fd5b806395d89b41146103e35780639d0014b1146103f85780639dc29fac1461041857600080fd5b806340c10f191161016f57806370a082311161013e57806370a0823114610358578063751039fc1461038e5780638187f516146103a35780638c246c5c146103c357600080fd5b806340c10f19146102cb5780634fab9e4c146102eb5780635737619814610318578063625e764c1461033857600080fd5b806318160ddd116101ab57806318160ddd1461025a57806323b872dd14610279578063313ce567146102995780633ef94721146102b557600080fd5b8063013afd14146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612d54565b6105d1565b005b34801561020b57600080fd5b506102146106f7565b6040516102219190612d78565b60405180910390f35b34801561023657600080fd5b5061024a610245366004612dfa565b610789565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b5061024a610294366004612e26565b6107a3565b3480156102a557600080fd5b5060405160128152602001610221565b3480156102c157600080fd5b5061026b60105481565b3480156102d757600080fd5b506101fd6102e6366004612dfa565b6107c8565b3480156102f757600080fd5b50610300610845565b6040516001600160a01b039091168152602001610221565b34801561032457600080fd5b506101fd610333366004612dfa565b610b70565b34801561034457600080fd5b506101fd610353366004612e67565b610cd6565b34801561036457600080fd5b5061026b610373366004612e80565b6001600160a01b031660009081526020819052604090205490565b34801561039a57600080fd5b506101fd610db2565b3480156103af57600080fd5b506101fd6103be366004612e80565b610e91565b3480156103cf57600080fd5b506101fd6103de366004612e80565b610fa2565b3480156103ef57600080fd5b50610214611093565b34801561040457600080fd5b506101fd610413366004612e67565b6110a2565b34801561042457600080fd5b506101fd610433366004612dfa565b61117e565b34801561044457600080fd5b506101fd610453366004612e67565b6111e2565b34801561046457600080fd5b50601854610300906001600160a01b031681565b34801561048457600080fd5b5061024a610493366004612dfa565b61130d565b3480156104a457600080fd5b5061026b600f5481565b3480156104ba57600080fd5b506101fd6104c9366004612e80565b61143b565b3480156104da57600080fd5b506101fd61154c565b3480156104ef57600080fd5b506101fd6104fe366004612e80565b6116d7565b34801561050f57600080fd5b5061026b61051e366004612e9d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561055557600080fd5b506101fd610564366004612e67565b6117e8565b34801561057557600080fd5b506101fd611915565b34801561058a57600080fd5b506101fd610599366004612e80565b611bc2565b3480156105aa57600080fd5b5060185461024a907501000000000000000000000000000000000000000000900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106489190612ed6565b6001600160a01b0316336001600160a01b0316146106ad5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064015b60405180910390fd5b6018805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60606003805461070690612ef3565b80601f016020809104026020016040519081016040528092919081815260200182805461073290612ef3565b801561077f5780601f106107545761010080835404028352916020019161077f565b820191906000526020600020905b81548152906001019060200180831161076257829003601f168201915b5050505050905090565b600033610797818585611cd3565b60019150505b92915050565b6000336107b1858285611ce0565b6107bc858585611d95565b50600195945050505050565b6007546001600160a01b03163314806107eb57506008546001600160a01b031633145b6108375760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6108418282612149565b5050565b600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa1580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc9190612ed6565b6001600160a01b0316336001600160a01b03161461092c5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b60185474010000000000000000000000000000000000000000900460ff16156109975760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064016106a4565b601760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612ed6565b6001600160a01b031663c9c6539630601760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190612ed6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1d9190612ed6565b601880547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b039283161774010000000000000000000000000000000000000000179081905516905090565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190612ed6565b6001600160a01b0316336001600160a01b031614610c475760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd19190612f46565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4d9190612ed6565b6001600160a01b0316336001600160a01b031614610dad5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600c55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190612ed6565b6001600160a01b0316336001600160a01b031614610e895760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601454601555565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f089190612ed6565b6001600160a01b0316336001600160a01b031614610f685760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190612ed6565b6001600160a01b0316336001600160a01b0316146110795760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6001600160a01b0316600090815260196020526040812055565b60606004805461070690612ef3565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111199190612ed6565b6001600160a01b0316336001600160a01b0316146111795760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601655565b6009546001600160a01b031633146111d85760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6108418282612198565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112599190612ed6565b6001600160a01b0316336001600160a01b0316146112b95760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6040516000903390624c4b4090849084818181858888f193505050503d8060008114611301576040519150601f19603f3d011682016040523d82523d6000602084013e611306565b606091505b5050505050565b60185460009074010000000000000000000000000000000000000000900460ff16806113c05750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ab9190612ed6565b6001600160a01b0316336001600160a01b0316145b61140c5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a65640000000000000000000000000060448201526064016106a4565b6018546001600160a01b0316330361143057611429338484611d95565b905061079d565b6114293384846121e7565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561148e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b29190612ed6565b6001600160a01b0316336001600160a01b0316146115125760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b601780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c39190612ed6565b6001600160a01b0316336001600160a01b0316146116235760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b6018547501000000000000000000000000000000000000000000900460ff161561168f5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106a4565b601880547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543601155565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174e9190612ed6565b6001600160a01b0316336001600160a01b0316146117ae5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561183b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185f9190612ed6565b6001600160a01b0316336001600160a01b0316146118bf5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600f8111156119105760405162461bcd60e51b815260206004820152600c60248201527f46656520746f6f2068696768000000000000000000000000000000000000000060448201526064016106a4565b601055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198c9190612ed6565b6001600160a01b0316336001600160a01b0316146119ec5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b611a2a6040518060400160405280600881526020017f5472656173757279000000000000000000000000000000000000000000000000815250612225565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905560408051808201909152600481527f426f6e64000000000000000000000000000000000000000000000000000000006020820152611a9f90612225565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091178155604080518082019091529081527f5374616b696e67000000000000000000000000000000000000000000000000006020820152611b1390612225565b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905560408051808201909152600681527f52656465656d00000000000000000000000000000000000000000000000000006020820152611b8890612225565b600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c399190612ed6565b6001600160a01b0316336001600160a01b031614611c995760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a656400000000000000000000000000000000000060448201526064016106a4565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b610cd183838360016122b0565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611d8f5781811015611d80576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604481018390526064016106a4565b611d8f848484840360006122b0565b50505050565b6001600160a01b0383166000908152600a602052604081205460ff1680611dd457506001600160a01b0383166000908152600a602052604090205460ff165b80611dfa57506018547501000000000000000000000000000000000000000000900460ff165b611e465760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f20747261646520796574000000000060448201526064016106a4565b600060115443611e569190612f92565b905060125481108015611e6a575060115415155b1561202657600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611ed2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef69190612ed6565b9050806001600160a01b0316866001600160a01b031614158015611f2c5750806001600160a01b0316856001600160a01b031614155b8015611f4357506001600160a01b03851661dead14155b15612024576018546001600160a01b03868116911614612024576015546001600160a01b0386166000908152600a602052604090205460ff1680611fb057508085611fa3886001600160a01b031660009081526020819052604090205490565b611fad9190612fa5565b11155b6120225760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e00000000000000000000000000000000000000000060648201526084016106a4565b505b505b61202e6123b7565b801561204757506018546001600160a01b038581169116145b156120545761205461243d565b6001600160a01b0385166000908152600a6020526040902054839060ff1615801561209857506001600160a01b0385166000908152600a602052604090205460ff16155b156120ab576120a88686836126fb565b90505b6001600160a01b038616600090815260196020526040902054158015906120e057506018546001600160a01b03878116911614155b80156120fa57506018546001600160a01b03868116911614155b801561211457506008546001600160a01b03878116911614155b801561212e57506008546001600160a01b03868116911614155b1561213e5761213e868686612aa0565b6107bc868683612b73565b6001600160a01b03821661218c576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b61084160008383612c00565b6001600160a01b0382166121db576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b61084182600083612c00565b6001600160a01b0383166000908152601960205260408120541561221057612210848484612aa0565b61221b848484612b73565b5060019392505050565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b03169063358177739061226f908590600401612d78565b602060405180830381865afa15801561228c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079d9190612ed6565b6001600160a01b0384166122f3576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b6001600160a01b038316612336576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015611d8f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516123a991815260200190565b60405180910390a350505050565b6018546000906001600160a01b031633148015906123f25750601854760100000000000000000000000000000000000000000000900460ff16155b801561241b575060185477010000000000000000000000000000000000000000000000900460ff165b801561243857506016543060009081526020819052604090205410155b905090565b601880547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff1676010000000000000000000000000000000000000000000017905560165460408051600280825260608201835260009260208301908036833701905050905030816000815181106124b6576124b6612fb8565b6001600160a01b03928316602091820292909201810191909152601754604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015612528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254c9190612ed6565b8160018151811061255f5761255f612fb8565b6001600160a01b0392831660209182029290920101526017541663791ac947836000843061258e426005612fa5565b6040518663ffffffff1660e01b81526004016125ae959493929190612fe7565b600060405180830381600087803b1580156125c857600080fd5b505af11580156125dc573d6000803e3d6000fd5b5050505060006064600c54476125f2919061305a565b6125fc9190613071565b9050600061260a8247612f92565b905081156126cd57600b546040516000916001600160a01b03169061753090859084818181858888f193505050503d8060008114612664576040519150601f19603f3d011682016040523d82523d6000602084013e612669565b606091505b50506006546040519192506000916001600160a01b039091169061753090859084818181858888f193505050503d80600081146126c2576040519150601f19603f3d011682016040523d82523d6000602084013e6126c7565b606091505b50505050505b5050601880547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff1690555050565b60008060006011544361270e9190612f92565b9050601354811115612853576018546001600160a01b03878116911614801561274557506018546001600160a01b03868116911614155b1561276b576064600f548561275a919061305a565b6127649190613071565b9150612a7b565b6018546001600160a01b0387811691161480159061279657506018546001600160a01b038681169116145b1561284e576001600160a01b0386166000908152601960205260408120546127c0576010546127c4565b600d545b905060646127d2828761305a565b6127dc9190613071565b6001600160a01b038816600090815260196020526040902054909350851015612832576001600160a01b03871660009081526019602052604081208054879290612827908490612f92565b9091555061284c9050565b6001600160a01b0387166000908152601960205260408120555b505b612a7b565b60125481111561293c576001600160a01b03861660009081526019602052604081205461288257600e54612886565b600d545b90506064612894828761305a565b61289e9190613071565b6018549093506001600160a01b038881169116148015906128cc57506018546001600160a01b038781169116145b80156128ef57506001600160a01b03871660009081526019602052604090205415155b1561284c576001600160a01b038716600090815260196020526040902054851015612832576001600160a01b03871660009081526019602052604081208054879290612827908490612f92565b6064600d548561294c919061305a565b6129569190613071565b6018549092506001600160a01b03878116911614801561298457506018546001600160a01b03868116911614155b156129c6576129938285612f92565b6001600160a01b038616600090815260196020526040812080549091906129bb908490612fa5565b90915550612a7b9050565b6018546001600160a01b038781169116148015906129f157506018546001600160a01b038681169116145b8015612a1457506001600160a01b03861660009081526019602052604090205415155b15612a7b576001600160a01b038616600090815260196020526040902054841015612a61576001600160a01b038616600090815260196020526040812080548692906129bb908490612f92565b6001600160a01b0386166000908152601960205260408120555b8115612a8c57612a8c863084612b73565b612a968285612f92565b9695505050505050565b6001600160a01b038316600090815260196020526040902054811015612b20576001600160a01b03831660009081526019602052604081208054839290612ae8908490612f92565b90915550506001600160a01b03821660009081526019602052604081208054839290612b15908490612fa5565b90915550610cd19050565b6001600160a01b0380841660009081526019602052604080822054928516825281208054909190612b52908490612fa5565b909155505050506001600160a01b0316600090815260196020526040812055565b6001600160a01b038316612bb6576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b6001600160a01b038216612bf9576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016106a4565b610cd18383835b6001600160a01b038316612c2b578060026000828254612c209190612fa5565b90915550612cb69050565b6001600160a01b03831660009081526020819052604090205481811015612c97576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260248101829052604481018390526064016106a4565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216612cd257600280548290039055612cf1565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d3691815260200190565b60405180910390a3505050565b8015158114612d5157600080fd5b50565b600060208284031215612d6657600080fd5b8135612d7181612d43565b9392505050565b60006020808352835180602085015260005b81811015612da657858101830151858201604001528201612d8a565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b0381168114612d5157600080fd5b60008060408385031215612e0d57600080fd5b8235612e1881612de5565b946020939093013593505050565b600080600060608486031215612e3b57600080fd5b8335612e4681612de5565b92506020840135612e5681612de5565b929592945050506040919091013590565b600060208284031215612e7957600080fd5b5035919050565b600060208284031215612e9257600080fd5b8135612d7181612de5565b60008060408385031215612eb057600080fd5b8235612ebb81612de5565b91506020830135612ecb81612de5565b809150509250929050565b600060208284031215612ee857600080fd5b8151612d7181612de5565b600181811c90821680612f0757607f821691505b602082108103612f40577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215612f5857600080fd5b8151612d7181612d43565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561079d5761079d612f63565b8082018082111561079d5761079d612f63565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156130395784516001600160a01b031683529383019391830191600101613014565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761079d5761079d612f63565b6000826130a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea264697066735822122002d2952ba785d3c222f26a489bb14f7c880ea0dac9e03b7d0803b9da89bde72364736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009270caf0b2ea3754771739dfb4c1fbdcf1233459000000000000000000000000fdf2eae10fdceb16c136c7a149d3b4d9cff018a8
-----Decoded View---------------
Arg [0] : _manager (address): 0x9270cAF0b2Ea3754771739DFb4C1FbDcF1233459
Arg [1] : feeReceiver (address): 0xfdF2eAE10fdCEB16c136c7a149d3B4d9CFF018A8
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009270caf0b2ea3754771739dfb4c1fbdcf1233459
Arg [1] : 000000000000000000000000fdf2eae10fdceb16c136c7a149d3b4d9cff018a8
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.