Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PalestineToken
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes 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/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PalestineToken is ERC20, ERC20Burnable, Pausable, Ownable {
uint256 public constant MAX_SUPPLY = 1000000000 * 10**18; // 1 billion tokens
// Allocation percentages (basis points - 10000 = 100%)
uint256 public constant COMMUNITY_ALLOCATION = 4000; // 40%
uint256 public constant DEVELOPMENT_ALLOCATION = 2000; // 20%
uint256 public constant CHARITY_ALLOCATION = 2000; // 20%
uint256 public constant LIQUIDITY_ALLOCATION = 1500; // 15%
uint256 public constant TEAM_ALLOCATION = 500; // 5%
// Wallet addresses for allocations
address public communityWallet;
address public developmentWallet;
address public charityWallet;
address public liquidityWallet;
address public teamWallet;
// Vesting
mapping(address => uint256) public vestingStart;
mapping(address => uint256) public vestingDuration;
mapping(address => uint256) public totalVested;
mapping(address => uint256) public released;
event TokensReleased(address beneficiary, uint256 amount);
event VestingScheduleSet(address beneficiary, uint256 amount, uint256 duration);
constructor(
string memory name,
string memory symbol,
address _communityWallet,
address _developmentWallet,
address _charityWallet,
address _liquidityWallet,
address _teamWallet,
address initialOwner
) ERC20(name, symbol) Ownable(initialOwner) {
require(_communityWallet != address(0), "Community wallet cannot be zero address");
require(_developmentWallet != address(0), "Development wallet cannot be zero address");
require(_charityWallet != address(0), "Charity wallet cannot be zero address");
require(_liquidityWallet != address(0), "Liquidity wallet cannot be zero address");
require(_teamWallet != address(0), "Team wallet cannot be zero address");
communityWallet = _communityWallet;
developmentWallet = _developmentWallet;
charityWallet = _charityWallet;
liquidityWallet = _liquidityWallet;
teamWallet = _teamWallet;
// Mint tokens according to allocation
_mint(communityWallet, (MAX_SUPPLY * COMMUNITY_ALLOCATION) / 10000);
_mint(developmentWallet, (MAX_SUPPLY * DEVELOPMENT_ALLOCATION) / 10000);
_mint(charityWallet, (MAX_SUPPLY * CHARITY_ALLOCATION) / 10000);
_mint(liquidityWallet, (MAX_SUPPLY * LIQUIDITY_ALLOCATION) / 10000);
// Team tokens are vested for 2 years
uint256 teamTokens = (MAX_SUPPLY * TEAM_ALLOCATION) / 10000;
_mint(address(this), teamTokens);
_setVestingSchedule(teamWallet, teamTokens, 730 days); // 2 years
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
// Override required by Solidity for multiple inheritance
function _update(address from, address to, uint256 value)
internal
override(ERC20)
whenNotPaused
{
super._update(from, to, value);
}
// Vesting functionality
function _setVestingSchedule(address beneficiary, uint256 amount, uint256 duration) internal {
vestingStart[beneficiary] = block.timestamp;
vestingDuration[beneficiary] = duration;
totalVested[beneficiary] = amount;
emit VestingScheduleSet(beneficiary, amount, duration);
}
function getVestedAmount(address beneficiary) public view returns (uint256) {
if (vestingStart[beneficiary] == 0) {
return 0;
}
if (block.timestamp >= vestingStart[beneficiary] + vestingDuration[beneficiary]) {
return totalVested[beneficiary];
}
uint256 elapsed = block.timestamp - vestingStart[beneficiary];
return (totalVested[beneficiary] * elapsed) / vestingDuration[beneficiary];
}
function getReleasableAmount(address beneficiary) public view returns (uint256) {
return getVestedAmount(beneficiary) - released[beneficiary];
}
function releaseVestedTokens() public {
uint256 releasable = getReleasableAmount(msg.sender);
require(releasable > 0, "No tokens available for release");
released[msg.sender] += releasable;
_transfer(address(this), msg.sender, releasable);
emit TokensReleased(msg.sender, releasable);
}
// Emergency functions
function emergencyWithdraw(address token, uint256 amount) external onlyOwner {
if (token == address(0)) {
payable(owner()).transfer(amount);
} else {
IERC20(token).transfer(owner(), amount);
}
}
// Update wallet addresses if needed
function updateWalletAddresses(
address _communityWallet,
address _developmentWallet,
address _charityWallet,
address _liquidityWallet,
address _teamWallet
) external onlyOwner {
if (_communityWallet != address(0)) communityWallet = _communityWallet;
if (_developmentWallet != address(0)) developmentWallet = _developmentWallet;
if (_charityWallet != address(0)) charityWallet = _charityWallet;
if (_liquidityWallet != address(0)) liquidityWallet = _liquidityWallet;
if (_teamWallet != address(0)) teamWallet = _teamWallet;
}
}// 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.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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.4.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 ERC-20
* applications.
*/
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}.
*
* Both 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;
}
/// @inheritdoc IERC20
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/// @inheritdoc IERC20
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;
}
/// @inheritdoc IERC20
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}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* 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:
*
* ```solidity
* 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/ERC20Burnable.sol)
pragma solidity ^0.8.20;
import {ERC20} from "../ERC20.sol";
import {Context} from "../../../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 a `value` amount of tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 value) public virtual {
_burn(_msgSender(), value);
}
/**
* @dev Destroys a `value` amount of 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
* `value`.
*/
function burnFrom(address account, uint256 value) public virtual {
_spendAllowance(account, _msgSender(), value);
_burn(account, value);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity >=0.6.2;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 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.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
bool private _paused;
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
/**
* @dev The operation failed because the contract is paused.
*/
error EnforcedPause();
/**
* @dev The operation failed because the contract is not paused.
*/
error ExpectedPause();
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
if (paused()) {
revert EnforcedPause();
}
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
if (!paused()) {
revert ExpectedPause();
}
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_communityWallet","type":"address"},{"internalType":"address","name":"_developmentWallet","type":"address"},{"internalType":"address","name":"_charityWallet","type":"address"},{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"address","name":"_teamWallet","type":"address"},{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"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":"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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensReleased","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"VestingScheduleSet","type":"event"},{"inputs":[],"name":"CHARITY_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITY_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEVELOPMENT_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"charityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"getReleasableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"getVestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseVestedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalVested","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_communityWallet","type":"address"},{"internalType":"address","name":"_developmentWallet","type":"address"},{"internalType":"address","name":"_charityWallet","type":"address"},{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"address","name":"_teamWallet","type":"address"}],"name":"updateWalletAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestingDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestingStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060405162001bb038038062001bb0833981016040819052620000349162000772565b8088886003620000458382620008da565b506004620000548282620008da565b5050506001600160a01b0381166200008757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b62000092816200040e565b506001600160a01b038616620000fb5760405162461bcd60e51b815260206004820152602760248201527f436f6d6d756e6974792077616c6c65742063616e6e6f74206265207a65726f206044820152666164647265737360c81b60648201526084016200007e565b6001600160a01b038516620001655760405162461bcd60e51b815260206004820152602960248201527f446576656c6f706d656e742077616c6c65742063616e6e6f74206265207a65726044820152686f206164647265737360b81b60648201526084016200007e565b6001600160a01b038416620001cb5760405162461bcd60e51b815260206004820152602560248201527f436861726974792077616c6c65742063616e6e6f74206265207a65726f206164604482015264647265737360d81b60648201526084016200007e565b6001600160a01b038316620002335760405162461bcd60e51b815260206004820152602760248201527f4c69717569646974792077616c6c65742063616e6e6f74206265207a65726f206044820152666164647265737360c81b60648201526084016200007e565b6001600160a01b038216620002965760405162461bcd60e51b815260206004820152602260248201527f5465616d2077616c6c65742063616e6e6f74206265207a65726f206164647265604482015261737360f01b60648201526084016200007e565b600680546001600160a01b038089166001600160a01b03199283168117909355600780548983169084161790556008805488831690841617905560098054878316908416179055600a8054918616919092161790556200031f906127106200030d610fa06b033b2e3c9fd0803ce8000000620009bc565b620003199190620009dc565b62000468565b6007546200034d906001600160a01b03166127106200030d6107d06b033b2e3c9fd0803ce8000000620009bc565b6008546200037b906001600160a01b03166127106200030d6107d06b033b2e3c9fd0803ce8000000620009bc565b600954620003a9906001600160a01b03166127106200030d6105dc6b033b2e3c9fd0803ce8000000620009bc565b6000612710620003c86101f46b033b2e3c9fd0803ce8000000620009bc565b620003d49190620009dc565b9050620003e2308262000468565b600a54620003ff906001600160a01b0316826303c26700620004a6565b50505050505050505062000a15565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004945760405163ec442f0560e01b8152600060048201526024016200007e565b620004a2600083836200051a565b5050565b6001600160a01b0383166000818152600b60209081526040808320429055600c8252808320859055600d8252918290208590558151928352820184905281018290527f2630496badfe96c098b8e3f610e62b4a3ae269536210de0678530d35bb9572c09060600160405180910390a1505050565b6200052462000536565b620005318383836200055d565b505050565b60055460ff16156200055b5760405163d93c066560e01b815260040160405180910390fd5b565b6001600160a01b0383166200058c578060026000828254620005809190620009ff565b90915550620006009050565b6001600160a01b03831660009081526020819052604090205481811015620005e15760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200007e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200061e576002805482900390556200063d565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200068391815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620006b857600080fd5b81516001600160401b0380821115620006d557620006d562000690565b604051601f8301601f19908116603f0116810190828211818310171562000700576200070062000690565b816040528381526020925086838588010111156200071d57600080fd5b600091505b8382101562000741578582018301518183018401529082019062000722565b600093810190920192909252949350505050565b80516001600160a01b03811681146200076d57600080fd5b919050565b600080600080600080600080610100898b0312156200079057600080fd5b88516001600160401b0380821115620007a857600080fd5b620007b68c838d01620006a6565b995060208b0151915080821115620007cd57600080fd5b50620007dc8b828c01620006a6565b975050620007ed60408a0162000755565b9550620007fd60608a0162000755565b94506200080d60808a0162000755565b93506200081d60a08a0162000755565b92506200082d60c08a0162000755565b91506200083d60e08a0162000755565b90509295985092959890939650565b600181811c908216806200086157607f821691505b6020821081036200088257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200053157600081815260208120601f850160051c81016020861015620008b15750805b601f850160051c820191505b81811015620008d257828155600101620008bd565b505050505050565b81516001600160401b03811115620008f657620008f662000690565b6200090e816200090784546200084c565b8462000888565b602080601f8311600181146200094657600084156200092d5750858301515b600019600386901b1c1916600185901b178555620008d2565b600085815260208120601f198616915b82811015620009775788860151825594840194600190910190840162000956565b5085821015620009965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620009d657620009d6620009a6565b92915050565b600082620009fa57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620009d657620009d6620009a6565b61118b8062000a256000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80638456cb5911610130578063c04a5414116100b8578063dd62ed3e1161007c578063dd62ed3e146104b6578063e1807b27146104ad578063f2fde38b146104ef578063f9428f3814610502578063fd99cbed1461050b57600080fd5b8063c04a541414610461578063c757483914610474578063d469801614610487578063d5a73fdd1461049a578063dbf15a8d146104ad57600080fd5b806395d89b41116100ff57806395d89b41146103fd5780639852595c14610405578063993eb1c514610425578063a9059cbb1461042e578063b13e4a9d1461044157600080fd5b80638456cb59146103b95780638da5cb5b146103c157806390b874a8146103d757806395ccea67146103ea57600080fd5b80633f4ba83a116101b35780635c975abb116101825780635c975abb1461035757806370a0823114610362578063715018a61461038b57806379cc6790146103935780637b208769146103a657600080fd5b80633f4ba83a1461030757806342966c681461031157806354dd1da414610324578063599270441461032c57600080fd5b806318160ddd116101fa57806318160ddd146102b757806323b872dd146102bf5780632afd1a7d146102d2578063313ce567146102e557806332cb6b0c146102f457600080fd5b8063032bbf4f1461022c57806306fdde031461025f578063095ea7b31461027457806312a1449914610297575b600080fd5b61024c61023a366004610f04565b600b6020526000908152604090205481565b6040519081526020015b60405180910390f35b610267610514565b6040516102569190610f1f565b610287610282366004610f6d565b6105a6565b6040519015158152602001610256565b61024c6102a5366004610f04565b600c6020526000908152604090205481565b60025461024c565b6102876102cd366004610f97565b6105c0565b61024c6102e0366004610f04565b6105e4565b60405160128152602001610256565b61024c6b033b2e3c9fd0803ce800000081565b61030f610610565b005b61030f61031f366004610fd3565b610622565b61030f61062f565b600a5461033f906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b60055460ff16610287565b61024c610370366004610f04565b6001600160a01b031660009081526020819052604090205490565b61030f6106fd565b61030f6103a1366004610f6d565b61070f565b60085461033f906001600160a01b031681565b61030f610728565b60055461010090046001600160a01b031661033f565b61030f6103e5366004610fec565b610738565b61030f6103f8366004610f6d565b61081e565b61026761091a565b61024c610413366004610f04565b600e6020526000908152604090205481565b61024c610fa081565b61028761043c366004610f6d565b610929565b61024c61044f366004610f04565b600d6020526000908152604090205481565b60075461033f906001600160a01b031681565b60065461033f906001600160a01b031681565b60095461033f906001600160a01b031681565b61024c6104a8366004610f04565b610937565b61024c6107d081565b61024c6104c4366004611051565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61030f6104fd366004610f04565b610a17565b61024c6105dc81565b61024c6101f481565b60606003805461052390611084565b80601f016020809104026020016040519081016040528092919081815260200182805461054f90611084565b801561059c5780601f106105715761010080835404028352916020019161059c565b820191906000526020600020905b81548152906001019060200180831161057f57829003601f168201915b5050505050905090565b6000336105b4818585610a52565b60019150505b92915050565b6000336105ce858285610a5f565b6105d9858585610ade565b506001949350505050565b6001600160a01b0381166000908152600e602052604081205461060683610937565b6105ba91906110d4565b610618610b3d565b610620610b70565b565b61062c3382610bc2565b50565b600061063a336105e4565b9050600081116106915760405162461bcd60e51b815260206004820152601f60248201527f4e6f20746f6b656e7320617661696c61626c6520666f722072656c656173650060448201526064015b60405180910390fd5b336000908152600e6020526040812080548392906106b09084906110e7565b909155506106c19050303383610ade565b60408051338152602081018390527fc7798891864187665ac6dd119286e44ec13f014527aeeb2b8eb3fd413df93179910160405180910390a150565b610705610b3d565b6106206000610bf8565b61071a823383610a5f565b6107248282610bc2565b5050565b610730610b3d565b610620610c52565b610740610b3d565b6001600160a01b0385161561076b57600680546001600160a01b0319166001600160a01b0387161790555b6001600160a01b0384161561079657600780546001600160a01b0319166001600160a01b0386161790555b6001600160a01b038316156107c157600880546001600160a01b0319166001600160a01b0385161790555b6001600160a01b038216156107ec57600980546001600160a01b0319166001600160a01b0384161790555b6001600160a01b0381161561081757600a80546001600160a01b0319166001600160a01b0383161790555b5050505050565b610826610b3d565b6001600160a01b0382166108825760055461010090046001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f1935050505015801561087d573d6000803e3d6000fd5b505050565b816001600160a01b031663a9059cbb6108a96005546001600160a01b036101009091041690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156108f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d91906110fa565b60606004805461052390611084565b6000336105b4818585610ade565b6001600160a01b0381166000908152600b6020526040812054810361095e57506000919050565b6001600160a01b0382166000908152600c6020908152604080832054600b9092529091205461098d91906110e7565b42106109af57506001600160a01b03166000908152600d602052604090205490565b6001600160a01b0382166000908152600b60205260408120546109d290426110d4565b6001600160a01b0384166000908152600c6020908152604080832054600d9092529091205491925090610a0690839061111c565b610a109190611133565b9392505050565b610a1f610b3d565b6001600160a01b038116610a4957604051631e4fbdf760e01b815260006004820152602401610688565b61062c81610bf8565b61087d8383836001610c8f565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610ad85781811015610ac957604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610688565b610ad884848484036000610c8f565b50505050565b6001600160a01b038316610b0857604051634b637e8f60e11b815260006004820152602401610688565b6001600160a01b038216610b325760405163ec442f0560e01b815260006004820152602401610688565b61087d838383610d64565b6005546001600160a01b036101009091041633146106205760405163118cdaa760e01b8152336004820152602401610688565b610b78610d77565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610bec57604051634b637e8f60e11b815260006004820152602401610688565b61072482600083610d64565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c5a610d9a565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ba53390565b6001600160a01b038416610cb95760405163e602df0560e01b815260006004820152602401610688565b6001600160a01b038316610ce357604051634a1406b160e11b815260006004820152602401610688565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610ad857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d5691815260200190565b60405180910390a350505050565b610d6c610d9a565b61087d838383610dbe565b60055460ff1661062057604051638dfc202b60e01b815260040160405180910390fd5b60055460ff16156106205760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b038316610de9578060026000828254610dde91906110e7565b90915550610e5b9050565b6001600160a01b03831660009081526020819052604090205481811015610e3c5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610688565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610e7757600280548290039055610e96565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610edb91815260200190565b60405180910390a3505050565b80356001600160a01b0381168114610eff57600080fd5b919050565b600060208284031215610f1657600080fd5b610a1082610ee8565b600060208083528351808285015260005b81811015610f4c57858101830151858201604001528201610f30565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610f8057600080fd5b610f8983610ee8565b946020939093013593505050565b600080600060608486031215610fac57600080fd5b610fb584610ee8565b9250610fc360208501610ee8565b9150604084013590509250925092565b600060208284031215610fe557600080fd5b5035919050565b600080600080600060a0868803121561100457600080fd5b61100d86610ee8565b945061101b60208701610ee8565b935061102960408701610ee8565b925061103760608701610ee8565b915061104560808701610ee8565b90509295509295909350565b6000806040838503121561106457600080fd5b61106d83610ee8565b915061107b60208401610ee8565b90509250929050565b600181811c9082168061109857607f821691505b6020821081036110b857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156105ba576105ba6110be565b808201808211156105ba576105ba6110be565b60006020828403121561110c57600080fd5b81518015158114610a1057600080fd5b80820281158282048414176105ba576105ba6110be565b60008261115057634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212208397297c322faf391e90d1b4c4dafa49d71f55c85f3e35037c2645289107452064736f6c63430008140033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b000000000000000000000000000000000000000000000000000000000000000f50616c657374696e6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035053540000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c80638456cb5911610130578063c04a5414116100b8578063dd62ed3e1161007c578063dd62ed3e146104b6578063e1807b27146104ad578063f2fde38b146104ef578063f9428f3814610502578063fd99cbed1461050b57600080fd5b8063c04a541414610461578063c757483914610474578063d469801614610487578063d5a73fdd1461049a578063dbf15a8d146104ad57600080fd5b806395d89b41116100ff57806395d89b41146103fd5780639852595c14610405578063993eb1c514610425578063a9059cbb1461042e578063b13e4a9d1461044157600080fd5b80638456cb59146103b95780638da5cb5b146103c157806390b874a8146103d757806395ccea67146103ea57600080fd5b80633f4ba83a116101b35780635c975abb116101825780635c975abb1461035757806370a0823114610362578063715018a61461038b57806379cc6790146103935780637b208769146103a657600080fd5b80633f4ba83a1461030757806342966c681461031157806354dd1da414610324578063599270441461032c57600080fd5b806318160ddd116101fa57806318160ddd146102b757806323b872dd146102bf5780632afd1a7d146102d2578063313ce567146102e557806332cb6b0c146102f457600080fd5b8063032bbf4f1461022c57806306fdde031461025f578063095ea7b31461027457806312a1449914610297575b600080fd5b61024c61023a366004610f04565b600b6020526000908152604090205481565b6040519081526020015b60405180910390f35b610267610514565b6040516102569190610f1f565b610287610282366004610f6d565b6105a6565b6040519015158152602001610256565b61024c6102a5366004610f04565b600c6020526000908152604090205481565b60025461024c565b6102876102cd366004610f97565b6105c0565b61024c6102e0366004610f04565b6105e4565b60405160128152602001610256565b61024c6b033b2e3c9fd0803ce800000081565b61030f610610565b005b61030f61031f366004610fd3565b610622565b61030f61062f565b600a5461033f906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b60055460ff16610287565b61024c610370366004610f04565b6001600160a01b031660009081526020819052604090205490565b61030f6106fd565b61030f6103a1366004610f6d565b61070f565b60085461033f906001600160a01b031681565b61030f610728565b60055461010090046001600160a01b031661033f565b61030f6103e5366004610fec565b610738565b61030f6103f8366004610f6d565b61081e565b61026761091a565b61024c610413366004610f04565b600e6020526000908152604090205481565b61024c610fa081565b61028761043c366004610f6d565b610929565b61024c61044f366004610f04565b600d6020526000908152604090205481565b60075461033f906001600160a01b031681565b60065461033f906001600160a01b031681565b60095461033f906001600160a01b031681565b61024c6104a8366004610f04565b610937565b61024c6107d081565b61024c6104c4366004611051565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61030f6104fd366004610f04565b610a17565b61024c6105dc81565b61024c6101f481565b60606003805461052390611084565b80601f016020809104026020016040519081016040528092919081815260200182805461054f90611084565b801561059c5780601f106105715761010080835404028352916020019161059c565b820191906000526020600020905b81548152906001019060200180831161057f57829003601f168201915b5050505050905090565b6000336105b4818585610a52565b60019150505b92915050565b6000336105ce858285610a5f565b6105d9858585610ade565b506001949350505050565b6001600160a01b0381166000908152600e602052604081205461060683610937565b6105ba91906110d4565b610618610b3d565b610620610b70565b565b61062c3382610bc2565b50565b600061063a336105e4565b9050600081116106915760405162461bcd60e51b815260206004820152601f60248201527f4e6f20746f6b656e7320617661696c61626c6520666f722072656c656173650060448201526064015b60405180910390fd5b336000908152600e6020526040812080548392906106b09084906110e7565b909155506106c19050303383610ade565b60408051338152602081018390527fc7798891864187665ac6dd119286e44ec13f014527aeeb2b8eb3fd413df93179910160405180910390a150565b610705610b3d565b6106206000610bf8565b61071a823383610a5f565b6107248282610bc2565b5050565b610730610b3d565b610620610c52565b610740610b3d565b6001600160a01b0385161561076b57600680546001600160a01b0319166001600160a01b0387161790555b6001600160a01b0384161561079657600780546001600160a01b0319166001600160a01b0386161790555b6001600160a01b038316156107c157600880546001600160a01b0319166001600160a01b0385161790555b6001600160a01b038216156107ec57600980546001600160a01b0319166001600160a01b0384161790555b6001600160a01b0381161561081757600a80546001600160a01b0319166001600160a01b0383161790555b5050505050565b610826610b3d565b6001600160a01b0382166108825760055461010090046001600160a01b03166001600160a01b03166108fc829081150290604051600060405180830381858888f1935050505015801561087d573d6000803e3d6000fd5b505050565b816001600160a01b031663a9059cbb6108a96005546001600160a01b036101009091041690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156108f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d91906110fa565b60606004805461052390611084565b6000336105b4818585610ade565b6001600160a01b0381166000908152600b6020526040812054810361095e57506000919050565b6001600160a01b0382166000908152600c6020908152604080832054600b9092529091205461098d91906110e7565b42106109af57506001600160a01b03166000908152600d602052604090205490565b6001600160a01b0382166000908152600b60205260408120546109d290426110d4565b6001600160a01b0384166000908152600c6020908152604080832054600d9092529091205491925090610a0690839061111c565b610a109190611133565b9392505050565b610a1f610b3d565b6001600160a01b038116610a4957604051631e4fbdf760e01b815260006004820152602401610688565b61062c81610bf8565b61087d8383836001610c8f565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610ad85781811015610ac957604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610688565b610ad884848484036000610c8f565b50505050565b6001600160a01b038316610b0857604051634b637e8f60e11b815260006004820152602401610688565b6001600160a01b038216610b325760405163ec442f0560e01b815260006004820152602401610688565b61087d838383610d64565b6005546001600160a01b036101009091041633146106205760405163118cdaa760e01b8152336004820152602401610688565b610b78610d77565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610bec57604051634b637e8f60e11b815260006004820152602401610688565b61072482600083610d64565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c5a610d9a565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ba53390565b6001600160a01b038416610cb95760405163e602df0560e01b815260006004820152602401610688565b6001600160a01b038316610ce357604051634a1406b160e11b815260006004820152602401610688565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610ad857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d5691815260200190565b60405180910390a350505050565b610d6c610d9a565b61087d838383610dbe565b60055460ff1661062057604051638dfc202b60e01b815260040160405180910390fd5b60055460ff16156106205760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b038316610de9578060026000828254610dde91906110e7565b90915550610e5b9050565b6001600160a01b03831660009081526020819052604090205481811015610e3c5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610688565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610e7757600280548290039055610e96565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610edb91815260200190565b60405180910390a3505050565b80356001600160a01b0381168114610eff57600080fd5b919050565b600060208284031215610f1657600080fd5b610a1082610ee8565b600060208083528351808285015260005b81811015610f4c57858101830151858201604001528201610f30565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610f8057600080fd5b610f8983610ee8565b946020939093013593505050565b600080600060608486031215610fac57600080fd5b610fb584610ee8565b9250610fc360208501610ee8565b9150604084013590509250925092565b600060208284031215610fe557600080fd5b5035919050565b600080600080600060a0868803121561100457600080fd5b61100d86610ee8565b945061101b60208701610ee8565b935061102960408701610ee8565b925061103760608701610ee8565b915061104560808701610ee8565b90509295509295909350565b6000806040838503121561106457600080fd5b61106d83610ee8565b915061107b60208401610ee8565b90509250929050565b600181811c9082168061109857607f821691505b6020821081036110b857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156105ba576105ba6110be565b808201808211156105ba576105ba6110be565b60006020828403121561110c57600080fd5b81518015158114610a1057600080fd5b80820281158282048414176105ba576105ba6110be565b60008261115057634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212208397297c322faf391e90d1b4c4dafa49d71f55c85f3e35037c2645289107452064736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b000000000000000000000000000000000000000000000000000000000000000f50616c657374696e6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035053540000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Palestine Token
Arg [1] : symbol (string): PST
Arg [2] : _communityWallet (address): 0x9E3Ac29cb86e1A0035E644C76CddfBa53798cD1B
Arg [3] : _developmentWallet (address): 0x9E3Ac29cb86e1A0035E644C76CddfBa53798cD1B
Arg [4] : _charityWallet (address): 0x9E3Ac29cb86e1A0035E644C76CddfBa53798cD1B
Arg [5] : _liquidityWallet (address): 0x9E3Ac29cb86e1A0035E644C76CddfBa53798cD1B
Arg [6] : _teamWallet (address): 0x9E3Ac29cb86e1A0035E644C76CddfBa53798cD1B
Arg [7] : initialOwner (address): 0x9E3Ac29cb86e1A0035E644C76CddfBa53798cD1B
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b
Arg [3] : 0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b
Arg [4] : 0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b
Arg [5] : 0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b
Arg [6] : 0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b
Arg [7] : 0000000000000000000000009e3ac29cb86e1a0035e644c76cddfba53798cd1b
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [9] : 50616c657374696e6520546f6b656e0000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 5053540000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.