Token APE UNIVERSE
Overview ERC20
Price
$0.00 @ 0.000000 AVAX
Fully Diluted Market Cap
Total Supply:
137,742,478,361,962.052636 ApeU
Holders:
655 addresses
Transfers:
-
Contract:
Decimals:
18
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ApeUniverse
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED /* ######### ############### ###################* ####################### #########################( ################################ ,##########(/,.#################. / #############/ ######## ,###### ############ ############ ,############## ##########/. #/#( *############################# (############ ################################ ############ @ (######################################, #############. ####################################### ############### ######################################### ################################################################ .################################################################ .############################################################### ############################################################## ######( ############################################################, ########### ###############################.########################### .#############( ############################## ########################## ################ ,############################ .######################## ################## ########################### ####################### ###################* ###################### ### (##################### ###################### ######################/ ###################### /##################### ####################### ####################### ###################### ##################### ######################## * ###################, #################### #######################, #### (################### ################## ###################### #### #################### ################# (#################### #### ###################/ ############### ###################. ###### ################### ,############## ################# .########. ################## ################## ################## *####### ################ ################# #################### ##### #################( ################ ###################( ################## ############### WEBSITE: https://APES.MONEY/ APE UNIVERSE */ pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./helpers/OwnerRecovery.sol"; import "./implementations/LiquidityPoolManagerImplementationPointer.sol"; import "./implementations/WalletObserverImplementationPointer.sol"; contract ApeUniverse is ERC20, ERC20Burnable, Ownable, OwnerRecovery, LiquidityPoolManagerImplementationPointer, WalletObserverImplementationPointer { using SafeMath for uint256; address public immutable planetsManager; uint256 public sellFee = 10; uint256 public transferFee = 2; event SetSellFee(uint256 newSellFee); event SetTransferFee(uint256 newTransferFee); modifier onlyPlanetsManager() { address sender = _msgSender(); require( sender == address(planetsManager), "Implementations: Not PlanetsManager" ); _; } constructor(address _planetsManager) ERC20("APE UNIVERSE", "ApeU") { require( _planetsManager != address(0), "Implementations: PlanetsManager is not set" ); planetsManager = _planetsManager; _mint(owner(), 42_000_000_000 * (10**18)); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (address(walletObserver) != address(0)) { walletObserver.beforeTokenTransfer(_msgSender(), from, to, amount); } } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 fees; if(to == liquidityPoolManager.getPair()) { fees = amount.mul(sellFee).div(100); amount = amount.sub(fees); address treasuryAddress = liquidityPoolManager.getTreasuryAddress(); super._transfer(from, treasuryAddress, fees); } else { fees = amount.mul(transferFee).div(100); } super._transfer(from, to, amount); } function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._afterTokenTransfer(from, to, amount); if (address(liquidityPoolManager) != address(0)) { liquidityPoolManager.afterTokenTransfer(_msgSender()); } } function accountBurn(address account, uint256 amount) external onlyPlanetsManager { // Note: _burn will call _beforeTokenTransfer which will ensure no denied addresses can create cargos // effectively protecting PlanetsManager from suspicious addresses super._burn(account, amount); } function accountReward(address account, uint256 amount) external onlyPlanetsManager { require( address(liquidityPoolManager) != account, "ApeUniverse: Use liquidityReward to reward liquidity" ); super._mint(account, amount); } function liquidityReward(uint256 amount) external onlyPlanetsManager { require( address(liquidityPoolManager) != address(0), "ApeUniverse: LiquidityPoolManager is not set" ); super._mint(address(liquidityPoolManager), amount); } function setSellFee(uint256 sellFee_) external onlyOwner { sellFee = sellFee_; emit SetSellFee(sellFee_); } function setTransferFee(uint256 transferFee_) external onlyOwner { transferFee = transferFee_; emit SetTransferFee(transferFee_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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 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.0 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; abstract contract OwnerRecovery is Ownable { function recoverLostAVAX() external onlyOwner { payable(owner()).transfer(address(this).balance); } function recoverLostTokens( address _token, address _to, uint256 _amount ) external onlyOwner { IERC20(_token).transfer(_to, _amount); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "../../contracts/interfaces/ILiquidityPoolManager.sol"; abstract contract LiquidityPoolManagerImplementationPointer is Ownable { ILiquidityPoolManager internal liquidityPoolManager; event UpdateLiquidityPoolManager( address indexed oldImplementation, address indexed newImplementation ); modifier onlyLiquidityPoolManager() { require( address(liquidityPoolManager) != address(0), "Implementations: LiquidityPoolManager is not set" ); address sender = _msgSender(); require( sender == address(liquidityPoolManager), "Implementations: Not LiquidityPoolManager" ); _; } function getLiquidityPoolManagerImplementation() public view returns (address) { return address(liquidityPoolManager); } function changeLiquidityPoolManagerImplementation(address newImplementation) public virtual onlyOwner { address oldImplementation = address(liquidityPoolManager); require( Address.isContract(newImplementation) || newImplementation == address(0), "LiquidityPoolManager: You can only set 0x0 or a contract address as a new implementation" ); liquidityPoolManager = ILiquidityPoolManager(newImplementation); emit UpdateLiquidityPoolManager(oldImplementation, newImplementation); } uint256[49] private __gap; }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "../interfaces/IWalletObserver.sol"; abstract contract WalletObserverImplementationPointer is Ownable { IWalletObserver internal walletObserver; event UpdateWalletObserver( address indexed oldImplementation, address indexed newImplementation ); modifier onlyWalletObserver() { require( address(walletObserver) != address(0), "Implementations: WalletObserver is not set" ); address sender = _msgSender(); require( sender == address(walletObserver), "Implementations: Not WalletObserver" ); _; } function getWalletObserverImplementation() public view returns (address) { return address(walletObserver); } function changeWalletObserverImplementation(address newImplementation) public virtual onlyOwner { address oldImplementation = address(walletObserver); require( Address.isContract(newImplementation) || newImplementation == address(0), "WalletObserver: You can only set 0x0 or a contract address as a new implementation" ); walletObserver = IWalletObserver(newImplementation); emit UpdateWalletObserver(oldImplementation, newImplementation); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.11; interface ILiquidityPoolManager { function owner() external view returns (address); function getRouter() external view returns (address); function getPair() external view returns (address); function getLeftSide() external view returns (address); function getRightSide() external view returns (address); function isPair(address _pair) external view returns (bool); function isRouter(address _router) external view returns (bool); function isFeeReceiver(address _receiver) external view returns (bool); function isLiquidityIntact() external view returns (bool); function isLiquidityAdded() external view returns (bool); function afterTokenTransfer(address sender) external returns (bool); function getTreasuryAddress() external view returns (address); }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.11; interface IWalletObserver { function beforeTokenTransfer( address sender, address from, address to, uint256 amount ) external returns (bool); }
{ "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":"_planetsManager","type":"address"}],"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":"newSellFee","type":"uint256"}],"name":"SetSellFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTransferFee","type":"uint256"}],"name":"SetTransferFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":true,"internalType":"address","name":"newImplementation","type":"address"}],"name":"UpdateLiquidityPoolManager","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":true,"internalType":"address","name":"newImplementation","type":"address"}],"name":"UpdateWalletObserver","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"accountBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"accountReward","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"changeLiquidityPoolManagerImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"changeWalletObserverImplementation","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":[],"name":"getLiquidityPoolManagerImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWalletObserverImplementation","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":"uint256","name":"amount","type":"uint256"}],"name":"liquidityReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"planetsManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverLostAVAX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverLostTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sellFee_","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"transferFee_","type":"uint256"}],"name":"setTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052600a606a556002606b553480156200001b57600080fd5b5060405162001ea838038062001ea88339810160408190526200003e9162000480565b604080518082018252600c81526b41504520554e49564552534560a01b6020808301918252835180850190945260048452634170655560e01b9084015281519192916200008e91600391620003da565b508051620000a4906004906020840190620003da565b505050620000c1620000bb6200016e60201b60201c565b62000172565b6001600160a01b038116620001305760405162461bcd60e51b815260206004820152602a60248201527f496d706c656d656e746174696f6e733a20506c616e6574734d616e61676572206044820152691a5cc81b9bdd081cd95d60b21b60648201526084015b60405180910390fd5b6001600160a01b03811660805262000167620001546005546001600160a01b031690565b6b87b595f2383509fe10000000620001c4565b506200053a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200021c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000127565b6200022a60008383620002c5565b80600260008282546200023e9190620004b2565b90915550506001600160a01b038216600090815260208190526040812080548392906200026d908490620004b2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620002c1600083836200037f565b5050565b620002dd8383836200037a60201b620009b81760201c565b6038546001600160a01b0316156200037a576038546040516301bdf3ad60e51b81523360048201526001600160a01b038581166024830152848116604483015260648201849052909116906337be75a0906084015b6020604051808303816000875af115801562000352573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003789190620004d9565b505b505050565b620003978383836200037a60201b620009b81760201c565b6006546001600160a01b0316156200037a5760065460405163079cc46760e11b81523360048201526001600160a01b0390911690630f3988ce9060240162000332565b828054620003e890620004fd565b90600052602060002090601f0160209004810192826200040c576000855562000457565b82601f106200042757805160ff191683800117855562000457565b8280016001018555821562000457579182015b82811115620004575782518255916020019190600101906200043a565b506200046592915062000469565b5090565b5b808211156200046557600081556001016200046a565b6000602082840312156200049357600080fd5b81516001600160a01b0381168114620004ab57600080fd5b9392505050565b60008219821115620004d457634e487b7160e01b600052601160045260246000fd5b500190565b600060208284031215620004ec57600080fd5b81518015158114620004ab57600080fd5b600181811c908216806200051257607f821691505b602082108114156200053457634e487b7160e01b600052602260045260246000fd5b50919050565b60805161193d6200056b6000396000818161029d01528181610a9c01528181610c730152610d43015261193d6000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638b4cee0811610104578063a9059cbb116100a2578063d02dd2b311610071578063d02dd2b3146103ec578063db0e185b146103ff578063dd62ed3e14610412578063f2fde38b1461044b57600080fd5b8063a9059cbb146103ae578063acb2ad6f146103c1578063ad516abc146103ca578063cce222c5146103db57600080fd5b806395d89b41116100de57806395d89b41146103785780639b5f7c6514610380578063a457c2d714610393578063a647c9ff146103a657600080fd5b80638b4cee08146103415780638da5cb5b146103545780638f02bb5b1461036557600080fd5b8063395093511161017c57806361dec3541161014b57806361dec354146102ea57806370a08231146102fd578063715018a61461032657806379cc67901461032e57600080fd5b806339509351146102725780633cdb439d146102855780633f96d3601461029857806342966c68146102d757600080fd5b806323b872dd116101b857806323b872dd146102325780632b14ca56146102455780632d9ecafb1461024e578063313ce5671461026357600080fd5b806306fdde03146101df578063095ea7b3146101fd57806318160ddd14610220575b600080fd5b6101e761045e565b6040516101f491906115c1565b60405180910390f35b61021061020b36600461162b565b6104f0565b60405190151581526020016101f4565b6002545b6040519081526020016101f4565b610210610240366004611657565b610506565b610224606a5481565b61026161025c366004611698565b6105b5565b005b604051601281526020016101f4565b61021061028036600461162b565b6106ea565b610261610293366004611698565b610726565b6102bf7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f4565b6102616102e53660046116b5565b610850565b6102616102f8366004611657565b61085d565b61022461030b366004611698565b6001600160a01b031660009081526020819052604090205490565b610261610901565b61026161033c36600461162b565b610937565b61026161034f3660046116b5565b6109bd565b6005546001600160a01b03166102bf565b6102616103733660046116b5565b610a23565b6101e7610a82565b61026161038e36600461162b565b610a91565b6102106103a136600461162b565b610b5f565b610261610bf8565b6102106103bc36600461162b565b610c5b565b610224606b5481565b6038546001600160a01b03166102bf565b6006546001600160a01b03166102bf565b6102616103fa3660046116b5565b610c68565b61026161040d36600461162b565b610d38565b6102246104203660046116ce565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610261610459366004611698565b610d81565b60606003805461046d90611707565b80601f016020809104026020016040519081016040528092919081815260200182805461049990611707565b80156104e65780601f106104bb576101008083540402835291602001916104e6565b820191906000526020600020905b8154815290600101906020018083116104c957829003601f168201915b5050505050905090565b60006104fd338484610e19565b50600192915050565b6000610513848484610f3d565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561059d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105aa8533858403610e19565b506001949350505050565b6005546001600160a01b031633146105df5760405162461bcd60e51b815260040161059490611742565b6006546001600160a01b0316813b15158061060157506001600160a01b038216155b6106995760405162461bcd60e51b815260206004820152605860248201527f4c6971756964697479506f6f6c4d616e616765723a20596f752063616e206f6e60448201527f6c792073657420307830206f72206120636f6e7472616374206164647265737360648201527f2061732061206e657720696d706c656d656e746174696f6e0000000000000000608482015260a401610594565b600680546001600160a01b0319166001600160a01b0384811691821790925560405190918316907fdcde9a93392ce8f6a02392dc08f42df39d1fb10ce386c7e9c6c1faba80b2a42490600090a35050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104fd91859061072190869061178d565b610e19565b6005546001600160a01b031633146107505760405162461bcd60e51b815260040161059490611742565b6038546001600160a01b0316813b15158061077257506001600160a01b038216155b6107ff5760405162461bcd60e51b815260206004820152605260248201527f57616c6c65744f627365727665723a20596f752063616e206f6e6c792073657460448201527f20307830206f72206120636f6e747261637420616464726573732061732061206064820152713732bb9034b6b83632b6b2b73a30ba34b7b760711b608482015260a401610594565b603880546001600160a01b0319166001600160a01b0384811691821790925560405190918316907f60a96be23682f57c084f552a943d1253efdd5ed8df42f3187802488e068ca5e390600090a35050565b61085a33826110f2565b50565b6005546001600160a01b031633146108875760405162461bcd60e51b815260040161059490611742565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044015b6020604051808303816000875af11580156108d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb91906117a5565b50505050565b6005546001600160a01b0316331461092b5760405162461bcd60e51b815260040161059490611742565b6109356000611253565b565b60006109438333610420565b9050818110156109a15760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610594565b6109ae8333848403610e19565b6109b883836110f2565b505050565b6005546001600160a01b031633146109e75760405162461bcd60e51b815260040161059490611742565b606a8190556040518181527f74ee7e999ca1ca5e528cb19e41c5e12b09ef7ec7f52723b917fec754ce950472906020015b60405180910390a150565b6005546001600160a01b03163314610a4d5760405162461bcd60e51b815260040161059490611742565b606b8190556040518181527f7a85e8a0c3f3d4bafa6ac516212f769dfdb9bbf7c6f058d391aa03b05962124390602001610a18565b60606004805461046d90611707565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168114610ada5760405162461bcd60e51b8152600401610594906117c7565b6006546001600160a01b0384811691161415610b555760405162461bcd60e51b815260206004820152603460248201527f417065556e6976657273653a20557365206c697175696469747952657761726460448201527320746f20726577617264206c697175696469747960601b6064820152608401610594565b6109b883836112a5565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610be15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610594565b610bee3385858403610e19565b5060019392505050565b6005546001600160a01b03163314610c225760405162461bcd60e51b815260040161059490611742565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561085a573d6000803e3d6000fd5b60006104fd338484610f3d565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168114610cb15760405162461bcd60e51b8152600401610594906117c7565b6006546001600160a01b0316610d1e5760405162461bcd60e51b815260206004820152602c60248201527f417065556e6976657273653a204c6971756964697479506f6f6c4d616e61676560448201526b1c881a5cc81b9bdd081cd95d60a21b6064820152608401610594565b600654610d34906001600160a01b0316836112a5565b5050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001681146109ae5760405162461bcd60e51b8152600401610594906117c7565b6005546001600160a01b03163314610dab5760405162461bcd60e51b815260040161059490611742565b6001600160a01b038116610e105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610594565b61085a81611253565b6001600160a01b038316610e7b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610594565b6001600160a01b038216610edc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610594565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f635760405162461bcd60e51b81526004016105949061180a565b6001600160a01b038216610f895760405162461bcd60e51b81526004016105949061184f565b6006546040805163c1f1b1b560e01b815290516000926001600160a01b03169163c1f1b1b59160048083019260209291908290030181865afa158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff79190611892565b6001600160a01b0316836001600160a01b031614156110ca57611030606461102a606a548561139890919063ffffffff16565b906113ab565b905061103c82826113b7565b91506000600660009054906101000a90046001600160a01b03166001600160a01b031663e00246046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611093573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b79190611892565b90506110c48582846113c3565b506110e7565b6110e4606461102a606b548561139890919063ffffffff16565b90505b6108fb8484846113c3565b6001600160a01b0382166111525760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610594565b61115e82600083611528565b6001600160a01b038216600090815260208190526040902054818110156111d25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610594565b6001600160a01b03831660009081526020819052604081208383039055600280548492906112019084906118af565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36109b883600084611580565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166112fb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610594565b61130760008383611528565b8060026000828254611319919061178d565b90915550506001600160a01b0382166000908152602081905260408120805483929061134690849061178d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3610d3460008383611580565b60006113a482846118c6565b9392505050565b60006113a482846118e5565b60006113a482846118af565b6001600160a01b0383166113e95760405162461bcd60e51b81526004016105949061180a565b6001600160a01b03821661140f5760405162461bcd60e51b81526004016105949061184f565b61141a838383611528565b6001600160a01b038316600090815260208190526040902054818110156114925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610594565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906114c990849061178d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161151591815260200190565b60405180910390a36108fb848484611580565b6038546001600160a01b0316156109b8576038546040516301bdf3ad60e51b81523360048201526001600160a01b038581166024830152848116604483015260648201849052909116906337be75a0906084016108b8565b6006546001600160a01b0316156109b85760065460405163079cc46760e11b81523360048201526001600160a01b0390911690630f3988ce906024016108b8565b600060208083528351808285015260005b818110156115ee578581018301518582016040015282016115d2565b81811115611600576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461085a57600080fd5b6000806040838503121561163e57600080fd5b823561164981611616565b946020939093013593505050565b60008060006060848603121561166c57600080fd5b833561167781611616565b9250602084013561168781611616565b929592945050506040919091013590565b6000602082840312156116aa57600080fd5b81356113a481611616565b6000602082840312156116c757600080fd5b5035919050565b600080604083850312156116e157600080fd5b82356116ec81611616565b915060208301356116fc81611616565b809150509250929050565b600181811c9082168061171b57607f821691505b6020821081141561173c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156117a0576117a0611777565b500190565b6000602082840312156117b757600080fd5b815180151581146113a457600080fd5b60208082526023908201527f496d706c656d656e746174696f6e733a204e6f7420506c616e6574734d616e6160408201526233b2b960e91b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000602082840312156118a457600080fd5b81516113a481611616565b6000828210156118c1576118c1611777565b500390565b60008160001904831182151516156118e0576118e0611777565b500290565b60008261190257634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220fb593ca81e569c4f6247738346f7e1c5e595293623b604782029797fbe77d09964736f6c634300080b00330000000000000000000000004e435a936a623f0f41919e94c2c195110e593d0b
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004e435a936a623f0f41919e94c2c195110e593d0b
-----Decoded View---------------
Arg [0] : _planetsManager (address): 0x4e435a936a623f0f41919e94c2c195110e593d0b
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004e435a936a623f0f41919e94c2c195110e593d0b