Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,000 SANTA
Holders
104
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000098659031775 SANTAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Santa
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.19; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract Santa is ERC20, Ownable { IUniswapV2Router02 public immutable router; address public immutable uniswapV2Pair; // addresses address public hospitalWallet; // limits uint256 private maxBuyAmount; uint256 private maxSellAmount; uint256 private maxWalletAmount; uint256 private thresholdSwapAmount; // status flags bool private isTrading = false; bool public swapEnabled = false; bool public isSwapping; struct Fees { uint8 buyTotalFees; uint8 buySantaFee; uint8 buyLiquidityFee; uint8 sellTotalFees; uint8 sellSantaFee; uint8 sellLiquidityFee; } Fees public _fees = Fees({ buyTotalFees: 0, buySantaFee: 0, buyLiquidityFee: 0, sellTotalFees: 0, sellSantaFee: 0, sellLiquidityFee: 0 }); uint256 public tokensForLiquidity; uint256 public tokensForSanta; uint256 private taxTill; // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public _isExcludedMaxWalletAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public marketPair; event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived); modifier lockTheSwap() { isSwapping = true; _; isSwapping = false; } constructor( address _hospitalWallet, string memory _name, string memory _symbol, uint256 _totalSupply ) ERC20(_name, _symbol) { router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this), router.WETH()); _isExcludedMaxTransactionAmount[address(router)] = true; _isExcludedMaxTransactionAmount[address(uniswapV2Pair)] = true; _isExcludedMaxTransactionAmount[owner()] = true; _isExcludedMaxTransactionAmount[address(this)] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(this)] = true; _isExcludedMaxWalletAmount[owner()] = true; _isExcludedMaxWalletAmount[address(this)] = true; _isExcludedMaxWalletAmount[address(uniswapV2Pair)] = true; marketPair[address(uniswapV2Pair)] = true; approve(address(router), type(uint256).max); maxBuyAmount = (_totalSupply * 2) / 100; // 2% maxTransactionAmountTxn maxSellAmount = (_totalSupply * 2) / 100; // 2% maxTransactionAmountTxn maxWalletAmount = (_totalSupply * 2) / 100; // 2% maxWallet thresholdSwapAmount = (_totalSupply * 1) / 10000; // 0.01% swap wallet _fees.buyLiquidityFee = 1; _fees.buySantaFee = 1; _fees.buyTotalFees = _fees.buyLiquidityFee + _fees.buySantaFee; _fees.sellLiquidityFee = 1; _fees.sellSantaFee = 1; _fees.sellTotalFees = _fees.sellLiquidityFee + _fees.sellSantaFee; hospitalWallet = _hospitalWallet; _mint(msg.sender, _totalSupply); } receive() external payable {} // once enabled, can never be turned off function swapTrading() external onlyOwner { isTrading = true; swapEnabled = true; taxTill = block.number + 2; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer(address sender, address recipient, uint256 amount) internal override { if (amount == 0) { super._transfer(sender, recipient, 0); return; } if (sender != owner() && recipient != owner() && !isSwapping) { if (!isTrading) { require(_isExcludedFromFees[sender] || _isExcludedFromFees[recipient], "Trading is not active."); } if (marketPair[sender] && !_isExcludedMaxTransactionAmount[recipient]) { require(amount <= maxBuyAmount, "buy transfer over max amount"); } else if (marketPair[recipient] && !_isExcludedMaxTransactionAmount[sender]) { require(amount <= maxSellAmount, "Sell transfer over max amount"); } if (!_isExcludedMaxWalletAmount[recipient]) { require(amount + balanceOf(recipient) <= maxWalletAmount, "Max wallet exceeded"); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= thresholdSwapAmount; if ( canSwap && swapEnabled && !isSwapping && marketPair[recipient] && !_isExcludedFromFees[sender] && !_isExcludedFromFees[recipient] ) { swapBack(); } bool takeFee = !isSwapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) { takeFee = false; } // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { uint256 fees = 0; if (block.number < taxTill) { fees = (amount * 99) / 100; tokensForSanta += (fees * 5) / 99; } else if (marketPair[recipient] && _fees.sellTotalFees > 0) { fees = (amount * _fees.sellTotalFees) / 100; tokensForLiquidity += (fees * _fees.sellLiquidityFee) / _fees.sellTotalFees; tokensForSanta += (fees * _fees.sellSantaFee) / _fees.sellTotalFees; } // on buy else if (marketPair[sender] && _fees.buyTotalFees > 0) { fees = (amount * _fees.buyTotalFees) / 100; tokensForLiquidity += (fees * _fees.buyLiquidityFee) / _fees.buyTotalFees; tokensForSanta += (fees * _fees.buySantaFee) / _fees.buyTotalFees; } if (fees > 0) { super._transfer(sender, address(this), fees); } amount -= fees; } super._transfer(sender, recipient, amount); } function swapTokensForEth(uint256 tAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tAmount); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(router), tAmount); // add the liquidity router.addLiquidityETH{ value: ethAmount }(address(this), tAmount, 0, 0, address(this), block.timestamp); } function swapBack() private lockTheSwap { uint256 contractTokenBalance = balanceOf(address(this)); uint256 toSwap = tokensForLiquidity + tokensForSanta; bool success; if (contractTokenBalance == 0 || toSwap == 0) { return; } if (contractTokenBalance > thresholdSwapAmount * 20) { contractTokenBalance = thresholdSwapAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractTokenBalance * tokensForLiquidity) / toSwap / 2; uint256 amountToSwapForETH = contractTokenBalance - liquidityTokens; uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 newBalance = address(this).balance - initialETHBalance; uint256 ethForSanta = (newBalance * tokensForSanta) / toSwap; uint256 ethForLiquidity = newBalance - ethForSanta; tokensForLiquidity = 0; tokensForSanta = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity); } (success, ) = address(hospitalWallet).call{ value: address(this).balance }(""); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 (last updated v4.5.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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @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.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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); } } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_hospitalWallet","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","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":"_fees","outputs":[{"internalType":"uint8","name":"buyTotalFees","type":"uint8"},{"internalType":"uint8","name":"buySantaFee","type":"uint8"},{"internalType":"uint8","name":"buyLiquidityFee","type":"uint8"},{"internalType":"uint8","name":"sellTotalFees","type":"uint8"},{"internalType":"uint8","name":"sellSantaFee","type":"uint8"},{"internalType":"uint8","name":"sellLiquidityFee","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxWalletAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"hospitalWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForSanta","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600b805461ffff19169055610180604052600060c081905260e081905261010081905261012081905261014081905261016052600c805465ffffffffffff191690553480156200004e57600080fd5b506040516200253238038062002532833981016040819052620000719162000844565b8282600362000081838262000957565b50600462000090828262000957565b505050620000ad620000a7620004da60201b60201c565b620004de565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000103573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000129919062000a23565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000179573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019f919062000a23565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000213919062000a23565b6001600160a01b0390811660a081905260805190911660009081526011602081905260408083208054600160ff19918216811790925594845290832080549094168117909355906200026d6005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526011909252812080549092166001908117909255601090620002c66005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260109092528120805490921660019081179092556012906200031f6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526012845282812080548616600190811790915560a05190921681528281208054861683179055601390935291208054909216179055608051620003969060001962000530565b506064620003a682600262000a5e565b620003b2919062000a78565b6007556064620003c482600262000a5e565b620003d0919062000a78565b6008556064620003e282600262000a5e565b620003ee919062000a78565b6009556127106200040182600162000a5e565b6200040d919062000a78565b600a55600c805462ffff0019166201010017908190556200043f9060ff61010082048116916201000090041662000a9b565b600c80546401000000006501000000000060ff94851665ff00000000ff1990931692909217821760ff60201b19168117928390556200048993908304811692919091041662000a9b565b600c805463ff0000001916630100000060ff9390931692909202919091179055600680546001600160a01b0319166001600160a01b038616179055620004d033826200054c565b5050505062000acd565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000336200054081858562000635565b60019150505b92915050565b6001600160a01b038216620005a85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620005bc919062000ab7565b90915550506001600160a01b03821660009081526020819052604081208054839290620005eb90849062000ab7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316620006995760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200059f565b6001600160a01b038216620006fc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200059f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b80516001600160a01b03811681146200077a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620007a757600080fd5b81516001600160401b0380821115620007c457620007c46200077f565b604051601f8301601f19908116603f01168101908282118183101715620007ef57620007ef6200077f565b816040528381526020925086838588010111156200080c57600080fd5b600091505b8382101562000830578582018301518183018401529082019062000811565b600093810190920192909252949350505050565b600080600080608085870312156200085b57600080fd5b620008668562000762565b60208601519094506001600160401b03808211156200088457600080fd5b620008928883890162000795565b94506040870151915080821115620008a957600080fd5b50620008b88782880162000795565b606096909601519497939650505050565b600181811c90821680620008de57607f821691505b602082108103620008ff57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075d57600081815260208120601f850160051c810160208610156200092e5750805b601f850160051c820191505b818110156200094f578281556001016200093a565b505050505050565b81516001600160401b038111156200097357620009736200077f565b6200098b81620009848454620008c9565b8462000905565b602080601f831160018114620009c35760008415620009aa5750858301515b600019600386901b1c1916600185901b1785556200094f565b600085815260208120601f198616915b82811015620009f457888601518255948401946001909101908401620009d3565b508582101562000a135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a3657600080fd5b62000a418262000762565b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000546576200054662000a48565b60008262000a9657634e487b7160e01b600052601260045260246000fd5b500490565b60ff818116838216019081111562000546576200054662000a48565b8082018082111562000546576200054662000a48565b60805160a051611a1c62000b1660003960006102da0152600081816105f8015281816114c20152818161157b015281816115b70152818161162901526116850152611a1c6000f3fe6080604052600436106101a05760003560e01c8063715018a6116100ec578063b9e418e71161008a578063dd62ed3e11610064578063dd62ed3e14610550578063f2fde38b14610596578063f5b3c3bf146105b6578063f887ea40146105e657600080fd5b8063b9e418e71461049c578063bccf480c146104b1578063d212a69a146104c757600080fd5b806396880b17116100c657806396880b171461040c578063a457c2d71461043c578063a9059cbb1461045c578063b88631151461047c57600080fd5b8063715018a6146103c25780638da5cb5b146103d957806395d89b41146103f757600080fd5b8063313ce567116101595780634fbee193116101335780634fbee19314610314578063641c39c91461034d5780636ddd17131461036d57806370a082311461038c57600080fd5b8063313ce5671461028c57806339509351146102a857806349bd5a5e146102c857600080fd5b806306fdde03146101ac578063095ea7b3146101d757806310d5de531461020757806318160ddd146102375780631a8145bb1461025657806323b872dd1461026c57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101c161061a565b6040516101ce9190611703565b60405180910390f35b3480156101e357600080fd5b506101f76101f2366004611766565b6106ac565b60405190151581526020016101ce565b34801561021357600080fd5b506101f7610222366004611792565b60116020526000908152604090205460ff1681565b34801561024357600080fd5b506002545b6040519081526020016101ce565b34801561026257600080fd5b50610248600d5481565b34801561027857600080fd5b506101f76102873660046117b6565b6106c6565b34801561029857600080fd5b50604051601281526020016101ce565b3480156102b457600080fd5b506101f76102c3366004611766565b6106ea565b3480156102d457600080fd5b506102fc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101ce565b34801561032057600080fd5b506101f761032f366004611792565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561035957600080fd5b506006546102fc906001600160a01b031681565b34801561037957600080fd5b50600b546101f790610100900460ff1681565b34801561039857600080fd5b506102486103a7366004611792565b6001600160a01b031660009081526020819052604090205490565b3480156103ce57600080fd5b506103d7610729565b005b3480156103e557600080fd5b506005546001600160a01b03166102fc565b34801561040357600080fd5b506101c1610768565b34801561041857600080fd5b506101f7610427366004611792565b60126020526000908152604090205460ff1681565b34801561044857600080fd5b506101f7610457366004611766565b610777565b34801561046857600080fd5b506101f7610477366004611766565b610809565b34801561048857600080fd5b50600b546101f79062010000900460ff1681565b3480156104a857600080fd5b506103d7610817565b3480156104bd57600080fd5b50610248600e5481565b3480156104d357600080fd5b50600c546105149060ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000090041686565b6040805160ff978816815295871660208701529386169385019390935290841660608401528316608083015290911660a082015260c0016101ce565b34801561055c57600080fd5b5061024861056b3660046117f7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105a257600080fd5b506103d76105b1366004611792565b610860565b3480156105c257600080fd5b506101f76105d1366004611792565b60136020526000908152604090205460ff1681565b3480156105f257600080fd5b506102fc7f000000000000000000000000000000000000000000000000000000000000000081565b60606003805461062990611830565b80601f016020809104026020016040519081016040528092919081815260200182805461065590611830565b80156106a25780601f10610677576101008083540402835291602001916106a2565b820191906000526020600020905b81548152906001019060200180831161068557829003601f168201915b5050505050905090565b6000336106ba8185856108fb565b60019150505b92915050565b6000336106d4858285610a1f565b6106df858585610ab1565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906106ba9082908690610724908790611880565b6108fb565b6005546001600160a01b0316331461075c5760405162461bcd60e51b815260040161075390611893565b60405180910390fd5b610766600061108b565b565b60606004805461062990611830565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610753565b6106df82868684036108fb565b6000336106ba818585610ab1565b6005546001600160a01b031633146108415760405162461bcd60e51b815260040161075390611893565b600b805461ffff191661010117905561085b436002611880565b600f55565b6005546001600160a01b0316331461088a5760405162461bcd60e51b815260040161075390611893565b6001600160a01b0381166108ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610753565b6108f88161108b565b50565b6001600160a01b03831661095d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610753565b6001600160a01b0382166109be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610753565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610aab5781811015610a9e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610753565b610aab84848484036108fb565b50505050565b80600003610aca57610ac5838360006110dd565b505050565b6005546001600160a01b03848116911614801590610af657506005546001600160a01b03838116911614155b8015610b0b5750600b5462010000900460ff16155b15610d5d57600b5460ff16610b9e576001600160a01b03831660009081526010602052604090205460ff1680610b5957506001600160a01b03821660009081526010602052604090205460ff165b610b9e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610753565b6001600160a01b03831660009081526013602052604090205460ff168015610bdf57506001600160a01b03821660009081526011602052604090205460ff16155b15610c3b57600754811115610c365760405162461bcd60e51b815260206004820152601c60248201527f627579207472616e73666572206f766572206d617820616d6f756e74000000006044820152606401610753565b610cd3565b6001600160a01b03821660009081526013602052604090205460ff168015610c7c57506001600160a01b03831660009081526011602052604090205460ff16155b15610cd357600854811115610cd35760405162461bcd60e51b815260206004820152601d60248201527f53656c6c207472616e73666572206f766572206d617820616d6f756e740000006044820152606401610753565b6001600160a01b03821660009081526012602052604090205460ff16610d5d576009546001600160a01b038316600090815260208190526040902054610d199083611880565b1115610d5d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610753565b30600090815260208190526040902054600a5481108015908190610d885750600b54610100900460ff165b8015610d9d5750600b5462010000900460ff16155b8015610dc157506001600160a01b03841660009081526013602052604090205460ff165b8015610de657506001600160a01b03851660009081526010602052604090205460ff16155b8015610e0b57506001600160a01b03841660009081526010602052604090205460ff16155b15610e1857610e186112ab565b600b546001600160a01b03861660009081526010602052604090205460ff62010000909204821615911680610e6557506001600160a01b03851660009081526010602052604090205460ff165b15610e6e575060005b8015611078576000600f54431015610ecc576064610e8d8660636118c8565b610e9791906118df565b90506063610ea68260056118c8565b610eb091906118df565b600e6000828254610ec19190611880565b909155506110599050565b6001600160a01b03861660009081526013602052604090205460ff168015610eff5750600c546301000000900460ff1615155b15610f9257600c54606490610f1e906301000000900460ff16876118c8565b610f2891906118df565b600c5490915060ff63010000008204811691610f4f916501000000000090910416836118c8565b610f5991906118df565b600d6000828254610f6a9190611880565b9091555050600c5460ff63010000008204811691610ea69164010000000090910416836118c8565b6001600160a01b03871660009081526013602052604090205460ff168015610fbe5750600c5460ff1615155b1561105957600c54606490610fd69060ff16876118c8565b610fe091906118df565b600c5490915060ff80821691610ffe916201000090910416836118c8565b61100891906118df565b600d60008282546110199190611880565b9091555050600c5460ff808216916110389161010090910416836118c8565b61104291906118df565b600e60008282546110539190611880565b90915550505b801561106a5761106a8730836110dd565b6110748186611901565b9450505b6110838686866110dd565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166111415760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610753565b6001600160a01b0382166111a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610753565b6001600160a01b0383166000908152602081905260409020548181101561121b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610753565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611252908490611880565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161129e91815260200190565b60405180910390a3610aab565b600b805462ff00001916620100001790553060009081526020819052604081205490506000600e54600d546112e09190611880565b905060008215806112ef575081155b156112fc5750505061145d565b600a5461130a9060146118c8565b83111561132257600a5461131f9060146118c8565b92505b6000600283600d548661133591906118c8565b61133f91906118df565b61134991906118df565b905060006113578286611901565b9050476113638261146b565b600061136f8247611901565b9050600086600e548361138291906118c8565b61138c91906118df565b9050600061139a8284611901565b6000600d819055600e55905085158015906113b55750600081115b156113fe576113c48682611623565b60408051868152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d806000811461144b576040519150601f19603f3d011682016040523d82523d6000602084013e611450565b606091505b5050505050505050505050505b600b805462ff000019169055565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106114a0576114a0611914565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561151e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611542919061192a565b8160018151811061155557611555611914565b60200260200101906001600160a01b031690816001600160a01b0316815250506115a0307f0000000000000000000000000000000000000000000000000000000000000000846108fb565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906115f5908590600090869030904290600401611947565b600060405180830381600087803b15801561160f57600080fd5b505af1158015611083573d6000803e3d6000fd5b61164e307f0000000000000000000000000000000000000000000000000000000000000000846108fb565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156116d7573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116fc91906119b8565b5050505050565b600060208083528351808285015260005b8181101561173057858101830151858201604001528201611714565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108f857600080fd5b6000806040838503121561177957600080fd5b823561178481611751565b946020939093013593505050565b6000602082840312156117a457600080fd5b81356117af81611751565b9392505050565b6000806000606084860312156117cb57600080fd5b83356117d681611751565b925060208401356117e681611751565b929592945050506040919091013590565b6000806040838503121561180a57600080fd5b823561181581611751565b9150602083013561182581611751565b809150509250929050565b600181811c9082168061184457607f821691505b60208210810361186457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106c0576106c061186a565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176106c0576106c061186a565b6000826118fc57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156106c0576106c061186a565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561193c57600080fd5b81516117af81611751565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119975784516001600160a01b031683529383019391830191600101611972565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156119cd57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212201b418e61576e36f854c9384cc0634dddbba23f1695616f0f0dfeb5f580dd80da64736f6c63430008130033000000000000000000000000d0fcc6215d88ff02a75c377ac19af2bb6ff225a2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000000000000000000000000000553414e5441000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553414e5441000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101a05760003560e01c8063715018a6116100ec578063b9e418e71161008a578063dd62ed3e11610064578063dd62ed3e14610550578063f2fde38b14610596578063f5b3c3bf146105b6578063f887ea40146105e657600080fd5b8063b9e418e71461049c578063bccf480c146104b1578063d212a69a146104c757600080fd5b806396880b17116100c657806396880b171461040c578063a457c2d71461043c578063a9059cbb1461045c578063b88631151461047c57600080fd5b8063715018a6146103c25780638da5cb5b146103d957806395d89b41146103f757600080fd5b8063313ce567116101595780634fbee193116101335780634fbee19314610314578063641c39c91461034d5780636ddd17131461036d57806370a082311461038c57600080fd5b8063313ce5671461028c57806339509351146102a857806349bd5a5e146102c857600080fd5b806306fdde03146101ac578063095ea7b3146101d757806310d5de531461020757806318160ddd146102375780631a8145bb1461025657806323b872dd1461026c57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101c161061a565b6040516101ce9190611703565b60405180910390f35b3480156101e357600080fd5b506101f76101f2366004611766565b6106ac565b60405190151581526020016101ce565b34801561021357600080fd5b506101f7610222366004611792565b60116020526000908152604090205460ff1681565b34801561024357600080fd5b506002545b6040519081526020016101ce565b34801561026257600080fd5b50610248600d5481565b34801561027857600080fd5b506101f76102873660046117b6565b6106c6565b34801561029857600080fd5b50604051601281526020016101ce565b3480156102b457600080fd5b506101f76102c3366004611766565b6106ea565b3480156102d457600080fd5b506102fc7f00000000000000000000000076fe3309641846764914d7705efd9b57dd5fccaa81565b6040516001600160a01b0390911681526020016101ce565b34801561032057600080fd5b506101f761032f366004611792565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561035957600080fd5b506006546102fc906001600160a01b031681565b34801561037957600080fd5b50600b546101f790610100900460ff1681565b34801561039857600080fd5b506102486103a7366004611792565b6001600160a01b031660009081526020819052604090205490565b3480156103ce57600080fd5b506103d7610729565b005b3480156103e557600080fd5b506005546001600160a01b03166102fc565b34801561040357600080fd5b506101c1610768565b34801561041857600080fd5b506101f7610427366004611792565b60126020526000908152604090205460ff1681565b34801561044857600080fd5b506101f7610457366004611766565b610777565b34801561046857600080fd5b506101f7610477366004611766565b610809565b34801561048857600080fd5b50600b546101f79062010000900460ff1681565b3480156104a857600080fd5b506103d7610817565b3480156104bd57600080fd5b50610248600e5481565b3480156104d357600080fd5b50600c546105149060ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000090041686565b6040805160ff978816815295871660208701529386169385019390935290841660608401528316608083015290911660a082015260c0016101ce565b34801561055c57600080fd5b5061024861056b3660046117f7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105a257600080fd5b506103d76105b1366004611792565b610860565b3480156105c257600080fd5b506101f76105d1366004611792565b60136020526000908152604090205460ff1681565b3480156105f257600080fd5b506102fc7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b60606003805461062990611830565b80601f016020809104026020016040519081016040528092919081815260200182805461065590611830565b80156106a25780601f10610677576101008083540402835291602001916106a2565b820191906000526020600020905b81548152906001019060200180831161068557829003601f168201915b5050505050905090565b6000336106ba8185856108fb565b60019150505b92915050565b6000336106d4858285610a1f565b6106df858585610ab1565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906106ba9082908690610724908790611880565b6108fb565b6005546001600160a01b0316331461075c5760405162461bcd60e51b815260040161075390611893565b60405180910390fd5b610766600061108b565b565b60606004805461062990611830565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610753565b6106df82868684036108fb565b6000336106ba818585610ab1565b6005546001600160a01b031633146108415760405162461bcd60e51b815260040161075390611893565b600b805461ffff191661010117905561085b436002611880565b600f55565b6005546001600160a01b0316331461088a5760405162461bcd60e51b815260040161075390611893565b6001600160a01b0381166108ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610753565b6108f88161108b565b50565b6001600160a01b03831661095d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610753565b6001600160a01b0382166109be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610753565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610aab5781811015610a9e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610753565b610aab84848484036108fb565b50505050565b80600003610aca57610ac5838360006110dd565b505050565b6005546001600160a01b03848116911614801590610af657506005546001600160a01b03838116911614155b8015610b0b5750600b5462010000900460ff16155b15610d5d57600b5460ff16610b9e576001600160a01b03831660009081526010602052604090205460ff1680610b5957506001600160a01b03821660009081526010602052604090205460ff165b610b9e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610753565b6001600160a01b03831660009081526013602052604090205460ff168015610bdf57506001600160a01b03821660009081526011602052604090205460ff16155b15610c3b57600754811115610c365760405162461bcd60e51b815260206004820152601c60248201527f627579207472616e73666572206f766572206d617820616d6f756e74000000006044820152606401610753565b610cd3565b6001600160a01b03821660009081526013602052604090205460ff168015610c7c57506001600160a01b03831660009081526011602052604090205460ff16155b15610cd357600854811115610cd35760405162461bcd60e51b815260206004820152601d60248201527f53656c6c207472616e73666572206f766572206d617820616d6f756e740000006044820152606401610753565b6001600160a01b03821660009081526012602052604090205460ff16610d5d576009546001600160a01b038316600090815260208190526040902054610d199083611880565b1115610d5d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610753565b30600090815260208190526040902054600a5481108015908190610d885750600b54610100900460ff165b8015610d9d5750600b5462010000900460ff16155b8015610dc157506001600160a01b03841660009081526013602052604090205460ff165b8015610de657506001600160a01b03851660009081526010602052604090205460ff16155b8015610e0b57506001600160a01b03841660009081526010602052604090205460ff16155b15610e1857610e186112ab565b600b546001600160a01b03861660009081526010602052604090205460ff62010000909204821615911680610e6557506001600160a01b03851660009081526010602052604090205460ff165b15610e6e575060005b8015611078576000600f54431015610ecc576064610e8d8660636118c8565b610e9791906118df565b90506063610ea68260056118c8565b610eb091906118df565b600e6000828254610ec19190611880565b909155506110599050565b6001600160a01b03861660009081526013602052604090205460ff168015610eff5750600c546301000000900460ff1615155b15610f9257600c54606490610f1e906301000000900460ff16876118c8565b610f2891906118df565b600c5490915060ff63010000008204811691610f4f916501000000000090910416836118c8565b610f5991906118df565b600d6000828254610f6a9190611880565b9091555050600c5460ff63010000008204811691610ea69164010000000090910416836118c8565b6001600160a01b03871660009081526013602052604090205460ff168015610fbe5750600c5460ff1615155b1561105957600c54606490610fd69060ff16876118c8565b610fe091906118df565b600c5490915060ff80821691610ffe916201000090910416836118c8565b61100891906118df565b600d60008282546110199190611880565b9091555050600c5460ff808216916110389161010090910416836118c8565b61104291906118df565b600e60008282546110539190611880565b90915550505b801561106a5761106a8730836110dd565b6110748186611901565b9450505b6110838686866110dd565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166111415760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610753565b6001600160a01b0382166111a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610753565b6001600160a01b0383166000908152602081905260409020548181101561121b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610753565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611252908490611880565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161129e91815260200190565b60405180910390a3610aab565b600b805462ff00001916620100001790553060009081526020819052604081205490506000600e54600d546112e09190611880565b905060008215806112ef575081155b156112fc5750505061145d565b600a5461130a9060146118c8565b83111561132257600a5461131f9060146118c8565b92505b6000600283600d548661133591906118c8565b61133f91906118df565b61134991906118df565b905060006113578286611901565b9050476113638261146b565b600061136f8247611901565b9050600086600e548361138291906118c8565b61138c91906118df565b9050600061139a8284611901565b6000600d819055600e55905085158015906113b55750600081115b156113fe576113c48682611623565b60408051868152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d806000811461144b576040519150601f19603f3d011682016040523d82523d6000602084013e611450565b606091505b5050505050505050505050505b600b805462ff000019169055565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106114a0576114a0611914565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561151e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611542919061192a565b8160018151811061155557611555611914565b60200260200101906001600160a01b031690816001600160a01b0316815250506115a0307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846108fb565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906115f5908590600090869030904290600401611947565b600060405180830381600087803b15801561160f57600080fd5b505af1158015611083573d6000803e3d6000fd5b61164e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846108fb565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156116d7573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116fc91906119b8565b5050505050565b600060208083528351808285015260005b8181101561173057858101830151858201604001528201611714565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108f857600080fd5b6000806040838503121561177957600080fd5b823561178481611751565b946020939093013593505050565b6000602082840312156117a457600080fd5b81356117af81611751565b9392505050565b6000806000606084860312156117cb57600080fd5b83356117d681611751565b925060208401356117e681611751565b929592945050506040919091013590565b6000806040838503121561180a57600080fd5b823561181581611751565b9150602083013561182581611751565b809150509250929050565b600181811c9082168061184457607f821691505b60208210810361186457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106c0576106c061186a565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176106c0576106c061186a565b6000826118fc57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156106c0576106c061186a565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561193c57600080fd5b81516117af81611751565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119975784516001600160a01b031683529383019391830191600101611972565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156119cd57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212201b418e61576e36f854c9384cc0634dddbba23f1695616f0f0dfeb5f580dd80da64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d0fcc6215d88ff02a75c377ac19af2bb6ff225a2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000000000000000000000000000553414e5441000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553414e5441000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _hospitalWallet (address): 0xd0fcC6215D88ff02a75C377aC19af2BB6ff225a2
Arg [1] : _name (string): SANTA
Arg [2] : _symbol (string): SANTA
Arg [3] : _totalSupply (uint256): 100000000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000d0fcc6215d88ff02a75c377ac19af2bb6ff225a2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000001431e0fae6d7217caa0000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 53414e5441000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 53414e5441000000000000000000000000000000000000000000000000000000
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.