Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 178 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18784610 | 322 days ago | IN | 0 ETH | 0.00106102 | ||||
Approve | 18397352 | 376 days ago | IN | 0 ETH | 0.0003063 | ||||
Approve | 18188002 | 405 days ago | IN | 0 ETH | 0.00034942 | ||||
Approve | 18133884 | 413 days ago | IN | 0 ETH | 0.00055962 | ||||
Transfer | 18057541 | 423 days ago | IN | 0 ETH | 0.00081997 | ||||
Approve | 18057526 | 423 days ago | IN | 0 ETH | 0.00064651 | ||||
Approve | 18041202 | 426 days ago | IN | 0 ETH | 0.00037582 | ||||
Approve | 18037690 | 426 days ago | IN | 0 ETH | 0.00050785 | ||||
Approve | 18037582 | 426 days ago | IN | 0 ETH | 0.00097087 | ||||
Approve | 17999933 | 432 days ago | IN | 0 ETH | 0.00079597 | ||||
Approve | 17985241 | 434 days ago | IN | 0 ETH | 0.00118566 | ||||
Approve | 17981855 | 434 days ago | IN | 0 ETH | 0.00093663 | ||||
Approve | 17981587 | 434 days ago | IN | 0 ETH | 0.00061453 | ||||
Approve | 17981285 | 434 days ago | IN | 0 ETH | 0.00060698 | ||||
Approve | 17980922 | 434 days ago | IN | 0 ETH | 0.0007955 | ||||
Approve | 17980571 | 434 days ago | IN | 0 ETH | 0.00087065 | ||||
Approve | 17980433 | 434 days ago | IN | 0 ETH | 0.00048717 | ||||
Approve | 17980427 | 434 days ago | IN | 0 ETH | 0.00084544 | ||||
Approve | 17980402 | 434 days ago | IN | 0 ETH | 0.00065438 | ||||
Approve | 17978961 | 434 days ago | IN | 0 ETH | 0.00130012 | ||||
Approve | 17978377 | 435 days ago | IN | 0 ETH | 0.0007548 | ||||
Approve | 17978370 | 435 days ago | IN | 0 ETH | 0.00075754 | ||||
Approve | 17978363 | 435 days ago | IN | 0 ETH | 0.00072932 | ||||
Approve | 17978360 | 435 days ago | IN | 0 ETH | 0.00074243 | ||||
Approve | 17978344 | 435 days ago | IN | 0 ETH | 0.00116773 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18057536 | 423 days ago | 0.00514171 ETH | ||||
18057536 | 423 days ago | 0.01799599 ETH | ||||
18057536 | 423 days ago | 0.00257085 ETH | ||||
18057536 | 423 days ago | 0.02570855 ETH | ||||
18057529 | 423 days ago | 0.00514171 ETH | ||||
18057529 | 423 days ago | 0.01799599 ETH | ||||
18057529 | 423 days ago | 0.00257085 ETH | ||||
18057529 | 423 days ago | 0.02570855 ETH | ||||
18037579 | 426 days ago | 0.00367446 ETH | ||||
18037579 | 426 days ago | 0.01286063 ETH | ||||
18037579 | 426 days ago | 0.00183723 ETH | ||||
18037579 | 426 days ago | 0.01837232 ETH | ||||
17980930 | 434 days ago | 0.00570301 ETH | ||||
17980930 | 434 days ago | 0.01996055 ETH | ||||
17980930 | 434 days ago | 0.0028515 ETH | ||||
17980930 | 434 days ago | 0.02851508 ETH | ||||
17979044 | 434 days ago | 0.00616327 ETH | ||||
17979044 | 434 days ago | 0.02157146 ETH | ||||
17979044 | 434 days ago | 0.00308163 ETH | ||||
17979044 | 434 days ago | 0.03081637 ETH | ||||
17978019 | 435 days ago | 0.00632631 ETH | ||||
17978019 | 435 days ago | 0.02214209 ETH | ||||
17978019 | 435 days ago | 0.00316315 ETH | ||||
17978019 | 435 days ago | 0.03163155 ETH | ||||
17976693 | 435 days ago | 0.01699681 ETH |
Loading...
Loading
Contract Name:
QuantumWealthAcceleratorTokenNonRebase
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.19; pragma experimental ABIEncoderV2; import "../interface/IQWAFee.sol"; import "../interface/factory/IQWAFactory.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IUniswapV3Router { struct ExactInputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; uint160 sqrtPriceLimitX96; } function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut); } interface IWETH { function deposit() external payable; function withdraw(uint) external; } /// @title QuantumWealthAcceleratorToken /// @notice Quantum Wealth Accelerator Token contract QuantumWealthAcceleratorTokenNonRebase is ERC20, Ownable { /// STATE VARIABLES /// /// @notice Address of UniswapV2Router IUniswapV2Router02 private immutable uniswapV2Router; /// @notice Address of QWN/ETH LP address public immutable uniswapV2Pair; /// @notice Address of UniswapV3Router address private immutable uniswapV3Router; /// @notice WETH address address private immutable WETH; /// @notice Address of Treasury address public treasury; /// @notice Address QWA Factory address address private QWAFactory; /// @notice Address of staking where rev share fees go address public staking; bool private swapping; /// @notice Current percent of supply to swap tokens at (i.e. 50 = 0.05%) uint256 private swapPercent; /// @notice Current total fees uint256 public totalFees; /// @notice Current backing fee uint256 public backingFee; /// @notice Current liquidity fee uint256 public liquidityFee; /// @notice Current rev share fee uint256 public revFee; /// @notice 1% QWA fee uint256 public constant QWA_FEE = 100; /// @notice Current team fee uint256 public teamFee; /// @notice Backing token addresses address[] public backingTokens; /// @notice Backing token V3 pool fee to swap (if 0 - v2) uint24[] private backingTokensV3Fee; /// @notice Current tokens going for backing uint256 public tokensForBacking; /// @notice Current tokens going for liquidity uint256 public tokensForLiquidity; /// @notice Current tokens going for team uint256 public tokensForTeam; /// @notice Current tokens going towards fee uint256 public tokensForFee; /// @notice Current tokens going rev share uint256 public tokensForRev; uint256 private immutable blockDeployed; uint256 private backingSwapping; /// MAPPINGS /// /// @dev Bool if address is excluded from fees mapping(address => bool) private _isExcludedFromFees; /// @notice Bool if address is AMM pair mapping(address => bool) public automatedMarketMakerPairs; /// EVENTS /// event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); /// CONSTRUCTOR /// constructor( address[] memory _backingTokens, uint24[] memory _backingTokensV3Fee, uint256 _supply, string memory _name, string memory _symbol ) ERC20(_name, _symbol) { blockDeployed = block.number; QWAFactory = msg.sender; WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; backingTokens = _backingTokens; backingTokensV3Fee = _backingTokensV3Fee; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _approve(address(this), address(_uniswapV2Router), type(uint256).max); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), WETH); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uniswapV3Router = 0xE592427A0AEce92De3Edee1F18E0157C05861564; swapPercent = 250; // 0.25% revFee = 100; liquidityFee = 100; backingFee = 100; teamFee = 100; totalFees = 500; // exclude from paying fees _isExcludedFromFees[msg.sender] = true; _isExcludedFromFees[address(this)] = true; _mint(msg.sender, _supply); } /// RECEIVE /// receive() external payable {} /// AMM PAIR /// /// @notice Sets if address is AMM pair /// @param pair Address of pair /// @param value Bool if AMM pair function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair); _setAutomatedMarketMakerPair(pair, value); } /// @dev Internal function to set `vlaue` of `pair` function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } /// INTERNAL TRANSFER /// /// @dev Internal function to burn `amount` from `account` function _burnFrom(address account, uint256 amount) internal { uint256 decreasedAllowance_ = allowance(account, msg.sender) - amount; _approve(account, msg.sender, decreasedAllowance_); _burn(account, amount); } /// @dev Internal function to transfer - handles fee logic function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } (bool _limits, uint256 _maxWallet, uint256 _taxMultiplier) = limits(); if (_limits) { if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) { //when buy if (automatedMarketMakerPairs[from]) { require(amount + balanceOf(to) <= _maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount(); if ( canSwap && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on buy or sell if ((automatedMarketMakerPairs[from] || automatedMarketMakerPairs[to]) && totalFees > 0) { fees = (amount * totalFees) / 10000; if (_limits) fees = fees * _taxMultiplier; if (IQWAFactory(QWAFactory).feeDiscount(tx.origin)) fees = (fees * 3) / 4; tokensForLiquidity += (fees * liquidityFee) / totalFees; tokensForTeam += (fees * teamFee) / totalFees; tokensForBacking += (fees * backingFee) / totalFees; tokensForFee += (fees * QWA_FEE) / totalFees; tokensForRev += (fees * revFee) / totalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } /// VIEW FUNCTION /// /// @notice Returns decimals for QWA (9) function decimals() public view virtual override returns (uint8) { return 9; } /// @notice Returns if address is excluded from fees function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } /// @notice Returns at what percent of supply to swap tokens at function swapTokensAtAmount() public view returns (uint256 amount_) { amount_ = (totalSupply() * swapPercent) / 100000; } /// @dev Returns limits if limit in effect function limits() public view returns (bool limits_, uint256 maxAmount_, uint256 taxMultiplier_) { if (block.number > blockDeployed) return (false, 0, 0); limits_ = true; maxAmount_ = (totalSupply() * 5) / 1000; // 0.5% max during block 0 - 10 if (block.number <= blockDeployed + 3) taxMultiplier_ = 6; // 30% tax blocks 0 - 3 else if (block.number <= blockDeployed + 6) taxMultiplier_ = 4; // 20% tax blocks 4 - 7 else taxMultiplier_ = 2; // 10% tax blocks 7 - 10 } /// USER FUNCTIONS /// /// @notice Burn QWA /// @param account Address to burn QWA from /// @param amount Amount to QWA to burn function burnFrom(address account, uint256 amount) external { _burnFrom(account, amount); } /// @notice Burn QWA /// @param amount Amount to QWA to burn function burn(uint256 amount) external { _burn(msg.sender, amount); } /// PRIVATE FUNCTIONS /// /// @dev PRIVATE function to swap `ethTokenAmount` for ETH /// @dev Invoked in `swapBack()` function swapTokens( uint256 ethTokenAmount, uint256 totalTokensToSwap ) private returns (uint256 ethBalance_, uint256 ethForBacking_) { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( ethTokenAmount, 0, path, address(this), block.timestamp ); ethBalance_ = address(this).balance; ethForBacking_ = (ethBalance_ * tokensForBacking) / (totalTokensToSwap - tokensForLiquidity / 2); address backingToken = backingTokens[backingSwapping]; if (backingToken == WETH) { IWETH(WETH).deposit{value: ethForBacking_}(); IERC20(WETH).transfer(treasury, ethForBacking_); } else { if (backingTokensV3Fee[backingSwapping] == 0) { path[0] = WETH; path[1] = backingToken; uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethForBacking_}( 0, path, treasury, block.timestamp ); } else { IUniswapV3Router.ExactInputSingleParams memory params = IUniswapV3Router.ExactInputSingleParams({ tokenIn: WETH, tokenOut: backingToken, fee: backingTokensV3Fee[backingSwapping], recipient: treasury, deadline: block.timestamp, amountIn: ethForBacking_, amountOutMinimum: 0, sqrtPriceLimitX96: 0 }); IUniswapV3Router(uniswapV3Router).exactInputSingle{value: ethForBacking_}(params); } } if (backingSwapping == backingTokens.length - 1) backingSwapping = 0; else ++backingSwapping; } /// @dev PRIVATE function to add `tokenAmount` and `ethAmount` to LP /// @dev Invoked in `swapBack()` function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this), tokenAmount, 0, 0, treasury, block.timestamp); } /// SWAP /// /// @dev Function to transfer fees properly /// @dev Invoked in `_transfer()` function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForBacking + tokensForTeam + tokensForRev + tokensForFee; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance - liquidityTokens; (uint256 ethBalance, uint256 ethForBacking) = swapTokens(amountToSwapForETH, totalTokensToSwap); uint256 ethForTeam = (ethBalance * tokensForTeam) / (totalTokensToSwap - tokensForLiquidity / 2); uint256 ethForFee = (ethBalance * tokensForFee) / (totalTokensToSwap - tokensForLiquidity / 2); uint256 ethForRev = (ethBalance * tokensForRev) / (totalTokensToSwap - tokensForLiquidity / 2); uint256 ethForLiquidity = ethBalance - ethForTeam - ethForFee - ethForRev - ethForBacking; tokensForLiquidity = 0; tokensForBacking = 0; tokensForTeam = 0; tokensForFee = 0; tokensForRev = 0; (success, ) = address(owner()).call{value: ethForTeam}(""); (success, ) = address(staking).call{value: ethForRev}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); } address feeAddress = IQWAFactory(QWAFactory).feeAddress(); (success, ) = address(feeAddress).call{value: address(this).balance}(""); IQWAFee(feeAddress).convertFees(); } /// OWNER FUNCTIONS /// /// @notice Set address of treasury function setTreasuryAndStaking(address _treasury, address _staking) external onlyOwner { require(treasury == address(0)); treasury = _treasury; staking = _staking; excludeFromFees(_treasury, true); } /// @notice Update percent of supply to swap tokens at function updateSwapTokensAtPercent(uint256 newPercent) external onlyOwner { require(newPercent >= 1, "Can not be < 0.001%"); require(newPercent <= 500, "Can not be > 0.50%"); swapPercent = newPercent; } /// @notice Update fees function updateFees( uint256 _backingFee, uint256 _liquidityFee, uint256 _teamFee, uint256 _revFee ) external onlyOwner { backingFee = _backingFee; liquidityFee = _liquidityFee; teamFee = _teamFee; revFee = _revFee; totalFees = backingFee + liquidityFee + teamFee + QWA_FEE + revFee; require(teamFee <= 200, "Team fee can not be > 2%"); require(totalFees <= 500, "Total fee can not be > 5%"); } /// @notice Set if an address is excluded from fees function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.8.19; interface IQWAFactory { function WETH() external view returns (address); function QWN() external view returns (address); function sQWN() external view returns (address); function QWNStaking() external view returns (address); function feeAddress() external view returns (address); function feeDiscount(address _user) external view returns (bool); }
pragma solidity 0.8.19; interface IQWAFee { function convertFees() external; }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"_backingTokens","type":"address[]"},{"internalType":"uint24[]","name":"_backingTokensV3Fee","type":"uint24[]"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":"QWA_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"backingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"backingTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limits","outputs":[{"internalType":"bool","name":"limits_","type":"bool"},{"internalType":"uint256","name":"maxAmount_","type":"uint256"},{"internalType":"uint256","name":"taxMultiplier_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_staking","type":"address"}],"name":"setTreasuryAndStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForRev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_backingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_teamFee","type":"uint256"},{"internalType":"uint256","name":"_revFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"updateSwapTokensAtPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101206040523480156200001257600080fd5b5060405162003459380380620034598339810160408190526200003591620007db565b8181600362000045838262000992565b50600462000054828262000992565b505050620000716200006b6200027460201b60201c565b62000278565b4361010052600780546001600160a01b0319163317905573c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260e0528451620000b590600f90602088019062000512565b508351620000cb9060109060208701906200057c565b50737a250d5630b4cf539739df2c5dacb4c659f2488d620000f03082600019620002ca565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200013b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000161919062000a5e565b60e0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620001b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d9919062000a5e565b6001600160a01b031660a0819052620001f4906001620003f6565b73e592427a0aece92de3edee1f18e0157c0586156460c05260fa6009556064600d819055600c819055600b819055600e556101f4600a5533600081815260176020526040808220805460ff19908116600190811790925530845291909220805490911690911790556200026890856200044a565b50505050505062000aab565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620003325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620003955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000329565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216620004a25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000329565b8060026000828254620004b6919062000a83565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b8280548282559060005260206000209081019282156200056a579160200282015b828111156200056a57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000533565b506200057892915062000625565b5090565b82805482825590600052602060002090600901600a900481019282156200056a5791602002820160005b83821115620005ea57835183826101000a81548162ffffff021916908362ffffff1602179055509260200192600301602081600201049283019260010302620005a6565b80156200061b5782816101000a81549062ffffff0219169055600301602081600201049283019260010302620005ea565b5050620005789291505b5b8082111562000578576000815560010162000626565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200067d576200067d6200063c565b604052919050565b60006001600160401b03821115620006a157620006a16200063c565b5060051b60200190565b80516001600160a01b0381168114620006c357600080fd5b919050565b600082601f830112620006da57600080fd5b81516020620006f3620006ed8362000685565b62000652565b82815260059290921b840181019181810190868411156200071357600080fd5b8286015b848110156200074357805162ffffff81168114620007355760008081fd5b835291830191830162000717565b509695505050505050565b600082601f8301126200076057600080fd5b81516001600160401b038111156200077c576200077c6200063c565b602062000792601f8301601f1916820162000652565b8281528582848701011115620007a757600080fd5b60005b83811015620007c7578581018301518282018401528201620007aa565b506000928101909101919091529392505050565b600080600080600060a08688031215620007f457600080fd5b85516001600160401b03808211156200080c57600080fd5b818801915088601f8301126200082157600080fd5b8151602062000834620006ed8362000685565b82815260059290921b8401810191818101908c8411156200085457600080fd5b948201945b838610156200087d576200086d86620006ab565b8252948201949082019062000859565b918b01519199509093505050808211156200089757600080fd5b620008a589838a01620006c8565b9550604088015194506060880151915080821115620008c357600080fd5b620008d189838a016200074e565b93506080880151915080821115620008e857600080fd5b50620008f7888289016200074e565b9150509295509295909350565b600181811c908216806200091957607f821691505b6020821081036200093a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050d57600081815260208120601f850160051c81016020861015620009695750805b601f850160051c820191505b818110156200098a5782815560010162000975565b505050505050565b81516001600160401b03811115620009ae57620009ae6200063c565b620009c681620009bf845462000904565b8462000940565b602080601f831160018114620009fe5760008415620009e55750858301515b600019600386901b1c1916600185901b1785556200098a565b600085815260208120601f198616915b8281101562000a2f5788860151825594840194600190910190840162000a0e565b508582101562000a4e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a7157600080fd5b62000a7c82620006ab565b9392505050565b8082018082111562000aa557634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e0516101005161292362000b366000396000818161093d0152818161099b01526109d4015260008181611e6201528181611fab01528181611fd3015281816120840152818161214501526122730152600061239e01526000818161045c0152610a29015260008181611ed2015281816121ec01526124ad01526129236000f3fe6080604052600436106102bf5760003560e01c80637f6bf20a1161016e578063b62496f5116100cb578063dd62ed3e1161007f578063f2ecd8f611610064578063f2ecd8f6146107a2578063f2fde38b146107c2578063fde83a34146107e257600080fd5b8063dd62ed3e14610747578063e2f456051461078d57600080fd5b8063c0246668116100b0578063c0246668146106f1578063c6616ba114610711578063d7c94efd1461073157600080fd5b8063b62496f5146106a1578063ba22abc3146106d157600080fd5b80639a7a23d611610122578063a457c2d711610107578063a457c2d71461064b578063a9059cbb1461066b578063ae739eb31461068b57600080fd5b80639a7a23d61461060b578063a068e1551461062b57600080fd5b80638da5cb5b116101535780638da5cb5b146105c257806395d89b41146105e057806398118cb4146105f557600080fd5b80637f6bf20a1461057a578063860aefcf1461059057600080fd5b8063395093511161021c5780634fbee193116101d057806370a08231116101b557806370a082311461050f578063715018a61461054557806379cc67901461055a57600080fd5b80634fbee193146104b657806361d027b3146104ef57600080fd5b806342966c681161020157806342966c681461042857806349bd5a5e1461044a5780634cf088d91461049657600080fd5b806339509351146103f25780633ba246b61461041257600080fd5b80631a8145bb1161027357806323b872dd1161025857806323b872dd146103a15780632bc54702146103c1578063313ce567146103d657600080fd5b80631a8145bb1461037557806321d37e391461038b57600080fd5b80630c44a69e116102a45780630c44a69e1461032657806313114a9d1461034a57806318160ddd1461036057600080fd5b806306fdde03146102cb578063095ea7b3146102f657600080fd5b366102c657005b600080fd5b3480156102d757600080fd5b506102e06107f8565b6040516102ed9190612525565b60405180910390f35b34801561030257600080fd5b50610316610311366004612588565b61088a565b60405190151581526020016102ed565b34801561033257600080fd5b5061033c60145481565b6040519081526020016102ed565b34801561035657600080fd5b5061033c600a5481565b34801561036c57600080fd5b5060025461033c565b34801561038157600080fd5b5061033c60125481565b34801561039757600080fd5b5061033c600d5481565b3480156103ad57600080fd5b506103166103bc3660046125b4565b6108a4565b3480156103cd57600080fd5b5061033c606481565b3480156103e257600080fd5b50604051600981526020016102ed565b3480156103fe57600080fd5b5061031661040d366004612588565b6108c8565b34801561041e57600080fd5b5061033c600b5481565b34801561043457600080fd5b506104486104433660046125f5565b610907565b005b34801561045657600080fd5b5061047e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102ed565b3480156104a257600080fd5b5060085461047e906001600160a01b031681565b3480156104c257600080fd5b506103166104d136600461260e565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156104fb57600080fd5b5060065461047e906001600160a01b031681565b34801561051b57600080fd5b5061033c61052a36600461260e565b6001600160a01b031660009081526020819052604090205490565b34801561055157600080fd5b50610448610914565b34801561056657600080fd5b50610448610575366004612588565b610928565b34801561058657600080fd5b5061033c60115481565b34801561059c57600080fd5b506105a5610936565b6040805193151584526020840192909252908201526060016102ed565b3480156105ce57600080fd5b506005546001600160a01b031661047e565b3480156105ec57600080fd5b506102e0610a10565b34801561060157600080fd5b5061033c600c5481565b34801561061757600080fd5b50610448610626366004612640565b610a1f565b34801561063757600080fd5b50610448610646366004612679565b610a6f565b34801561065757600080fd5b50610316610666366004612588565b610ad5565b34801561067757600080fd5b50610316610686366004612588565b610b84565b34801561069757600080fd5b5061033c60155481565b3480156106ad57600080fd5b506103166106bc36600461260e565b60186020526000908152604090205460ff1681565b3480156106dd57600080fd5b506104486106ec3660046125f5565b610b92565b3480156106fd57600080fd5b5061044861070c366004612640565b610c42565b34801561071d57600080fd5b5061044861072c3660046126a7565b610ca9565b34801561073d57600080fd5b5061033c600e5481565b34801561075357600080fd5b5061033c610762366004612679565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561079957600080fd5b5061033c610da1565b3480156107ae57600080fd5b5061047e6107bd3660046125f5565b610dcc565b3480156107ce57600080fd5b506104486107dd36600461260e565b610df6565b3480156107ee57600080fd5b5061033c60135481565b606060038054610807906126d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610833906126d9565b80156108805780601f1061085557610100808354040283529160200191610880565b820191906000526020600020905b81548152906001019060200180831161086357829003601f168201915b5050505050905090565b600033610898818585610e83565b60019150505b92915050565b6000336108b2858285610fdb565b6108bd858585611067565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108989082908690610902908790612729565b610e83565b61091133826115e5565b50565b61091c61174e565b61092660006117a8565b565b6109328282611807565b5050565b60008060007f000000000000000000000000000000000000000000000000000000000000000043111561096f5750600092839250829150565b600192506103e861097f60025490565b61098a90600561273c565b6109949190612753565b91506109c17f00000000000000000000000000000000000000000000000000000000000000006003612729565b43116109cf57506006909192565b6109fa7f00000000000000000000000000000000000000000000000000000000000000006006612729565b4311610a0857506004909192565b506002909192565b606060048054610807906126d9565b610a2761174e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610a6557600080fd5b610932828261184d565b610a7761174e565b6006546001600160a01b031615610a8d57600080fd5b600680546001600160a01b0380851673ffffffffffffffffffffffffffffffffffffffff19928316179092556008805492841692909116919091179055610932826001610c42565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610b775760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6108bd8286868403610e83565b600033610898818585611067565b610b9a61174e565b6001811015610beb5760405162461bcd60e51b815260206004820152601360248201527f43616e206e6f74206265203c20302e30303125000000000000000000000000006044820152606401610b6e565b6101f4811115610c3d5760405162461bcd60e51b815260206004820152601260248201527f43616e206e6f74206265203e20302e35302500000000000000000000000000006044820152606401610b6e565b600955565b610c4a61174e565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610cb161174e565b600b849055600c839055600e829055600d81905580606483610cd38688612729565b610cdd9190612729565b610ce79190612729565b610cf19190612729565b600a55600e5460c81015610d475760405162461bcd60e51b815260206004820152601860248201527f5465616d206665652063616e206e6f74206265203e20322500000000000000006044820152606401610b6e565b6101f4600a541115610d9b5760405162461bcd60e51b815260206004820152601960248201527f546f74616c206665652063616e206e6f74206265203e203525000000000000006044820152606401610b6e565b50505050565b6000620186a0600954610db360025490565b610dbd919061273c565b610dc79190612753565b905090565b600f8181548110610ddc57600080fd5b6000918252602090912001546001600160a01b0316905081565b610dfe61174e565b6001600160a01b038116610e7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b6e565b610911816117a8565b6001600160a01b038316610efe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b038216610f7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d9b578181101561105a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b6e565b610d9b8484848403610e83565b6001600160a01b0383166110cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b6e565b6001600160a01b03821661112d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b6e565b8060000361114657611141838360006118a1565b505050565b6000806000611153610936565b925092509250821561126a576005546001600160a01b0387811691161480159061118b57506005546001600160a01b03868116911614155b801561119f57506001600160a01b03851615155b80156111b657506001600160a01b03851661dead14155b80156111cc5750600854600160a01b900460ff16155b1561126a576001600160a01b03861660009081526018602052604090205460ff161561126a5781611212866001600160a01b031660009081526020819052604090205490565b61121c9086612729565b111561126a5760405162461bcd60e51b815260206004820152601360248201527f4d61782077616c6c6574206578636565646564000000000000000000000000006044820152606401610b6e565b3060009081526020819052604081205490611283610da1565b821015905080801561129f5750600854600160a01b900460ff16155b80156112c457506001600160a01b03881660009081526018602052604090205460ff16155b80156112e957506001600160a01b03881660009081526017602052604090205460ff16155b801561130e57506001600160a01b03871660009081526017602052604090205460ff16155b1561133c576008805460ff60a01b1916600160a01b17905561132e611a5c565b6008805460ff60a01b191690555b6008546001600160a01b03891660009081526017602052604090205460ff600160a01b90920482161591168061138a57506001600160a01b03881660009081526017602052604090205460ff165b15611393575060005b600081156115ce576001600160a01b038a1660009081526018602052604090205460ff16806113da57506001600160a01b03891660009081526018602052604090205460ff165b80156113e857506000600a54115b156115b057612710600a54896113fe919061273c565b6114089190612753565b9050861561141d5761141a858261273c565b90505b6007546040517fb242e7cf0000000000000000000000000000000000000000000000000000000081523260048201526001600160a01b039091169063b242e7cf90602401602060405180830381865afa15801561147e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a29190612775565b156114c15760046114b482600361273c565b6114be9190612753565b90505b600a54600c546114d1908361273c565b6114db9190612753565b601260008282546114ec9190612729565b9091555050600a54600e54611501908361273c565b61150b9190612753565b6013600082825461151c9190612729565b9091555050600a54600b54611531908361273c565b61153b9190612753565b6011600082825461154c9190612729565b9091555050600a5461155f60648361273c565b6115699190612753565b6014600082825461157a9190612729565b9091555050600a54600d5461158f908361273c565b6115999190612753565b601560008282546115aa9190612729565b90915550505b80156115c1576115c18a30836118a1565b6115cb8189612792565b97505b6115d98a8a8a6118a1565b50505050505050505050565b6001600160a01b0382166116615760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b038216600090815260208190526040902054818110156116f05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b031633146109265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b6e565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600160209081526040808320338452909152812054611836908390612792565b9050611843833383610e83565b61114183836115e5565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166119055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b6e565b6001600160a01b0382166119675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b6e565b6001600160a01b038316600090815260208190526040902054818110156119f65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d9b565b3060009081526020819052604081205490506000601454601554601354601154601254611a899190612729565b611a939190612729565b611a9d9190612729565b611aa79190612729565b90506000821580611ab6575081155b15611ac057505050565b600060028360125486611ad3919061273c565b611add9190612753565b611ae79190612753565b90506000611af58286612792565b9050600080611b048387611e05565b9150915060006002601254611b199190612753565b611b239088612792565b601354611b30908561273c565b611b3a9190612753565b905060006002601254611b4d9190612753565b611b579089612792565b601454611b64908661273c565b611b6e9190612753565b905060006002601254611b819190612753565b611b8b908a612792565b601554611b98908761273c565b611ba29190612753565b90506000848284611bb3878a612792565b611bbd9190612792565b611bc79190612792565b611bd19190612792565b600060128190556011819055601381905560148190556015559050611bfe6005546001600160a01b031690565b6001600160a01b03168460405160006040518083038185875af1925050503d8060008114611c48576040519150601f19603f3d011682016040523d82523d6000602084013e611c4d565b606091505b5050600854604051919a506001600160a01b0316908390600081818185875af1925050503d8060008114611c9d576040519150601f19603f3d011682016040523d82523d6000602084013e611ca2565b606091505b50909950508715801590611cb65750600081115b15611cc557611cc58882612451565b600754604080517f4127535800000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163412753589160048083019260209291908290030181865afa158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c91906127a5565b9050806001600160a01b03164760405160006040518083038185875af1925050503d8060008114611d99576040519150601f19603f3d011682016040523d82523d6000602084013e611d9e565b606091505b5050809a5050806001600160a01b0316632b5335c36040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ddf57600080fd5b505af1158015611df3573d6000803e3d6000fd5b50505050505050505050505050505050565b6040805160028082526060820183526000928392839290916020830190803683370190505090503081600081518110611e4057611e406127c2565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110611e9457611e946127c2565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790611f1290889060009086903090429060040161281c565b600060405180830381600087803b158015611f2c57600080fd5b505af1158015611f40573d6000803e3d6000fd5b505050504792506002601254611f569190612753565b611f609085612792565b601154611f6d908561273c565b611f779190612753565b91506000600f60165481548110611f9057611f906127c2565b6000918252602090912001546001600160a01b0390811691507f00000000000000000000000000000000000000000000000000000000000000001681036120fd577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b15801561202c57600080fd5b505af1158015612040573d6000803e3d6000fd5b50506006546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152602481018890527f0000000000000000000000000000000000000000000000000000000000000000909116935063a9059cbb925060440190506020604051808303816000875af11580156120d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f79190612775565b50612413565b601060165481548110612112576121126127c2565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1662ffffff16600003612263577f000000000000000000000000000000000000000000000000000000000000000082600081518110612177576121776127c2565b60200260200101906001600160a01b031690816001600160a01b03168152505080826001815181106121ab576121ab6127c2565b6001600160a01b0392831660209182029290920101526006546040517fb6f9de950000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000083169263b6f9de9592879261222c9260009289929116904290600401612858565b6000604051808303818588803b15801561224557600080fd5b505af1158015612259573d6000803e3d6000fd5b5050505050612413565b60006040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001836001600160a01b031681526020016010601654815481106122c4576122c46127c2565b60009182526020808320600a8084049091015492066003026101000a90910462ffffff90811684526006546001600160a01b03908116858401524260408087019190915260608087018c9052608080880187905260a09788019690965281517f414bf389000000000000000000000000000000000000000000000000000000008152885184166004820152948801518316602486015290870151909216604484015290850151811660648301529184015160848201529183015160a483015260c083015160c483015260e0830151811660e48301529192507f00000000000000000000000000000000000000000000000000000000000000009091169063414bf3899086906101040160206040518083038185885af11580156123eb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612410919061288d565b50505b600f5461242290600190612792565b60165403612434576000601655612448565b601660008154612443906128a6565b909155505b50509250929050565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af11580156124f9573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061251e91906128bf565b5050505050565b600060208083528351808285015260005b8181101561255257858101830151858201604001528201612536565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461091157600080fd5b6000806040838503121561259b57600080fd5b82356125a681612573565b946020939093013593505050565b6000806000606084860312156125c957600080fd5b83356125d481612573565b925060208401356125e481612573565b929592945050506040919091013590565b60006020828403121561260757600080fd5b5035919050565b60006020828403121561262057600080fd5b813561262b81612573565b9392505050565b801515811461091157600080fd5b6000806040838503121561265357600080fd5b823561265e81612573565b9150602083013561266e81612632565b809150509250929050565b6000806040838503121561268c57600080fd5b823561269781612573565b9150602083013561266e81612573565b600080600080608085870312156126bd57600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c908216806126ed57607f821691505b60208210810361270d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561089e5761089e612713565b808202811582820484141761089e5761089e612713565b60008261277057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561278757600080fd5b815161262b81612632565b8181038181111561089e5761089e612713565b6000602082840312156127b757600080fd5b815161262b81612573565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156128115781516001600160a01b0316875295820195908201906001016127ec565b509495945050505050565b85815284602082015260a06040820152600061283b60a08301866127d8565b6001600160a01b0394909416606083015250608001529392505050565b84815260806020820152600061287160808301866127d8565b6001600160a01b03949094166040830152506060015292915050565b60006020828403121561289f57600080fd5b5051919050565b6000600182016128b8576128b8612713565b5060010190565b6000806000606084860312156128d457600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220caf6205db2f68f4c7409a6c2ea87a1379b0fcde8bb502b453ce076a4df5f27a764736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000300000000000000000000000072e4f9f808c49a2a61de9c5896298920dc4eeea90000000000000000000000009b44793a0177c84dd01ad81137db696531902871000000000000000000000000aaee1a9723aadb7afa2810263653a34ba2c21c7a0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d566f6c64656d6f72744d634361696e526f626f746e696b30314e656b6f000000000000000000000000000000000000000000000000000000000000000000000648454c504d450000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102bf5760003560e01c80637f6bf20a1161016e578063b62496f5116100cb578063dd62ed3e1161007f578063f2ecd8f611610064578063f2ecd8f6146107a2578063f2fde38b146107c2578063fde83a34146107e257600080fd5b8063dd62ed3e14610747578063e2f456051461078d57600080fd5b8063c0246668116100b0578063c0246668146106f1578063c6616ba114610711578063d7c94efd1461073157600080fd5b8063b62496f5146106a1578063ba22abc3146106d157600080fd5b80639a7a23d611610122578063a457c2d711610107578063a457c2d71461064b578063a9059cbb1461066b578063ae739eb31461068b57600080fd5b80639a7a23d61461060b578063a068e1551461062b57600080fd5b80638da5cb5b116101535780638da5cb5b146105c257806395d89b41146105e057806398118cb4146105f557600080fd5b80637f6bf20a1461057a578063860aefcf1461059057600080fd5b8063395093511161021c5780634fbee193116101d057806370a08231116101b557806370a082311461050f578063715018a61461054557806379cc67901461055a57600080fd5b80634fbee193146104b657806361d027b3146104ef57600080fd5b806342966c681161020157806342966c681461042857806349bd5a5e1461044a5780634cf088d91461049657600080fd5b806339509351146103f25780633ba246b61461041257600080fd5b80631a8145bb1161027357806323b872dd1161025857806323b872dd146103a15780632bc54702146103c1578063313ce567146103d657600080fd5b80631a8145bb1461037557806321d37e391461038b57600080fd5b80630c44a69e116102a45780630c44a69e1461032657806313114a9d1461034a57806318160ddd1461036057600080fd5b806306fdde03146102cb578063095ea7b3146102f657600080fd5b366102c657005b600080fd5b3480156102d757600080fd5b506102e06107f8565b6040516102ed9190612525565b60405180910390f35b34801561030257600080fd5b50610316610311366004612588565b61088a565b60405190151581526020016102ed565b34801561033257600080fd5b5061033c60145481565b6040519081526020016102ed565b34801561035657600080fd5b5061033c600a5481565b34801561036c57600080fd5b5060025461033c565b34801561038157600080fd5b5061033c60125481565b34801561039757600080fd5b5061033c600d5481565b3480156103ad57600080fd5b506103166103bc3660046125b4565b6108a4565b3480156103cd57600080fd5b5061033c606481565b3480156103e257600080fd5b50604051600981526020016102ed565b3480156103fe57600080fd5b5061031661040d366004612588565b6108c8565b34801561041e57600080fd5b5061033c600b5481565b34801561043457600080fd5b506104486104433660046125f5565b610907565b005b34801561045657600080fd5b5061047e7f00000000000000000000000003ac42e54c7bb93c52b933b78f55f7c494e8822d81565b6040516001600160a01b0390911681526020016102ed565b3480156104a257600080fd5b5060085461047e906001600160a01b031681565b3480156104c257600080fd5b506103166104d136600461260e565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156104fb57600080fd5b5060065461047e906001600160a01b031681565b34801561051b57600080fd5b5061033c61052a36600461260e565b6001600160a01b031660009081526020819052604090205490565b34801561055157600080fd5b50610448610914565b34801561056657600080fd5b50610448610575366004612588565b610928565b34801561058657600080fd5b5061033c60115481565b34801561059c57600080fd5b506105a5610936565b6040805193151584526020840192909252908201526060016102ed565b3480156105ce57600080fd5b506005546001600160a01b031661047e565b3480156105ec57600080fd5b506102e0610a10565b34801561060157600080fd5b5061033c600c5481565b34801561061757600080fd5b50610448610626366004612640565b610a1f565b34801561063757600080fd5b50610448610646366004612679565b610a6f565b34801561065757600080fd5b50610316610666366004612588565b610ad5565b34801561067757600080fd5b50610316610686366004612588565b610b84565b34801561069757600080fd5b5061033c60155481565b3480156106ad57600080fd5b506103166106bc36600461260e565b60186020526000908152604090205460ff1681565b3480156106dd57600080fd5b506104486106ec3660046125f5565b610b92565b3480156106fd57600080fd5b5061044861070c366004612640565b610c42565b34801561071d57600080fd5b5061044861072c3660046126a7565b610ca9565b34801561073d57600080fd5b5061033c600e5481565b34801561075357600080fd5b5061033c610762366004612679565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561079957600080fd5b5061033c610da1565b3480156107ae57600080fd5b5061047e6107bd3660046125f5565b610dcc565b3480156107ce57600080fd5b506104486107dd36600461260e565b610df6565b3480156107ee57600080fd5b5061033c60135481565b606060038054610807906126d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610833906126d9565b80156108805780601f1061085557610100808354040283529160200191610880565b820191906000526020600020905b81548152906001019060200180831161086357829003601f168201915b5050505050905090565b600033610898818585610e83565b60019150505b92915050565b6000336108b2858285610fdb565b6108bd858585611067565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108989082908690610902908790612729565b610e83565b61091133826115e5565b50565b61091c61174e565b61092660006117a8565b565b6109328282611807565b5050565b60008060007f0000000000000000000000000000000000000000000000000000000001123d6743111561096f5750600092839250829150565b600192506103e861097f60025490565b61098a90600561273c565b6109949190612753565b91506109c17f0000000000000000000000000000000000000000000000000000000001123d676003612729565b43116109cf57506006909192565b6109fa7f0000000000000000000000000000000000000000000000000000000001123d676006612729565b4311610a0857506004909192565b506002909192565b606060048054610807906126d9565b610a2761174e565b7f00000000000000000000000003ac42e54c7bb93c52b933b78f55f7c494e8822d6001600160a01b0316826001600160a01b031603610a6557600080fd5b610932828261184d565b610a7761174e565b6006546001600160a01b031615610a8d57600080fd5b600680546001600160a01b0380851673ffffffffffffffffffffffffffffffffffffffff19928316179092556008805492841692909116919091179055610932826001610c42565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610b775760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6108bd8286868403610e83565b600033610898818585611067565b610b9a61174e565b6001811015610beb5760405162461bcd60e51b815260206004820152601360248201527f43616e206e6f74206265203c20302e30303125000000000000000000000000006044820152606401610b6e565b6101f4811115610c3d5760405162461bcd60e51b815260206004820152601260248201527f43616e206e6f74206265203e20302e35302500000000000000000000000000006044820152606401610b6e565b600955565b610c4a61174e565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610cb161174e565b600b849055600c839055600e829055600d81905580606483610cd38688612729565b610cdd9190612729565b610ce79190612729565b610cf19190612729565b600a55600e5460c81015610d475760405162461bcd60e51b815260206004820152601860248201527f5465616d206665652063616e206e6f74206265203e20322500000000000000006044820152606401610b6e565b6101f4600a541115610d9b5760405162461bcd60e51b815260206004820152601960248201527f546f74616c206665652063616e206e6f74206265203e203525000000000000006044820152606401610b6e565b50505050565b6000620186a0600954610db360025490565b610dbd919061273c565b610dc79190612753565b905090565b600f8181548110610ddc57600080fd5b6000918252602090912001546001600160a01b0316905081565b610dfe61174e565b6001600160a01b038116610e7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b6e565b610911816117a8565b6001600160a01b038316610efe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b038216610f7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d9b578181101561105a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b6e565b610d9b8484848403610e83565b6001600160a01b0383166110cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b6e565b6001600160a01b03821661112d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b6e565b8060000361114657611141838360006118a1565b505050565b6000806000611153610936565b925092509250821561126a576005546001600160a01b0387811691161480159061118b57506005546001600160a01b03868116911614155b801561119f57506001600160a01b03851615155b80156111b657506001600160a01b03851661dead14155b80156111cc5750600854600160a01b900460ff16155b1561126a576001600160a01b03861660009081526018602052604090205460ff161561126a5781611212866001600160a01b031660009081526020819052604090205490565b61121c9086612729565b111561126a5760405162461bcd60e51b815260206004820152601360248201527f4d61782077616c6c6574206578636565646564000000000000000000000000006044820152606401610b6e565b3060009081526020819052604081205490611283610da1565b821015905080801561129f5750600854600160a01b900460ff16155b80156112c457506001600160a01b03881660009081526018602052604090205460ff16155b80156112e957506001600160a01b03881660009081526017602052604090205460ff16155b801561130e57506001600160a01b03871660009081526017602052604090205460ff16155b1561133c576008805460ff60a01b1916600160a01b17905561132e611a5c565b6008805460ff60a01b191690555b6008546001600160a01b03891660009081526017602052604090205460ff600160a01b90920482161591168061138a57506001600160a01b03881660009081526017602052604090205460ff165b15611393575060005b600081156115ce576001600160a01b038a1660009081526018602052604090205460ff16806113da57506001600160a01b03891660009081526018602052604090205460ff165b80156113e857506000600a54115b156115b057612710600a54896113fe919061273c565b6114089190612753565b9050861561141d5761141a858261273c565b90505b6007546040517fb242e7cf0000000000000000000000000000000000000000000000000000000081523260048201526001600160a01b039091169063b242e7cf90602401602060405180830381865afa15801561147e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a29190612775565b156114c15760046114b482600361273c565b6114be9190612753565b90505b600a54600c546114d1908361273c565b6114db9190612753565b601260008282546114ec9190612729565b9091555050600a54600e54611501908361273c565b61150b9190612753565b6013600082825461151c9190612729565b9091555050600a54600b54611531908361273c565b61153b9190612753565b6011600082825461154c9190612729565b9091555050600a5461155f60648361273c565b6115699190612753565b6014600082825461157a9190612729565b9091555050600a54600d5461158f908361273c565b6115999190612753565b601560008282546115aa9190612729565b90915550505b80156115c1576115c18a30836118a1565b6115cb8189612792565b97505b6115d98a8a8a6118a1565b50505050505050505050565b6001600160a01b0382166116615760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b038216600090815260208190526040902054818110156116f05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b031633146109265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b6e565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600160209081526040808320338452909152812054611836908390612792565b9050611843833383610e83565b61114183836115e5565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166119055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b6e565b6001600160a01b0382166119675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b6e565b6001600160a01b038316600090815260208190526040902054818110156119f65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610b6e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d9b565b3060009081526020819052604081205490506000601454601554601354601154601254611a899190612729565b611a939190612729565b611a9d9190612729565b611aa79190612729565b90506000821580611ab6575081155b15611ac057505050565b600060028360125486611ad3919061273c565b611add9190612753565b611ae79190612753565b90506000611af58286612792565b9050600080611b048387611e05565b9150915060006002601254611b199190612753565b611b239088612792565b601354611b30908561273c565b611b3a9190612753565b905060006002601254611b4d9190612753565b611b579089612792565b601454611b64908661273c565b611b6e9190612753565b905060006002601254611b819190612753565b611b8b908a612792565b601554611b98908761273c565b611ba29190612753565b90506000848284611bb3878a612792565b611bbd9190612792565b611bc79190612792565b611bd19190612792565b600060128190556011819055601381905560148190556015559050611bfe6005546001600160a01b031690565b6001600160a01b03168460405160006040518083038185875af1925050503d8060008114611c48576040519150601f19603f3d011682016040523d82523d6000602084013e611c4d565b606091505b5050600854604051919a506001600160a01b0316908390600081818185875af1925050503d8060008114611c9d576040519150601f19603f3d011682016040523d82523d6000602084013e611ca2565b606091505b50909950508715801590611cb65750600081115b15611cc557611cc58882612451565b600754604080517f4127535800000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163412753589160048083019260209291908290030181865afa158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c91906127a5565b9050806001600160a01b03164760405160006040518083038185875af1925050503d8060008114611d99576040519150601f19603f3d011682016040523d82523d6000602084013e611d9e565b606091505b5050809a5050806001600160a01b0316632b5335c36040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ddf57600080fd5b505af1158015611df3573d6000803e3d6000fd5b50505050505050505050505050505050565b6040805160028082526060820183526000928392839290916020830190803683370190505090503081600081518110611e4057611e406127c2565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611e9457611e946127c2565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac94790611f1290889060009086903090429060040161281c565b600060405180830381600087803b158015611f2c57600080fd5b505af1158015611f40573d6000803e3d6000fd5b505050504792506002601254611f569190612753565b611f609085612792565b601154611f6d908561273c565b611f779190612753565b91506000600f60165481548110611f9057611f906127c2565b6000918252602090912001546001600160a01b0390811691507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21681036120fd577f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b15801561202c57600080fd5b505af1158015612040573d6000803e3d6000fd5b50506006546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152602481018890527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2909116935063a9059cbb925060440190506020604051808303816000875af11580156120d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f79190612775565b50612413565b601060165481548110612112576121126127c2565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1662ffffff16600003612263577f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc282600081518110612177576121776127c2565b60200260200101906001600160a01b031690816001600160a01b03168152505080826001815181106121ab576121ab6127c2565b6001600160a01b0392831660209182029290920101526006546040517fb6f9de950000000000000000000000000000000000000000000000000000000081527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83169263b6f9de9592879261222c9260009289929116904290600401612858565b6000604051808303818588803b15801561224557600080fd5b505af1158015612259573d6000803e3d6000fd5b5050505050612413565b60006040518061010001604052807f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03168152602001836001600160a01b031681526020016010601654815481106122c4576122c46127c2565b60009182526020808320600a8084049091015492066003026101000a90910462ffffff90811684526006546001600160a01b03908116858401524260408087019190915260608087018c9052608080880187905260a09788019690965281517f414bf389000000000000000000000000000000000000000000000000000000008152885184166004820152948801518316602486015290870151909216604484015290850151811660648301529184015160848201529183015160a483015260c083015160c483015260e0830151811660e48301529192507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615649091169063414bf3899086906101040160206040518083038185885af11580156123eb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612410919061288d565b50505b600f5461242290600190612792565b60165403612434576000601655612448565b601660008154612443906128a6565b909155505b50509250929050565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af11580156124f9573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061251e91906128bf565b5050505050565b600060208083528351808285015260005b8181101561255257858101830151858201604001528201612536565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461091157600080fd5b6000806040838503121561259b57600080fd5b82356125a681612573565b946020939093013593505050565b6000806000606084860312156125c957600080fd5b83356125d481612573565b925060208401356125e481612573565b929592945050506040919091013590565b60006020828403121561260757600080fd5b5035919050565b60006020828403121561262057600080fd5b813561262b81612573565b9392505050565b801515811461091157600080fd5b6000806040838503121561265357600080fd5b823561265e81612573565b9150602083013561266e81612632565b809150509250929050565b6000806040838503121561268c57600080fd5b823561269781612573565b9150602083013561266e81612573565b600080600080608085870312156126bd57600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c908216806126ed57607f821691505b60208210810361270d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561089e5761089e612713565b808202811582820484141761089e5761089e612713565b60008261277057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561278757600080fd5b815161262b81612632565b8181038181111561089e5761089e612713565b6000602082840312156127b757600080fd5b815161262b81612573565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156128115781516001600160a01b0316875295820195908201906001016127ec565b509495945050505050565b85815284602082015260a06040820152600061283b60a08301866127d8565b6001600160a01b0394909416606083015250608001529392505050565b84815260806020820152600061287160808301866127d8565b6001600160a01b03949094166040830152506060015292915050565b60006020828403121561289f57600080fd5b5051919050565b6000600182016128b8576128b8612713565b5060010190565b6000806000606084860312156128d457600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220caf6205db2f68f4c7409a6c2ea87a1379b0fcde8bb502b453ce076a4df5f27a764736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000300000000000000000000000072e4f9f808c49a2a61de9c5896298920dc4eeea90000000000000000000000009b44793a0177c84dd01ad81137db696531902871000000000000000000000000aaee1a9723aadb7afa2810263653a34ba2c21c7a0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d566f6c64656d6f72744d634361696e526f626f746e696b30314e656b6f000000000000000000000000000000000000000000000000000000000000000000000648454c504d450000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _backingTokens (address[]): 0x72e4f9F808C49A2a61dE9C5896298920Dc4EEEa9,0x9B44793a0177C84DD01AD81137db696531902871,0xaaeE1A9723aaDB7afA2810263653A34bA2C21C7a
Arg [1] : _backingTokensV3Fee (uint24[]): 0,0,0
Arg [2] : _supply (uint256): 1000000000000000000
Arg [3] : _name (string): VoldemortMcCainRobotnik01Neko
Arg [4] : _symbol (string): HELPME
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 00000000000000000000000072e4f9f808c49a2a61de9c5896298920dc4eeea9
Arg [7] : 0000000000000000000000009b44793a0177c84dd01ad81137db696531902871
Arg [8] : 000000000000000000000000aaee1a9723aadb7afa2810263653a34ba2c21c7a
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [14] : 566f6c64656d6f72744d634361696e526f626f746e696b30314e656b6f000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [16] : 48454c504d450000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.