Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 48 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20580736 | 14 days ago | IN | 0 ETH | 0.00009298 | ||||
Approve | 20390836 | 41 days ago | IN | 0 ETH | 0.00018879 | ||||
Approve | 19168097 | 212 days ago | IN | 0 ETH | 0.00138838 | ||||
Approve | 18896867 | 250 days ago | IN | 0 ETH | 0.00065155 | ||||
Approve | 18802224 | 263 days ago | IN | 0 ETH | 0.00152628 | ||||
Approve | 18788943 | 265 days ago | IN | 0 ETH | 0.0014863 | ||||
Approve | 18784207 | 266 days ago | IN | 0 ETH | 0.00177052 | ||||
Approve | 18782010 | 266 days ago | IN | 0 ETH | 0.00204404 | ||||
Transfer | 18781922 | 266 days ago | IN | 0 ETH | 0.00206159 | ||||
Approve | 18781907 | 266 days ago | IN | 0 ETH | 0.00202757 | ||||
Approve | 18781580 | 266 days ago | IN | 0 ETH | 0.00199898 | ||||
Approve | 18781562 | 266 days ago | IN | 0 ETH | 0.00123266 | ||||
Approve | 18781559 | 266 days ago | IN | 0 ETH | 0.00191533 | ||||
Approve | 18781559 | 266 days ago | IN | 0 ETH | 0.00191533 | ||||
Approve | 18781556 | 266 days ago | IN | 0 ETH | 0.00116574 | ||||
Approve | 18781552 | 266 days ago | IN | 0 ETH | 0.00218539 | ||||
Approve | 18781550 | 266 days ago | IN | 0 ETH | 0.00218095 | ||||
Approve | 18781548 | 266 days ago | IN | 0 ETH | 0.00222454 | ||||
Approve | 18781529 | 266 days ago | IN | 0 ETH | 0.00212517 | ||||
Approve | 18781522 | 266 days ago | IN | 0 ETH | 0.0023787 | ||||
Approve | 18781492 | 266 days ago | IN | 0 ETH | 0.00258355 | ||||
Approve | 18781489 | 266 days ago | IN | 0 ETH | 0.00238263 | ||||
Approve | 18781479 | 266 days ago | IN | 0 ETH | 0.00247776 | ||||
Approve | 18781394 | 266 days ago | IN | 0 ETH | 0.00237494 | ||||
Approve | 18781373 | 266 days ago | IN | 0 ETH | 0.00259426 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BabyCZ
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-29 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance( address owner, address spender ) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.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); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer( address to, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve( address spender, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require( fromBalance >= amount, "ERC20: transfer amount exceeds balance" ); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require( currentAllowance >= amount, "ERC20: insufficient allowance" ); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance( address owner, address spender ) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom( address from, address to, uint value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit( address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn( address indexed sender, uint amount0, uint amount1, address indexed to ); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap( uint amount0Out, uint amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapTokensForExactETH( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactTokensForETH( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapETHForExactTokens( uint amountOut, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function quote( uint amountA, uint reserveA, uint reserveB ) external pure returns (uint amountB); function getAmountOut( uint amountIn, uint reserveIn, uint reserveOut ) external pure returns (uint amountOut); function getAmountIn( uint amountOut, uint reserveIn, uint reserveOut ) external pure returns (uint amountIn); function getAmountsOut( uint amountIn, address[] calldata path ) external view returns (uint[] memory amounts); function getAmountsIn( uint amountOut, address[] calldata path ) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract BabyCZ is ERC20, Ownable { using SafeMath for uint256; uint256 public buyFee = 1; uint256 public sellFee = 50; address public taxWallet = 0x8B810DDa04A54035a650417E30526B6F6E802AcF; mapping (address => bool) public _isWhiteListedFromFee; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; constructor() ERC20("Baby Cheng Peng Zhao", "$BABYCZ") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // CREATE A UNISWAP PAIR FOR THIS NEW TOKEN uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // SET THE REST OF THE CONTRACT VARIABLES uniswapV2Router = _uniswapV2Router; // MINT INITIAL SUPPLY _mint(msg.sender, 10000000000 * 10 ** decimals()); //Exclude owner from fees _isWhiteListedFromFee[owner()] = true; _isWhiteListedFromFee[taxWallet] = true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual override { uint256 transferAmount = amount; if(!_isWhiteListedFromFee[sender] && !_isWhiteListedFromFee[recipient]){ if(buyFee > 0){ if (sender == uniswapV2Pair) { // TRANSACTION FEE uint256 fee = amount.mul(buyFee).div(100); transferAmount = amount.sub(fee); super._transfer(sender, taxWallet, fee); } } if(sellFee > 0){ if (recipient == uniswapV2Pair) { // TRANSACTION FEE uint256 fee = amount.mul(sellFee).div(100); transferAmount = amount.sub(fee); super._transfer(sender, taxWallet, fee); } } } super._transfer(sender, recipient, transferAmount); } function whiteListFromFee(address account) public onlyOwner { _isWhiteListedFromFee[account] = true; } function includeInFee(address account) public onlyOwner{ _isWhiteListedFromFee[account] = false; } function changeTaxes(uint256 _buyTax, uint256 _sellTax) public onlyOwner { buyFee = _buyTax; sellFee = _sellTax; } function changeTaxWallet(address account) public onlyOwner { taxWallet = account; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"internalType":"address","name":"","type":"address"}],"name":"_isWhiteListedFromFee","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":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"changeTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"changeTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whiteListFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260016006556032600755600880546001600160a01b031916738b810dda04a54035a650417e30526b6f6e802acf17905534801562000040575f80fd5b506040518060400160405280601481526020017f42616279204368656e672050656e67205a68616f00000000000000000000000081525060405180604001604052806007815260200166122120a12ca1ad60c91b8152508160039081620000a891906200048f565b506004620000b782826200048f565b505050620000d4620000ce620002d460201b60201c565b620002d8565b5f737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000129573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200014f91906200055b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001c191906200055b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200020c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200023291906200055b565b6001600160a01b0390811660a05281166080526200026f33620002586012600a62000699565b62000269906402540be400620006a9565b62000329565b600160095f620002876005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790556008549091168152600990925290208054909116600117905550620006d9565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620003845760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620003979190620006c3565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200041b57607f821691505b6020821081036200043a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620003ed57805f5260205f20601f840160051c81016020851015620004675750805b601f840160051c820191505b8181101562000488575f815560010162000473565b5050505050565b81516001600160401b03811115620004ab57620004ab620003f2565b620004c381620004bc845462000406565b8462000440565b602080601f831160018114620004f9575f8415620004e15750858301515b5f19600386901b1c1916600185901b17855562000553565b5f85815260208120601f198616915b82811015620005295788860151825594840194600190910190840162000508565b50858210156200054757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f602082840312156200056c575f80fd5b81516001600160a01b038116811462000583575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620005de57815f1904821115620005c257620005c26200058a565b80851615620005d057918102915b93841c9390800290620005a3565b509250929050565b5f82620005f65750600162000693565b816200060457505f62000693565b81600181146200061d5760028114620006285762000648565b600191505062000693565b60ff8411156200063c576200063c6200058a565b50506001821b62000693565b5060208310610133831016604e8410600b84101617156200066d575081810a62000693565b6200067983836200059e565b805f19048211156200068f576200068f6200058a565b0290505b92915050565b5f6200058360ff841683620005e6565b80820281158282048414176200069357620006936200058a565b808201808211156200069357620006936200058a565b60805160a051610f02620007095f395f81816102480152818161082901526108b401525f61019d0152610f025ff3fe608060405234801561000f575f80fd5b5060043610610153575f3560e01c80635f1a90aa116100bf578063a9059cbb11610079578063a9059cbb146102fd578063cb71159514610310578063dd62ed3e14610323578063ea2f0b3714610336578063f2fde38b14610349578063fe2314d61461035c575f80fd5b80635f1a90aa1461027f57806370a08231146102a1578063715018a6146102c95780638da5cb5b146102d157806395d89b41146102e2578063a457c2d7146102ea575f80fd5b80632dc0562d116101105780632dc0562d14610205578063313ce567146102185780633950935114610227578063470624021461023a57806349bd5a5e14610243578063508f6dfb1461026a575f80fd5b806306fdde0314610157578063095ea7b3146101755780631694505e1461019857806318160ddd146101d757806323b872dd146101e95780632b14ca56146101fc575b5f80fd5b61015f61036f565b60405161016c9190610cf2565b60405180910390f35b610188610183366004610d59565b6103ff565b604051901515815260200161016c565b6101bf7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161016c565b6002545b60405190815260200161016c565b6101886101f7366004610d81565b610418565b6101db60075481565b6008546101bf906001600160a01b031681565b6040516012815260200161016c565b610188610235366004610d59565b61043b565b6101db60065481565b6101bf7f000000000000000000000000000000000000000000000000000000000000000081565b61027d610278366004610dba565b61045c565b005b61018861028d366004610dba565b60096020525f908152604090205460ff1681565b6101db6102af366004610dba565b6001600160a01b03165f9081526020819052604090205490565b61027d610487565b6005546001600160a01b03166101bf565b61015f61049a565b6101886102f8366004610d59565b6104a9565b61018861030b366004610d59565b610528565b61027d61031e366004610dba565b610535565b6101db610331366004610dd3565b61055f565b61027d610344366004610dba565b610589565b61027d610357366004610dba565b6105b1565b61027d61036a366004610e04565b61062a565b60606003805461037e90610e24565b80601f01602080910402602001604051908101604052809291908181526020018280546103aa90610e24565b80156103f55780601f106103cc576101008083540402835291602001916103f5565b820191905f5260205f20905b8154815290600101906020018083116103d857829003601f168201915b5050505050905090565b5f3361040c81858561063d565b60019150505b92915050565b5f33610425858285610760565b6104308585856107d8565b506001949350505050565b5f3361040c81858561044d838361055f565b6104579190610e70565b61063d565b61046461093a565b6001600160a01b03165f908152600960205260409020805460ff19166001179055565b61048f61093a565b6104985f610994565b565b60606004805461037e90610e24565b5f33816104b6828661055f565b90508381101561051b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610430828686840361063d565b5f3361040c8185856107d8565b61053d61093a565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61059161093a565b6001600160a01b03165f908152600960205260409020805460ff19169055565b6105b961093a565b6001600160a01b03811661061e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610512565b61062781610994565b50565b61063261093a565b600691909155600755565b6001600160a01b03831661069f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610512565b6001600160a01b0382166107005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610512565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61076b848461055f565b90505f1981146107d257818110156107c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610512565b6107d2848484840361063d565b50505050565b6001600160a01b0383165f90815260096020526040902054819060ff1615801561081a57506001600160a01b0383165f9081526009602052604090205460ff16155b1561092f57600654156108aa577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316036108aa575f610881606461087b600654866109e590919063ffffffff16565b90610a6a565b905061088d8382610aab565b6008549092506108a89086906001600160a01b031683610aec565b505b6007541561092f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361092f575f610906606461087b600754866109e590919063ffffffff16565b90506109128382610aab565b60085490925061092d9086906001600160a01b031683610aec565b505b6107d2848483610aec565b6005546001600160a01b031633146104985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610512565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f825f036109f457505f610412565b5f6109ff8385610e83565b905082610a0c8583610e9a565b14610a635760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610512565b9392505050565b5f610a6383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c8e565b5f610a6383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610cc3565b6001600160a01b038316610b505760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610512565b6001600160a01b038216610bb25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610512565b6001600160a01b0383165f9081526020819052604090205481811015610c295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610512565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107d2565b5f8183610cae5760405162461bcd60e51b81526004016105129190610cf2565b505f610cba8486610e9a565b95945050505050565b5f8184841115610ce65760405162461bcd60e51b81526004016105129190610cf2565b505f610cba8486610eb9565b5f602080835283518060208501525f5b81811015610d1e57858101830151858201604001528201610d02565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d54575f80fd5b919050565b5f8060408385031215610d6a575f80fd5b610d7383610d3e565b946020939093013593505050565b5f805f60608486031215610d93575f80fd5b610d9c84610d3e565b9250610daa60208501610d3e565b9150604084013590509250925092565b5f60208284031215610dca575f80fd5b610a6382610d3e565b5f8060408385031215610de4575f80fd5b610ded83610d3e565b9150610dfb60208401610d3e565b90509250929050565b5f8060408385031215610e15575f80fd5b50508035926020909101359150565b600181811c90821680610e3857607f821691505b602082108103610e5657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561041257610412610e5c565b808202811582820484141761041257610412610e5c565b5f82610eb457634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561041257610412610e5c56fea264697066735822122001981e16cdaca64937b4893577a457cea2f437f4571c401b3710b79168c2a03e64736f6c63430008160033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610153575f3560e01c80635f1a90aa116100bf578063a9059cbb11610079578063a9059cbb146102fd578063cb71159514610310578063dd62ed3e14610323578063ea2f0b3714610336578063f2fde38b14610349578063fe2314d61461035c575f80fd5b80635f1a90aa1461027f57806370a08231146102a1578063715018a6146102c95780638da5cb5b146102d157806395d89b41146102e2578063a457c2d7146102ea575f80fd5b80632dc0562d116101105780632dc0562d14610205578063313ce567146102185780633950935114610227578063470624021461023a57806349bd5a5e14610243578063508f6dfb1461026a575f80fd5b806306fdde0314610157578063095ea7b3146101755780631694505e1461019857806318160ddd146101d757806323b872dd146101e95780632b14ca56146101fc575b5f80fd5b61015f61036f565b60405161016c9190610cf2565b60405180910390f35b610188610183366004610d59565b6103ff565b604051901515815260200161016c565b6101bf7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161016c565b6002545b60405190815260200161016c565b6101886101f7366004610d81565b610418565b6101db60075481565b6008546101bf906001600160a01b031681565b6040516012815260200161016c565b610188610235366004610d59565b61043b565b6101db60065481565b6101bf7f000000000000000000000000faaf44b7c7630e7ad649b7f8100bc3b0d11558c381565b61027d610278366004610dba565b61045c565b005b61018861028d366004610dba565b60096020525f908152604090205460ff1681565b6101db6102af366004610dba565b6001600160a01b03165f9081526020819052604090205490565b61027d610487565b6005546001600160a01b03166101bf565b61015f61049a565b6101886102f8366004610d59565b6104a9565b61018861030b366004610d59565b610528565b61027d61031e366004610dba565b610535565b6101db610331366004610dd3565b61055f565b61027d610344366004610dba565b610589565b61027d610357366004610dba565b6105b1565b61027d61036a366004610e04565b61062a565b60606003805461037e90610e24565b80601f01602080910402602001604051908101604052809291908181526020018280546103aa90610e24565b80156103f55780601f106103cc576101008083540402835291602001916103f5565b820191905f5260205f20905b8154815290600101906020018083116103d857829003601f168201915b5050505050905090565b5f3361040c81858561063d565b60019150505b92915050565b5f33610425858285610760565b6104308585856107d8565b506001949350505050565b5f3361040c81858561044d838361055f565b6104579190610e70565b61063d565b61046461093a565b6001600160a01b03165f908152600960205260409020805460ff19166001179055565b61048f61093a565b6104985f610994565b565b60606004805461037e90610e24565b5f33816104b6828661055f565b90508381101561051b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610430828686840361063d565b5f3361040c8185856107d8565b61053d61093a565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61059161093a565b6001600160a01b03165f908152600960205260409020805460ff19169055565b6105b961093a565b6001600160a01b03811661061e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610512565b61062781610994565b50565b61063261093a565b600691909155600755565b6001600160a01b03831661069f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610512565b6001600160a01b0382166107005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610512565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61076b848461055f565b90505f1981146107d257818110156107c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610512565b6107d2848484840361063d565b50505050565b6001600160a01b0383165f90815260096020526040902054819060ff1615801561081a57506001600160a01b0383165f9081526009602052604090205460ff16155b1561092f57600654156108aa577f000000000000000000000000faaf44b7c7630e7ad649b7f8100bc3b0d11558c36001600160a01b0316846001600160a01b0316036108aa575f610881606461087b600654866109e590919063ffffffff16565b90610a6a565b905061088d8382610aab565b6008549092506108a89086906001600160a01b031683610aec565b505b6007541561092f577f000000000000000000000000faaf44b7c7630e7ad649b7f8100bc3b0d11558c36001600160a01b0316836001600160a01b03160361092f575f610906606461087b600754866109e590919063ffffffff16565b90506109128382610aab565b60085490925061092d9086906001600160a01b031683610aec565b505b6107d2848483610aec565b6005546001600160a01b031633146104985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610512565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f825f036109f457505f610412565b5f6109ff8385610e83565b905082610a0c8583610e9a565b14610a635760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610512565b9392505050565b5f610a6383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c8e565b5f610a6383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610cc3565b6001600160a01b038316610b505760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610512565b6001600160a01b038216610bb25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610512565b6001600160a01b0383165f9081526020819052604090205481811015610c295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610512565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107d2565b5f8183610cae5760405162461bcd60e51b81526004016105129190610cf2565b505f610cba8486610e9a565b95945050505050565b5f8184841115610ce65760405162461bcd60e51b81526004016105129190610cf2565b505f610cba8486610eb9565b5f602080835283518060208501525f5b81811015610d1e57858101830151858201604001528201610d02565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d54575f80fd5b919050565b5f8060408385031215610d6a575f80fd5b610d7383610d3e565b946020939093013593505050565b5f805f60608486031215610d93575f80fd5b610d9c84610d3e565b9250610daa60208501610d3e565b9150604084013590509250925092565b5f60208284031215610dca575f80fd5b610a6382610d3e565b5f8060408385031215610de4575f80fd5b610ded83610d3e565b9150610dfb60208401610d3e565b90509250929050565b5f8060408385031215610e15575f80fd5b50508035926020909101359150565b600181811c90821680610e3857607f821691505b602082108103610e5657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561041257610412610e5c565b808202811582820484141761041257610412610e5c565b5f82610eb457634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561041257610412610e5c56fea264697066735822122001981e16cdaca64937b4893577a457cea2f437f4571c401b3710b79168c2a03e64736f6c63430008160033
Deployed Bytecode Sourcemap
34363:2503:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9343:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11760:226;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;11760:226:0;1004:187:1;34644:51:0;;;;;;;;-1:-1:-1;;;;;1387:32:1;;;1369:51;;1357:2;1342:18;34644:51:0;1196:230:1;10463:108:0;10551:12;;10463:108;;;1577:25:1;;;1565:2;1550:18;10463:108:0;1431:177:1;12566:295:0;;;;;;:::i;:::-;;:::i;34471:27::-;;;;;;34505:69;;;;;-1:-1:-1;;;;;34505:69:0;;;10305:93;;;10388:2;2296:36:1;;2284:2;2269:18;10305:93:0;2154:184:1;13270:263:0;;;;;;:::i;:::-;;:::i;34439:25::-;;;;;;34702:38;;;;;36375:116;;;;;;:::i;:::-;;:::i;:::-;;34581:54;;;;;;:::i;:::-;;;;;;;;;;;;;;;;10634:143;;;;;;:::i;:::-;-1:-1:-1;;;;;10751:18:0;10724:7;10751:18;;;;;;;;;;;;10634:143;2753:103;;;:::i;2105:87::-;2178:6;;-1:-1:-1;;;;;2178:6:0;2105:87;;9562:104;;;:::i;14036:498::-;;;;;;:::i;:::-;;:::i;10983:218::-;;;;;;:::i;:::-;;:::i;36764:97::-;;;;;;:::i;:::-;;:::i;11264:176::-;;;;;;:::i;:::-;;:::i;36499:112::-;;;;;;:::i;:::-;;:::i;3011:238::-;;;;;;:::i;:::-;;:::i;36619:137::-;;;;;;:::i;:::-;;:::i;9343:100::-;9397:13;9430:5;9423:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9343:100;:::o;11760:226::-;11868:4;736:10;11924:32;736:10;11940:7;11949:6;11924:8;:32::i;:::-;11974:4;11967:11;;;11760:226;;;;;:::o;12566:295::-;12697:4;736:10;12755:38;12771:4;736:10;12786:6;12755:15;:38::i;:::-;12804:27;12814:4;12820:2;12824:6;12804:9;:27::i;:::-;-1:-1:-1;12849:4:0;;12566:295;-1:-1:-1;;;;12566:295:0:o;13270:263::-;13383:4;736:10;13439:64;736:10;13455:7;13492:10;13464:25;736:10;13455:7;13464:9;:25::i;:::-;:38;;;;:::i;:::-;13439:8;:64::i;36375:116::-;1991:13;:11;:13::i;:::-;-1:-1:-1;;;;;36446:30:0::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;36446:37:0::1;36479:4;36446:37;::::0;;36375:116::o;2753:103::-;1991:13;:11;:13::i;:::-;2818:30:::1;2845:1;2818:18;:30::i;:::-;2753:103::o:0;9562:104::-;9618:13;9651:7;9644:14;;;;;:::i;14036:498::-;14154:4;736:10;14154:4;14237:25;736:10;14254:7;14237:9;:25::i;:::-;14210:52;;14315:15;14295:16;:35;;14273:122;;;;-1:-1:-1;;;14273:122:0;;3901:2:1;14273:122:0;;;3883:21:1;3940:2;3920:18;;;3913:30;3979:34;3959:18;;;3952:62;-1:-1:-1;;;4030:18:1;;;4023:35;4075:19;;14273:122:0;;;;;;;;;14431:60;14440:5;14447:7;14475:15;14456:16;:34;14431:8;:60::i;10983:218::-;11087:4;736:10;11143:28;736:10;11160:2;11164:6;11143:9;:28::i;36764:97::-;1991:13;:11;:13::i;:::-;36834:9:::1;:19:::0;;-1:-1:-1;;;;;;36834:19:0::1;-1:-1:-1::0;;;;;36834:19:0;;;::::1;::::0;;;::::1;::::0;;36764:97::o;11264:176::-;-1:-1:-1;;;;;11405:18:0;;;11378:7;11405:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11264:176::o;36499:112::-;1991:13;:11;:13::i;:::-;-1:-1:-1;;;;;36565:30:0::1;36598:5;36565:30:::0;;;:21:::1;:30;::::0;;;;:38;;-1:-1:-1;;36565:38:0::1;::::0;;36499:112::o;3011:238::-;1991:13;:11;:13::i;:::-;-1:-1:-1;;;;;3114:22:0;::::1;3092:110;;;::::0;-1:-1:-1;;;3092:110:0;;4307:2:1;3092:110:0::1;::::0;::::1;4289:21:1::0;4346:2;4326:18;;;4319:30;4385:34;4365:18;;;4358:62;-1:-1:-1;;;4436:18:1;;;4429:36;4482:19;;3092:110:0::1;4105:402:1::0;3092:110:0::1;3213:28;3232:8;3213:18;:28::i;:::-;3011:238:::0;:::o;36619:137::-;1991:13;:11;:13::i;:::-;36703:6:::1;:16:::0;;;;36730:7:::1;:18:::0;36619:137::o;18162:380::-;-1:-1:-1;;;;;18298:19:0;;18290:68;;;;-1:-1:-1;;;18290:68:0;;4714:2:1;18290:68:0;;;4696:21:1;4753:2;4733:18;;;4726:30;4792:34;4772:18;;;4765:62;-1:-1:-1;;;4843:18:1;;;4836:34;4887:19;;18290:68:0;4512:400:1;18290:68:0;-1:-1:-1;;;;;18377:21:0;;18369:68;;;;-1:-1:-1;;;18369:68:0;;5119:2:1;18369:68:0;;;5101:21:1;5158:2;5138:18;;;5131:30;5197:34;5177:18;;;5170:62;-1:-1:-1;;;5248:18:1;;;5241:32;5290:19;;18369:68:0;4917:398:1;18369:68:0;-1:-1:-1;;;;;18450:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18502:32;;1577:25:1;;;18502:32:0;;1550:18:1;18502:32:0;;;;;;;18162:380;;;:::o;18833:502::-;18968:24;18995:25;19005:5;19012:7;18995:9;:25::i;:::-;18968:52;;-1:-1:-1;;19035:16:0;:37;19031:297;;19135:6;19115:16;:26;;19089:117;;;;-1:-1:-1;;;19089:117:0;;5522:2:1;19089:117:0;;;5504:21:1;5561:2;5541:18;;;5534:30;5600:31;5580:18;;;5573:59;5649:18;;19089:117:0;5320:353:1;19089:117:0;19250:51;19259:5;19266:7;19294:6;19275:16;:25;19250:8;:51::i;:::-;18957:378;18833:502;;;:::o;35470:897::-;-1:-1:-1;;;;;35659:29:0;;35611:22;35659:29;;;:21;:29;;;;;;35636:6;;35659:29;;35658:30;:67;;;;-1:-1:-1;;;;;;35693:32:0;;;;;;:21;:32;;;;;;;;35692:33;35658:67;35655:644;;;35742:6;;:10;35739:266;;35778:13;-1:-1:-1;;;;;35768:23:0;:6;-1:-1:-1;;;;;35768:23:0;;35764:230;;35840:11;35854:27;35877:3;35854:18;35865:6;;35854;:10;;:18;;;;:::i;:::-;:22;;:27::i;:::-;35840:41;-1:-1:-1;35913:15:0;:6;35840:41;35913:10;:15::i;:::-;35967:9;;35896:32;;-1:-1:-1;35943:39:0;;35959:6;;-1:-1:-1;;;;;35967:9:0;35978:3;35943:15;:39::i;:::-;35793:201;35764:230;36020:7;;:11;36017:271;;36060:13;-1:-1:-1;;;;;36047:26:0;:9;-1:-1:-1;;;;;36047:26:0;;36043:234;;36122:11;36136:28;36160:3;36136:19;36147:7;;36136:6;:10;;:19;;;;:::i;:28::-;36122:42;-1:-1:-1;36196:15:0;:6;36122:42;36196:10;:15::i;:::-;36250:9;;36179:32;;-1:-1:-1;36226:39:0;;36242:6;;-1:-1:-1;;;;;36250:9:0;36261:3;36226:15;:39::i;:::-;36075:202;36043:234;36309:50;36325:6;36333:9;36344:14;36309:15;:50::i;2270:132::-;2178:6;;-1:-1:-1;;;;;2178:6:0;736:10;2334:23;2326:68;;;;-1:-1:-1;;;2326:68:0;;5880:2:1;2326:68:0;;;5862:21:1;;;5899:18;;;5892:30;5958:34;5938:18;;;5931:62;6010:18;;2326:68:0;5678:356:1;3409:191:0;3502:6;;;-1:-1:-1;;;;;3519:17:0;;;-1:-1:-1;;;;;;3519:17:0;;;;;;;3552:40;;3502:6;;;3519:17;3502:6;;3552:40;;3483:16;;3552:40;3472:128;3409:191;:::o;22513:471::-;22571:7;22816:1;22821;22816:6;22812:47;;-1:-1:-1;22846:1:0;22839:8;;22812:47;22871:9;22883:5;22887:1;22883;:5;:::i;:::-;22871:17;-1:-1:-1;22916:1:0;22907:5;22911:1;22871:17;22907:5;:::i;:::-;:10;22899:56;;;;-1:-1:-1;;;22899:56:0;;6636:2:1;22899:56:0;;;6618:21:1;6675:2;6655:18;;;6648:30;6714:34;6694:18;;;6687:62;-1:-1:-1;;;6765:18:1;;;6758:31;6806:19;;22899:56:0;6434:397:1;22899:56:0;22975:1;22513:471;-1:-1:-1;;;22513:471:0:o;23460:132::-;23518:7;23545:39;23549:1;23552;23545:39;;;;;;;;;;;;;;;;;:3;:39::i;21623:136::-;21681:7;21708:43;21712:1;21715;21708:43;;;;;;;;;;;;;;;;;:3;:43::i;15004:877::-;-1:-1:-1;;;;;15135:18:0;;15127:68;;;;-1:-1:-1;;;15127:68:0;;7038:2:1;15127:68:0;;;7020:21:1;7077:2;7057:18;;;7050:30;7116:34;7096:18;;;7089:62;-1:-1:-1;;;7167:18:1;;;7160:35;7212:19;;15127:68:0;6836:401:1;15127:68:0;-1:-1:-1;;;;;15214:16:0;;15206:64;;;;-1:-1:-1;;;15206:64:0;;7444:2:1;15206:64:0;;;7426:21:1;7483:2;7463:18;;;7456:30;7522:34;7502:18;;;7495:62;-1:-1:-1;;;7573:18:1;;;7566:33;7616:19;;15206:64:0;7242:399:1;15206:64:0;-1:-1:-1;;;;;15356:15:0;;15334:19;15356:15;;;;;;;;;;;15404:21;;;;15382:109;;;;-1:-1:-1;;;15382:109:0;;7848:2:1;15382:109:0;;;7830:21:1;7887:2;7867:18;;;7860:30;7926:34;7906:18;;;7899:62;-1:-1:-1;;;7977:18:1;;;7970:36;8023:19;;15382:109:0;7646:402:1;15382:109:0;-1:-1:-1;;;;;15527:15:0;;;:9;:15;;;;;;;;;;;15545:20;;;15527:38;;15745:13;;;;;;;;;;:23;;;;;;15797:26;;1577:25:1;;;15745:13:0;;15797:26;;1550:18:1;15797:26:0;;;;;;;15836:37;19935:125;24088:278;24174:7;24209:12;24202:5;24194:28;;;;-1:-1:-1;;;24194:28:0;;;;;;;;:::i;:::-;-1:-1:-1;24233:9:0;24245:5;24249:1;24245;:5;:::i;:::-;24233:17;24088:278;-1:-1:-1;;;;;24088:278:0:o;22062:192::-;22148:7;22184:12;22176:6;;;;22168:29;;;;-1:-1:-1;;;22168:29:0;;;;;;;;:::i;:::-;-1:-1:-1;22208:9:0;22220:5;22224:1;22220;:5;:::i;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1613:328::-;1690:6;1698;1706;1759:2;1747:9;1738:7;1734:23;1730:32;1727:52;;;1775:1;1772;1765:12;1727:52;1798:29;1817:9;1798:29;:::i;:::-;1788:39;;1846:38;1880:2;1869:9;1865:18;1846:38;:::i;:::-;1836:48;;1931:2;1920:9;1916:18;1903:32;1893:42;;1613:328;;;;;:::o;2343:186::-;2402:6;2455:2;2443:9;2434:7;2430:23;2426:32;2423:52;;;2471:1;2468;2461:12;2423:52;2494:29;2513:9;2494:29;:::i;2534:260::-;2602:6;2610;2663:2;2651:9;2642:7;2638:23;2634:32;2631:52;;;2679:1;2676;2669:12;2631:52;2702:29;2721:9;2702:29;:::i;:::-;2692:39;;2750:38;2784:2;2773:9;2769:18;2750:38;:::i;:::-;2740:48;;2534:260;;;;;:::o;2799:248::-;2867:6;2875;2928:2;2916:9;2907:7;2903:23;2899:32;2896:52;;;2944:1;2941;2934:12;2896:52;-1:-1:-1;;2967:23:1;;;3037:2;3022:18;;;3009:32;;-1:-1:-1;2799:248:1:o;3052:380::-;3131:1;3127:12;;;;3174;;;3195:61;;3249:4;3241:6;3237:17;3227:27;;3195:61;3302:2;3294:6;3291:14;3271:18;3268:38;3265:161;;3348:10;3343:3;3339:20;3336:1;3329:31;3383:4;3380:1;3373:15;3411:4;3408:1;3401:15;3265:161;;3052:380;;;:::o;3437:127::-;3498:10;3493:3;3489:20;3486:1;3479:31;3529:4;3526:1;3519:15;3553:4;3550:1;3543:15;3569:125;3634:9;;;3655:10;;;3652:36;;;3668:18;;:::i;6039:168::-;6112:9;;;6143;;6160:15;;;6154:22;;6140:37;6130:71;;6181:18;;:::i;6212:217::-;6252:1;6278;6268:132;;6322:10;6317:3;6313:20;6310:1;6303:31;6357:4;6354:1;6347:15;6385:4;6382:1;6375:15;6268:132;-1:-1:-1;6414:9:1;;6212:217::o;8053:128::-;8120:9;;;8141:11;;;8138:37;;;8155:18;;:::i
Swarm Source
ipfs://01981e16cdaca64937b4893577a457cea2f437f4571c401b3710b79168c2a03e
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.