ERC-20
Overview
Max Total Supply
10,000,000,000 MARVIN
Holders
31
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
194,176,035.771590960362375598 MARVINValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ModelERC20
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.21; /* * WEBSITE : N/A * TELEGRAM : https://t.me/Marvin_ERC1 * X : N/A */ import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function factory() external pure returns (address); function getAmountsOut( uint256 amountIn, address[] calldata path ) external view returns (uint256[] memory amounts); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); } interface IUniswapV2Pair { function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); } contract ModelERC20 is ERC20, Ownable { struct Config { bool tradeEnabled; bool swapping; uint8 gasRestrictionsDurationBlocks; uint16 buyFees; uint16 sellFees; uint16 swapThresholdBasisPoints; uint16 maxTokenAmountPertransactionBasisPoints; uint16 maxTokenAmountPerWalletBasisPoints; uint16 maxPriorityFeePerGasGwei; uint32 deployedBlockNumber; uint104 placeholder; } bytes32 public constant ID = 0x896d8c259e07a2810f982e97157c7e9e5fa40999c820cb12241b81076fe11aba; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; uint256 public constant PERCENT_BASE = 10000; uint256 public constant MAX_FEE = 2500; Config public config; constructor( string memory _name, string memory _symbol, uint256 _totalSupply, uint256 _supplyToLiquidity, address _routerAddress, uint16 _buyFees, uint16 _sellFees, uint16 _maxPriorityFeePerGas, uint8 _gasRestrictionsBlocks, bool _renounce, bool _tradeEnabled ) ERC20(_name, _symbol) Ownable(msg.sender) { if (_renounce) { config.tradeEnabled = true; renounceOwnership(); } else { transferOwnership(tx.origin); } _mint(tx.origin, _totalSupply - _supplyToLiquidity); if (_supplyToLiquidity > 0) { _mint(msg.sender, _supplyToLiquidity); } uniswapV2Router = IUniswapV2Router02(_routerAddress); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _approve(address(this), address(uniswapV2Router), type(uint256).max); if (!_renounce) { if (_buyFees > MAX_FEE || _sellFees > MAX_FEE) { revert feesTooHigh( _sellFees > _buyFees ? _sellFees : _buyFees, MAX_FEE ); } config.buyFees = _buyFees; config.sellFees = _sellFees; config.tradeEnabled = _tradeEnabled; config.swapThresholdBasisPoints = 10; config.maxTokenAmountPertransactionBasisPoints = 200; config.maxTokenAmountPerWalletBasisPoints = 200; } config.deployedBlockNumber = uint32(block.number); config.maxPriorityFeePerGasGwei = _maxPriorityFeePerGas; config.gasRestrictionsDurationBlocks = _gasRestrictionsBlocks; } function setFees(uint16 _buyFees, uint16 _sellFees) external onlyOwner { if (_buyFees > MAX_FEE || _sellFees > MAX_FEE) { revert feesTooHigh( _sellFees > _buyFees ? _sellFees : _buyFees, MAX_FEE ); } config.buyFees = _buyFees; config.sellFees = _sellFees; } function setSwapThreshold(uint16 _supplyPercent) external onlyOwner { if (_supplyPercent < 1 || _supplyPercent > 100) { revert swapThresholdOutOfRange(_supplyPercent, 1, 100); } config.swapThresholdBasisPoints = _supplyPercent; } function setMaxSupplyPercentPertransaction( uint16 _newSupplyPercentBasisPoints ) external onlyOwner { if (_newSupplyPercentBasisPoints < 10) { revert belowMinSupplyPercentPertransaction( _newSupplyPercentBasisPoints, 10 ); } config .maxTokenAmountPertransactionBasisPoints = _newSupplyPercentBasisPoints >= PERCENT_BASE ? 0 : _newSupplyPercentBasisPoints; } function setMaxSupplyPercentPerWallet( uint16 _newSupplyPercentBasisPoints ) external onlyOwner { if (_newSupplyPercentBasisPoints < 50) { revert belowMinSupplyPercentPerWallet( _newSupplyPercentBasisPoints, 50 ); } config .maxTokenAmountPerWalletBasisPoints = _newSupplyPercentBasisPoints >= PERCENT_BASE ? 0 : _newSupplyPercentBasisPoints; } function enableTrade() external onlyOwner { config.tradeEnabled = true; } function _update( address from, address to, uint256 amount ) internal override { _checkGasPriceBounds(); if (_isUnbounded(from, to) || owner() == address(0)) { super._update(from, to, amount); return; } if (!config.tradeEnabled) revert tradeNotEnabled(); bool buying = from == uniswapV2Pair && to != address(uniswapV2Router); bool selling = from != address(uniswapV2Router) && to == uniswapV2Pair; if ( (!buying && !selling) || (buying && config.buyFees == 0) || (selling && config.sellFees == 0) ) { _checkTransferAmounts(to, amount); super._update(from, to, amount); return; } if ( msg.sender != uniswapV2Pair && balanceOf(address(this)) >= _getAmountFromBasisPoints( totalSupply(), config.swapThresholdBasisPoints ) ) _swapBalanceToETH(); uint16 fees = buying ? config.buyFees : selling ? config.sellFees : 0; uint256 totalFees = _getAmountFromBasisPoints(amount, fees); uint256 amountAfterFees = amount - totalFees; _checkTransferAmounts(to, amountAfterFees); if (totalFees > 0) super._update(from, address(this), totalFees); super._update(from, to, amountAfterFees); } function _checkGasPriceBounds() internal view { if ( block.number - config.deployedBlockNumber >= config.gasRestrictionsDurationBlocks ) return; if ( tx.gasprice - block.basefee > config.maxPriorityFeePerGasGwei * 1 gwei ) { revert restricted(msg.sender); } } function _getAmountFromBasisPoints( uint256 amount, uint16 basisPoints ) internal pure returns (uint256) { return (amount * basisPoints) / PERCENT_BASE; } function _checkTransferAmounts(address to, uint256 amount) internal view { if (config.maxTokenAmountPertransactionBasisPoints != 0) { if ( amount > _getAmountFromBasisPoints( totalSupply(), config.maxTokenAmountPertransactionBasisPoints ) ) { revert aboveMaxSupplyPercentPertransaction( amount, _getAmountFromBasisPoints( totalSupply(), config.maxTokenAmountPertransactionBasisPoints ) ); } } if (to == uniswapV2Pair) return; if (config.maxTokenAmountPerWalletBasisPoints == 0) return; if ( balanceOf(to) + amount > _getAmountFromBasisPoints( totalSupply(), config.maxTokenAmountPerWalletBasisPoints ) ) { revert aboveMaxSupplyPercentPerWallet( amount, _getAmountFromBasisPoints( totalSupply(), config.maxTokenAmountPerWalletBasisPoints ) ); } } function _isUnbounded( address from, address to ) internal view returns (bool) { return tx.origin == owner() || from == owner() || to == owner() || to == address(this) || config.swapping; } function _swapBalanceToETH() private { config.swapping = true; uint256 amountIn = balanceOf(address(this)); _approve(address(this), address(uniswapV2Router), amountIn); address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountIn, 0, path, owner(), block.timestamp ); config.swapping = false; } function renounceOwnership() public override onlyOwner { if (balanceOf(address(this)) > 0) _swapBalanceToETH(); super.renounceOwnership(); } function withdrawToken(address token) external onlyOwner { uint256 balance = IERC20(token).balanceOf(address(this)); IERC20(token).transfer(msg.sender, balance); } error aboveMaxSupplyPercentPertransaction( uint256 amount, uint256 maxAmount ); error aboveMaxSupplyPercentPerWallet(uint256 amount, uint256 maxAmount); error belowMinSupplyPercentPertransaction( uint256 amount, uint256 minAmount ); error belowMinSupplyPercentPerWallet(uint256 amount, uint256 minAmount); error tradeNotEnabled(); error restricted(address account); error swapThresholdOutOfRange( uint256 threshold, uint256 minThreshold, uint256 maxThreshold ); error feesTooHigh(uint256 fees, uint256 maxFees); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
{ "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-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":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_supplyToLiquidity","type":"uint256"},{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"uint16","name":"_buyFees","type":"uint16"},{"internalType":"uint16","name":"_sellFees","type":"uint16"},{"internalType":"uint16","name":"_maxPriorityFeePerGas","type":"uint16"},{"internalType":"uint8","name":"_gasRestrictionsBlocks","type":"uint8"},{"internalType":"bool","name":"_renounce","type":"bool"},{"internalType":"bool","name":"_tradeEnabled","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"aboveMaxSupplyPercentPerWallet","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"aboveMaxSupplyPercentPertransaction","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"belowMinSupplyPercentPerWallet","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"belowMinSupplyPercentPertransaction","type":"error"},{"inputs":[{"internalType":"uint256","name":"fees","type":"uint256"},{"internalType":"uint256","name":"maxFees","type":"uint256"}],"name":"feesTooHigh","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"restricted","type":"error"},{"inputs":[{"internalType":"uint256","name":"threshold","type":"uint256"},{"internalType":"uint256","name":"minThreshold","type":"uint256"},{"internalType":"uint256","name":"maxThreshold","type":"uint256"}],"name":"swapThresholdOutOfRange","type":"error"},{"inputs":[],"name":"tradeNotEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENT_BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"config","outputs":[{"internalType":"bool","name":"tradeEnabled","type":"bool"},{"internalType":"bool","name":"swapping","type":"bool"},{"internalType":"uint8","name":"gasRestrictionsDurationBlocks","type":"uint8"},{"internalType":"uint16","name":"buyFees","type":"uint16"},{"internalType":"uint16","name":"sellFees","type":"uint16"},{"internalType":"uint16","name":"swapThresholdBasisPoints","type":"uint16"},{"internalType":"uint16","name":"maxTokenAmountPertransactionBasisPoints","type":"uint16"},{"internalType":"uint16","name":"maxTokenAmountPerWalletBasisPoints","type":"uint16"},{"internalType":"uint16","name":"maxPriorityFeePerGasGwei","type":"uint16"},{"internalType":"uint32","name":"deployedBlockNumber","type":"uint32"},{"internalType":"uint104","name":"placeholder","type":"uint104"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrade","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_buyFees","type":"uint16"},{"internalType":"uint16","name":"_sellFees","type":"uint16"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newSupplyPercentBasisPoints","type":"uint16"}],"name":"setMaxSupplyPercentPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newSupplyPercentBasisPoints","type":"uint16"}],"name":"setMaxSupplyPercentPertransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_supplyPercent","type":"uint16"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","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":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b506040516200299838038062002998833981016040819052620000349162000ead565b338b8b600362000045838262001044565b50600462000054828262001044565b5050506001600160a01b0381166200008757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200009281620003a3565b508115620000b7576006805460ff19166001179055620000b1620003f5565b620000c2565b620000c2326200042b565b620000d932620000d38a8c62001126565b6200046f565b8715620000ec57620000ec33896200046f565b6001600160a01b03871660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000137573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015d91906200113c565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d391906200113c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024791906200113c565b6001600160a01b031660a05260805162000266903090600019620004ad565b8162000342576109c48661ffff1611806200028657506109c48561ffff16115b15620002ce578561ffff168561ffff1611620002a35785620002a5565b845b604051636fd3d0a160e11b815261ffff90911660048201526109c460248201526044016200007e565b6006805466ffffffff0000001916630100000061ffff8981169190910261ffff60281b19169190911765010000000000918816919091021760ff61ffff60381b01191682151561ffff60381b191617670a000000000000001763ffffffff60481b19166bc800c80000000000000000001790555b50506006805460ff909216620100000262ff00001961ffff909416600160681b0261ffff60681b1963ffffffff4316600160781b021665ffffffffffff60681b19909416939093179290921792909216179055506200126195505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003ff620004c1565b30600090815260208190526040902054156200041f576200041f620004f0565b6200042962000697565b565b62000435620004c1565b6001600160a01b0381166200046157604051631e4fbdf760e01b8152600060048201526024016200007e565b6200046c81620003a3565b50565b6001600160a01b0382166200049b5760405163ec442f0560e01b8152600060048201526024016200007e565b620004a960008383620006ad565b5050565b620004bc83838360016200090b565b505050565b6005546001600160a01b03163314620004295760405163118cdaa760e01b81523360048201526024016200007e565b6006805461ff001916610100179055306000908152602081905260408120549050620005263060805183620004ad60201b60201c565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106200055e576200055e6200115a565b60200260200101906001600160a01b031690816001600160a01b0316815250506080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e591906200113c565b81600181518110620005fb57620005fb6200115a565b6001600160a01b0392831660209182029290920101526080511663791ac94783600084620006316005546001600160a01b031690565b426040518663ffffffff1660e01b81526004016200065495949392919062001170565b600060405180830381600087803b1580156200066f57600080fd5b505af115801562000684573d6000803e3d6000fd5b50506006805461ff001916905550505050565b620006a1620004c1565b620004296000620003a3565b620006b7620009e7565b620006c3838362000a68565b80620006ea57506000620006df6005546001600160a01b031690565b6001600160a01b0316145b15620006fd57620004bc83838362000af3565b60065460ff166200072157604051631393b97560e11b815260040160405180910390fd5b600060a0516001600160a01b0316846001600160a01b03161480156200075b57506080516001600160a01b0316836001600160a01b031614155b905060006080516001600160a01b0316856001600160a01b03161415801562000797575060a0516001600160a01b0316846001600160a01b0316145b905081158015620007a6575080155b80620007c65750818015620007c657506006546301000000900461ffff16155b80620007e85750808015620007e8575060065465010000000000900461ffff16155b156200080e57620007fa848462000c26565b6200080785858562000af3565b5050505050565b60a0516001600160a01b0316336001600160a01b031614158015620008675750620008546200083c60025490565b600654670100000000000000900461ffff1662000d74565b3060009081526020819052604090205410155b15620008775762000877620004f0565b600082620008a357816200088d576000620008b2565b60065465010000000000900461ffff16620008b2565b6006546301000000900461ffff165b90506000620008c2858362000d74565b90506000620008d2828762001126565b9050620008e0878262000c26565b8115620008f457620008f488308462000af3565b6200090188888362000af3565b5050505050505050565b6001600160a01b038416620009375760405163e602df0560e01b8152600060048201526024016200007e565b6001600160a01b0383166200096357604051634a1406b160e11b8152600060048201526024016200007e565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015620009e157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051620009d891815260200190565b60405180910390a35b50505050565b60065462010000810460ff169062000a0d90600160781b900463ffffffff164362001126565b1062000a1557565b60065462000a3390600160681b900461ffff16633b9aca00620011e3565b63ffffffff1662000a45483a62001126565b1115620004295760405163363675af60e21b81523360048201526024016200007e565b600062000a7d6005546001600160a01b031690565b6001600160a01b0316326001600160a01b0316148062000aaa57506005546001600160a01b038481169116145b8062000ac357506005546001600160a01b038381169116145b8062000ad757506001600160a01b03821630145b8062000aea5750600654610100900460ff165b90505b92915050565b6001600160a01b03831662000b2257806002600082825462000b1691906200120e565b9091555062000b969050565b6001600160a01b0383166000908152602081905260409020548181101562000b775760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200007e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821662000bb45760028054829003905562000bd3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000c1991815260200190565b60405180910390a3505050565b6006546901000000000000000000900461ffff161562000ca25762000c6862000c4e60025490565b6006546901000000000000000000900461ffff1662000d74565b81111562000ca2578062000c7f62000c4e60025490565b6040516301779f8360e71b8152600481019290925260248201526044016200007e565b60a0516001600160a01b0316826001600160a01b03160362000cc2575050565b6006546b010000000000000000000000900461ffff1660000362000ce4575050565b62000d0e62000cf260025490565b6006546b010000000000000000000000900461ffff1662000d74565b8162000d2f846001600160a01b031660009081526020819052604090205490565b62000d3b91906200120e565b1115620004a9578062000d5162000cf260025490565b6040516342cb586160e01b8152600481019290925260248201526044016200007e565b600061271062000d8961ffff84168562001224565b62000aea91906200123e565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000dbd57600080fd5b81516001600160401b038082111562000dda5762000dda62000d95565b604051601f8301601f19908116603f0116810190828211818310171562000e055762000e0562000d95565b8160405283815260209250868385880101111562000e2257600080fd5b600091505b8382101562000e46578582018301518183018401529082019062000e27565b600093810190920192909252949350505050565b80516001600160a01b038116811462000e7257600080fd5b919050565b805161ffff8116811462000e7257600080fd5b805160ff8116811462000e7257600080fd5b8051801515811462000e7257600080fd5b60008060008060008060008060008060006101608c8e03121562000ed057600080fd5b8b516001600160401b0381111562000ee757600080fd5b62000ef58e828f0162000dab565b60208e0151909c5090506001600160401b0381111562000f1457600080fd5b62000f228e828f0162000dab565b9a505060408c0151985060608c0151975062000f4160808d0162000e5a565b965062000f5160a08d0162000e77565b955062000f6160c08d0162000e77565b945062000f7160e08d0162000e77565b935062000f826101008d0162000e8a565b925062000f936101208d0162000e9c565b915062000fa46101408d0162000e9c565b90509295989b509295989b9093969950565b600181811c9082168062000fcb57607f821691505b60208210810362000fec57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004bc57600081815260208120601f850160051c810160208610156200101b5750805b601f850160051c820191505b818110156200103c5782815560010162001027565b505050505050565b81516001600160401b0381111562001060576200106062000d95565b620010788162001071845462000fb6565b8462000ff2565b602080601f831160018114620010b05760008415620010975750858301515b600019600386901b1c1916600185901b1785556200103c565b600085815260208120601f198616915b82811015620010e157888601518255948401946001909101908401620010c0565b5085821015620011005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8181038181111562000aed5762000aed62001110565b6000602082840312156200114f57600080fd5b62000aea8262000e5a565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015620011c25784516001600160a01b0316835293830193918301916001016200119b565b50506001600160a01b03969096166060850152505050608001529392505050565b63ffffffff81811683821602808216919082811462001206576200120662001110565b505092915050565b8082018082111562000aed5762000aed62001110565b808202811582820484141762000aed5762000aed62001110565b6000826200125c57634e487b7160e01b600052601260045260246000fd5b500490565b60805160a0516116d2620012c66000396000818161023201528181610d8f01528181610e4301528181610eed01526112680152600081816101bf01528181610a2801528181610aa401528181610b4f01528181610dcb0152610e0601526116d26000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c806379502c55116100c3578063a9059cbb1161007c578063a9059cbb146103de578063b3cea217146103f1578063b5dc483414610418578063bc063e1a1461042b578063dd62ed3e14610434578063f2fde38b1461046d57600080fd5b806379502c5514610298578063805d835d14610396578063894760691461039f5780638da5cb5b146103b257806395d89b41146103c35780639ef833d4146103cb57600080fd5b806323b872dd1161011557806323b872dd1461020b578063313ce5671461021e57806349bd5a5e1461022d57806364411e341461025457806370a0823114610267578063715018a61461029057600080fd5b806299d3861461015c57806305523ddc1461016657806306fdde0314610179578063095ea7b3146101975780631694505e146101ba57806318160ddd146101f9575b600080fd5b610164610480565b005b610164610174366004611372565b610497565b610181610518565b60405161018e919061138d565b60405180910390f35b6101aa6101a53660046113f0565b6105aa565b604051901515815260200161018e565b6101e17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161018e565b6002545b60405190815260200161018e565b6101aa61021936600461141c565b6105c4565b6040516012815260200161018e565b6101e17f000000000000000000000000000000000000000000000000000000000000000081565b610164610262366004611372565b6105e8565b6101fd61027536600461145d565b6001600160a01b031660009081526020819052604090205490565b61016461065e565b60065461031d9060ff808216916101008104821691620100008204169061ffff63010000008204811691600160281b8104821691600160381b8204811691600160481b8104821691600160581b8204811691600160681b81049091169063ffffffff600160781b820416906cffffffffffffffffffffffffff600160981b909104168b565b604080519b15158c5299151560208c015260ff909816988a019890985261ffff95861660608a0152938516608089015291841660a0880152831660c0870152821660e08601521661010084015263ffffffff9091166101208301526cffffffffffffffffffffffffff166101408201526101600161018e565b6101fd61271081565b6101646103ad36600461145d565b61068d565b6005546001600160a01b03166101e1565b610181610779565b6101646103d936600461147a565b610788565b6101aa6103ec3660046113f0565b610827565b6101fd7f896d8c259e07a2810f982e97157c7e9e5fa40999c820cb12241b81076fe11aba81565b610164610426366004611372565b610835565b6101fd6109c481565b6101fd6104423660046114ad565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61016461047b36600461145d565b6108ac565b6104886108ea565b6006805460ff19166001179055565b61049f6108ea565b600a8161ffff1610156104d757604051633d0a47bb60e21b815261ffff82166004820152600a60248201526044015b60405180910390fd5b6127108161ffff1610156104eb57806104ee565b60005b6006805461ffff92909216600160481b026affff0000000000000000001990921691909117905550565b606060038054610527906114e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610553906114e6565b80156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b5050505050905090565b6000336105b8818585610917565b60019150505b92915050565b6000336105d2858285610924565b6105dd8585856109a2565b506001949350505050565b6105f06108ea565b60328161ffff1610156106235760405163712893dd60e11b815261ffff82166004820152603260248201526044016104ce565b6127108161ffff161015610637578061063a565b60005b6006805461ffff92909216600160581b0261ffff60581b1990921691909117905550565b6106666108ea565b306000908152602081905260409020541561068357610683610a01565b61068b610bec565b565b6106956108ea565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107009190611520565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610750573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107749190611539565b505050565b606060048054610527906114e6565b6107906108ea565b6109c48261ffff1611806107a957506109c48161ffff16115b156107ed578161ffff168161ffff16116107c357816107c5565b805b604051636fd3d0a160e11b815261ffff90911660048201526109c460248201526044016104ce565b6006805466ffffffff0000001916630100000061ffff9485160266ffff0000000000191617600160281b9290931691909102919091179055565b6000336105b88185856109a2565b61083d6108ea565b60018161ffff161080610854575060648161ffff16115b156108865760405163dd362b7160e01b815261ffff8216600482015260016024820152606460448201819052016104ce565b6006805461ffff909216600160381b0268ffff0000000000000019909216919091179055565b6108b46108ea565b6001600160a01b0381166108de57604051631e4fbdf760e01b8152600060048201526024016104ce565b6108e781610bfa565b50565b6005546001600160a01b0316331461068b5760405163118cdaa760e01b81523360048201526024016104ce565b6107748383836001610c4c565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461099c578181101561098d57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104ce565b61099c84848484036000610c4c565b50505050565b6001600160a01b0383166109cc57604051634b637e8f60e11b8152600060048201526024016104ce565b6001600160a01b0382166109f65760405163ec442f0560e01b8152600060048201526024016104ce565b610774838383610d21565b6006805461ff001916610100179055306000908152602081905260408120549050610a4d307f000000000000000000000000000000000000000000000000000000000000000083610917565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610a8257610a8261155b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611571565b81600181518110610b3757610b3761155b565b6001600160a01b0392831660209182029290920101527f00000000000000000000000000000000000000000000000000000000000000001663791ac94783600084610b8a6005546001600160a01b031690565b426040518663ffffffff1660e01b8152600401610bab95949392919061158e565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b50506006805461ff001916905550505050565b610bf46108ea565b61068b60005b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610c765760405163e602df0560e01b8152600060048201526024016104ce565b6001600160a01b038316610ca057604051634a1406b160e11b8152600060048201526024016104ce565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561099c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d1391815260200190565b60405180910390a350505050565b610d29610fd8565b610d338383611050565b80610d5857506000610d4d6005546001600160a01b031690565b6001600160a01b0316145b15610d68576107748383836110d4565b60065460ff16610d8b57604051631393b97560e11b815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316148015610e0057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614158015610e7757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b905081158015610e85575080155b80610ea35750818015610ea357506006546301000000900461ffff16155b80610ec15750808015610ec15750600654600160281b900461ffff16155b15610ee257610ed084846111fe565b610edb8585856110d4565b5050505050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801590610f485750610f35610f2260025490565b600654600160381b900461ffff1661133e565b3060009081526020819052604090205410155b15610f5557610f55610a01565b600082610f7b5781610f68576000610f8a565b600654600160281b900461ffff16610f8a565b6006546301000000900461ffff165b90506000610f98858361133e565b90506000610fa68287611615565b9050610fb287826111fe565b8115610fc357610fc38830846110d4565b610fce8888836110d4565b5050505050505050565b60065462010000810460ff1690610ffc90600160781b900463ffffffff1643611615565b1061100357565b60065461101f90600160681b900461ffff16633b9aca00611628565b63ffffffff1661102f483a611615565b111561068b5760405163363675af60e21b81523360048201526024016104ce565b60006110646005546001600160a01b031690565b6001600160a01b0316326001600160a01b0316148061109057506005546001600160a01b038481169116145b806110a857506005546001600160a01b038381169116145b806110bb57506001600160a01b03821630145b806110cd5750600654610100900460ff165b9392505050565b6001600160a01b0383166110ff5780600260008282546110f49190611650565b909155506111719050565b6001600160a01b038316600090815260208190526040902054818110156111525760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104ce565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661118d576002805482900390556111ac565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516111f191815260200190565b60405180910390a3505050565b600654600160481b900461ffff16156112665761123061121d60025490565b600654600160481b900461ffff1661133e565b811115611266578061124461121d60025490565b6040516301779f8360e71b8152600481019290925260248201526044016104ce565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036112a3575050565b600654600160581b900461ffff166000036112bc575050565b6112db6112c860025490565b600654600160581b900461ffff1661133e565b816112fb846001600160a01b031660009081526020819052604090205490565b6113059190611650565b111561133a57806113186112c860025490565b6040516342cb586160e01b8152600481019290925260248201526044016104ce565b5050565b600061271061135161ffff841685611663565b6110cd919061167a565b803561ffff8116811461136d57600080fd5b919050565b60006020828403121561138457600080fd5b6110cd8261135b565b600060208083528351808285015260005b818110156113ba5785810183015185820160400152820161139e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108e757600080fd5b6000806040838503121561140357600080fd5b823561140e816113db565b946020939093013593505050565b60008060006060848603121561143157600080fd5b833561143c816113db565b9250602084013561144c816113db565b929592945050506040919091013590565b60006020828403121561146f57600080fd5b81356110cd816113db565b6000806040838503121561148d57600080fd5b6114968361135b565b91506114a46020840161135b565b90509250929050565b600080604083850312156114c057600080fd5b82356114cb816113db565b915060208301356114db816113db565b809150509250929050565b600181811c908216806114fa57607f821691505b60208210810361151a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561153257600080fd5b5051919050565b60006020828403121561154b57600080fd5b815180151581146110cd57600080fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561158357600080fd5b81516110cd816113db565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156115de5784516001600160a01b0316835293830193918301916001016115b9565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156105be576105be6115ff565b63ffffffff818116838216028082169190828114611648576116486115ff565b505092915050565b808201808211156105be576105be6115ff565b80820281158282048414176105be576105be6115ff565b60008261169757634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122052bc90fd8b90cabc57832330ae9695f77d423b0d81540135a798d41f85bfccaf64736f6c63430008150033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000000000000000000001b7709034e6c4205b40000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000064d617276696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d415256494e0000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101575760003560e01c806379502c55116100c3578063a9059cbb1161007c578063a9059cbb146103de578063b3cea217146103f1578063b5dc483414610418578063bc063e1a1461042b578063dd62ed3e14610434578063f2fde38b1461046d57600080fd5b806379502c5514610298578063805d835d14610396578063894760691461039f5780638da5cb5b146103b257806395d89b41146103c35780639ef833d4146103cb57600080fd5b806323b872dd1161011557806323b872dd1461020b578063313ce5671461021e57806349bd5a5e1461022d57806364411e341461025457806370a0823114610267578063715018a61461029057600080fd5b806299d3861461015c57806305523ddc1461016657806306fdde0314610179578063095ea7b3146101975780631694505e146101ba57806318160ddd146101f9575b600080fd5b610164610480565b005b610164610174366004611372565b610497565b610181610518565b60405161018e919061138d565b60405180910390f35b6101aa6101a53660046113f0565b6105aa565b604051901515815260200161018e565b6101e17f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161018e565b6002545b60405190815260200161018e565b6101aa61021936600461141c565b6105c4565b6040516012815260200161018e565b6101e17f000000000000000000000000336e0ec6a9be932791c416396eaa180ef55e3d3081565b610164610262366004611372565b6105e8565b6101fd61027536600461145d565b6001600160a01b031660009081526020819052604090205490565b61016461065e565b60065461031d9060ff808216916101008104821691620100008204169061ffff63010000008204811691600160281b8104821691600160381b8204811691600160481b8104821691600160581b8204811691600160681b81049091169063ffffffff600160781b820416906cffffffffffffffffffffffffff600160981b909104168b565b604080519b15158c5299151560208c015260ff909816988a019890985261ffff95861660608a0152938516608089015291841660a0880152831660c0870152821660e08601521661010084015263ffffffff9091166101208301526cffffffffffffffffffffffffff166101408201526101600161018e565b6101fd61271081565b6101646103ad36600461145d565b61068d565b6005546001600160a01b03166101e1565b610181610779565b6101646103d936600461147a565b610788565b6101aa6103ec3660046113f0565b610827565b6101fd7f896d8c259e07a2810f982e97157c7e9e5fa40999c820cb12241b81076fe11aba81565b610164610426366004611372565b610835565b6101fd6109c481565b6101fd6104423660046114ad565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61016461047b36600461145d565b6108ac565b6104886108ea565b6006805460ff19166001179055565b61049f6108ea565b600a8161ffff1610156104d757604051633d0a47bb60e21b815261ffff82166004820152600a60248201526044015b60405180910390fd5b6127108161ffff1610156104eb57806104ee565b60005b6006805461ffff92909216600160481b026affff0000000000000000001990921691909117905550565b606060038054610527906114e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610553906114e6565b80156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b5050505050905090565b6000336105b8818585610917565b60019150505b92915050565b6000336105d2858285610924565b6105dd8585856109a2565b506001949350505050565b6105f06108ea565b60328161ffff1610156106235760405163712893dd60e11b815261ffff82166004820152603260248201526044016104ce565b6127108161ffff161015610637578061063a565b60005b6006805461ffff92909216600160581b0261ffff60581b1990921691909117905550565b6106666108ea565b306000908152602081905260409020541561068357610683610a01565b61068b610bec565b565b6106956108ea565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107009190611520565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610750573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107749190611539565b505050565b606060048054610527906114e6565b6107906108ea565b6109c48261ffff1611806107a957506109c48161ffff16115b156107ed578161ffff168161ffff16116107c357816107c5565b805b604051636fd3d0a160e11b815261ffff90911660048201526109c460248201526044016104ce565b6006805466ffffffff0000001916630100000061ffff9485160266ffff0000000000191617600160281b9290931691909102919091179055565b6000336105b88185856109a2565b61083d6108ea565b60018161ffff161080610854575060648161ffff16115b156108865760405163dd362b7160e01b815261ffff8216600482015260016024820152606460448201819052016104ce565b6006805461ffff909216600160381b0268ffff0000000000000019909216919091179055565b6108b46108ea565b6001600160a01b0381166108de57604051631e4fbdf760e01b8152600060048201526024016104ce565b6108e781610bfa565b50565b6005546001600160a01b0316331461068b5760405163118cdaa760e01b81523360048201526024016104ce565b6107748383836001610c4c565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461099c578181101561098d57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104ce565b61099c84848484036000610c4c565b50505050565b6001600160a01b0383166109cc57604051634b637e8f60e11b8152600060048201526024016104ce565b6001600160a01b0382166109f65760405163ec442f0560e01b8152600060048201526024016104ce565b610774838383610d21565b6006805461ff001916610100179055306000908152602081905260408120549050610a4d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83610917565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610a8257610a8261155b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611571565b81600181518110610b3757610b3761155b565b6001600160a01b0392831660209182029290920101527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac94783600084610b8a6005546001600160a01b031690565b426040518663ffffffff1660e01b8152600401610bab95949392919061158e565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b50506006805461ff001916905550505050565b610bf46108ea565b61068b60005b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610c765760405163e602df0560e01b8152600060048201526024016104ce565b6001600160a01b038316610ca057604051634a1406b160e11b8152600060048201526024016104ce565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561099c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d1391815260200190565b60405180910390a350505050565b610d29610fd8565b610d338383611050565b80610d5857506000610d4d6005546001600160a01b031690565b6001600160a01b0316145b15610d68576107748383836110d4565b60065460ff16610d8b57604051631393b97560e11b815260040160405180910390fd5b60007f000000000000000000000000336e0ec6a9be932791c416396eaa180ef55e3d306001600160a01b0316846001600160a01b0316148015610e0057507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b905060007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316856001600160a01b031614158015610e7757507f000000000000000000000000336e0ec6a9be932791c416396eaa180ef55e3d306001600160a01b0316846001600160a01b0316145b905081158015610e85575080155b80610ea35750818015610ea357506006546301000000900461ffff16155b80610ec15750808015610ec15750600654600160281b900461ffff16155b15610ee257610ed084846111fe565b610edb8585856110d4565b5050505050565b336001600160a01b037f000000000000000000000000336e0ec6a9be932791c416396eaa180ef55e3d301614801590610f485750610f35610f2260025490565b600654600160381b900461ffff1661133e565b3060009081526020819052604090205410155b15610f5557610f55610a01565b600082610f7b5781610f68576000610f8a565b600654600160281b900461ffff16610f8a565b6006546301000000900461ffff165b90506000610f98858361133e565b90506000610fa68287611615565b9050610fb287826111fe565b8115610fc357610fc38830846110d4565b610fce8888836110d4565b5050505050505050565b60065462010000810460ff1690610ffc90600160781b900463ffffffff1643611615565b1061100357565b60065461101f90600160681b900461ffff16633b9aca00611628565b63ffffffff1661102f483a611615565b111561068b5760405163363675af60e21b81523360048201526024016104ce565b60006110646005546001600160a01b031690565b6001600160a01b0316326001600160a01b0316148061109057506005546001600160a01b038481169116145b806110a857506005546001600160a01b038381169116145b806110bb57506001600160a01b03821630145b806110cd5750600654610100900460ff165b9392505050565b6001600160a01b0383166110ff5780600260008282546110f49190611650565b909155506111719050565b6001600160a01b038316600090815260208190526040902054818110156111525760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104ce565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661118d576002805482900390556111ac565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516111f191815260200190565b60405180910390a3505050565b600654600160481b900461ffff16156112665761123061121d60025490565b600654600160481b900461ffff1661133e565b811115611266578061124461121d60025490565b6040516301779f8360e71b8152600481019290925260248201526044016104ce565b7f000000000000000000000000336e0ec6a9be932791c416396eaa180ef55e3d306001600160a01b0316826001600160a01b0316036112a3575050565b600654600160581b900461ffff166000036112bc575050565b6112db6112c860025490565b600654600160581b900461ffff1661133e565b816112fb846001600160a01b031660009081526020819052604090205490565b6113059190611650565b111561133a57806113186112c860025490565b6040516342cb586160e01b8152600481019290925260248201526044016104ce565b5050565b600061271061135161ffff841685611663565b6110cd919061167a565b803561ffff8116811461136d57600080fd5b919050565b60006020828403121561138457600080fd5b6110cd8261135b565b600060208083528351808285015260005b818110156113ba5785810183015185820160400152820161139e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108e757600080fd5b6000806040838503121561140357600080fd5b823561140e816113db565b946020939093013593505050565b60008060006060848603121561143157600080fd5b833561143c816113db565b9250602084013561144c816113db565b929592945050506040919091013590565b60006020828403121561146f57600080fd5b81356110cd816113db565b6000806040838503121561148d57600080fd5b6114968361135b565b91506114a46020840161135b565b90509250929050565b600080604083850312156114c057600080fd5b82356114cb816113db565b915060208301356114db816113db565b809150509250929050565b600181811c908216806114fa57607f821691505b60208210810361151a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561153257600080fd5b5051919050565b60006020828403121561154b57600080fd5b815180151581146110cd57600080fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561158357600080fd5b81516110cd816113db565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156115de5784516001600160a01b0316835293830193918301916001016115b9565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156105be576105be6115ff565b63ffffffff818116838216028082169190828114611648576116486115ff565b505092915050565b808201808211156105be576105be6115ff565b80820281158282048414176105be576105be6115ff565b60008261169757634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122052bc90fd8b90cabc57832330ae9695f77d423b0d81540135a798d41f85bfccaf64736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000000000000000000001b7709034e6c4205b40000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000064d617276696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d415256494e0000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Marvin
Arg [1] : _symbol (string): MARVIN
Arg [2] : _totalSupply (uint256): 10000000000000000000000000000
Arg [3] : _supplyToLiquidity (uint256): 8500000000000000000000000000
Arg [4] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [5] : _buyFees (uint16): 2500
Arg [6] : _sellFees (uint16): 2500
Arg [7] : _maxPriorityFeePerGas (uint16): 0
Arg [8] : _gasRestrictionsBlocks (uint8): 0
Arg [9] : _renounce (bool): False
Arg [10] : _tradeEnabled (bool): True
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [3] : 00000000000000000000000000000000000000001b7709034e6c4205b4000000
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [6] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [12] : 4d617276696e0000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [14] : 4d415256494e0000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.