Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 19320013 | 737 days ago | 0.003 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
AlienDegenStaker
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract AlienDegenStaker is Ownable {
enum StakeChoice {
None,
Lower,
Maintain,
Raise
}
struct Stake {
uint256 timestamp;
uint256 amount;
StakeChoice choice;
bool claimed;
}
uint256 public payoutFactor = 95; // 95%
uint256[] public AlienTimestamps;
uint256 public previousAlienTimestamp = 1683136800;
uint256 public upcomingAlienTimestamp = 1686765600;
uint256 public stakeCutoutTimestamp = 1686765600;
uint256 public stakeTax = 3000000000000000;
uint256 public claimTax = 3000000000000000;
address public taxWallet;
uint256 public burned = 0;
ERC20 public token;
mapping(uint256 => mapping(address => Stake)) public stakes;
mapping(uint256 => mapping(StakeChoice => uint256)) public stakesPerSide;
mapping(uint256 => uint256) public pools;
mapping(uint256 => mapping(StakeChoice => uint256)) public poolsPerSide;
mapping(uint256 => uint256) public userTotal;
mapping(uint256 => StakeChoice) public outcomes;
uint256 public stakeIndex = 1;
constructor(
address _tokenAddress,
address _taxWallet,
uint256 _upcomingAlienTimestamp
) Ownable(msg.sender) {
token = ERC20(_tokenAddress);
taxWallet = _taxWallet;
if (_upcomingAlienTimestamp != 0) {
upcomingAlienTimestamp = _upcomingAlienTimestamp;
}
AlienTimestamps.push(previousAlienTimestamp);
AlienTimestamps.push(upcomingAlienTimestamp);
}
// you can only stake till 3 days before meeting and you can start staking again after new date is set
function stake(StakeChoice stakeChoice, uint256 amount) public payable {
require(
stakes[stakeIndex][_msgSender()].timestamp == 0,
"stake already exists"
);
require(
block.timestamp < stakeCutoutTimestamp,
"stake period expired"
);
// 0.01 eth
require(msg.value == stakeTax, "no tax payed");
(bool sent, bytes memory data) = taxWallet.call{value: msg.value}("");
require(sent, "Failed to send Ether");
Stake memory _stake = Stake(block.timestamp, amount, stakeChoice, false);
stakes[stakeIndex][_msgSender()] = _stake;
stakesPerSide[stakeIndex][stakeChoice] += amount;
uint256 timeScalar = calculateTimeScalar(_stake, 0);
userTotal[stakeIndex] += (amount*timeScalar) /1000;
pools[stakeIndex] += amount;
poolsPerSide[stakeIndex][stakeChoice] += amount;
token.transferFrom(_msgSender(), address(this), amount);
}
// claim based on allocation in losing side's pool
function claimFunds(uint256 index) public payable {
require(msg.value == claimTax, "no tax payed");
(bool sent, ) = taxWallet.call{value: msg.value}("");
require(sent, "Failed to send Ether");
require(block.timestamp < AlienTimestamps[stakeIndex], "Too early to claim");
require(block.timestamp > AlienTimestamps[index], "Bet hasnt finilized");
Stake storage _stake = stakes[index][_msgSender()];
require(_stake.choice == outcomes[index], "wrong outcome");
require(_stake.claimed == false, "already claimed");
uint256 totalLosingPool = 0;
for(uint256 i = 1; i <= uint256(StakeChoice.Raise); i++) {
if(StakeChoice(i) != outcomes[index]) {
totalLosingPool += poolsPerSide[index][StakeChoice(i)];
}
}
if(totalLosingPool > 0){
uint256 timeFactor = calculateTimeScalar(_stake, 1);
uint256 rewardFactor = ((_stake.amount * timeFactor) / userTotal[index]) * 1000;
// Calculate reward based on the losing side's pool and ensure the bet is always returned
uint256 reward = (rewardFactor * totalLosingPool) / 1000 / 1000 * payoutFactor / 100;
token.transfer(_msgSender(), _stake.amount + reward); // Return initial bet + reward
_stake.claimed = true;
}else{
token.transfer(_msgSender(), _stake.amount); // Return initial bet
_stake.claimed = true;
}
}
function calculateTimeScalar(
Stake memory _stake,
uint256 offset
) private view returns (uint256) {
uint256 totalTime = AlienTimestamps[stakeIndex - offset] -
AlienTimestamps[stakeIndex - offset - 1];
uint256 time = AlienTimestamps[stakeIndex - offset] - _stake.timestamp;
uint256 scalar = 1000 - ((totalTime - time) * 1000) / totalTime;
require(scalar > 0, "nothing to claim");
uint256 minValue = 0;
uint256 maxValue = 1000;
uint256 mappedMinValue = 500;
uint256 mappedMaxValue = 1000;
return (((((scalar * 1000) / (maxValue - minValue)) *
(mappedMaxValue - mappedMinValue)) / 1000) + mappedMinValue);
}
function setUpcomingAlienTimestamp(
uint256 timestamp,
uint256 cutOut
) public onlyOwner {
require(
AlienTimestamps[stakeIndex] < block.timestamp,
"can only set timestamp after meeting"
);
require(timestamp > AlienTimestamps[stakeIndex]);
stakeCutoutTimestamp = cutOut;
AlienTimestamps.push(timestamp);
stakeIndex++;
}
function setOutcome(
StakeChoice outcome
) public onlyOwner {
outcomes[stakeIndex] = outcome;
}
function withdrawTokens(
uint256 amount
) public onlyOwner {
token.transfer(_msgSender(), amount);
}
function setPayoutFactor(uint256 newPayoutFactor) public onlyOwner {
payoutFactor = newPayoutFactor;
}
function setStakeTax(uint256 newStakeTax) public onlyOwner {
stakeTax = newStakeTax;
}
function setClaimTax(uint256 newClaimTax) public onlyOwner {
claimTax = newClaimTax;
}
function withdrawTokens(
uint256 amount,
address recipient
) public onlyOwner {
token.transfer(recipient, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}{
"evmVersion": "paris",
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_taxWallet","type":"address"},{"internalType":"uint256","name":"_upcomingAlienTimestamp","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"AlienTimestamps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"claimFunds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"outcomes","outputs":[{"internalType":"enum AlienDegenStaker.StakeChoice","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"enum AlienDegenStaker.StakeChoice","name":"","type":"uint8"}],"name":"poolsPerSide","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousAlienTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimTax","type":"uint256"}],"name":"setClaimTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum AlienDegenStaker.StakeChoice","name":"outcome","type":"uint8"}],"name":"setOutcome","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPayoutFactor","type":"uint256"}],"name":"setPayoutFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStakeTax","type":"uint256"}],"name":"setStakeTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"cutOut","type":"uint256"}],"name":"setUpcomingAlienTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum AlienDegenStaker.StakeChoice","name":"stakeChoice","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"stakeCutoutTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"enum AlienDegenStaker.StakeChoice","name":"choice","type":"uint8"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"enum AlienDegenStaker.StakeChoice","name":"","type":"uint8"}],"name":"stakesPerSide","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upcomingAlienTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"userTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052605f600155636452a12060035563648a002060045563648a0020600555660aa87bee538000600655660aa87bee538000600755600060095560016011553480156200004e57600080fd5b50604051620029ee380380620029ee833981810160405281019062000074919062000357565b33600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ea5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000e19190620003c4565b60405180910390fd5b620000fb81620001ee60201b60201c565b5082600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600081146200018f57806004819055505b6002600354908060018154018082558091505060019003906000526020600020016000909190919091505560026004549080600181540180825580915050600190039060005260206000200160009091909190915055505050620003e1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002e482620002b7565b9050919050565b620002f681620002d7565b81146200030257600080fd5b50565b6000815190506200031681620002eb565b92915050565b6000819050919050565b62000331816200031c565b81146200033d57600080fd5b50565b600081519050620003518162000326565b92915050565b600080600060608486031215620003735762000372620002b2565b5b6000620003838682870162000305565b9350506020620003968682870162000305565b9250506040620003a98682870162000340565b9150509250925092565b620003be81620002d7565b82525050565b6000602082019050620003db6000830184620003b3565b92915050565b6125fd80620003f16000396000f3fe6080604052600436106101c25760003560e01c806373f42561116100f7578063a9a3bba411610095578063eb2106e411610064578063eb2106e41461062b578063eed2a14714610654578063f2fde38b14610691578063fc0c546a146106ba576101c2565b8063a9a3bba414610555578063ac4afa3814610595578063d17cb5e3146105d2578063dd752e551461060f576101c2565b8063941d82d6116100d1578063941d82d6146104995780639c215478146104c45780639d0487bc146104ef578063a2f4b91514610518576101c2565b806373f42561146104065780638331f6ae146104315780638da5cb5b1461046e576101c2565b806336ea431e11610164578063448883d71161013e578063448883d71461037057806361bc83fa1461039b578063664849d6146103c4578063715018a6146103ef576101c2565b806336ea431e146102f3578063398d92bb1461031c5780633eb98c2114610345576101c2565b80631b55e338116101a05780631b55e3381461025857806329121f18146102745780632dc0562d1461029f578063315a095d146102ca576101c2565b806303d7bda7146101c757806309bc773f146101f057806316f043ad1461021b575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190611adf565b6106e5565b005b3480156101fc57600080fd5b506102056106f7565b6040516102129190611b1b565b60405180910390f35b34801561022757600080fd5b50610242600480360381019061023d9190611b5b565b6106fd565b60405161024f9190611b1b565b60405180910390f35b610272600480360381019061026d9190611adf565b610722565b005b34801561028057600080fd5b50610289610df4565b6040516102969190611b1b565b60405180910390f35b3480156102ab57600080fd5b506102b4610dfa565b6040516102c19190611bdc565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190611adf565b610e20565b005b3480156102ff57600080fd5b5061031a60048036038101906103159190611bf7565b610ed3565b005b34801561032857600080fd5b50610343600480360381019061033e9190611c50565b610f1b565b005b34801561035157600080fd5b5061035a610fc8565b6040516103679190611b1b565b60405180910390f35b34801561037c57600080fd5b50610385610fce565b6040516103929190611b1b565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190611adf565b610fd4565b005b3480156103d057600080fd5b506103d9610fe6565b6040516103e69190611b1b565b60405180910390f35b3480156103fb57600080fd5b50610404610fec565b005b34801561041257600080fd5b5061041b611000565b6040516104289190611b1b565b60405180910390f35b34801561043d57600080fd5b5061045860048036038101906104539190611adf565b611006565b6040516104659190611b1b565b60405180910390f35b34801561047a57600080fd5b5061048361102a565b6040516104909190611bdc565b60405180910390f35b3480156104a557600080fd5b506104ae611053565b6040516104bb9190611b1b565b60405180910390f35b3480156104d057600080fd5b506104d9611059565b6040516104e69190611b1b565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190611adf565b61105f565b005b34801561052457600080fd5b5061053f600480360381019061053a9190611adf565b611071565b60405161054c9190611b1b565b60405180910390f35b34801561056157600080fd5b5061057c60048036038101906105779190611c50565b611089565b60405161058c9493929190611d22565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190611adf565b6110e0565b6040516105c99190611b1b565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190611b5b565b6110f8565b6040516106069190611b1b565b60405180910390f35b61062960048036038101906106249190611d67565b61111d565b005b34801561063757600080fd5b50610652600480360381019061064d9190611da7565b611602565b005b34801561066057600080fd5b5061067b60048036038101906106769190611adf565b6116e4565b6040516106889190611de7565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190611e02565b611704565b005b3480156106c657600080fd5b506106cf61178a565b6040516106dc9190611e8e565b60405180910390f35b6106ed6117b0565b8060078190555050565b60065481565b600e602052816000526040600020602052806000526040600020600091509150505481565b6007543414610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90611f06565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16346040516107ae90611f57565b60006040518083038185875af1925050503d80600081146107eb576040519150601f19603f3d011682016040523d82523d6000602084013e6107f0565b606091505b5050905080610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b90611fb8565b60405180910390fd5b60026011548154811061084a57610849611fd8565b5b90600052602060002001544210610896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088d90612053565b60405180910390fd5b600282815481106108aa576108a9611fd8565b5b906000526020600020015442116108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed906120bf565b60405180910390fd5b6000600b60008481526020019081526020016000206000610915611837565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506010600084815260200190815260200160002060009054906101000a900460ff16600381111561098457610983611c90565b5b8160020160009054906101000a900460ff1660038111156109a8576109a7611c90565b5b146109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df9061212b565b60405180910390fd5b600015158160020160019054906101000a900460ff16151514610a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3790612197565b60405180910390fd5b600080600190505b600380811115610a5b57610a5a611c90565b5b8111610b3a576010600086815260200190815260200160002060009054906101000a900460ff166003811115610a9457610a93611c90565b5b816003811115610aa757610aa6611c90565b5b6003811115610ab957610ab8611c90565b5b14610b2757600e60008681526020019081526020016000206000826003811115610ae657610ae5611c90565b5b6003811115610af857610af7611c90565b5b6003811115610b0a57610b09611c90565b5b81526020019081526020016000205482610b2491906121e6565b91505b8080610b329061221a565b915050610a48565b506000811115610d24576000610bc68360405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166003811115610b8e57610b8d611c90565b5b6003811115610ba057610b9f611c90565b5b81526020016002820160019054906101000a900460ff161515151581525050600161183f565b905060006103e8600f600088815260200190815260200160002054838660010154610bf19190612262565b610bfb91906122d3565b610c059190612262565b9050600060646001546103e8808786610c1e9190612262565b610c2891906122d3565b610c3291906122d3565b610c3c9190612262565b610c4691906122d3565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610c8e611837565b838860010154610c9e91906121e6565b6040518363ffffffff1660e01b8152600401610cbb929190612304565b6020604051808303816000875af1158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe9190612359565b5060018560020160016101000a81548160ff021916908315150217905550505050610dee565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610d6a611837565b84600101546040518363ffffffff1660e01b8152600401610d8c929190612304565b6020604051808303816000875af1158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190612359565b5060018260020160016101000a81548160ff0219169083151502179055505b50505050565b60055481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e286117b0565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610e6e611837565b836040518363ffffffff1660e01b8152600401610e8c929190612304565b6020604051808303816000875af1158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf9190612359565b5050565b610edb6117b0565b8060106000601154815260200190815260200160002060006101000a81548160ff02191690836003811115610f1357610f12611c90565b5b021790555050565b610f236117b0565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401610f80929190612304565b6020604051808303816000875af1158015610f9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc39190612359565b505050565b60045481565b60075481565b610fdc6117b0565b8060018190555050565b60035481565b610ff46117b0565b610ffe60006119e0565b565b60095481565b6002818154811061101657600080fd5b906000526020600020016000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60015481565b6110676117b0565b8060068190555050565b600f6020528060005260406000206000915090505481565b600b602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020160009054906101000a900460ff16908060020160019054906101000a900460ff16905084565b600d6020528060005260406000206000915090505481565b600c602052816000526040600020602052806000526040600020600091509150505481565b6000600b60006011548152602001908152602001600020600061113e611837565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154146111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b3906123d2565b60405180910390fd5b6005544210611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f79061243e565b60405180910390fd5b6006543414611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90611f06565b60405180910390fd5b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163460405161128d90611f57565b60006040518083038185875af1925050503d80600081146112ca576040519150601f19603f3d011682016040523d82523d6000602084013e6112cf565b606091505b509150915081611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90611fb8565b60405180910390fd5b600060405180608001604052804281526020018581526020018660038111156113405761133f611c90565b5b815260200160001515815250905080600b60006011548152602001908152602001600020600061136e611837565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548160ff021916908360038111156113e7576113e6611c90565b5b021790555060608201518160020160016101000a81548160ff02191690831515021790555090505083600c60006011548152602001908152602001600020600087600381111561143a57611439611c90565b5b600381111561144c5761144b611c90565b5b8152602001908152602001600020600082825461146991906121e6565b92505081905550600061147d82600061183f565b90506103e8818661148e9190612262565b61149891906122d3565b600f6000601154815260200190815260200160002060008282546114bc91906121e6565b9250508190555084600d6000601154815260200190815260200160002060008282546114e891906121e6565b9250508190555084600e60006011548152602001908152602001600020600088600381111561151a57611519611c90565b5b600381111561152c5761152b611c90565b5b8152602001908152602001600020600082825461154991906121e6565b92505081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611596611837565b30886040518463ffffffff1660e01b81526004016115b69392919061245e565b6020604051808303816000875af11580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190612359565b50505050505050565b61160a6117b0565b4260026011548154811061162157611620611fd8565b5b90600052602060002001541061166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390612507565b60405180910390fd5b60026011548154811061168257611681611fd8565b5b9060005260206000200154821161169857600080fd5b806005819055506002829080600181540180825580915050600190039060005260206000200160009091909190915055601160008154809291906116db9061221a565b91905055505050565b60106020528060005260406000206000915054906101000a900460ff1681565b61170c6117b0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361177e5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016117759190611bdc565b60405180910390fd5b611787816119e0565b50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117b8611837565b73ffffffffffffffffffffffffffffffffffffffff166117d661102a565b73ffffffffffffffffffffffffffffffffffffffff1614611835576117f9611837565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161182c9190611bdc565b60405180910390fd5b565b600033905090565b60008060026001846011546118549190612527565b61185e9190612527565b8154811061186f5761186e611fd8565b5b906000526020600020015460028460115461188a9190612527565b8154811061189b5761189a611fd8565b5b90600052602060002001546118b09190612527565b9050600084600001516002856011546118c99190612527565b815481106118da576118d9611fd8565b5b90600052602060002001546118ef9190612527565b90506000826103e883856119039190612527565b61190d9190612262565b61191791906122d3565b6103e86119249190612527565b905060008111611969576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611960906125a7565b60405180910390fd5b6000806103e8905060006101f4905060006103e89050816103e8838361198f9190612527565b868661199b9190612527565b6103e8896119a99190612262565b6119b391906122d3565b6119bd9190612262565b6119c791906122d3565b6119d191906121e6565b97505050505050505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b611abc81611aa9565b8114611ac757600080fd5b50565b600081359050611ad981611ab3565b92915050565b600060208284031215611af557611af4611aa4565b5b6000611b0384828501611aca565b91505092915050565b611b1581611aa9565b82525050565b6000602082019050611b306000830184611b0c565b92915050565b60048110611b4357600080fd5b50565b600081359050611b5581611b36565b92915050565b60008060408385031215611b7257611b71611aa4565b5b6000611b8085828601611aca565b9250506020611b9185828601611b46565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611bc682611b9b565b9050919050565b611bd681611bbb565b82525050565b6000602082019050611bf16000830184611bcd565b92915050565b600060208284031215611c0d57611c0c611aa4565b5b6000611c1b84828501611b46565b91505092915050565b611c2d81611bbb565b8114611c3857600080fd5b50565b600081359050611c4a81611c24565b92915050565b60008060408385031215611c6757611c66611aa4565b5b6000611c7585828601611aca565b9250506020611c8685828601611c3b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110611cd057611ccf611c90565b5b50565b6000819050611ce182611cbf565b919050565b6000611cf182611cd3565b9050919050565b611d0181611ce6565b82525050565b60008115159050919050565b611d1c81611d07565b82525050565b6000608082019050611d376000830187611b0c565b611d446020830186611b0c565b611d516040830185611cf8565b611d5e6060830184611d13565b95945050505050565b60008060408385031215611d7e57611d7d611aa4565b5b6000611d8c85828601611b46565b9250506020611d9d85828601611aca565b9150509250929050565b60008060408385031215611dbe57611dbd611aa4565b5b6000611dcc85828601611aca565b9250506020611ddd85828601611aca565b9150509250929050565b6000602082019050611dfc6000830184611cf8565b92915050565b600060208284031215611e1857611e17611aa4565b5b6000611e2684828501611c3b565b91505092915050565b6000819050919050565b6000611e54611e4f611e4a84611b9b565b611e2f565b611b9b565b9050919050565b6000611e6682611e39565b9050919050565b6000611e7882611e5b565b9050919050565b611e8881611e6d565b82525050565b6000602082019050611ea36000830184611e7f565b92915050565b600082825260208201905092915050565b7f6e6f207461782070617965640000000000000000000000000000000000000000600082015250565b6000611ef0600c83611ea9565b9150611efb82611eba565b602082019050919050565b60006020820190508181036000830152611f1f81611ee3565b9050919050565b600081905092915050565b50565b6000611f41600083611f26565b9150611f4c82611f31565b600082019050919050565b6000611f6282611f34565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000611fa2601483611ea9565b9150611fad82611f6c565b602082019050919050565b60006020820190508181036000830152611fd181611f95565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546f6f206561726c7920746f20636c61696d0000000000000000000000000000600082015250565b600061203d601283611ea9565b915061204882612007565b602082019050919050565b6000602082019050818103600083015261206c81612030565b9050919050565b7f426574206861736e742066696e696c697a656400000000000000000000000000600082015250565b60006120a9601383611ea9565b91506120b482612073565b602082019050919050565b600060208201905081810360008301526120d88161209c565b9050919050565b7f77726f6e67206f7574636f6d6500000000000000000000000000000000000000600082015250565b6000612115600d83611ea9565b9150612120826120df565b602082019050919050565b6000602082019050818103600083015261214481612108565b9050919050565b7f616c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000612181600f83611ea9565b915061218c8261214b565b602082019050919050565b600060208201905081810360008301526121b081612174565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121f182611aa9565b91506121fc83611aa9565b9250828201905080821115612214576122136121b7565b5b92915050565b600061222582611aa9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612257576122566121b7565b5b600182019050919050565b600061226d82611aa9565b915061227883611aa9565b925082820261228681611aa9565b9150828204841483151761229d5761229c6121b7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006122de82611aa9565b91506122e983611aa9565b9250826122f9576122f86122a4565b5b828204905092915050565b60006040820190506123196000830185611bcd565b6123266020830184611b0c565b9392505050565b61233681611d07565b811461234157600080fd5b50565b6000815190506123538161232d565b92915050565b60006020828403121561236f5761236e611aa4565b5b600061237d84828501612344565b91505092915050565b7f7374616b6520616c726561647920657869737473000000000000000000000000600082015250565b60006123bc601483611ea9565b91506123c782612386565b602082019050919050565b600060208201905081810360008301526123eb816123af565b9050919050565b7f7374616b6520706572696f642065787069726564000000000000000000000000600082015250565b6000612428601483611ea9565b9150612433826123f2565b602082019050919050565b600060208201905081810360008301526124578161241b565b9050919050565b60006060820190506124736000830186611bcd565b6124806020830185611bcd565b61248d6040830184611b0c565b949350505050565b7f63616e206f6e6c79207365742074696d657374616d70206166746572206d656560008201527f74696e6700000000000000000000000000000000000000000000000000000000602082015250565b60006124f1602483611ea9565b91506124fc82612495565b604082019050919050565b60006020820190508181036000830152612520816124e4565b9050919050565b600061253282611aa9565b915061253d83611aa9565b9250828203905081811115612555576125546121b7565b5b92915050565b7f6e6f7468696e6720746f20636c61696d00000000000000000000000000000000600082015250565b6000612591601083611ea9565b915061259c8261255b565b602082019050919050565b600060208201905081810360008301526125c081612584565b905091905056fea26469706673582212208cbde45dc50107212e81076d622ca850ed68455e62772f25d26ce5decbd163ae64736f6c63430008150033000000000000000000000000d0d19f52ad8705e60ff31df75a7aca8f1399a69e000000000000000000000000314dcda5696ae9005c86444208d0bb4bae1957d300000000000000000000000000000000000000000000000000000000648a0020
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806373f42561116100f7578063a9a3bba411610095578063eb2106e411610064578063eb2106e41461062b578063eed2a14714610654578063f2fde38b14610691578063fc0c546a146106ba576101c2565b8063a9a3bba414610555578063ac4afa3814610595578063d17cb5e3146105d2578063dd752e551461060f576101c2565b8063941d82d6116100d1578063941d82d6146104995780639c215478146104c45780639d0487bc146104ef578063a2f4b91514610518576101c2565b806373f42561146104065780638331f6ae146104315780638da5cb5b1461046e576101c2565b806336ea431e11610164578063448883d71161013e578063448883d71461037057806361bc83fa1461039b578063664849d6146103c4578063715018a6146103ef576101c2565b806336ea431e146102f3578063398d92bb1461031c5780633eb98c2114610345576101c2565b80631b55e338116101a05780631b55e3381461025857806329121f18146102745780632dc0562d1461029f578063315a095d146102ca576101c2565b806303d7bda7146101c757806309bc773f146101f057806316f043ad1461021b575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190611adf565b6106e5565b005b3480156101fc57600080fd5b506102056106f7565b6040516102129190611b1b565b60405180910390f35b34801561022757600080fd5b50610242600480360381019061023d9190611b5b565b6106fd565b60405161024f9190611b1b565b60405180910390f35b610272600480360381019061026d9190611adf565b610722565b005b34801561028057600080fd5b50610289610df4565b6040516102969190611b1b565b60405180910390f35b3480156102ab57600080fd5b506102b4610dfa565b6040516102c19190611bdc565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190611adf565b610e20565b005b3480156102ff57600080fd5b5061031a60048036038101906103159190611bf7565b610ed3565b005b34801561032857600080fd5b50610343600480360381019061033e9190611c50565b610f1b565b005b34801561035157600080fd5b5061035a610fc8565b6040516103679190611b1b565b60405180910390f35b34801561037c57600080fd5b50610385610fce565b6040516103929190611b1b565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190611adf565b610fd4565b005b3480156103d057600080fd5b506103d9610fe6565b6040516103e69190611b1b565b60405180910390f35b3480156103fb57600080fd5b50610404610fec565b005b34801561041257600080fd5b5061041b611000565b6040516104289190611b1b565b60405180910390f35b34801561043d57600080fd5b5061045860048036038101906104539190611adf565b611006565b6040516104659190611b1b565b60405180910390f35b34801561047a57600080fd5b5061048361102a565b6040516104909190611bdc565b60405180910390f35b3480156104a557600080fd5b506104ae611053565b6040516104bb9190611b1b565b60405180910390f35b3480156104d057600080fd5b506104d9611059565b6040516104e69190611b1b565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190611adf565b61105f565b005b34801561052457600080fd5b5061053f600480360381019061053a9190611adf565b611071565b60405161054c9190611b1b565b60405180910390f35b34801561056157600080fd5b5061057c60048036038101906105779190611c50565b611089565b60405161058c9493929190611d22565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190611adf565b6110e0565b6040516105c99190611b1b565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190611b5b565b6110f8565b6040516106069190611b1b565b60405180910390f35b61062960048036038101906106249190611d67565b61111d565b005b34801561063757600080fd5b50610652600480360381019061064d9190611da7565b611602565b005b34801561066057600080fd5b5061067b60048036038101906106769190611adf565b6116e4565b6040516106889190611de7565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190611e02565b611704565b005b3480156106c657600080fd5b506106cf61178a565b6040516106dc9190611e8e565b60405180910390f35b6106ed6117b0565b8060078190555050565b60065481565b600e602052816000526040600020602052806000526040600020600091509150505481565b6007543414610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90611f06565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16346040516107ae90611f57565b60006040518083038185875af1925050503d80600081146107eb576040519150601f19603f3d011682016040523d82523d6000602084013e6107f0565b606091505b5050905080610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b90611fb8565b60405180910390fd5b60026011548154811061084a57610849611fd8565b5b90600052602060002001544210610896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088d90612053565b60405180910390fd5b600282815481106108aa576108a9611fd8565b5b906000526020600020015442116108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed906120bf565b60405180910390fd5b6000600b60008481526020019081526020016000206000610915611837565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506010600084815260200190815260200160002060009054906101000a900460ff16600381111561098457610983611c90565b5b8160020160009054906101000a900460ff1660038111156109a8576109a7611c90565b5b146109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df9061212b565b60405180910390fd5b600015158160020160019054906101000a900460ff16151514610a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3790612197565b60405180910390fd5b600080600190505b600380811115610a5b57610a5a611c90565b5b8111610b3a576010600086815260200190815260200160002060009054906101000a900460ff166003811115610a9457610a93611c90565b5b816003811115610aa757610aa6611c90565b5b6003811115610ab957610ab8611c90565b5b14610b2757600e60008681526020019081526020016000206000826003811115610ae657610ae5611c90565b5b6003811115610af857610af7611c90565b5b6003811115610b0a57610b09611c90565b5b81526020019081526020016000205482610b2491906121e6565b91505b8080610b329061221a565b915050610a48565b506000811115610d24576000610bc68360405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166003811115610b8e57610b8d611c90565b5b6003811115610ba057610b9f611c90565b5b81526020016002820160019054906101000a900460ff161515151581525050600161183f565b905060006103e8600f600088815260200190815260200160002054838660010154610bf19190612262565b610bfb91906122d3565b610c059190612262565b9050600060646001546103e8808786610c1e9190612262565b610c2891906122d3565b610c3291906122d3565b610c3c9190612262565b610c4691906122d3565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610c8e611837565b838860010154610c9e91906121e6565b6040518363ffffffff1660e01b8152600401610cbb929190612304565b6020604051808303816000875af1158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe9190612359565b5060018560020160016101000a81548160ff021916908315150217905550505050610dee565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610d6a611837565b84600101546040518363ffffffff1660e01b8152600401610d8c929190612304565b6020604051808303816000875af1158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190612359565b5060018260020160016101000a81548160ff0219169083151502179055505b50505050565b60055481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e286117b0565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610e6e611837565b836040518363ffffffff1660e01b8152600401610e8c929190612304565b6020604051808303816000875af1158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf9190612359565b5050565b610edb6117b0565b8060106000601154815260200190815260200160002060006101000a81548160ff02191690836003811115610f1357610f12611c90565b5b021790555050565b610f236117b0565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401610f80929190612304565b6020604051808303816000875af1158015610f9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc39190612359565b505050565b60045481565b60075481565b610fdc6117b0565b8060018190555050565b60035481565b610ff46117b0565b610ffe60006119e0565b565b60095481565b6002818154811061101657600080fd5b906000526020600020016000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60015481565b6110676117b0565b8060068190555050565b600f6020528060005260406000206000915090505481565b600b602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020160009054906101000a900460ff16908060020160019054906101000a900460ff16905084565b600d6020528060005260406000206000915090505481565b600c602052816000526040600020602052806000526040600020600091509150505481565b6000600b60006011548152602001908152602001600020600061113e611837565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154146111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b3906123d2565b60405180910390fd5b6005544210611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f79061243e565b60405180910390fd5b6006543414611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90611f06565b60405180910390fd5b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163460405161128d90611f57565b60006040518083038185875af1925050503d80600081146112ca576040519150601f19603f3d011682016040523d82523d6000602084013e6112cf565b606091505b509150915081611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90611fb8565b60405180910390fd5b600060405180608001604052804281526020018581526020018660038111156113405761133f611c90565b5b815260200160001515815250905080600b60006011548152602001908152602001600020600061136e611837565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548160ff021916908360038111156113e7576113e6611c90565b5b021790555060608201518160020160016101000a81548160ff02191690831515021790555090505083600c60006011548152602001908152602001600020600087600381111561143a57611439611c90565b5b600381111561144c5761144b611c90565b5b8152602001908152602001600020600082825461146991906121e6565b92505081905550600061147d82600061183f565b90506103e8818661148e9190612262565b61149891906122d3565b600f6000601154815260200190815260200160002060008282546114bc91906121e6565b9250508190555084600d6000601154815260200190815260200160002060008282546114e891906121e6565b9250508190555084600e60006011548152602001908152602001600020600088600381111561151a57611519611c90565b5b600381111561152c5761152b611c90565b5b8152602001908152602001600020600082825461154991906121e6565b92505081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611596611837565b30886040518463ffffffff1660e01b81526004016115b69392919061245e565b6020604051808303816000875af11580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190612359565b50505050505050565b61160a6117b0565b4260026011548154811061162157611620611fd8565b5b90600052602060002001541061166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390612507565b60405180910390fd5b60026011548154811061168257611681611fd8565b5b9060005260206000200154821161169857600080fd5b806005819055506002829080600181540180825580915050600190039060005260206000200160009091909190915055601160008154809291906116db9061221a565b91905055505050565b60106020528060005260406000206000915054906101000a900460ff1681565b61170c6117b0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361177e5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016117759190611bdc565b60405180910390fd5b611787816119e0565b50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117b8611837565b73ffffffffffffffffffffffffffffffffffffffff166117d661102a565b73ffffffffffffffffffffffffffffffffffffffff1614611835576117f9611837565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161182c9190611bdc565b60405180910390fd5b565b600033905090565b60008060026001846011546118549190612527565b61185e9190612527565b8154811061186f5761186e611fd8565b5b906000526020600020015460028460115461188a9190612527565b8154811061189b5761189a611fd8565b5b90600052602060002001546118b09190612527565b9050600084600001516002856011546118c99190612527565b815481106118da576118d9611fd8565b5b90600052602060002001546118ef9190612527565b90506000826103e883856119039190612527565b61190d9190612262565b61191791906122d3565b6103e86119249190612527565b905060008111611969576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611960906125a7565b60405180910390fd5b6000806103e8905060006101f4905060006103e89050816103e8838361198f9190612527565b868661199b9190612527565b6103e8896119a99190612262565b6119b391906122d3565b6119bd9190612262565b6119c791906122d3565b6119d191906121e6565b97505050505050505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b611abc81611aa9565b8114611ac757600080fd5b50565b600081359050611ad981611ab3565b92915050565b600060208284031215611af557611af4611aa4565b5b6000611b0384828501611aca565b91505092915050565b611b1581611aa9565b82525050565b6000602082019050611b306000830184611b0c565b92915050565b60048110611b4357600080fd5b50565b600081359050611b5581611b36565b92915050565b60008060408385031215611b7257611b71611aa4565b5b6000611b8085828601611aca565b9250506020611b9185828601611b46565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611bc682611b9b565b9050919050565b611bd681611bbb565b82525050565b6000602082019050611bf16000830184611bcd565b92915050565b600060208284031215611c0d57611c0c611aa4565b5b6000611c1b84828501611b46565b91505092915050565b611c2d81611bbb565b8114611c3857600080fd5b50565b600081359050611c4a81611c24565b92915050565b60008060408385031215611c6757611c66611aa4565b5b6000611c7585828601611aca565b9250506020611c8685828601611c3b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110611cd057611ccf611c90565b5b50565b6000819050611ce182611cbf565b919050565b6000611cf182611cd3565b9050919050565b611d0181611ce6565b82525050565b60008115159050919050565b611d1c81611d07565b82525050565b6000608082019050611d376000830187611b0c565b611d446020830186611b0c565b611d516040830185611cf8565b611d5e6060830184611d13565b95945050505050565b60008060408385031215611d7e57611d7d611aa4565b5b6000611d8c85828601611b46565b9250506020611d9d85828601611aca565b9150509250929050565b60008060408385031215611dbe57611dbd611aa4565b5b6000611dcc85828601611aca565b9250506020611ddd85828601611aca565b9150509250929050565b6000602082019050611dfc6000830184611cf8565b92915050565b600060208284031215611e1857611e17611aa4565b5b6000611e2684828501611c3b565b91505092915050565b6000819050919050565b6000611e54611e4f611e4a84611b9b565b611e2f565b611b9b565b9050919050565b6000611e6682611e39565b9050919050565b6000611e7882611e5b565b9050919050565b611e8881611e6d565b82525050565b6000602082019050611ea36000830184611e7f565b92915050565b600082825260208201905092915050565b7f6e6f207461782070617965640000000000000000000000000000000000000000600082015250565b6000611ef0600c83611ea9565b9150611efb82611eba565b602082019050919050565b60006020820190508181036000830152611f1f81611ee3565b9050919050565b600081905092915050565b50565b6000611f41600083611f26565b9150611f4c82611f31565b600082019050919050565b6000611f6282611f34565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000611fa2601483611ea9565b9150611fad82611f6c565b602082019050919050565b60006020820190508181036000830152611fd181611f95565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546f6f206561726c7920746f20636c61696d0000000000000000000000000000600082015250565b600061203d601283611ea9565b915061204882612007565b602082019050919050565b6000602082019050818103600083015261206c81612030565b9050919050565b7f426574206861736e742066696e696c697a656400000000000000000000000000600082015250565b60006120a9601383611ea9565b91506120b482612073565b602082019050919050565b600060208201905081810360008301526120d88161209c565b9050919050565b7f77726f6e67206f7574636f6d6500000000000000000000000000000000000000600082015250565b6000612115600d83611ea9565b9150612120826120df565b602082019050919050565b6000602082019050818103600083015261214481612108565b9050919050565b7f616c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000612181600f83611ea9565b915061218c8261214b565b602082019050919050565b600060208201905081810360008301526121b081612174565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121f182611aa9565b91506121fc83611aa9565b9250828201905080821115612214576122136121b7565b5b92915050565b600061222582611aa9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612257576122566121b7565b5b600182019050919050565b600061226d82611aa9565b915061227883611aa9565b925082820261228681611aa9565b9150828204841483151761229d5761229c6121b7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006122de82611aa9565b91506122e983611aa9565b9250826122f9576122f86122a4565b5b828204905092915050565b60006040820190506123196000830185611bcd565b6123266020830184611b0c565b9392505050565b61233681611d07565b811461234157600080fd5b50565b6000815190506123538161232d565b92915050565b60006020828403121561236f5761236e611aa4565b5b600061237d84828501612344565b91505092915050565b7f7374616b6520616c726561647920657869737473000000000000000000000000600082015250565b60006123bc601483611ea9565b91506123c782612386565b602082019050919050565b600060208201905081810360008301526123eb816123af565b9050919050565b7f7374616b6520706572696f642065787069726564000000000000000000000000600082015250565b6000612428601483611ea9565b9150612433826123f2565b602082019050919050565b600060208201905081810360008301526124578161241b565b9050919050565b60006060820190506124736000830186611bcd565b6124806020830185611bcd565b61248d6040830184611b0c565b949350505050565b7f63616e206f6e6c79207365742074696d657374616d70206166746572206d656560008201527f74696e6700000000000000000000000000000000000000000000000000000000602082015250565b60006124f1602483611ea9565b91506124fc82612495565b604082019050919050565b60006020820190508181036000830152612520816124e4565b9050919050565b600061253282611aa9565b915061253d83611aa9565b9250828203905081811115612555576125546121b7565b5b92915050565b7f6e6f7468696e6720746f20636c61696d00000000000000000000000000000000600082015250565b6000612591601083611ea9565b915061259c8261255b565b602082019050919050565b600060208201905081810360008301526125c081612584565b905091905056fea26469706673582212208cbde45dc50107212e81076d622ca850ed68455e62772f25d26ce5decbd163ae64736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d0d19f52ad8705e60ff31df75a7aca8f1399a69e000000000000000000000000314dcda5696ae9005c86444208d0bb4bae1957d300000000000000000000000000000000000000000000000000000000648a0020
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0xD0d19F52Ad8705E60Ff31dF75a7ACa8F1399a69e
Arg [1] : _taxWallet (address): 0x314DCdA5696ae9005c86444208d0bB4BaE1957d3
Arg [2] : _upcomingAlienTimestamp (uint256): 1686765600
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000d0d19f52ad8705e60ff31df75a7aca8f1399a69e
Arg [1] : 000000000000000000000000314dcda5696ae9005c86444208d0bb4bae1957d3
Arg [2] : 00000000000000000000000000000000000000000000000000000000648a0020
Loading...
Loading
Loading...
Loading
Net Worth in USD
$33.72
Net Worth in ETH
0.016308
Token Allocations
404A
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $3.51 | 9.6076 | $33.72 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.