More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 420 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21188727 | 44 days ago | IN | 0 ETH | 0.00113565 | ||||
Approve | 20790637 | 99 days ago | IN | 0 ETH | 0.00061093 | ||||
Approve | 20320064 | 165 days ago | IN | 0 ETH | 0.00029859 | ||||
Approve | 20284847 | 170 days ago | IN | 0 ETH | 0.000242 | ||||
Transfer | 20159979 | 187 days ago | IN | 0 ETH | 0.00016112 | ||||
Approve | 19828288 | 233 days ago | IN | 0 ETH | 0.00046256 | ||||
Approve | 19769261 | 242 days ago | IN | 0 ETH | 0.00073958 | ||||
Approve | 19767245 | 242 days ago | IN | 0 ETH | 0.0005196 | ||||
Approve | 19767242 | 242 days ago | IN | 0 ETH | 0.00037467 | ||||
Approve | 19752400 | 244 days ago | IN | 0 ETH | 0.00032376 | ||||
Approve | 19746733 | 245 days ago | IN | 0 ETH | 0.00030408 | ||||
Approve | 19743803 | 245 days ago | IN | 0 ETH | 0.00027434 | ||||
Approve | 19724378 | 248 days ago | IN | 0 ETH | 0.00026631 | ||||
Approve | 19712838 | 250 days ago | IN | 0 ETH | 0.0005994 | ||||
Approve | 19662111 | 257 days ago | IN | 0 ETH | 0.00079422 | ||||
Transfer | 19636993 | 260 days ago | IN | 0 ETH | 0.00089391 | ||||
Transfer | 19633475 | 261 days ago | IN | 0 ETH | 0.00269081 | ||||
Approve | 19613259 | 264 days ago | IN | 0 ETH | 0.00160274 | ||||
Approve | 19597681 | 266 days ago | IN | 0 ETH | 0.00075704 | ||||
Approve | 19585063 | 268 days ago | IN | 0 ETH | 0.00101494 | ||||
Approve | 19583053 | 268 days ago | IN | 0 ETH | 0.00174426 | ||||
Transfer | 19564138 | 270 days ago | IN | 0 ETH | 0.00169386 | ||||
Approve | 19561095 | 271 days ago | IN | 0 ETH | 0.00090294 | ||||
Approve | 19552954 | 272 days ago | IN | 0 ETH | 0.00079171 | ||||
Approve | 19537490 | 274 days ago | IN | 0 ETH | 0.00110588 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19767249 | 242 days ago | 0.00328159 ETH | ||||
19767249 | 242 days ago | 0.00328159 ETH | ||||
19712838 | 250 days ago | 0.01255756 ETH | ||||
19712838 | 250 days ago | 0.01255756 ETH | ||||
19670116 | 256 days ago | 0.0022931 ETH | ||||
19670116 | 256 days ago | 0.0022931 ETH | ||||
19670105 | 256 days ago | 0.00232542 ETH | ||||
19670105 | 256 days ago | 0.00232542 ETH | ||||
19670079 | 256 days ago | 0.00244027 ETH | ||||
19670079 | 256 days ago | 0.00244027 ETH | ||||
19670020 | 256 days ago | 0.0042166 ETH | ||||
19670020 | 256 days ago | 0.0042166 ETH | ||||
19670013 | 256 days ago | 0.00504184 ETH | ||||
19670013 | 256 days ago | 0.00504184 ETH | ||||
19670009 | 256 days ago | 0.00508802 ETH | ||||
19670009 | 256 days ago | 0.00508802 ETH | ||||
19670000 | 256 days ago | 0.00597343 ETH | ||||
19670000 | 256 days ago | 0.00597343 ETH | ||||
19669989 | 256 days ago | 0.02328772 ETH | ||||
19669989 | 256 days ago | 0.02328772 ETH | ||||
19613259 | 264 days ago | 0.00195038 ETH | ||||
19613259 | 264 days ago | 0.00195038 ETH | ||||
19585064 | 268 days ago | 0.00502659 ETH | ||||
19585064 | 268 days ago | 0.00502659 ETH | ||||
19561098 | 271 days ago | 0.00515995 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xB603AcF7...218aa8d92 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Seed
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.19; // to be modified .8.10 -> .8.19 new line import "../../lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol"; import "../../lib/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "../../lib/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "../../lib/openzeppelin-contracts/contracts/access/Ownable.sol"; contract Seed is ERC20, Ownable { IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); mapping(address => bool) public automatedMarketMakerPairs; bool public limitsInEffect = true; bool private swapping; // bool public tradingActive; bool public swapEnabled; // Anti-bot and anti-whale mappings and variables mapping(address => bool) public blocked; uint256 private launchBlock; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; struct Set { // Array of blackListedWallets address[] blackListedAddresses; // Mapping from element to its index in array; mapping(address => uint256) indexOf; } Set _blackListedAddresses; // uint16 public buyTotalFees; uint16 public buyTreasuryFee; // can remove uint16 public buyBuybackFee; // can remove // uint16 public sellTotalFees; uint16 public sellTreasuryFee; // can remove uint16 public sellBuybackFee; // can remove uint256 public maxTransactionAmount; // can be a ratio without a var uint256 public swapTokensAtAmount; // can also be a ratio address public treasuryWallet; // keep address public buyBackWallet; // keep // Uniswap Router For Mainnet address public constant ROUTER_CA = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; event TokenCreated(uint256 totalSupply, address tokenAddress); event TokenConfigured(bool flag); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event NewTaxValue(uint256 newBuyTax, uint256 newSellTax); modifier withinTransferAllotment(uint256 amount) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); _; } modifier notBlocked(Set storage set, address walletAddress) { require(!_isBlocked(walletAddress), "Wallet has been blocked"); _; } constructor( string memory _name, string memory _ticker, address _from, uint256 _supply ) ERC20(_name, _ticker) { treasuryWallet = _from; buyBackWallet = _from; // Transaction Limits maxTransactionAmount = _supply; // 5_000_000 | 0.5% max txn swapTokensAtAmount = (_supply * 5) / 100000; // 50_000 | 0.005% swap wallet // FEES SET UP TO BE HIGH AND WE WILL ADVISE USER TO SET IN TOKEN MGMT buyTreasuryFee = 350; // < 9.0% | 1.0%; > buyBuybackFee = 0; // < 9.0 | 1.0%; > sellTreasuryFee = 350; // < 9.0 | 1.0%; > sellBuybackFee = 0; // < 9.0 | 1.0%; > configureToken(true); // liquidity deployer wallet _isExcludedFromFees[msg.sender] = true; // msg.sender should be the deploying wallet _isExcludedFromFees[_from] = true; // new line _mint(_from, _supply); createRouter(); emit TokenCreated(_supply, address(this)); } receive() external payable {} fallback() external payable {} // This needs to be called in prod but in testing use startTrading function enableSwap(bool flag) external onlyOwner { swapEnabled = flag; } function createRouter() internal { // Exchange Router IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(ROUTER_CA); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); } function configureToken(bool flag) internal { // tradingActive = flag; swapEnabled = flag; launchBlock = block.number; limitsInEffect = !flag; emit TokenConfigured(flag); } function _transfer( address from, address to, uint256 amount ) internal override withinTransferAllotment(amount) notBlocked(_blackListedAddresses, from) // black list is not able to sell notBlocked(_blackListedAddresses, to) // black list is not able to buy { if (amount == 0) { super._transfer(from, to, 0); return; } if ( balanceOf(address(this)) >= swapTokensAtAmount && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = true; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if ( automatedMarketMakerPairs[to] && (sellTreasuryFee + sellBuybackFee) > 0 ) { fees = (amount * (sellTreasuryFee + sellBuybackFee)) / 1000; // 100 * fee factor (10) } // on buy else if ( automatedMarketMakerPairs[from] && (buyTreasuryFee + buyBuybackFee) > 0 ) { fees = (amount * (buyTreasuryFee + buyBuybackFee)) / 1000; // 100 * fee factor (10) } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } swapTokensForEth(contractBalance); uint256 totalFees = ((buyTreasuryFee + buyBuybackFee) + (sellTreasuryFee + sellBuybackFee)); // cannot devide by 0, everything goes to treasury if (totalFees == 0) { (success, ) = address(treasuryWallet).call{ value: address(this).balance }(""); return; } (success, ) = address(treasuryWallet).call{ value: address(this).balance - (address(this).balance * (buyTreasuryFee + sellTreasuryFee)) / totalFees }(""); (success, ) = address(buyBackWallet).call{ value: (address(this).balance) }(""); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } // this needs a large number like 5_000_000 function updateMaxTxnAmount(uint256 newNumInEth) external onlyOwner { require( newNumInEth >= (balanceOf(address(this)) / 10000) / 1e18, "Cannot set maxTransactionAmount lower than 0.01%" ); maxTransactionAmount = newNumInEth * (10 ** 18); } function updateBuyTax( uint16 _treasuryTax, // 10 = 1% uint16 _buybackTax ) external onlyOwner { buyTreasuryFee = _treasuryTax; buyBuybackFee = _buybackTax; require((buyTreasuryFee + buyBuybackFee) <= 10 * 100); // max 100% } function updateSellTax( uint16 _treasuryTax, // 10 = 1% uint16 _buybackTax ) external onlyOwner { sellTreasuryFee = _treasuryTax; sellBuybackFee = _buybackTax; require((sellTreasuryFee + sellBuybackFee) <= 10 * 100); // max 100% } function multiBlock(address[] calldata blockees) external onlyOwner { _addMultiple(_blackListedAddresses, blockees); } function _addMultiple( Set storage set, address[] memory walletAddresses ) internal { for (uint256 i = 0; i < walletAddresses.length; i++) { if (!_isBlocked(walletAddresses[i])) { _add(set, walletAddresses[i]); } } } // Add to struct Set function _add(Set storage set, address walletAddress) internal { // check that the address submitted is not an important address which has been declared prior. if ( walletAddress != address(this) && walletAddress != ROUTER_CA && walletAddress != address(uniswapV2Pair) ) { set.indexOf[walletAddress] = set.blackListedAddresses.length + 1; set.blackListedAddresses.push(walletAddress); } } // Check if Set contains the address function _isBlocked(address walletAddress) internal view returns (bool) { return (_blackListedAddresses.indexOf[walletAddress] > 0); } // Function to remove an address from the set function removeAddress(address _address) external onlyOwner { // Ensure the address is in the set require(_isBlocked(_address), "Address not in set"); // Swap the address with the last element address lastAddress = _blackListedAddresses.blackListedAddresses[ _blackListedAddresses.blackListedAddresses.length - 1 ]; _blackListedAddresses.blackListedAddresses[ _blackListedAddresses.indexOf[_address] - 1 ] = lastAddress; _blackListedAddresses.indexOf[lastAddress] = _blackListedAddresses .indexOf[_address]; // Remove the last element _blackListedAddresses.blackListedAddresses.pop(); // Delete the address from the mappings delete _blackListedAddresses.indexOf[_address]; } function getAllBlockedAddresses() external view returns (address[] memory) { return _blackListedAddresses.blackListedAddresses; } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function changeTreasuryFee( uint16 _buyvalue, uint16 _sellvalue, address _wallet ) external onlyOwner { buyTreasuryFee = _buyvalue; sellTreasuryFee = _sellvalue; treasuryWallet = _wallet; require((sellTreasuryFee + sellBuybackFee) <= 10 * 100); // max 100% require((buyTreasuryFee + buyBuybackFee) <= 10 * 100); // max 100% emit NewTaxValue( (buyTreasuryFee + buyBuybackFee), (sellTreasuryFee + sellBuybackFee) ); } function changeBuyBackFee( uint16 _buyvalue, uint16 _sellvalue, address _wallet ) external onlyOwner { buyBuybackFee = _buyvalue; sellBuybackFee = _sellvalue; buyBackWallet = _wallet; require((sellTreasuryFee + sellBuybackFee) <= 10 * 100); // max 100% require((buyTreasuryFee + buyBuybackFee) <= 10 * 100); // max 100% emit NewTaxValue( (buyTreasuryFee + buyBuybackFee), (sellTreasuryFee + sellBuybackFee) ); } }
// 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 {} }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); 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(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// 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/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// 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; } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-solidity/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin-solidity/=lib/openzeppelin-solidity/", "openzeppelin/=lib/openzeppelin-solidity/contracts/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"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":false,"internalType":"uint256","name":"newBuyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellTax","type":"uint256"}],"name":"NewTaxValue","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":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"TokenConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"}],"name":"TokenCreated","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ROUTER_CA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBuybackFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_buyvalue","type":"uint16"},{"internalType":"uint16","name":"_sellvalue","type":"uint16"},{"internalType":"address","name":"_wallet","type":"address"}],"name":"changeBuyBackFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_buyvalue","type":"uint16"},{"internalType":"uint16","name":"_sellvalue","type":"uint16"},{"internalType":"address","name":"_wallet","type":"address"}],"name":"changeTreasuryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"enableSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllBlockedAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"blockees","type":"address[]"}],"name":"multiBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBuybackFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"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":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_treasuryTax","type":"uint16"},{"internalType":"uint16","name":"_buybackTax","type":"uint16"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNumInEth","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_treasuryTax","type":"uint16"},{"internalType":"uint16","name":"_buybackTax","type":"uint16"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x60806040526004361061023d5760003560e01c80635c068a8c1161012d57806395d89b41116100b0578063c8c8ebe411610077578063c8c8ebe41461071f578063d2a09c7114610735578063dd62ed3e14610755578063e2f4560514610775578063e59621951461078b578063f2fde38b146107bb57005b806395d89b411461067a5780639a7a23d61461068f578063a457c2d7146106af578063a9059cbb146106cf578063b62496f5146106ef57005b8063715018a6116100f4578063715018a6146105e557806371a51522146105fa5780637571336a1461061c5780638da5cb5b1461063c57806392bda62b1461065a57005b80635c068a8c146105305780635f461eb91461054b5780636b2fb1241461056d5780636ddd17131461058f57806370a08231146105af57005b8063313ce567116101c057806349bd5a5e1161018757806349bd5a5e146104625780634a62bb65146104825780634ba79dfe1461049c57806350c6078d146104bc578063540ba552146104dc578063561999ff1461051057005b8063313ce567146103be57806339509351146103da5780634626402b146103fa5780634717b5b81461041a5780634891bb681461044257005b806318160ddd1161020457806318160ddd146103295780631cd348c014610348578063203e727e1461036857806323b872dd1461038857806327c8f835146103a857005b806306fdde0314610246578063095ea7b31461027157806310d5de53146102a157806312d403ef146102d15780631694505e146102f157005b3661024457005b005b34801561025257600080fd5b5061025b6107db565b6040516102689190611c60565b60405180910390f35b34801561027d57600080fd5b5061029161028c366004611cc3565b61086d565b6040519015158152602001610268565b3480156102ad57600080fd5b506102916102bc366004611cef565b600d6020526000908152604090205460ff1681565b3480156102dd57600080fd5b506102446102ec366004611d2a565b610887565b3480156102fd57600080fd5b50600654610311906001600160a01b031681565b6040516001600160a01b039091168152602001610268565b34801561033557600080fd5b506002545b604051908152602001610268565b34801561035457600080fd5b50601454610311906001600160a01b031681565b34801561037457600080fd5b50610244610383366004611d71565b6109be565b34801561039457600080fd5b506102916103a3366004611d8a565b610a7c565b3480156103b457600080fd5b5061031161dead81565b3480156103ca57600080fd5b5060405160128152602001610268565b3480156103e657600080fd5b506102916103f5366004611cc3565b610aa0565b34801561040657600080fd5b50601354610311906001600160a01b031681565b34801561042657600080fd5b50610311737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561044e57600080fd5b5061024461045d366004611dcb565b610ac2565b34801561046e57600080fd5b50600754610311906001600160a01b031681565b34801561048e57600080fd5b506009546102919060ff1681565b3480156104a857600080fd5b506102446104b7366004611cef565b610b0c565b3480156104c857600080fd5b506102446104d7366004611e40565b610c6e565b3480156104e857600080fd5b506010546104fd9062010000900461ffff1681565b60405161ffff9091168152602001610268565b34801561051c57600080fd5b5061024461052b366004611e40565b610cbe565b34801561053c57600080fd5b506010546104fd9061ffff1681565b34801561055757600080fd5b50610560610d19565b6040516102689190611eb7565b34801561057957600080fd5b506010546104fd90600160201b900461ffff1681565b34801561059b57600080fd5b506009546102919062010000900460ff1681565b3480156105bb57600080fd5b5061033a6105ca366004611cef565b6001600160a01b031660009081526020819052604090205490565b3480156105f157600080fd5b50610244610d7d565b34801561060657600080fd5b506010546104fd90600160301b900461ffff1681565b34801561062857600080fd5b50610244610637366004611eda565b610d91565b34801561064857600080fd5b506005546001600160a01b0316610311565b34801561066657600080fd5b50610244610675366004611d2a565b610dc4565b34801561068657600080fd5b5061025b610e2c565b34801561069b57600080fd5b506102446106aa366004611eda565b610e3b565b3480156106bb57600080fd5b506102916106ca366004611cc3565b610ed1565b3480156106db57600080fd5b506102916106ea366004611cc3565b610f4c565b3480156106fb57600080fd5b5061029161070a366004611cef565b60086020526000908152604090205460ff1681565b34801561072b57600080fd5b5061033a60115481565b34801561074157600080fd5b50610244610750366004611f06565b610f5a565b34801561076157600080fd5b5061033a610770366004611f21565b610f7e565b34801561078157600080fd5b5061033a60125481565b34801561079757600080fd5b506102916107a6366004611cef565b600a6020526000908152604090205460ff1681565b3480156107c757600080fd5b506102446107d6366004611cef565b610fa9565b6060600380546107ea90611f5a565b80601f016020809104026020016040519081016040528092919081815260200182805461081690611f5a565b80156108635780601f1061083857610100808354040283529160200191610863565b820191906000526020600020905b81548152906001019060200180831161084657829003601f168201915b5050505050905090565b60003361087b818585611022565b60019150505b92915050565b61088f611146565b6010805467ffff0000ffff000019166201000061ffff8681169190910267ffff000000000000191691909117600160301b85831681029190911792839055601480546001600160a01b0319166001600160a01b0386161790556103e89261090492918104821691600160201b90910416611faa565b61ffff16111561091357600080fd5b6010546103e8906109309061ffff62010000820481169116611faa565b61ffff16111561093f57600080fd5b6010547fa69cf5a99baf3015e228dbe3aeb5fab5dfe83a1c9f4b7bf6cea01f2c57ffc2b89061097a9061ffff62010000820481169116611faa565b60105461099b9061ffff600160301b8204811691600160201b900416611faa565b6040805161ffff93841681529290911660208301520160405180910390a1505050565b6109c6611146565b30600090815260208190526040902054670de0b6b3a7640000906109ed9061271090611fcc565b6109f79190611fcc565b811015610a645760405162461bcd60e51b815260206004820152603060248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526f6c6f776572207468616e20302e30312560801b60648201526084015b60405180910390fd5b610a7681670de0b6b3a7640000611fee565b60115550565b600033610a8a8582856111a0565b610a9585858561121a565b506001949350505050565b60003361087b818585610ab38383610f7e565b610abd9190612005565b611022565b610aca611146565b610b08600e8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506115ef92505050565b5050565b610b14611146565b6001600160a01b0381166000908152600f6020526040902054610b6e5760405162461bcd60e51b81526020600482015260126024820152711059191c995cdcc81b9bdd081a5b881cd95d60721b6044820152606401610a5b565b600e805460009190610b8290600190612018565b81548110610b9257610b9261202b565b60009182526020808320909101546001600160a01b038581168452600f909252604090922054911691508190600e90610bcd90600190612018565b81548110610bdd57610bdd61202b565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790558483168252600f90526040808220549284168252902055600e805480610c2d57610c2d612041565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03939093168152600f909252506040812055565b610c76611146565b6010805461ffff8381166201000090810263ffffffff199093168287161792909217928390556103e892610caf92810482169116611faa565b61ffff161115610b0857600080fd5b610cc6611146565b6010805467ffffffff000000001916600160201b61ffff858116820267ffff000000000000191692909217600160301b858416810291909117938490556103e893610caf93918104821692900416611faa565b6060600e60000180548060200260200160405190810160405280929190818152602001828054801561086357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610d56575050505050905090565b610d85611146565b610d8f6000611673565b565b610d99611146565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b610dcc611146565b6010805461ffff848116600160201b90810265ffff0000ffff19909316828816179290921792839055601380546001600160a01b0386166001600160a01b03199091161790556103e89261090492600160301b8204831692910416611faa565b6060600480546107ea90611f5a565b610e43611146565b6007546001600160a01b0390811690831603610ec75760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a5b565b610b0882826116c5565b60003381610edf8286610f7e565b905083811015610f3f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a5b565b610a958286868403611022565b60003361087b81858561121a565b610f62611146565b60098054911515620100000262ff000019909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fb1611146565b6001600160a01b0381166110165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a5b565b61101f81611673565b50565b6001600160a01b0383166110845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a5b565b6001600160a01b0382166110e55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a5b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610d8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a5b565b60006111ac8484610f7e565b9050600019811461121457818110156112075760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a5b565b6112148484848403611022565b50505050565b8060115481111561128b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a5b565b600e846112af816001600160a01b03166000908152600f6020526040902054151590565b156112f65760405162461bcd60e51b815260206004820152601760248201527615d85b1b195d081a185cc81899595b88189b1bd8dad959604a1b6044820152606401610a5b565b600e8561131a816001600160a01b03166000908152600f6020526040902054151590565b156113615760405162461bcd60e51b815260206004820152601760248201527615d85b1b195d081a185cc81899595b88189b1bd8dad959604a1b6044820152606401610a5b565b8560000361137a5761137588886000611719565b6115e5565b60125430600090815260208190526040902054101580156113a3575060095462010000900460ff165b80156113b75750600954610100900460ff16155b80156113dc57506001600160a01b03881660009081526008602052604090205460ff16155b801561140157506001600160a01b0388166000908152600c602052604090205460ff16155b801561142657506001600160a01b0387166000908152600c602052604090205460ff16155b1561144e576009805461ff0019166101001790556114426118bd565b6009805461ff00191690555b6001600160a01b0388166000908152600c602052604090205460019060ff168061149057506001600160a01b0388166000908152600c602052604090205460ff165b15611499575060005b600081156115d7576001600160a01b03891660009081526008602052604090205460ff1680156114ee57506010546000906114e89061ffff600160301b8204811691600160201b900416611faa565b61ffff16115b15611537576010546103e8906115189061ffff600160301b8204811691600160201b900416611faa565b6115269061ffff168a611fee565b6115309190611fcc565b90506115b9565b6001600160a01b038a1660009081526008602052604090205460ff16801561157c57506010546000906115769061ffff62010000820481169116611faa565b61ffff16115b156115b9576010546103e89061159e9061ffff62010000820481169116611faa565b6115ac9061ffff168a611fee565b6115b69190611fcc565b90505b80156115ca576115ca8a3083611719565b6115d48189612018565b97505b6115e28a8a8a611719565b50505b5050505050505050565b60005b815181101561166e576116358282815181106116105761161061202b565b60200260200101516001600160a01b03166000908152600f6020526040902054151590565b61165c5761165c8383838151811061164f5761164f61202b565b6020026020010151611a66565b8061166681612057565b9150506115f2565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661177d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a5b565b6001600160a01b0382166117df5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a5b565b6001600160a01b038316600090815260208190526040902054818110156118575760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a5b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611214565b30600090815260208190526040812054908181036118d9575050565b6012546118e7906014611fee565b8211156118ff576012546118fc906014611fee565b91505b61190882611b0e565b60105460009061192c9061ffff600160301b8204811691600160201b900416611faa565b6010546119459061ffff62010000820481169116611faa565b61194f9190611faa565b61ffff169050806000036119bc576013546040516001600160a01b039091169047905b60006040518083038185875af1925050503d80600081146119af576040519150601f19603f3d011682016040523d82523d6000602084013e6119b4565b606091505b505050505050565b6013546010546001600160a01b039091169082906119e79061ffff600160201b820481169116611faa565b6119f59061ffff1647611fee565b6119ff9190611fcc565b611a099047612018565b604051600081818185875af1925050503d8060008114611a45576040519150601f19603f3d011682016040523d82523d6000602084013e611a4a565b606091505b50506014546040519193506001600160a01b0316904790611972565b6001600160a01b0381163014801590611a9c57506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b8015611ab657506007546001600160a01b03828116911614155b15610b08578154611ac8906001612005565b6001600160a01b03821660008181526001808601602090815260408320949094558554908101865585825292902090910180546001600160a01b03191690911790555050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b4357611b4361202b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611b9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc09190612070565b81600181518110611bd357611bd361202b565b6001600160a01b039283166020918202929092010152600654611bf99130911684611022565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c3290859060009086903090429060040161208d565b600060405180830381600087803b158015611c4c57600080fd5b505af11580156119b4573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611c8d57858101830151858201604001528201611c71565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461101f57600080fd5b60008060408385031215611cd657600080fd5b8235611ce181611cae565b946020939093013593505050565b600060208284031215611d0157600080fd5b8135611d0c81611cae565b9392505050565b803561ffff81168114611d2557600080fd5b919050565b600080600060608486031215611d3f57600080fd5b611d4884611d13565b9250611d5660208501611d13565b91506040840135611d6681611cae565b809150509250925092565b600060208284031215611d8357600080fd5b5035919050565b600080600060608486031215611d9f57600080fd5b8335611daa81611cae565b92506020840135611dba81611cae565b929592945050506040919091013590565b60008060208385031215611dde57600080fd5b823567ffffffffffffffff80821115611df657600080fd5b818501915085601f830112611e0a57600080fd5b813581811115611e1957600080fd5b8660208260051b8501011115611e2e57600080fd5b60209290920196919550909350505050565b60008060408385031215611e5357600080fd5b611e5c83611d13565b9150611e6a60208401611d13565b90509250929050565b600081518084526020808501945080840160005b83811015611eac5781516001600160a01b031687529582019590820190600101611e87565b509495945050505050565b602081526000611d0c6020830184611e73565b80358015158114611d2557600080fd5b60008060408385031215611eed57600080fd5b8235611ef881611cae565b9150611e6a60208401611eca565b600060208284031215611f1857600080fd5b611d0c82611eca565b60008060408385031215611f3457600080fd5b8235611f3f81611cae565b91506020830135611f4f81611cae565b809150509250929050565b600181811c90821680611f6e57607f821691505b602082108103611f8e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61ffff818116838216019080821115611fc557611fc5611f94565b5092915050565b600082611fe957634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761088157610881611f94565b8082018082111561088157610881611f94565b8181038181111561088157610881611f94565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60006001820161206957612069611f94565b5060010190565b60006020828403121561208257600080fd5b8151611d0c81611cae565b85815284602082015260a0604082015260006120ac60a0830186611e73565b6001600160a01b039490941660608301525060800152939250505056fea2646970667358221220f6c26bb1f10e49ad8877bde3a7944312087e4f09f42ef761f1069c667cf6748364736f6c63430008130033
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.