More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 172 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19527390 | 157 days ago | IN | 0 ETH | 0.00117613 | ||||
Approve | 19014047 | 229 days ago | IN | 0 ETH | 0.0013268 | ||||
Approve | 18493072 | 302 days ago | IN | 0 ETH | 0.0015074 | ||||
Transfer | 18455323 | 307 days ago | IN | 0 ETH | 0.0004905 | ||||
Approve | 18298624 | 329 days ago | IN | 0 ETH | 0.00030507 | ||||
Blacklist | 18227084 | 339 days ago | IN | 0 ETH | 0.00027607 | ||||
Transfer | 18227068 | 339 days ago | IN | 0 ETH | 0.00086552 | ||||
Transfer | 18227040 | 339 days ago | IN | 0 ETH | 0.0010147 | ||||
Approve | 18226915 | 339 days ago | IN | 0 ETH | 0.00043023 | ||||
Update Swap Thre... | 18211285 | 341 days ago | IN | 0 ETH | 0.00035269 | ||||
Update Max Sell ... | 18211277 | 341 days ago | IN | 0 ETH | 0.00027257 | ||||
Update Max Trans... | 18211276 | 341 days ago | IN | 0 ETH | 0.00027509 | ||||
Update Max Trans... | 18211268 | 341 days ago | IN | 0 ETH | 0.00039906 | ||||
Update Max Sell ... | 18211267 | 341 days ago | IN | 0 ETH | 0.00038377 | ||||
Approve | 18198797 | 343 days ago | IN | 0 ETH | 0.00034648 | ||||
Approve | 18172499 | 347 days ago | IN | 0 ETH | 0.00054637 | ||||
Approve | 18169281 | 347 days ago | IN | 0 ETH | 0.00046878 | ||||
Approve | 18169208 | 347 days ago | IN | 0 ETH | 0.00047186 | ||||
Approve | 18169137 | 347 days ago | IN | 0 ETH | 0.00051515 | ||||
Transfer | 18169124 | 347 days ago | IN | 0 ETH | 0.00069512 | ||||
Blacklist | 18169087 | 347 days ago | IN | 0 ETH | 0.00032902 | ||||
Blacklist | 18169086 | 347 days ago | IN | 0 ETH | 0.00055463 | ||||
Blacklist | 18169084 | 347 days ago | IN | 0 ETH | 0.00059775 | ||||
Blacklist | 18169082 | 347 days ago | IN | 0 ETH | 0.00053014 | ||||
Blacklist | 18169080 | 347 days ago | IN | 0 ETH | 0.0005431 |
Loading...
Loading
Contract Name:
Mindmint
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: No License pragma solidity 0.8.10; import './access/Ownable.sol'; import './token/ERC20/ERC20.sol'; import './token/ERC20/extensions/ERC20Burnable.sol'; import './interfaces/IUniswapV2Factory.sol'; import './interfaces/IUniswapV2Pair.sol'; import './interfaces/IUniswapV2Router02.sol'; import './security/Pausable.sol'; contract Mindmint is ERC20, ERC20Burnable, Ownable, Pausable { mapping (address => bool) public blacklisted; uint256 public swapThreshold; uint256 private _taxwalletPending; address public taxwalletAddress; uint16[3] public taxwalletFees; mapping (address => bool) public isExcludedFromFees; uint16[3] public totalFees; bool private _swapping; IUniswapV2Router02 public routerV2; address public pairV2; mapping (address => bool) public AMMPairs; mapping (address => bool) public isExcludedFromLimits; uint256 public maxSellAmount; uint256 public maxTransferAmount; event BlacklistUpdated(address indexed account, bool isBlacklisted); event SwapThresholdUpdated(uint256 swapThreshold); event taxwalletAddressUpdated(address taxwalletAddress); event taxwalletFeesUpdated(uint16 buyFee, uint16 sellFee, uint16 transferFee); event taxwalletFeeSent(address recipient, uint256 amount); event ExcludeFromFees(address indexed account, bool isExcluded); event RouterV2Updated(address indexed routerV2); event AMMPairsUpdated(address indexed AMMPair, bool isPair); event ExcludeFromLimits(address indexed account, bool isExcluded); event MaxSellAmountUpdated(uint256 maxSellAmount); event MaxTransferAmountUpdated(uint256 maxTransferAmount); constructor() ERC20(unicode"Mindmint", unicode"MMT") { address supplyRecipient = 0xD21F72dEe6DdE13eE01B73819E302b239e4f74Ca; updateSwapThreshold(5000000 * (10 ** decimals()) / 10); taxwalletAddressSetup(0x8C516F774634a0B9bdB2E0Fe4130eF1160640e49); taxwalletFeesSetup(0, 0, 0); excludeFromFees(supplyRecipient, true); excludeFromFees(address(this), true); _excludeFromLimits(supplyRecipient, true); _excludeFromLimits(address(this), true); _excludeFromLimits(address(0), true); _excludeFromLimits(taxwalletAddress, true); updateMaxSellAmount(10000000 * (10 ** decimals()) / 10); updateMaxTransferAmount(10000000 * (10 ** decimals()) / 10); _mint(supplyRecipient, 10000000000 * (10 ** decimals()) / 10); _transferOwnership(0xD21F72dEe6DdE13eE01B73819E302b239e4f74Ca); } receive() external payable {} function decimals() public pure override returns (uint8) { return 18; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function blacklist(address account, bool isBlacklisted) external onlyOwner { blacklisted[account] = isBlacklisted; emit BlacklistUpdated(account, isBlacklisted); } function _swapTokensForCoin(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = routerV2.WETH(); _approve(address(this), address(routerV2), tokenAmount); routerV2.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount, 0, path, address(this), block.timestamp); } function updateSwapThreshold(uint256 _swapThreshold) public onlyOwner { swapThreshold = _swapThreshold; emit SwapThresholdUpdated(_swapThreshold); } function getAllPending() public view returns (uint256) { return 0 + _taxwalletPending; } function taxwalletAddressSetup(address _newAddress) public onlyOwner { require(_newAddress != address(0), "TaxesDefaultRouterWallet: Wallet tax recipient cannot be a 0x0 address"); taxwalletAddress = _newAddress; excludeFromFees(_newAddress, true); emit taxwalletAddressUpdated(_newAddress); } function taxwalletFeesSetup(uint16 _buyFee, uint16 _sellFee, uint16 _transferFee) public onlyOwner { totalFees[0] = totalFees[0] - taxwalletFees[0] + _buyFee; totalFees[1] = totalFees[1] - taxwalletFees[1] + _sellFee; totalFees[2] = totalFees[2] - taxwalletFees[2] + _transferFee; require(totalFees[0] <= 2500 && totalFees[1] <= 2500 && totalFees[2] <= 2500, "TaxesDefaultRouter: Cannot exceed max total fee of 25%"); taxwalletFees = [_buyFee, _sellFee, _transferFee]; emit taxwalletFeesUpdated(_buyFee, _sellFee, _transferFee); } function excludeFromFees(address account, bool isExcluded) public onlyOwner { isExcludedFromFees[account] = isExcluded; emit ExcludeFromFees(account, isExcluded); } function _transfer( address from, address to, uint256 amount ) internal override { bool canSwap = getAllPending() >= swapThreshold; if (!_swapping && !AMMPairs[from] && canSwap) { _swapping = true; if (false || _taxwalletPending > 0) { uint256 token2Swap = 0 + _taxwalletPending; bool success = false; _swapTokensForCoin(token2Swap); uint256 coinsReceived = address(this).balance; uint256 taxwalletPortion = coinsReceived * _taxwalletPending / token2Swap; if (taxwalletPortion > 0) { success = payable(taxwalletAddress).send(taxwalletPortion); if (success) { emit taxwalletFeeSent(taxwalletAddress, taxwalletPortion); } } _taxwalletPending = 0; } _swapping = false; } if (!_swapping && amount > 0 && to != address(routerV2) && !isExcludedFromFees[from] && !isExcludedFromFees[to]) { uint256 fees = 0; uint8 txType = 3; if (AMMPairs[from]) { if (totalFees[0] > 0) txType = 0; } else if (AMMPairs[to]) { if (totalFees[1] > 0) txType = 1; } else if (totalFees[2] > 0) txType = 2; if (txType < 3) { fees = amount * totalFees[txType] / 10000; amount -= fees; _taxwalletPending += fees * taxwalletFees[txType] / totalFees[txType]; } if (fees > 0) { super._transfer(from, address(this), fees); } } super._transfer(from, to, amount); } function _updateRouterV2(address router) external onlyOwner { routerV2 = IUniswapV2Router02(router); pairV2 = IUniswapV2Factory(routerV2.factory()).createPair(address(this), routerV2.WETH()); _excludeFromLimits(router, true); _setAMMPair(pairV2, true); emit RouterV2Updated(router); } function setAMMPair(address pair, bool isPair) external onlyOwner { require(pair != pairV2, "DefaultRouter: Cannot remove initial pair from list"); _setAMMPair(pair, isPair); } function _setAMMPair(address pair, bool isPair) private { AMMPairs[pair] = isPair; if (isPair) { _excludeFromLimits(pair, true); } emit AMMPairsUpdated(pair, isPair); } function excludeFromLimits(address account, bool isExcluded) external onlyOwner { _excludeFromLimits(account, isExcluded); } function _excludeFromLimits(address account, bool isExcluded) internal { isExcludedFromLimits[account] = isExcluded; emit ExcludeFromLimits(account, isExcluded); } function updateMaxSellAmount(uint256 _maxSellAmount) public onlyOwner { maxSellAmount = _maxSellAmount; emit MaxSellAmountUpdated(_maxSellAmount); } function updateMaxTransferAmount(uint256 _maxTransferAmount) public onlyOwner { maxTransferAmount = _maxTransferAmount; emit MaxTransferAmountUpdated(_maxTransferAmount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { require(!blacklisted[from] && !blacklisted[to], "Blacklist: Sender or recipient is blacklisted"); if (AMMPairs[to] && !isExcludedFromLimits[from]) { // SELL require(amount <= maxSellAmount, "MaxTx: Cannot exceed max sell limit"); } if (!AMMPairs[to] && !isExcludedFromLimits[from]) { // OTHER require(amount <= maxTransferAmount, "MaxTx: Cannot exceed max transfer limit"); } super._beforeTokenTransfer(from, to, amount); } function _afterTokenTransfer(address from, address to, uint256 amount) internal override { super._afterTokenTransfer(from, to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; 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; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); 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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; 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]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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 pragma solidity 0.8.10; import '../ERC20.sol'; import '../../../utils/Context.sol'; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import '../IERC20.sol'; interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"AMMPair","type":"address"},{"indexed":false,"internalType":"bool","name":"isPair","type":"bool"}],"name":"AMMPairsUpdated","type":"event"},{"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":"isBlacklisted","type":"bool"}],"name":"BlacklistUpdated","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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxSellAmount","type":"uint256"}],"name":"MaxSellAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTransferAmount","type":"uint256"}],"name":"MaxTransferAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"routerV2","type":"address"}],"name":"RouterV2Updated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapThreshold","type":"uint256"}],"name":"SwapThresholdUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"taxwalletAddress","type":"address"}],"name":"taxwalletAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"taxwalletFeeSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"buyFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"sellFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"transferFee","type":"uint16"}],"name":"taxwalletFeesUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"AMMPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"_updateRouterV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"pure","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":"isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllPending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","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":"pairV2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"routerV2","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"isPair","type":"bool"}],"name":"setAMMPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxwalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"taxwalletAddressSetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxwalletFees","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_buyFee","type":"uint16"},{"internalType":"uint16","name":"_sellFee","type":"uint16"},{"internalType":"uint16","name":"_transferFee","type":"uint16"}],"name":"taxwalletFeesSetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalFees","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSellAmount","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransferAmount","type":"uint256"}],"name":"updateMaxTransferAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapThreshold","type":"uint256"}],"name":"updateSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405180604001604052806008815260200167135a5b991b5a5b9d60c21b8152506040518060400160405280600381526020016213535560ea1b81525081600390805190602001906200006792919062000ade565b5080516200007d90600490602084019062000ade565b5050506200009a620000946200023d60201b60201c565b62000241565b6005805460ff60a01b1916905573d21f72dee6dde13ee01b73819e302b239e4f74ca620000f0600a620000cf60128262000d2c565b620000de90624c4b4062000d44565b620000ea919062000d66565b62000293565b6200010f738c516f774634a0b9bdb2e0fe4130ef1160640e49620002d9565b6200011d60008080620003d6565b6200012a816001620005e5565b62000137306001620005e5565b620001448160016200064f565b620001513060016200064f565b6200015f600060016200064f565b60095462000178906001600160a01b031660016200064f565b620001ac600a6200018b60128262000d2c565b6200019a906298968062000d44565b620001a6919062000d66565b620006a8565b620001e0600a620001bf60128262000d2c565b620001ce906298968062000d44565b620001da919062000d66565b620006e8565b6200021781600a620001f460128262000d2c565b62000205906402540be40062000d44565b62000211919062000d66565b62000728565b6200023673d21f72dee6dde13ee01b73819e302b239e4f74ca62000241565b5062000e30565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200029d62000807565b60078190556040518181527f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd06476906020015b60405180910390a150565b620002e362000807565b6001600160a01b038116620003745760405162461bcd60e51b815260206004820152604660248201527f546178657344656661756c74526f7574657257616c6c65743a2057616c6c657460448201527f2074617820726563697069656e742063616e6e6f74206265206120307830206160648201526564647265737360d01b608482015260a4015b60405180910390fd5b600980546001600160a01b0319166001600160a01b0383161790556200039c816001620005e5565b6040516001600160a01b03821681527f6e25174a1c60e9d62c82eed735a7d443dd0b6ea68bc2d0d936273e08fb532cac90602001620002ce565b620003e062000807565b600a54600c548491620003fb9161ffff918216911662000d89565b62000407919062000daf565b600c805461ffff191661ffff9283161790819055600a5484926200043992620100009283900482169290041662000d89565b62000445919062000daf565b600c805463ffff000019166201000061ffff938416021790819055600a54839262000480926401000000009283900482169290041662000d89565b6200048c919062000daf565b600c805461ffff9283166401000000000261ffff60201b19821681179092556109c4908316919092161711801590620004d45750600c546109c46201000090910461ffff1611155b8015620004f25750600c546109c464010000000090910461ffff1611155b620005665760405162461bcd60e51b815260206004820152603660248201527f546178657344656661756c74526f757465723a2043616e6e6f7420657863656560448201527f64206d617820746f74616c20666565206f66203235250000000000000000000060648201526084016200036b565b6040805160608101825261ffff808616825284811660208301528316918101919091526200059990600a90600362000b6d565b506040805161ffff8581168252848116602083015283168183015290517f4963431b187ee291501376bba89c8c815c04c831b33839c8b2ec099899153df49181900360600190a1505050565b620005ef62000807565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc92910162000643565b620006b262000807565b60118190556040518181527fa0dff8a4e8bcaa27b5a2b64bc312f8b338e362bd6cad89f5fe2ae6b8389fb38a90602001620002ce565b620006f262000807565b60128190556040518181527fb81a465c2b79d7b689b78d9aaf5a787dd386b73a952be0569f2fbc637aabb89790602001620002ce565b6001600160a01b038216620007805760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200036b565b6200078e6000838362000865565b8060026000828254620007a2919062000dd8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620008036000838362000a6b565b5050565b6005546001600160a01b03163314620008635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200036b565b565b6200086f62000a88565b6001600160a01b03831660009081526006602052604090205460ff16158015620008b257506001600160a01b03821660009081526006602052604090205460ff16155b620009165760405162461bcd60e51b815260206004820152602d60248201527f426c61636b6c6973743a2053656e646572206f7220726563697069656e74206960448201526c1cc8189b1858dadb1a5cdd1959609a1b60648201526084016200036b565b6001600160a01b0382166000908152600f602052604090205460ff1680156200095857506001600160a01b03831660009081526010602052604090205460ff16155b15620009be57601154811115620009be5760405162461bcd60e51b815260206004820152602360248201527f4d617854783a2043616e6e6f7420657863656564206d61782073656c6c206c696044820152621b5a5d60ea1b60648201526084016200036b565b6001600160a01b0382166000908152600f602052604090205460ff1615801562000a0157506001600160a01b03831660009081526010602052604090205460ff16155b1562000a6b5760125481111562000a6b5760405162461bcd60e51b815260206004820152602760248201527f4d617854783a2043616e6e6f7420657863656564206d6178207472616e7366656044820152661c881b1a5b5a5d60ca1b60648201526084016200036b565b62000a8383838362000a8360201b620011e41760201c565b505050565b62000a9c600554600160a01b900460ff1690565b15620008635760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016200036b565b82805462000aec9062000df3565b90600052602060002090601f01602090048101928262000b10576000855562000b5b565b82601f1062000b2b57805160ff191683800117855562000b5b565b8280016001018555821562000b5b579182015b8281111562000b5b57825182559160200191906001019062000b3e565b5062000b6992915062000c00565b5090565b60018301918390821562000b5b5791602002820160005b8382111562000bc657835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000b84565b801562000bf65782816101000a81549061ffff021916905560020160208160010104928301926001030262000bc6565b505062000b699291505b5b8082111562000b69576000815560010162000c01565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000c6e57816000190482111562000c525762000c5262000c17565b8085161562000c6057918102915b93841c939080029062000c32565b509250929050565b60008262000c875750600162000d26565b8162000c965750600062000d26565b816001811462000caf576002811462000cba5762000cda565b600191505062000d26565b60ff84111562000cce5762000cce62000c17565b50506001821b62000d26565b5060208310610133831016604e8410600b841016171562000cff575081810a62000d26565b62000d0b838362000c2d565b806000190482111562000d225762000d2262000c17565b0290505b92915050565b600062000d3d60ff84168362000c76565b9392505050565b600081600019048311821515161562000d615762000d6162000c17565b500290565b60008262000d8457634e487b7160e01b600052601260045260246000fd5b500490565b600061ffff8381169083168181101562000da75762000da762000c17565b039392505050565b600061ffff80831681851680830382111562000dcf5762000dcf62000c17565b01949350505050565b6000821982111562000dee5762000dee62000c17565b500190565b600181811c9082168062000e0857607f821691505b6020821081141562000e2a57634e487b7160e01b600052602260045260246000fd5b50919050565b61245c8062000e406000396000f3fe6080604052600436106102555760003560e01c806375c211e011610139578063bd70239b116100b6578063dbac26e91161007a578063dbac26e914610722578063dc3f0d0f14610752578063dd62ed3e14610772578063f112ba7214610792578063f2fde38b146107a7578063f7d3eca5146107c757600080fd5b8063bd70239b14610682578063c0246668146106a2578063c0a904a2146106c2578063c1d4212d146106e2578063cc274b291461070257600080fd5b80638fffabed116100fd5780638fffabed146105f757806395d89b4114610617578063a457c2d71461062c578063a9059cbb1461064c578063a9e757231461066c57600080fd5b806375c211e014610554578063768565571461057457806379cc6790146105a45780638456cb59146105c45780638da5cb5b146105d957600080fd5b8063404e5129116101d257806356417fef1161019657806356417fef146104845780635c975abb146104a45780635cce86cd146104c357806366d602ae146104f357806370a0823114610509578063715018a61461053f57600080fd5b8063404e5129146103a4578063408ccbdf146103c457806342966c68146103f75780634fbee19314610417578063502f74461461044757600080fd5b806323b872dd1161021957806323b872dd146103135780632d99d32e14610333578063313ce56714610353578063395093511461036f5780633f4ba83a1461038f57600080fd5b80630445b6671461026157806306fdde031461028a578063095ea7b3146102ac57806318160ddd146102dc57806322d9fcd7146102f157600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061027760075481565b6040519081526020015b60405180910390f35b34801561029657600080fd5b5061029f6107e7565b604051610281919061209e565b3480156102b857600080fd5b506102cc6102c7366004612108565b610879565b6040519015158152602001610281565b3480156102e857600080fd5b50600254610277565b3480156102fd57600080fd5b5061031161030c366004612134565b610891565b005b34801561031f57600080fd5b506102cc61032e366004612158565b610aa7565b34801561033f57600080fd5b5061031161034e366004612199565b610acb565b34801561035f57600080fd5b5060405160128152602001610281565b34801561037b57600080fd5b506102cc61038a366004612108565b610b60565b34801561039b57600080fd5b50610311610b82565b3480156103b057600080fd5b506103116103bf366004612199565b610b94565b3480156103d057600080fd5b506103e46103df3660046121d7565b610bfc565b60405161ffff9091168152602001610281565b34801561040357600080fd5b506103116104123660046121d7565b610c2a565b34801561042357600080fd5b506102cc610432366004612134565b600b6020526000908152604090205460ff1681565b34801561045357600080fd5b50600d5461046c9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610281565b34801561049057600080fd5b5061031161049f366004612134565b610c37565b3480156104b057600080fd5b50600554600160a01b900460ff166102cc565b3480156104cf57600080fd5b506102cc6104de366004612134565b60106020526000908152604090205460ff1681565b3480156104ff57600080fd5b5061027760115481565b34801561051557600080fd5b50610277610524366004612134565b6001600160a01b031660009081526020819052604090205490565b34801561054b57600080fd5b50610311610d30565b34801561056057600080fd5b506103e461056f3660046121d7565b610d42565b34801561058057600080fd5b506102cc61058f366004612134565b600f6020526000908152604090205460ff1681565b3480156105b057600080fd5b506103116105bf366004612108565b610d52565b3480156105d057600080fd5b50610311610d67565b3480156105e557600080fd5b506005546001600160a01b031661046c565b34801561060357600080fd5b50600e5461046c906001600160a01b031681565b34801561062357600080fd5b5061029f610d77565b34801561063857600080fd5b506102cc610647366004612108565b610d86565b34801561065857600080fd5b506102cc610667366004612108565b610e01565b34801561067857600080fd5b5061027760125481565b34801561068e57600080fd5b5061031161069d3660046121d7565b610e0f565b3480156106ae57600080fd5b506103116106bd366004612199565b610e4c565b3480156106ce57600080fd5b506103116106dd366004612199565b610eac565b3480156106ee57600080fd5b5060095461046c906001600160a01b031681565b34801561070e57600080fd5b5061031161071d3660046121d7565b610ebe565b34801561072e57600080fd5b506102cc61073d366004612134565b60066020526000908152604090205460ff1681565b34801561075e57600080fd5b5061031161076d3660046121d7565b610efb565b34801561077e57600080fd5b5061027761078d3660046121f0565b610f38565b34801561079e57600080fd5b50610277610f63565b3480156107b357600080fd5b506103116107c2366004612134565b610f79565b3480156107d357600080fd5b506103116107e2366004612235565b610fef565b6060600380546107f690612278565b80601f016020809104026020016040519081016040528092919081815260200182805461082290612278565b801561086f5780601f106108445761010080835404028352916020019161086f565b820191906000526020600020905b81548152906001019060200180831161085257829003601f168201915b5050505050905090565b6000336108878185856111e9565b5060019392505050565b61089961130d565b80600d60016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600d60019054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093791906122b3565b6001600160a01b031663c9c6539630600d60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd91906122b3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2e91906122b3565b600e80546001600160a01b0319166001600160a01b0392909216919091179055610a59816001611367565b600e54610a70906001600160a01b031660016113bf565b6040516001600160a01b038216907fbc052db65df144ad4f71f02da93cae3d4401104c30ac374d7cc10d87ee07b60290600090a250565b600033610ab5858285611434565b610ac08585856114ae565b506001949350505050565b610ad361130d565b600e546001600160a01b0383811691161415610b525760405162461bcd60e51b815260206004820152603360248201527f44656661756c74526f757465723a2043616e6e6f742072656d6f766520696e696044820152721d1a585b081c185a5c88199c9bdb481b1a5cdd606a1b60648201526084015b60405180910390fd5b610b5c82826113bf565b5050565b600033610887818585610b738383610f38565b610b7d91906122e6565b6111e9565b610b8a61130d565b610b92611809565b565b610b9c61130d565b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915591519182527f6a12b3df6cba4203bd7fd06b816789f87de8c594299aed5717ae070fac781bac91015b60405180910390a25050565b600c8160038110610c0c57600080fd5b60109182820401919006600202915054906101000a900461ffff1681565b610c34338261185e565b50565b610c3f61130d565b6001600160a01b038116610cca5760405162461bcd60e51b815260206004820152604660248201527f546178657344656661756c74526f7574657257616c6c65743a2057616c6c657460448201527f2074617820726563697069656e742063616e6e6f74206265206120307830206160648201526564647265737360d01b608482015260a401610b49565b600980546001600160a01b0319166001600160a01b038316179055610cf0816001610e4c565b6040516001600160a01b03821681527f6e25174a1c60e9d62c82eed735a7d443dd0b6ea68bc2d0d936273e08fb532cac906020015b60405180910390a150565b610d3861130d565b610b92600061199c565b600a8160038110610c0c57600080fd5b610d5d823383611434565b610b5c828261185e565b610d6f61130d565b610b926119ee565b6060600480546107f690612278565b60003381610d948286610f38565b905083811015610df45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b49565b610ac082868684036111e9565b6000336108878185856114ae565b610e1761130d565b60128190556040518181527fb81a465c2b79d7b689b78d9aaf5a787dd386b73a952be0569f2fbc637aabb89790602001610d25565b610e5461130d565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610bf0565b610eb461130d565b610b5c8282611367565b610ec661130d565b60078190556040518181527f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd0647690602001610d25565b610f0361130d565b60118190556040518181527fa0dff8a4e8bcaa27b5a2b64bc312f8b338e362bd6cad89f5fe2ae6b8389fb38a90602001610d25565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006008546000610f7491906122e6565b905090565b610f8161130d565b6001600160a01b038116610fe65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b49565b610c348161199c565b610ff761130d565b600a54600c5484916110109161ffff9182169116612314565b61101a9190612337565b600c805461ffff191661ffff9283161790819055600a54849261104a926201000092839004821692900416612314565b6110549190612337565b600c805463ffff000019166201000061ffff938416021790819055600a54839261108d9264010000000092839004821692900416612314565b6110979190612337565b600c805461ffff9283166401000000000265ffff0000000019821681179092556109c49083169190921617118015906110df5750600c546109c46201000090910461ffff1611155b80156110fc5750600c546109c464010000000090910461ffff1611155b6111675760405162461bcd60e51b815260206004820152603660248201527f546178657344656661756c74526f757465723a2043616e6e6f7420657863656560448201527564206d617820746f74616c20666565206f662032352560501b6064820152608401610b49565b6040805160608101825261ffff8086168252848116602083015283169181019190915261119890600a906003611ff3565b506040805161ffff8581168252848116602083015283168183015290517f4963431b187ee291501376bba89c8c815c04c831b33839c8b2ec099899153df49181900360600190a1505050565b505050565b6001600160a01b03831661124b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b49565b6001600160a01b0382166112ac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b49565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b49565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc929101610bf0565b6001600160a01b0382166000908152600f60205260409020805460ff191682158015919091179091556113f7576113f7826001611367565b816001600160a01b03167f911aa18ddbbbc33c9b4c704a71bdaa0984b0aa2e82726a7f51e64bad0b0a845582604051610bf0911515815260200190565b60006114408484610f38565b905060001981146114a8578181101561149b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b49565b6114a884848484036111e9565b50505050565b60006007546114bb610f63565b600d54911115915060ff161580156114ec57506001600160a01b0384166000908152600f602052604090205460ff16155b80156114f55750805b156115e357600d805460ff19166001179055600060085411156115d8576000600854600061152391906122e6565b9050600061153082611a31565b60085447906000908490611544908461235d565b61154e919061237c565b905080156115ce576009546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050925082156115ce57600954604080516001600160a01b039092168252602082018390527ff7a420e2cb7d3033ead185c897359ebf9011c07c771221fe5dbc21ca43cb684a910160405180910390a15b5050600060085550505b600d805460ff191690555b600d5460ff161580156115f65750600082115b80156116155750600d546001600160a01b038481166101009092041614155b801561163a57506001600160a01b0384166000908152600b602052604090205460ff16155b801561165f57506001600160a01b0383166000908152600b602052604090205460ff16155b156117fe576001600160a01b0384166000908152600f602052604081205460039060ff161561169d57600c5461ffff1615611698575060005b6116f0565b6001600160a01b0385166000908152600f602052604090205460ff16156116d857600c5462010000900461ffff1615611698575060016116f0565b600c54640100000000900461ffff16156116f0575060025b60038160ff1610156117ea57612710600c8260ff1660038110611715576117156122fe565b601091828204019190066002029054906101000a900461ffff1661ffff168561173e919061235d565b611748919061237c565b9150611754828561239e565b9350600c8160ff166003811061176c5761176c6122fe565b601091828204019190066002029054906101000a900461ffff1661ffff16600a8260ff16600381106117a0576117a06122fe565b601091828204019190066002029054906101000a900461ffff1661ffff16836117c9919061235d565b6117d3919061237c565b600860008282546117e491906122e6565b90915550505b81156117fb576117fb863084611bae565b50505b6114a8848484611bae565b611811611d5d565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166118be5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b49565b6118ca82600083611dad565b6001600160a01b0382166000908152602081905260409020548181101561193e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b49565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6119f6611fa6565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118413390565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a6657611a666122fe565b60200260200101906001600160a01b031690816001600160a01b031681525050600d60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afd91906122b3565b81600181518110611b1057611b106122fe565b6001600160a01b039283166020918202929092010152600d54611b3b913091610100900416846111e9565b600d5460405163791ac94760e01b81526101009091046001600160a01b03169063791ac94790611b789085906000908690309042906004016123b5565b600060405180830381600087803b158015611b9257600080fd5b505af1158015611ba6573d6000803e3d6000fd5b505050505050565b6001600160a01b038316611c125760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b49565b6001600160a01b038216611c745760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b49565b611c7f838383611dad565b6001600160a01b03831660009081526020819052604090205481811015611cf75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b49565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114a8565b600554600160a01b900460ff16610b925760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610b49565b611db5611fa6565b6001600160a01b03831660009081526006602052604090205460ff16158015611df757506001600160a01b03821660009081526006602052604090205460ff16155b611e595760405162461bcd60e51b815260206004820152602d60248201527f426c61636b6c6973743a2053656e646572206f7220726563697069656e74206960448201526c1cc8189b1858dadb1a5cdd1959609a1b6064820152608401610b49565b6001600160a01b0382166000908152600f602052604090205460ff168015611e9a57506001600160a01b03831660009081526010602052604090205460ff16155b15611efd57601154811115611efd5760405162461bcd60e51b815260206004820152602360248201527f4d617854783a2043616e6e6f7420657863656564206d61782073656c6c206c696044820152621b5a5d60ea1b6064820152608401610b49565b6001600160a01b0382166000908152600f602052604090205460ff16158015611f3f57506001600160a01b03831660009081526010602052604090205460ff16155b156111e4576012548111156111e45760405162461bcd60e51b815260206004820152602760248201527f4d617854783a2043616e6e6f7420657863656564206d6178207472616e7366656044820152661c881b1a5b5a5d60ca1b6064820152608401610b49565b600554600160a01b900460ff1615610b925760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b49565b6001830191839082156120795791602002820160005b8382111561204957835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302612009565b80156120775782816101000a81549061ffff0219169055600201602081600101049283019260010302612049565b505b50612085929150612089565b5090565b5b80821115612085576000815560010161208a565b600060208083528351808285015260005b818110156120cb578581018301518582016040015282016120af565b818111156120dd576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c3457600080fd5b6000806040838503121561211b57600080fd5b8235612126816120f3565b946020939093013593505050565b60006020828403121561214657600080fd5b8135612151816120f3565b9392505050565b60008060006060848603121561216d57600080fd5b8335612178816120f3565b92506020840135612188816120f3565b929592945050506040919091013590565b600080604083850312156121ac57600080fd5b82356121b7816120f3565b9150602083013580151581146121cc57600080fd5b809150509250929050565b6000602082840312156121e957600080fd5b5035919050565b6000806040838503121561220357600080fd5b823561220e816120f3565b915060208301356121cc816120f3565b803561ffff8116811461223057600080fd5b919050565b60008060006060848603121561224a57600080fd5b6122538461221e565b92506122616020850161221e565b915061226f6040850161221e565b90509250925092565b600181811c9082168061228c57607f821691505b602082108114156122ad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156122c557600080fd5b8151612151816120f3565b634e487b7160e01b600052601160045260246000fd5b600082198211156122f9576122f96122d0565b500190565b634e487b7160e01b600052603260045260246000fd5b600061ffff8381169083168181101561232f5761232f6122d0565b039392505050565b600061ffff808316818516808303821115612354576123546122d0565b01949350505050565b6000816000190483118215151615612377576123776122d0565b500290565b60008261239957634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156123b0576123b06122d0565b500390565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124055784516001600160a01b0316835293830193918301916001016123e0565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f411090c27afdf3681ce43d495ab4628a3cd5b94e059cd7349972f242cde0e1364736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102555760003560e01c806375c211e011610139578063bd70239b116100b6578063dbac26e91161007a578063dbac26e914610722578063dc3f0d0f14610752578063dd62ed3e14610772578063f112ba7214610792578063f2fde38b146107a7578063f7d3eca5146107c757600080fd5b8063bd70239b14610682578063c0246668146106a2578063c0a904a2146106c2578063c1d4212d146106e2578063cc274b291461070257600080fd5b80638fffabed116100fd5780638fffabed146105f757806395d89b4114610617578063a457c2d71461062c578063a9059cbb1461064c578063a9e757231461066c57600080fd5b806375c211e014610554578063768565571461057457806379cc6790146105a45780638456cb59146105c45780638da5cb5b146105d957600080fd5b8063404e5129116101d257806356417fef1161019657806356417fef146104845780635c975abb146104a45780635cce86cd146104c357806366d602ae146104f357806370a0823114610509578063715018a61461053f57600080fd5b8063404e5129146103a4578063408ccbdf146103c457806342966c68146103f75780634fbee19314610417578063502f74461461044757600080fd5b806323b872dd1161021957806323b872dd146103135780632d99d32e14610333578063313ce56714610353578063395093511461036f5780633f4ba83a1461038f57600080fd5b80630445b6671461026157806306fdde031461028a578063095ea7b3146102ac57806318160ddd146102dc57806322d9fcd7146102f157600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061027760075481565b6040519081526020015b60405180910390f35b34801561029657600080fd5b5061029f6107e7565b604051610281919061209e565b3480156102b857600080fd5b506102cc6102c7366004612108565b610879565b6040519015158152602001610281565b3480156102e857600080fd5b50600254610277565b3480156102fd57600080fd5b5061031161030c366004612134565b610891565b005b34801561031f57600080fd5b506102cc61032e366004612158565b610aa7565b34801561033f57600080fd5b5061031161034e366004612199565b610acb565b34801561035f57600080fd5b5060405160128152602001610281565b34801561037b57600080fd5b506102cc61038a366004612108565b610b60565b34801561039b57600080fd5b50610311610b82565b3480156103b057600080fd5b506103116103bf366004612199565b610b94565b3480156103d057600080fd5b506103e46103df3660046121d7565b610bfc565b60405161ffff9091168152602001610281565b34801561040357600080fd5b506103116104123660046121d7565b610c2a565b34801561042357600080fd5b506102cc610432366004612134565b600b6020526000908152604090205460ff1681565b34801561045357600080fd5b50600d5461046c9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610281565b34801561049057600080fd5b5061031161049f366004612134565b610c37565b3480156104b057600080fd5b50600554600160a01b900460ff166102cc565b3480156104cf57600080fd5b506102cc6104de366004612134565b60106020526000908152604090205460ff1681565b3480156104ff57600080fd5b5061027760115481565b34801561051557600080fd5b50610277610524366004612134565b6001600160a01b031660009081526020819052604090205490565b34801561054b57600080fd5b50610311610d30565b34801561056057600080fd5b506103e461056f3660046121d7565b610d42565b34801561058057600080fd5b506102cc61058f366004612134565b600f6020526000908152604090205460ff1681565b3480156105b057600080fd5b506103116105bf366004612108565b610d52565b3480156105d057600080fd5b50610311610d67565b3480156105e557600080fd5b506005546001600160a01b031661046c565b34801561060357600080fd5b50600e5461046c906001600160a01b031681565b34801561062357600080fd5b5061029f610d77565b34801561063857600080fd5b506102cc610647366004612108565b610d86565b34801561065857600080fd5b506102cc610667366004612108565b610e01565b34801561067857600080fd5b5061027760125481565b34801561068e57600080fd5b5061031161069d3660046121d7565b610e0f565b3480156106ae57600080fd5b506103116106bd366004612199565b610e4c565b3480156106ce57600080fd5b506103116106dd366004612199565b610eac565b3480156106ee57600080fd5b5060095461046c906001600160a01b031681565b34801561070e57600080fd5b5061031161071d3660046121d7565b610ebe565b34801561072e57600080fd5b506102cc61073d366004612134565b60066020526000908152604090205460ff1681565b34801561075e57600080fd5b5061031161076d3660046121d7565b610efb565b34801561077e57600080fd5b5061027761078d3660046121f0565b610f38565b34801561079e57600080fd5b50610277610f63565b3480156107b357600080fd5b506103116107c2366004612134565b610f79565b3480156107d357600080fd5b506103116107e2366004612235565b610fef565b6060600380546107f690612278565b80601f016020809104026020016040519081016040528092919081815260200182805461082290612278565b801561086f5780601f106108445761010080835404028352916020019161086f565b820191906000526020600020905b81548152906001019060200180831161085257829003601f168201915b5050505050905090565b6000336108878185856111e9565b5060019392505050565b61089961130d565b80600d60016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600d60019054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093791906122b3565b6001600160a01b031663c9c6539630600d60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd91906122b3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2e91906122b3565b600e80546001600160a01b0319166001600160a01b0392909216919091179055610a59816001611367565b600e54610a70906001600160a01b031660016113bf565b6040516001600160a01b038216907fbc052db65df144ad4f71f02da93cae3d4401104c30ac374d7cc10d87ee07b60290600090a250565b600033610ab5858285611434565b610ac08585856114ae565b506001949350505050565b610ad361130d565b600e546001600160a01b0383811691161415610b525760405162461bcd60e51b815260206004820152603360248201527f44656661756c74526f757465723a2043616e6e6f742072656d6f766520696e696044820152721d1a585b081c185a5c88199c9bdb481b1a5cdd606a1b60648201526084015b60405180910390fd5b610b5c82826113bf565b5050565b600033610887818585610b738383610f38565b610b7d91906122e6565b6111e9565b610b8a61130d565b610b92611809565b565b610b9c61130d565b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915591519182527f6a12b3df6cba4203bd7fd06b816789f87de8c594299aed5717ae070fac781bac91015b60405180910390a25050565b600c8160038110610c0c57600080fd5b60109182820401919006600202915054906101000a900461ffff1681565b610c34338261185e565b50565b610c3f61130d565b6001600160a01b038116610cca5760405162461bcd60e51b815260206004820152604660248201527f546178657344656661756c74526f7574657257616c6c65743a2057616c6c657460448201527f2074617820726563697069656e742063616e6e6f74206265206120307830206160648201526564647265737360d01b608482015260a401610b49565b600980546001600160a01b0319166001600160a01b038316179055610cf0816001610e4c565b6040516001600160a01b03821681527f6e25174a1c60e9d62c82eed735a7d443dd0b6ea68bc2d0d936273e08fb532cac906020015b60405180910390a150565b610d3861130d565b610b92600061199c565b600a8160038110610c0c57600080fd5b610d5d823383611434565b610b5c828261185e565b610d6f61130d565b610b926119ee565b6060600480546107f690612278565b60003381610d948286610f38565b905083811015610df45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b49565b610ac082868684036111e9565b6000336108878185856114ae565b610e1761130d565b60128190556040518181527fb81a465c2b79d7b689b78d9aaf5a787dd386b73a952be0569f2fbc637aabb89790602001610d25565b610e5461130d565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610bf0565b610eb461130d565b610b5c8282611367565b610ec661130d565b60078190556040518181527f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd0647690602001610d25565b610f0361130d565b60118190556040518181527fa0dff8a4e8bcaa27b5a2b64bc312f8b338e362bd6cad89f5fe2ae6b8389fb38a90602001610d25565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006008546000610f7491906122e6565b905090565b610f8161130d565b6001600160a01b038116610fe65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b49565b610c348161199c565b610ff761130d565b600a54600c5484916110109161ffff9182169116612314565b61101a9190612337565b600c805461ffff191661ffff9283161790819055600a54849261104a926201000092839004821692900416612314565b6110549190612337565b600c805463ffff000019166201000061ffff938416021790819055600a54839261108d9264010000000092839004821692900416612314565b6110979190612337565b600c805461ffff9283166401000000000265ffff0000000019821681179092556109c49083169190921617118015906110df5750600c546109c46201000090910461ffff1611155b80156110fc5750600c546109c464010000000090910461ffff1611155b6111675760405162461bcd60e51b815260206004820152603660248201527f546178657344656661756c74526f757465723a2043616e6e6f7420657863656560448201527564206d617820746f74616c20666565206f662032352560501b6064820152608401610b49565b6040805160608101825261ffff8086168252848116602083015283169181019190915261119890600a906003611ff3565b506040805161ffff8581168252848116602083015283168183015290517f4963431b187ee291501376bba89c8c815c04c831b33839c8b2ec099899153df49181900360600190a1505050565b505050565b6001600160a01b03831661124b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b49565b6001600160a01b0382166112ac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b49565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b49565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc929101610bf0565b6001600160a01b0382166000908152600f60205260409020805460ff191682158015919091179091556113f7576113f7826001611367565b816001600160a01b03167f911aa18ddbbbc33c9b4c704a71bdaa0984b0aa2e82726a7f51e64bad0b0a845582604051610bf0911515815260200190565b60006114408484610f38565b905060001981146114a8578181101561149b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b49565b6114a884848484036111e9565b50505050565b60006007546114bb610f63565b600d54911115915060ff161580156114ec57506001600160a01b0384166000908152600f602052604090205460ff16155b80156114f55750805b156115e357600d805460ff19166001179055600060085411156115d8576000600854600061152391906122e6565b9050600061153082611a31565b60085447906000908490611544908461235d565b61154e919061237c565b905080156115ce576009546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050925082156115ce57600954604080516001600160a01b039092168252602082018390527ff7a420e2cb7d3033ead185c897359ebf9011c07c771221fe5dbc21ca43cb684a910160405180910390a15b5050600060085550505b600d805460ff191690555b600d5460ff161580156115f65750600082115b80156116155750600d546001600160a01b038481166101009092041614155b801561163a57506001600160a01b0384166000908152600b602052604090205460ff16155b801561165f57506001600160a01b0383166000908152600b602052604090205460ff16155b156117fe576001600160a01b0384166000908152600f602052604081205460039060ff161561169d57600c5461ffff1615611698575060005b6116f0565b6001600160a01b0385166000908152600f602052604090205460ff16156116d857600c5462010000900461ffff1615611698575060016116f0565b600c54640100000000900461ffff16156116f0575060025b60038160ff1610156117ea57612710600c8260ff1660038110611715576117156122fe565b601091828204019190066002029054906101000a900461ffff1661ffff168561173e919061235d565b611748919061237c565b9150611754828561239e565b9350600c8160ff166003811061176c5761176c6122fe565b601091828204019190066002029054906101000a900461ffff1661ffff16600a8260ff16600381106117a0576117a06122fe565b601091828204019190066002029054906101000a900461ffff1661ffff16836117c9919061235d565b6117d3919061237c565b600860008282546117e491906122e6565b90915550505b81156117fb576117fb863084611bae565b50505b6114a8848484611bae565b611811611d5d565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166118be5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b49565b6118ca82600083611dad565b6001600160a01b0382166000908152602081905260409020548181101561193e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b49565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6119f6611fa6565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118413390565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a6657611a666122fe565b60200260200101906001600160a01b031690816001600160a01b031681525050600d60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afd91906122b3565b81600181518110611b1057611b106122fe565b6001600160a01b039283166020918202929092010152600d54611b3b913091610100900416846111e9565b600d5460405163791ac94760e01b81526101009091046001600160a01b03169063791ac94790611b789085906000908690309042906004016123b5565b600060405180830381600087803b158015611b9257600080fd5b505af1158015611ba6573d6000803e3d6000fd5b505050505050565b6001600160a01b038316611c125760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b49565b6001600160a01b038216611c745760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b49565b611c7f838383611dad565b6001600160a01b03831660009081526020819052604090205481811015611cf75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b49565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114a8565b600554600160a01b900460ff16610b925760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610b49565b611db5611fa6565b6001600160a01b03831660009081526006602052604090205460ff16158015611df757506001600160a01b03821660009081526006602052604090205460ff16155b611e595760405162461bcd60e51b815260206004820152602d60248201527f426c61636b6c6973743a2053656e646572206f7220726563697069656e74206960448201526c1cc8189b1858dadb1a5cdd1959609a1b6064820152608401610b49565b6001600160a01b0382166000908152600f602052604090205460ff168015611e9a57506001600160a01b03831660009081526010602052604090205460ff16155b15611efd57601154811115611efd5760405162461bcd60e51b815260206004820152602360248201527f4d617854783a2043616e6e6f7420657863656564206d61782073656c6c206c696044820152621b5a5d60ea1b6064820152608401610b49565b6001600160a01b0382166000908152600f602052604090205460ff16158015611f3f57506001600160a01b03831660009081526010602052604090205460ff16155b156111e4576012548111156111e45760405162461bcd60e51b815260206004820152602760248201527f4d617854783a2043616e6e6f7420657863656564206d6178207472616e7366656044820152661c881b1a5b5a5d60ca1b6064820152608401610b49565b600554600160a01b900460ff1615610b925760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b49565b6001830191839082156120795791602002820160005b8382111561204957835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302612009565b80156120775782816101000a81549061ffff0219169055600201602081600101049283019260010302612049565b505b50612085929150612089565b5090565b5b80821115612085576000815560010161208a565b600060208083528351808285015260005b818110156120cb578581018301518582016040015282016120af565b818111156120dd576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c3457600080fd5b6000806040838503121561211b57600080fd5b8235612126816120f3565b946020939093013593505050565b60006020828403121561214657600080fd5b8135612151816120f3565b9392505050565b60008060006060848603121561216d57600080fd5b8335612178816120f3565b92506020840135612188816120f3565b929592945050506040919091013590565b600080604083850312156121ac57600080fd5b82356121b7816120f3565b9150602083013580151581146121cc57600080fd5b809150509250929050565b6000602082840312156121e957600080fd5b5035919050565b6000806040838503121561220357600080fd5b823561220e816120f3565b915060208301356121cc816120f3565b803561ffff8116811461223057600080fd5b919050565b60008060006060848603121561224a57600080fd5b6122538461221e565b92506122616020850161221e565b915061226f6040850161221e565b90509250925092565b600181811c9082168061228c57607f821691505b602082108114156122ad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156122c557600080fd5b8151612151816120f3565b634e487b7160e01b600052601160045260246000fd5b600082198211156122f9576122f96122d0565b500190565b634e487b7160e01b600052603260045260246000fd5b600061ffff8381169083168181101561232f5761232f6122d0565b039392505050565b600061ffff808316818516808303821115612354576123546122d0565b01949350505050565b6000816000190483118215151615612377576123776122d0565b500290565b60008261239957634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156123b0576123b06122d0565b500390565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124055784516001600160a01b0316835293830193918301916001016123e0565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f411090c27afdf3681ce43d495ab4628a3cd5b94e059cd7349972f242cde0e1364736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.