Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 149 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 16858415 | 687 days ago | IN | 0 ETH | 0.00040351 | ||||
Approve | 14791403 | 993 days ago | IN | 0 ETH | 0.00108874 | ||||
Approve | 14510714 | 1037 days ago | IN | 0 ETH | 0.00197505 | ||||
Approve | 14503009 | 1038 days ago | IN | 0 ETH | 0.00276881 | ||||
Approve | 14499411 | 1039 days ago | IN | 0 ETH | 0.00150812 | ||||
Approve | 14498951 | 1039 days ago | IN | 0 ETH | 0.00235667 | ||||
Approve | 14498726 | 1039 days ago | IN | 0 ETH | 0.00194842 | ||||
Transfer | 14498290 | 1039 days ago | IN | 0 ETH | 0.0020023 | ||||
Approve | 14498251 | 1039 days ago | IN | 0 ETH | 0.00231457 | ||||
Approve | 14497761 | 1039 days ago | IN | 0 ETH | 0.00206412 | ||||
Approve | 14496298 | 1039 days ago | IN | 0 ETH | 0.00536049 | ||||
Approve | 14496166 | 1039 days ago | IN | 0 ETH | 0.00152264 | ||||
Approve | 14496165 | 1039 days ago | IN | 0 ETH | 0.00152264 | ||||
Approve | 14496164 | 1039 days ago | IN | 0 ETH | 0.00265694 | ||||
Transfer | 14433005 | 1049 days ago | IN | 0 ETH | 0.00268464 | ||||
Approve | 14410461 | 1053 days ago | IN | 0 ETH | 0.0016175 | ||||
Approve | 14379612 | 1058 days ago | IN | 0 ETH | 0.00205097 | ||||
Approve | 14375468 | 1058 days ago | IN | 0 ETH | 0.00137421 | ||||
Approve | 14304424 | 1069 days ago | IN | 0 ETH | 0.0020888 | ||||
Transfer | 14304413 | 1069 days ago | IN | 0 ETH | 0.00423182 | ||||
Approve | 14246944 | 1078 days ago | IN | 0 ETH | 0.00261082 | ||||
Approve | 14221868 | 1082 days ago | IN | 0 ETH | 0.00223605 | ||||
Approve | 14190162 | 1087 days ago | IN | 0 ETH | 0.00174063 | ||||
Approve | 14189778 | 1087 days ago | IN | 0 ETH | 0.00292263 | ||||
Approve | 14189777 | 1087 days ago | IN | 0 ETH | 0.00241109 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PooPay
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ //| $$__ $$ /$$__ $$ /$$__ $$| $$__ $$ /$$__ $$| $$ /$$/ //| $$ \ $$| $$ \ $$| $$ \ $$| $$ \ $$| $$ \ $$ \ $$ /$$/ //| $$$$$$$/| $$ | $$| $$ | $$| $$$$$$$/| $$$$$$$$ \ $$$$/ //| $$____/ | $$ | $$| $$ | $$| $$____/ | $$__ $$ \ $$/ //| $$ | $$ | $$| $$ | $$| $$ | $$ | $$ | $$ //| $$ | $$$$$$/| $$$$$$/| $$ | $$ | $$ | $$ //|__/ \______/ \______/ |__/ |__/ |__/ |__/ pragma solidity =0.8.9; import "IERC20.sol"; import "Context.sol"; import "Ownable.sol"; import "Address.sol"; import "SafeMath.sol"; import "IUniswapV2Factory.sol"; import "IUniswapV2Router01.sol"; import "IUniswapV2Router02.sol"; contract PooPay is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExemptFromFee; string private constant _name = "PooPay"; string private constant _symbol = "POO"; uint8 private constant _decimals = 18; uint256 private constant _totalSupply = 10000000000 * 10**18; address public burnWallet = 0x000000000000000000000000000000000000dEaD; address public marketingWallet; address public uniswapV2Pair; IUniswapV2Router02 public uniswapV2Router; uint256 public _marketingFee = 3; uint256 private _previousMarketingFee = _marketingFee; uint256 public _burnFee = 2; uint256 private _previousBurnFee = _burnFee; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event UpdateMarketingWallet( address indexed newAddress, address indexed oldAddress ); event SetBurnFeePercent( uint256 indexed newBurnFee, uint256 indexed oldBurnFee ); event SetMarketingFeePercent( uint256 indexed newMarketingFee, uint256 indexed oldMarketingFee ); constructor() public { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; marketingWallet = 0x5807a0E82D575EE8681a02e815c651D3d75A3ee2; // Owner, contract & marketingwallet are exempt from fees \\ _isExemptFromFee[owner()] = true; _isExemptFromFee[address(this)] = true; _isExemptFromFee[marketingWallet] = true; // Distribute token to sender addr \\ _balances[_msgSender()] = _totalSupply; emit Transfer(address(0), _msgSender(), _totalSupply); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } receive() external payable {} function isExemptFromFee(address account) public view returns (bool) { return _isExemptFromFee[account]; } function exemptFromFee(address account) public onlyOwner { _isExemptFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExemptFromFee[account] = false; } function setBurnFeePercent(uint256 burnFee) external onlyOwner { emit SetBurnFeePercent(burnFee, uint256(_burnFee)); _burnFee = burnFee; } function setMarketingFeePercent(uint256 marketingFee) external onlyOwner { emit SetMarketingFeePercent(marketingFee, uint256(_marketingFee)); _marketingFee = marketingFee; } function updateMarketingWallet(address account) public onlyOwner { emit UpdateMarketingWallet(account, address(marketingWallet)); marketingWallet = account; } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "ERC20: Unable to use existing address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; } function calculateFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_burnFee + _marketingFee).div(100); } function removeAllFee() private { if (_burnFee == 0 && _marketingFee == 0) return; _previousBurnFee = _burnFee; _previousMarketingFee = _marketingFee; _burnFee = 0; _marketingFee = 0; } function restoreAllFee() private { _burnFee = _previousBurnFee; _marketingFee = _previousMarketingFee; } // Distribute fee to marketing & burn addr \\ function _distributeFee(uint256 totalFee, address sender) private { if (_marketingFee + _burnFee > 0) { uint256 totalMarketing = totalFee.mul(_marketingFee).div( _marketingFee + _burnFee ); uint256 totalBurn = totalFee.sub(totalMarketing); _balances[burnWallet] = _balances[burnWallet].add(totalBurn); emit Transfer(sender, burnWallet, totalBurn); _balances[marketingWallet] = _balances[marketingWallet].add( totalMarketing ); emit Transfer(sender, marketingWallet, totalMarketing); } } function _approve( address owner, address spender, uint256 amount ) private { 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); } function _transfer( address sender, address recipient, uint256 amount ) private { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); // Determine fee exemption \\ bool takeFee = true; if (_isExemptFromFee[sender] || _isExemptFromFee[recipient]) { takeFee = false; } if (!takeFee) removeAllFee(); _transferActual(sender, recipient, amount); if (!takeFee) restoreAllFee(); } // Deduct fees and amend balances \\ function _transferActual( address sender, address recipient, uint256 amount ) private { uint256 totalFee = calculateFee(amount); uint256 transferAmount = amount.sub(totalFee); _balances[sender] = _balances[sender].sub(amount); _balances[recipient] = _balances[recipient].add(transferAmount); _distributeFee(totalFee, sender); emit Transfer(sender, recipient, transferAmount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; 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.6.2; 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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; import "IUniswapV2Router01.sol"; 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; }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newBurnFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldBurnFee","type":"uint256"}],"name":"SetBurnFeePercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newMarketingFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldMarketingFee","type":"uint256"}],"name":"SetMarketingFeePercent","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":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateMarketingWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnWallet","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":"address","name":"account","type":"address"}],"name":"exemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExemptFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnFee","type":"uint256"}],"name":"setBurnFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"}],"name":"setMarketingFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","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":"address","name":"account","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600480546001600160a01b03191661dead179055600360088190556009556002600a819055600b553480156200003957600080fd5b50620000453362000335565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200009a57600080fd5b505afa158015620000af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d5919062000385565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200011e57600080fd5b505afa15801562000133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000159919062000385565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620001a257600080fd5b505af1158015620001b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dd919062000385565b600780546001600160a01b038086166001600160a01b031992831617909255600680549284169282169290921790915560058054909116735807a0e82d575ee8681a02e815c651d3d75a3ee21790559050600160036000620002476000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556005549091168352908220805490931681179092556b204fce5e3e250261100000009190620002b83390565b6001600160a01b03168152602081019190915260400160002055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6b204fce5e3e250261100000006040516200032591815260200190565b60405180910390a35050620003b7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200039857600080fd5b81516001600160a01b0381168114620003b057600080fd5b9392505050565b6114b080620003c76000396000f3fe6080604052600436106101a05760003560e01c806365b8dbc0116100ec578063a9059cbb1161008a578063cea2695811610064578063cea26958146104f2578063dd62ed3e14610512578063ea2f0b3714610558578063f2fde38b1461057857600080fd5b8063a9059cbb1461049c578063aacebbe3146104bc578063c0b0fda2146104dc57600080fd5b806375f0a874116100c657806375f0a874146104125780638da5cb5b1461043257806395d89b4114610450578063a457c2d71461047c57600080fd5b806365b8dbc0146103a757806370a08231146103c7578063715018a6146103fd57600080fd5b806322976e0d1161015957806339509351116101335780633950935114610325578063457c194c1461034557806349bd5a5e1461036757806358e4b7311461038757600080fd5b806322976e0d146102d357806323b872dd146102e9578063313ce5671461030957600080fd5b80630184a8c3146101ac57806306228749146101fa57806306fdde0314610232578063095ea7b31461026a5780631694505e1461028a57806318160ddd146102aa57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101e56101c7366004611224565b6001600160a01b031660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561020657600080fd5b5060045461021a906001600160a01b031681565b6040516001600160a01b0390911681526020016101f1565b34801561023e57600080fd5b50604080518082019091526006815265506f6f50617960d01b60208201525b6040516101f19190611241565b34801561027657600080fd5b506101e5610285366004611296565b610598565b34801561029657600080fd5b5060075461021a906001600160a01b031681565b3480156102b657600080fd5b506b204fce5e3e250261100000005b6040519081526020016101f1565b3480156102df57600080fd5b506102c560085481565b3480156102f557600080fd5b506101e56103043660046112c2565b6105ae565b34801561031557600080fd5b50604051601281526020016101f1565b34801561033157600080fd5b506101e5610340366004611296565b610617565b34801561035157600080fd5b50610365610360366004611303565b61064d565b005b34801561037357600080fd5b5060065461021a906001600160a01b031681565b34801561039357600080fd5b506103656103a2366004611224565b6106b3565b3480156103b357600080fd5b506103656103c2366004611224565b610701565b3480156103d357600080fd5b506102c56103e2366004611224565b6001600160a01b031660009081526001602052604090205490565b34801561040957600080fd5b5061036561099a565b34801561041e57600080fd5b5060055461021a906001600160a01b031681565b34801561043e57600080fd5b506000546001600160a01b031661021a565b34801561045c57600080fd5b50604080518082019091526003815262504f4f60e81b602082015261025d565b34801561048857600080fd5b506101e5610497366004611296565b6109d0565b3480156104a857600080fd5b506101e56104b7366004611296565b610a1f565b3480156104c857600080fd5b506103656104d7366004611224565b610a2c565b3480156104e857600080fd5b506102c5600a5481565b3480156104fe57600080fd5b5061036561050d366004611303565b610ab3565b34801561051e57600080fd5b506102c561052d36600461131c565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561056457600080fd5b50610365610573366004611224565b610b10565b34801561058457600080fd5b50610365610593366004611224565b610b5b565b60006105a5338484610bf6565b50600192915050565b60006105bb848484610d1a565b61060d84336106088560405180606001604052806028815260200161142e602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610ec1565b610bf6565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105a59185906106089086610eed565b6000546001600160a01b031633146106805760405162461bcd60e51b815260040161067790611355565b60405180910390fd5b60085460405182907f239ad2388d4a7b29b6cf8d4ef5ec76d7f5e88ffcb230c40960f2735bf43fb54b90600090a3600855565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161067790611355565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6000546001600160a01b0316331461072b5760405162461bcd60e51b815260040161067790611355565b6007546001600160a01b03828116911614156107975760405162461bcd60e51b815260206004820152602560248201527f45524332303a20556e61626c6520746f20757365206578697374696e67206164604482015264647265737360d81b6064820152608401610677565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b15801561082957600080fd5b505afa15801561083d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610861919061138a565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156108be57600080fd5b505afa1580156108d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f6919061138a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561093e57600080fd5b505af1158015610952573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610976919061138a565b600680546001600160a01b0319166001600160a01b03929092169190911790555050565b6000546001600160a01b031633146109c45760405162461bcd60e51b815260040161067790611355565b6109ce6000610f00565b565b60006105a5338461060885604051806060016040528060258152602001611456602591393360009081526002602090815260408083206001600160a01b038d1684529091529020549190610ec1565b60006105a5338484610d1a565b6000546001600160a01b03163314610a565760405162461bcd60e51b815260040161067790611355565b6005546040516001600160a01b03918216918316907facf03c50dcf01e53e2775267d12acd0158d87c2f20fb84226837142693b36ae790600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610add5760405162461bcd60e51b815260040161067790611355565b600a5460405182907f3e8b874534ce45293a03a3ad133e21a93c662d72bfa727f66732ecf2d1bd4a7b90600090a3600a55565b6000546001600160a01b03163314610b3a5760405162461bcd60e51b815260040161067790611355565b6001600160a01b03166000908152600360205260409020805460ff19169055565b6000546001600160a01b03163314610b855760405162461bcd60e51b815260040161067790611355565b6001600160a01b038116610bea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610677565b610bf381610f00565b50565b6001600160a01b038316610c585760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610677565b6001600160a01b038216610cb95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610677565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d7e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610677565b6001600160a01b038216610de05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610677565b60008111610e425760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610677565b6001600160a01b03831660009081526003602052604090205460019060ff1680610e8457506001600160a01b03831660009081526003602052604090205460ff165b15610e8d575060005b80610e9a57610e9a610f50565b610ea5848484610f7e565b80610ebb57610ebb600b54600a55600954600855565b50505050565b60008184841115610ee55760405162461bcd60e51b81526004016106779190611241565b505050900390565b6000610ef982846113bd565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a54158015610f605750600854155b15610f6757565b600a8054600b556008805460095560009182905555565b6000610f8982611063565b90506000610f978383611090565b6001600160a01b038616600090815260016020526040902054909150610fbd9084611090565b6001600160a01b038087166000908152600160205260408082209390935590861681522054610fec9082610eed565b6001600160a01b03851660009081526001602052604090205561100f828661109c565b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161105491815260200190565b60405180910390a35050505050565b600061108a6064611084600854600a5461107d91906113bd565b85906111f7565b90611203565b92915050565b6000610ef982846113d5565b6000600a546008546110ae91906113bd565b11156111f35760006110d7600a546008546110c991906113bd565b6008546110849086906111f7565b905060006110e58483611090565b6004546001600160a01b031660009081526001602052604090205490915061110d9082610eed565b600480546001600160a01b03908116600090815260016020908152604091829020949094559154915184815291811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36005546001600160a01b03166000908152600160205260409020546111919083610eed565b600580546001600160a01b03908116600090815260016020908152604091829020949094559154915185815291811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505b5050565b6000610ef982846113ec565b6000610ef9828461140b565b6001600160a01b0381168114610bf357600080fd5b60006020828403121561123657600080fd5b8135610ef98161120f565b600060208083528351808285015260005b8181101561126e57858101830151858201604001528201611252565b81811115611280576000604083870101525b50601f01601f1916929092016040019392505050565b600080604083850312156112a957600080fd5b82356112b48161120f565b946020939093013593505050565b6000806000606084860312156112d757600080fd5b83356112e28161120f565b925060208401356112f28161120f565b929592945050506040919091013590565b60006020828403121561131557600080fd5b5035919050565b6000806040838503121561132f57600080fd5b823561133a8161120f565b9150602083013561134a8161120f565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561139c57600080fd5b8151610ef98161120f565b634e487b7160e01b600052601160045260246000fd5b600082198211156113d0576113d06113a7565b500190565b6000828210156113e7576113e76113a7565b500390565b6000816000190483118215151615611406576114066113a7565b500290565b60008261142857634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f3e0d1b09e8aaa4a1fe0d5f0ad97ff3bdd7f07640026905508fdafdb5784280d64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101a05760003560e01c806365b8dbc0116100ec578063a9059cbb1161008a578063cea2695811610064578063cea26958146104f2578063dd62ed3e14610512578063ea2f0b3714610558578063f2fde38b1461057857600080fd5b8063a9059cbb1461049c578063aacebbe3146104bc578063c0b0fda2146104dc57600080fd5b806375f0a874116100c657806375f0a874146104125780638da5cb5b1461043257806395d89b4114610450578063a457c2d71461047c57600080fd5b806365b8dbc0146103a757806370a08231146103c7578063715018a6146103fd57600080fd5b806322976e0d1161015957806339509351116101335780633950935114610325578063457c194c1461034557806349bd5a5e1461036757806358e4b7311461038757600080fd5b806322976e0d146102d357806323b872dd146102e9578063313ce5671461030957600080fd5b80630184a8c3146101ac57806306228749146101fa57806306fdde0314610232578063095ea7b31461026a5780631694505e1461028a57806318160ddd146102aa57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101e56101c7366004611224565b6001600160a01b031660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561020657600080fd5b5060045461021a906001600160a01b031681565b6040516001600160a01b0390911681526020016101f1565b34801561023e57600080fd5b50604080518082019091526006815265506f6f50617960d01b60208201525b6040516101f19190611241565b34801561027657600080fd5b506101e5610285366004611296565b610598565b34801561029657600080fd5b5060075461021a906001600160a01b031681565b3480156102b657600080fd5b506b204fce5e3e250261100000005b6040519081526020016101f1565b3480156102df57600080fd5b506102c560085481565b3480156102f557600080fd5b506101e56103043660046112c2565b6105ae565b34801561031557600080fd5b50604051601281526020016101f1565b34801561033157600080fd5b506101e5610340366004611296565b610617565b34801561035157600080fd5b50610365610360366004611303565b61064d565b005b34801561037357600080fd5b5060065461021a906001600160a01b031681565b34801561039357600080fd5b506103656103a2366004611224565b6106b3565b3480156103b357600080fd5b506103656103c2366004611224565b610701565b3480156103d357600080fd5b506102c56103e2366004611224565b6001600160a01b031660009081526001602052604090205490565b34801561040957600080fd5b5061036561099a565b34801561041e57600080fd5b5060055461021a906001600160a01b031681565b34801561043e57600080fd5b506000546001600160a01b031661021a565b34801561045c57600080fd5b50604080518082019091526003815262504f4f60e81b602082015261025d565b34801561048857600080fd5b506101e5610497366004611296565b6109d0565b3480156104a857600080fd5b506101e56104b7366004611296565b610a1f565b3480156104c857600080fd5b506103656104d7366004611224565b610a2c565b3480156104e857600080fd5b506102c5600a5481565b3480156104fe57600080fd5b5061036561050d366004611303565b610ab3565b34801561051e57600080fd5b506102c561052d36600461131c565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561056457600080fd5b50610365610573366004611224565b610b10565b34801561058457600080fd5b50610365610593366004611224565b610b5b565b60006105a5338484610bf6565b50600192915050565b60006105bb848484610d1a565b61060d84336106088560405180606001604052806028815260200161142e602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610ec1565b610bf6565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105a59185906106089086610eed565b6000546001600160a01b031633146106805760405162461bcd60e51b815260040161067790611355565b60405180910390fd5b60085460405182907f239ad2388d4a7b29b6cf8d4ef5ec76d7f5e88ffcb230c40960f2735bf43fb54b90600090a3600855565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161067790611355565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6000546001600160a01b0316331461072b5760405162461bcd60e51b815260040161067790611355565b6007546001600160a01b03828116911614156107975760405162461bcd60e51b815260206004820152602560248201527f45524332303a20556e61626c6520746f20757365206578697374696e67206164604482015264647265737360d81b6064820152608401610677565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b15801561082957600080fd5b505afa15801561083d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610861919061138a565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156108be57600080fd5b505afa1580156108d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f6919061138a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561093e57600080fd5b505af1158015610952573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610976919061138a565b600680546001600160a01b0319166001600160a01b03929092169190911790555050565b6000546001600160a01b031633146109c45760405162461bcd60e51b815260040161067790611355565b6109ce6000610f00565b565b60006105a5338461060885604051806060016040528060258152602001611456602591393360009081526002602090815260408083206001600160a01b038d1684529091529020549190610ec1565b60006105a5338484610d1a565b6000546001600160a01b03163314610a565760405162461bcd60e51b815260040161067790611355565b6005546040516001600160a01b03918216918316907facf03c50dcf01e53e2775267d12acd0158d87c2f20fb84226837142693b36ae790600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610add5760405162461bcd60e51b815260040161067790611355565b600a5460405182907f3e8b874534ce45293a03a3ad133e21a93c662d72bfa727f66732ecf2d1bd4a7b90600090a3600a55565b6000546001600160a01b03163314610b3a5760405162461bcd60e51b815260040161067790611355565b6001600160a01b03166000908152600360205260409020805460ff19169055565b6000546001600160a01b03163314610b855760405162461bcd60e51b815260040161067790611355565b6001600160a01b038116610bea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610677565b610bf381610f00565b50565b6001600160a01b038316610c585760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610677565b6001600160a01b038216610cb95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610677565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d7e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610677565b6001600160a01b038216610de05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610677565b60008111610e425760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610677565b6001600160a01b03831660009081526003602052604090205460019060ff1680610e8457506001600160a01b03831660009081526003602052604090205460ff165b15610e8d575060005b80610e9a57610e9a610f50565b610ea5848484610f7e565b80610ebb57610ebb600b54600a55600954600855565b50505050565b60008184841115610ee55760405162461bcd60e51b81526004016106779190611241565b505050900390565b6000610ef982846113bd565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a54158015610f605750600854155b15610f6757565b600a8054600b556008805460095560009182905555565b6000610f8982611063565b90506000610f978383611090565b6001600160a01b038616600090815260016020526040902054909150610fbd9084611090565b6001600160a01b038087166000908152600160205260408082209390935590861681522054610fec9082610eed565b6001600160a01b03851660009081526001602052604090205561100f828661109c565b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161105491815260200190565b60405180910390a35050505050565b600061108a6064611084600854600a5461107d91906113bd565b85906111f7565b90611203565b92915050565b6000610ef982846113d5565b6000600a546008546110ae91906113bd565b11156111f35760006110d7600a546008546110c991906113bd565b6008546110849086906111f7565b905060006110e58483611090565b6004546001600160a01b031660009081526001602052604090205490915061110d9082610eed565b600480546001600160a01b03908116600090815260016020908152604091829020949094559154915184815291811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36005546001600160a01b03166000908152600160205260409020546111919083610eed565b600580546001600160a01b03908116600090815260016020908152604091829020949094559154915185815291811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505b5050565b6000610ef982846113ec565b6000610ef9828461140b565b6001600160a01b0381168114610bf357600080fd5b60006020828403121561123657600080fd5b8135610ef98161120f565b600060208083528351808285015260005b8181101561126e57858101830151858201604001528201611252565b81811115611280576000604083870101525b50601f01601f1916929092016040019392505050565b600080604083850312156112a957600080fd5b82356112b48161120f565b946020939093013593505050565b6000806000606084860312156112d757600080fd5b83356112e28161120f565b925060208401356112f28161120f565b929592945050506040919091013590565b60006020828403121561131557600080fd5b5035919050565b6000806040838503121561132f57600080fd5b823561133a8161120f565b9150602083013561134a8161120f565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561139c57600080fd5b8151610ef98161120f565b634e487b7160e01b600052601160045260246000fd5b600082198211156113d0576113d06113a7565b500190565b6000828210156113e7576113e76113a7565b500390565b6000816000190483118215151615611406576114066113a7565b500290565b60008261142857634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f3e0d1b09e8aaa4a1fe0d5f0ad97ff3bdd7f07640026905508fdafdb5784280d64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.