Source Code
Latest 25 from a total of 5,954 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 259179793 | 481 days ago | IN | 0.0003 ETH | 0.00000268 | ||||
| Claim | 258834951 | 482 days ago | IN | 0.0003 ETH | 0.00000201 | ||||
| Claim | 258834872 | 482 days ago | IN | 0.0003 ETH | 0.00000218 | ||||
| Claim | 258834338 | 482 days ago | IN | 0.0003 ETH | 0.00000218 | ||||
| Claim | 258834079 | 482 days ago | IN | 0.0003 ETH | 0.00000218 | ||||
| Claim | 258833706 | 482 days ago | IN | 0.0003 ETH | 0.00000224 | ||||
| Claim | 258833369 | 482 days ago | IN | 0.0003 ETH | 0.00000224 | ||||
| Claim | 258833167 | 482 days ago | IN | 0.0003 ETH | 0.00000224 | ||||
| Claim | 258832796 | 482 days ago | IN | 0.0003 ETH | 0.00000224 | ||||
| Claim | 258832274 | 482 days ago | IN | 0.0003 ETH | 0.00000191 | ||||
| Claim | 258832017 | 482 days ago | IN | 0.0003 ETH | 0.00000191 | ||||
| Claim | 258831767 | 482 days ago | IN | 0.0003 ETH | 0.00000191 | ||||
| Claim | 258831494 | 482 days ago | IN | 0.0003 ETH | 0.00000191 | ||||
| Claim | 258831235 | 482 days ago | IN | 0.0003 ETH | 0.00000191 | ||||
| Claim | 258830885 | 482 days ago | IN | 0.0003 ETH | 0.00000191 | ||||
| Claim | 258817913 | 482 days ago | IN | 0.0003 ETH | 0.00000174 | ||||
| Claim | 258812449 | 482 days ago | IN | 0.0003 ETH | 0.00000161 | ||||
| Claim | 258808328 | 482 days ago | IN | 0.0003 ETH | 0.00000194 | ||||
| Claim | 258805782 | 483 days ago | IN | 0.0003 ETH | 0.00000174 | ||||
| Claim | 258804048 | 483 days ago | IN | 0.0003 ETH | 0.00000173 | ||||
| Claim | 258799405 | 483 days ago | IN | 0.0003 ETH | 0.00000183 | ||||
| Claim | 258798627 | 483 days ago | IN | 0.0003 ETH | 0.00000187 | ||||
| Claim | 258797861 | 483 days ago | IN | 0.0003 ETH | 0.00000187 | ||||
| Claim | 258796671 | 483 days ago | IN | 0.0003 ETH | 0.00000192 | ||||
| Claim | 258796585 | 483 days ago | IN | 0.0003 ETH | 0.00000175 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 259179793 | 481 days ago | 0.0003 ETH | ||||
| 258834951 | 482 days ago | 0.0003 ETH | ||||
| 258834872 | 482 days ago | 0.0003 ETH | ||||
| 258834338 | 482 days ago | 0.0003 ETH | ||||
| 258834079 | 482 days ago | 0.0003 ETH | ||||
| 258833706 | 482 days ago | 0.0003 ETH | ||||
| 258833369 | 482 days ago | 0.0003 ETH | ||||
| 258833167 | 482 days ago | 0.0003 ETH | ||||
| 258832796 | 482 days ago | 0.0003 ETH | ||||
| 258832274 | 482 days ago | 0.0003 ETH | ||||
| 258832017 | 482 days ago | 0.0003 ETH | ||||
| 258831767 | 482 days ago | 0.0003 ETH | ||||
| 258831494 | 482 days ago | 0.0003 ETH | ||||
| 258831235 | 482 days ago | 0.0003 ETH | ||||
| 258830885 | 482 days ago | 0.0003 ETH | ||||
| 258817913 | 482 days ago | 0.0003 ETH | ||||
| 258812449 | 482 days ago | 0.0003 ETH | ||||
| 258808328 | 482 days ago | 0.0003 ETH | ||||
| 258805782 | 483 days ago | 0.0003 ETH | ||||
| 258804048 | 483 days ago | 0.0003 ETH | ||||
| 258799405 | 483 days ago | 0.0003 ETH | ||||
| 258798627 | 483 days ago | 0.0003 ETH | ||||
| 258797861 | 483 days ago | 0.0003 ETH | ||||
| 258796671 | 483 days ago | 0.0003 ETH | ||||
| 258796585 | 483 days ago | 0.0003 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ConvertXp
Compiler Version
v0.8.23+commit.f704f362
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.19;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ClaimTypes} from "./ClaimTypes.sol";
import {SignatureChecker} from "./SignatureChecker.sol";
contract ConvertXp {
using ClaimTypes for ClaimTypes.AdminSignature;
bytes32 public DOMAIN_SEPARATOR;
address public admin;
address public signer;
address payable public fundWallet;
IERC20 public token;
uint256 public claimFee;
mapping(address => mapping(uint256 => bool)) public claimedCheck;
mapping(bytes32 => bool) public claimedHash;
constructor(address _fundWallet,address _signer, address _token) {
admin = msg.sender;
signer = _signer;
fundWallet = payable(_fundWallet);
token = IERC20(_token);
claimFee = 0.00002 ether;
DOMAIN_SEPARATOR = keccak256(
abi.encode(
0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f, // keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
0xf3ac15622953f011549e4dd5d479cdf06a5a66cdd42519179f30d1722738df9a, // keccak256("ClaimAirdrop")
0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6, // keccak256(bytes("1")) for versionId = 1
block.chainid,
address(this)
)
);
}
function setClaimFee(uint256 _fee) public {
require(msg.sender == admin, "Not admin");
claimFee = _fee;
}
function setFundWallet(address _fundWallet) public {
require(msg.sender == admin, "Not admin");
fundWallet = payable(_fundWallet);
}
function setSigner(address _signer) public {
require(msg.sender == admin, "Not admin");
signer = _signer;
}
function claim(ClaimTypes.AdminSignature calldata adminSignature) public payable {
require(adminSignature.wallet == msg.sender, "Invalid wallet");
require(msg.value >= claimFee, "Not fee claim");
require(!claimedCheck[adminSignature.wallet][adminSignature.phase],'Invalid claim');
(bool takefund, ) = fundWallet.call{value: msg.value}("");
require(takefund, "Failed to take fund");
bytes32 messageHash = _getMessageHash(adminSignature);
require(claimedHash[messageHash] == false, "Claimed already");
bytes32 hashData = adminSignature.hashAdminSignature();
require(
SignatureChecker.verify(
hashData,
signer,
adminSignature.v,
adminSignature.r,
adminSignature.s,
DOMAIN_SEPARATOR
),
"Signature: Invalid for signer"
);
uint256 pendingAmount = adminSignature.totalAmount;
token.transfer(msg.sender, pendingAmount);
claimedHash[messageHash] = true;
claimedCheck[adminSignature.wallet][adminSignature.phase]= true;
emit Claim(msg.sender, pendingAmount, adminSignature.phase);
}
// helper function to sign the message
function _getMessageHash(ClaimTypes.AdminSignature memory _adminSignature) internal pure returns (bytes32) {
return
keccak256(
abi.encode(
ClaimTypes.MAKER_ADMIN_HASH,
_adminSignature.wallet,
_adminSignature.totalAmount,
_adminSignature.timestamp,
_adminSignature.phase
)
);
}
// event
event Claim(address indexed wallet, uint256 _amount, uint256 _phase);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ClaimTypes
*/
library ClaimTypes {
//keccak256("AdminSignature(address wallet,uint256 totalAmount,uint256 timestamp,uint256 phase");
bytes32 internal constant MAKER_ADMIN_HASH = 0x20599c284772b148d63209f6419d224c4c64ebe7bac551673916842a43f404e1;
struct AdminSignature {
address wallet;
uint256 totalAmount;
uint256 timestamp;
uint256 phase;
uint8 v;
bytes32 r;
bytes32 s;
}
function hashAdminSignature(
AdminSignature memory adminSignature
) internal pure returns (bytes32) {
return
keccak256(
abi.encode(
MAKER_ADMIN_HASH,
adminSignature.wallet,
adminSignature.totalAmount,
adminSignature.timestamp,
adminSignature.phase
)
);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {Address} from "@openzeppelin/contracts/utils/Address2.sol";
import {IERC1271} from "@openzeppelin/contracts/interfaces/IERC1271.sol";
/**
* @title SignatureChecker
* @notice This library allows verification of signatures for both EOAs and contracts.
*/
library SignatureChecker {
/**
* @notice Recovers the signer of a signature (for EOA)
* @param hash the hash containing the signed mesage
* @param v parameter (27 or 28). This prevents maleability since the public key recovery equation has two possible solutions.
* @param r parameter
* @param s parameter
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
// https://ethereum.stackexchange.com/questions/83174/is-it-best-practice-to-check-signature-malleability-in-ecrecover
// https://crypto.iacr.org/2019/affevents/wac/medias/Heninger-BiasedNonceSense.pdf
require(
uint256(s) <=
0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
"Signature: Invalid s parameter"
);
require(v == 27 || v == 28, "Signature: Invalid v parameter");
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
require(signer != address(0), "Signature: Invalid signer");
return signer;
}
/**
* @notice Returns whether the signer matches the signed message
* @param hash the hash containing the signed mesage
* @param signer the signer address to confirm message validity
* @param v parameter (27 or 28)
* @param r parameter
* @param s parameter
* @param domainSeparator paramer to prevent signature being executed in other chains and environments
* @return true --> if valid // false --> if invalid
*/
function verify(
bytes32 hash,
address signer,
uint8 v,
bytes32 r,
bytes32 s,
bytes32 domainSeparator
) internal view returns (bool) {
// \x19\x01 is the standardized encoding prefix
// https://eips.ethereum.org/EIPS/eip-712#specification
bytes32 digest = keccak256(
abi.encodePacked("\x19\x01", domainSeparator, hash)
);
if (Address.isContract(signer)) {
// 0x1626ba7e is the interfaceId for signature contracts (see IERC1271)
return
IERC1271(signer).isValidSignature(
digest,
abi.encodePacked(r, s, v)
) == 0x1626ba7e;
} else {
return recover(digest, v, r, s) == signer;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1271.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC1271 standard signature validation method for
* contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
*/
interface IERC1271 {
/**
* @dev Should return whether the signature provided is valid for the provided data
* @param hash Hash of the data to be signed
* @param signature Signature byte array associated with _data
*/
function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}{
"remappings": [
"openzeppelin/=lib/openzeppelin-contracts/contracts/",
"openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"forge-std/=lib/forge-std/src/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_fundWallet","type":"address"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_phase","type":"uint256"}],"name":"Claim","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct ClaimTypes.AdminSignature","name":"adminSignature","type":"tuple"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedCheck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"claimedHash","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setClaimFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fundWallet","type":"address"}],"name":"setFundWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50604051610eac380380610eac83398101604081905261002f91610146565b60018054336001600160a01b0319918216179091556002805482166001600160a01b0385811691909117909155600380548316868316179055600480549092169083161790556512309ce54000600555604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527ff3ac15622953f011549e4dd5d479cdf06a5a66cdd42519179f30d1722738df9a918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120600081905550505050610189565b80516001600160a01b038116811461014157600080fd5b919050565b60008060006060848603121561015b57600080fd5b6101648461012a565b92506101726020850161012a565b91506101806040850161012a565b90509250925092565b610d14806101986000396000f3fe6080604052600436106100a75760003560e01c8063937bcd8c11610064578063937bcd8c1461018f57806399d32fc4146101cf578063a9ace351146101e5578063ee8acb2714610220578063f851a44014610233578063fc0c546a1461025357600080fd5b8063238ac933146100ac5780632e75ab50146100e95780633644e5151461010b57806355ce3b9a1461012f578063664a1ad61461014f5780636c19e7831461016f575b600080fd5b3480156100b857600080fd5b506002546100cc906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100f557600080fd5b50610109610104366004610ab5565b610273565b005b34801561011757600080fd5b5061012160005481565b6040519081526020016100e0565b34801561013b57600080fd5b5061010961014a366004610aea565b6102ab565b34801561015b57600080fd5b506003546100cc906001600160a01b031681565b34801561017b57600080fd5b5061010961018a366004610aea565b6102f7565b34801561019b57600080fd5b506101bf6101aa366004610ab5565b60076020526000908152604090205460ff1681565b60405190151581526020016100e0565b3480156101db57600080fd5b5061012160055481565b3480156101f157600080fd5b506101bf610200366004610b0c565b600660209081526000928352604080842090915290825290205460ff1681565b61010961022e366004610b36565b610343565b34801561023f57600080fd5b506001546100cc906001600160a01b031681565b34801561025f57600080fd5b506004546100cc906001600160a01b031681565b6001546001600160a01b031633146102a65760405162461bcd60e51b815260040161029d90610b4e565b60405180910390fd5b600555565b6001546001600160a01b031633146102d55760405162461bcd60e51b815260040161029d90610b4e565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146103215760405162461bcd60e51b815260040161029d90610b4e565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b336103516020830183610aea565b6001600160a01b0316146103985760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a59081dd85b1b195d60921b604482015260640161029d565b6005543410156103da5760405162461bcd60e51b815260206004820152600d60248201526c4e6f742066656520636c61696d60981b604482015260640161029d565b600660006103eb6020840184610aea565b6001600160a01b03168152602080820192909252604090810160009081206060850135825290925290205460ff16156104565760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420636c61696d60981b604482015260640161029d565b6003546040516000916001600160a01b03169034908381818185875af1925050503d80600081146104a3576040519150601f19603f3d011682016040523d82523d6000602084013e6104a8565b606091505b50509050806104ef5760405162461bcd60e51b815260206004820152601360248201527211985a5b1959081d1bc81d185ad948199d5b99606a1b604482015260640161029d565b600061050861050336859003850185610b82565b610724565b60008181526007602052604090205490915060ff161561055c5760405162461bcd60e51b815260206004820152600f60248201526e436c61696d656420616c726561647960881b604482015260640161029d565b600061057061050336869003860186610b82565b6002549091506105a79082906001600160a01b031661059560a0880160808901610c20565b8760a001358860c001356000546107b1565b6105f35760405162461bcd60e51b815260206004820152601d60248201527f5369676e61747572653a20496e76616c696420666f72207369676e6572000000604482015260640161029d565b6004805460405163a9059cbb60e01b81523392810192909252602086013560248301819052916001600160a01b039091169063a9059cbb906044016020604051808303816000875af115801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190610c3b565b5060008381526007602090815260408220805460ff19166001908117909155916006916106a090890189610aea565b6001600160a01b031681526020808201929092526040908101600090812060608a01358083529352819020805493151560ff1990941693909317909255905133917f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf79161071591858252602082015260400190565b60405180910390a25050505050565b805160208083015160408085015160608601519151600095610794957f20599c284772b148d63209f6419d224c4c64ebe7bac551673916842a43f404e1959194919392019485526001600160a01b0393909316602085015260408401919091526060830152608082015260a00190565b604051602081830303815290604052805190602001209050919050565b60405161190160f01b6020820152602281018290526042810187905260009081906062016040516020818303038152906040528051906020012090506107f6876108e6565b156108b857604080516020810187905280820186905260f888901b6001600160f81b0319166060820152815160418183030181526061820192839052630b135d3f60e11b9092526001600160a01b03891691631626ba7e9161085c918591606501610c5d565b602060405180830381865afa158015610879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089d9190610cb4565b6001600160e01b031916631626ba7e60e01b149150506108dc565b866001600160a01b03166108ce82888888610922565b6001600160a01b0316149150505b9695505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061091a57508115155b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156109945760405162461bcd60e51b815260206004820152601e60248201527f5369676e61747572653a20496e76616c6964207320706172616d657465720000604482015260640161029d565b8360ff16601b14806109a957508360ff16601c145b6109f55760405162461bcd60e51b815260206004820152601e60248201527f5369676e61747572653a20496e76616c6964207620706172616d657465720000604482015260640161029d565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610a49573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610aac5760405162461bcd60e51b815260206004820152601960248201527f5369676e61747572653a20496e76616c6964207369676e657200000000000000604482015260640161029d565b95945050505050565b600060208284031215610ac757600080fd5b5035919050565b80356001600160a01b0381168114610ae557600080fd5b919050565b600060208284031215610afc57600080fd5b610b0582610ace565b9392505050565b60008060408385031215610b1f57600080fd5b610b2883610ace565b946020939093013593505050565b600060e08284031215610b4857600080fd5b50919050565b6020808252600990820152682737ba1030b236b4b760b91b604082015260600190565b803560ff81168114610ae557600080fd5b600060e08284031215610b9457600080fd5b60405160e0810181811067ffffffffffffffff82111715610bc557634e487b7160e01b600052604160045260246000fd5b604052610bd183610ace565b8152602083013560208201526040830135604082015260608301356060820152610bfd60808401610b71565b608082015260a083013560a082015260c083013560c08201528091505092915050565b600060208284031215610c3257600080fd5b610b0582610b71565b600060208284031215610c4d57600080fd5b81518015158114610b0557600080fd5b8281526000602060406020840152835180604085015260005b81811015610c9257858101830151858201606001528201610c76565b506000606082860101526060601f19601f830116850101925050509392505050565b600060208284031215610cc657600080fd5b81516001600160e01b031981168114610b0557600080fdfea2646970667358221220c016c6864b3810955f7c5295fb46907937b372bc4852b79a801fb4e28056a64564736f6c634300081700330000000000000000000000001efab8ad7dcbfe7832b83e9b092c39eae52d0a8b0000000000000000000000006187e102014bab51bd804fcc4da4b8a111c8fe110000000000000000000000009af3aa01a7e8d2e298e186ee3a7ac29ef49303a9
Deployed Bytecode
0x6080604052600436106100a75760003560e01c8063937bcd8c11610064578063937bcd8c1461018f57806399d32fc4146101cf578063a9ace351146101e5578063ee8acb2714610220578063f851a44014610233578063fc0c546a1461025357600080fd5b8063238ac933146100ac5780632e75ab50146100e95780633644e5151461010b57806355ce3b9a1461012f578063664a1ad61461014f5780636c19e7831461016f575b600080fd5b3480156100b857600080fd5b506002546100cc906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100f557600080fd5b50610109610104366004610ab5565b610273565b005b34801561011757600080fd5b5061012160005481565b6040519081526020016100e0565b34801561013b57600080fd5b5061010961014a366004610aea565b6102ab565b34801561015b57600080fd5b506003546100cc906001600160a01b031681565b34801561017b57600080fd5b5061010961018a366004610aea565b6102f7565b34801561019b57600080fd5b506101bf6101aa366004610ab5565b60076020526000908152604090205460ff1681565b60405190151581526020016100e0565b3480156101db57600080fd5b5061012160055481565b3480156101f157600080fd5b506101bf610200366004610b0c565b600660209081526000928352604080842090915290825290205460ff1681565b61010961022e366004610b36565b610343565b34801561023f57600080fd5b506001546100cc906001600160a01b031681565b34801561025f57600080fd5b506004546100cc906001600160a01b031681565b6001546001600160a01b031633146102a65760405162461bcd60e51b815260040161029d90610b4e565b60405180910390fd5b600555565b6001546001600160a01b031633146102d55760405162461bcd60e51b815260040161029d90610b4e565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146103215760405162461bcd60e51b815260040161029d90610b4e565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b336103516020830183610aea565b6001600160a01b0316146103985760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a59081dd85b1b195d60921b604482015260640161029d565b6005543410156103da5760405162461bcd60e51b815260206004820152600d60248201526c4e6f742066656520636c61696d60981b604482015260640161029d565b600660006103eb6020840184610aea565b6001600160a01b03168152602080820192909252604090810160009081206060850135825290925290205460ff16156104565760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420636c61696d60981b604482015260640161029d565b6003546040516000916001600160a01b03169034908381818185875af1925050503d80600081146104a3576040519150601f19603f3d011682016040523d82523d6000602084013e6104a8565b606091505b50509050806104ef5760405162461bcd60e51b815260206004820152601360248201527211985a5b1959081d1bc81d185ad948199d5b99606a1b604482015260640161029d565b600061050861050336859003850185610b82565b610724565b60008181526007602052604090205490915060ff161561055c5760405162461bcd60e51b815260206004820152600f60248201526e436c61696d656420616c726561647960881b604482015260640161029d565b600061057061050336869003860186610b82565b6002549091506105a79082906001600160a01b031661059560a0880160808901610c20565b8760a001358860c001356000546107b1565b6105f35760405162461bcd60e51b815260206004820152601d60248201527f5369676e61747572653a20496e76616c696420666f72207369676e6572000000604482015260640161029d565b6004805460405163a9059cbb60e01b81523392810192909252602086013560248301819052916001600160a01b039091169063a9059cbb906044016020604051808303816000875af115801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190610c3b565b5060008381526007602090815260408220805460ff19166001908117909155916006916106a090890189610aea565b6001600160a01b031681526020808201929092526040908101600090812060608a01358083529352819020805493151560ff1990941693909317909255905133917f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf79161071591858252602082015260400190565b60405180910390a25050505050565b805160208083015160408085015160608601519151600095610794957f20599c284772b148d63209f6419d224c4c64ebe7bac551673916842a43f404e1959194919392019485526001600160a01b0393909316602085015260408401919091526060830152608082015260a00190565b604051602081830303815290604052805190602001209050919050565b60405161190160f01b6020820152602281018290526042810187905260009081906062016040516020818303038152906040528051906020012090506107f6876108e6565b156108b857604080516020810187905280820186905260f888901b6001600160f81b0319166060820152815160418183030181526061820192839052630b135d3f60e11b9092526001600160a01b03891691631626ba7e9161085c918591606501610c5d565b602060405180830381865afa158015610879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089d9190610cb4565b6001600160e01b031916631626ba7e60e01b149150506108dc565b866001600160a01b03166108ce82888888610922565b6001600160a01b0316149150505b9695505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061091a57508115155b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156109945760405162461bcd60e51b815260206004820152601e60248201527f5369676e61747572653a20496e76616c6964207320706172616d657465720000604482015260640161029d565b8360ff16601b14806109a957508360ff16601c145b6109f55760405162461bcd60e51b815260206004820152601e60248201527f5369676e61747572653a20496e76616c6964207620706172616d657465720000604482015260640161029d565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610a49573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610aac5760405162461bcd60e51b815260206004820152601960248201527f5369676e61747572653a20496e76616c6964207369676e657200000000000000604482015260640161029d565b95945050505050565b600060208284031215610ac757600080fd5b5035919050565b80356001600160a01b0381168114610ae557600080fd5b919050565b600060208284031215610afc57600080fd5b610b0582610ace565b9392505050565b60008060408385031215610b1f57600080fd5b610b2883610ace565b946020939093013593505050565b600060e08284031215610b4857600080fd5b50919050565b6020808252600990820152682737ba1030b236b4b760b91b604082015260600190565b803560ff81168114610ae557600080fd5b600060e08284031215610b9457600080fd5b60405160e0810181811067ffffffffffffffff82111715610bc557634e487b7160e01b600052604160045260246000fd5b604052610bd183610ace565b8152602083013560208201526040830135604082015260608301356060820152610bfd60808401610b71565b608082015260a083013560a082015260c083013560c08201528091505092915050565b600060208284031215610c3257600080fd5b610b0582610b71565b600060208284031215610c4d57600080fd5b81518015158114610b0557600080fd5b8281526000602060406020840152835180604085015260005b81811015610c9257858101830151858201606001528201610c76565b506000606082860101526060601f19601f830116850101925050509392505050565b600060208284031215610cc657600080fd5b81516001600160e01b031981168114610b0557600080fdfea2646970667358221220c016c6864b3810955f7c5295fb46907937b372bc4852b79a801fb4e28056a64564736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001efab8ad7dcbfe7832b83e9b092c39eae52d0a8b0000000000000000000000006187e102014bab51bd804fcc4da4b8a111c8fe110000000000000000000000009af3aa01a7e8d2e298e186ee3a7ac29ef49303a9
-----Decoded View---------------
Arg [0] : _fundWallet (address): 0x1eFAb8Ad7DCbFe7832b83E9b092C39eae52D0a8b
Arg [1] : _signer (address): 0x6187E102014baB51bD804FcC4da4b8a111C8FE11
Arg [2] : _token (address): 0x9aF3AA01A7E8d2E298e186ee3A7Ac29Ef49303A9
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000001efab8ad7dcbfe7832b83e9b092c39eae52d0a8b
Arg [1] : 0000000000000000000000006187e102014bab51bd804fcc4da4b8a111c8fe11
Arg [2] : 0000000000000000000000009af3aa01a7e8d2e298e186ee3a7ac29ef49303a9
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$55.32
Net Worth in ETH
0.019269
Token Allocations
ETH
81.06%
BNB
18.93%
MNT
0.00%
Others
0.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 42.01% | $2,869.57 | 0.0081 | $23.24 | |
| BASE | 17.12% | $2,869.41 | 0.0033 | $9.47 | |
| OPBNB | 17.04% | $872.9 | 0.0108 | $9.43 | |
| TAIKO | 10.90% | $2,871.46 | 0.0021 | $6.03 | |
| BLAST | 3.25% | $2,870.04 | 0.00062728 | $1.8 | |
| LINEA | 3.11% | $2,871.46 | 0.0006 | $1.72 | |
| OP | 3.11% | $2,869.57 | 0.0006 | $1.72 | |
| BSC | 1.89% | $872.86 | 0.0012 | $1.05 | |
| SCROLL | 1.56% | $2,869.57 | 0.0003 | $0.860872 | |
| MANTLE | <0.01% | $0.855519 | 0.0009 | $0.00077 | |
| POL | <0.01% | $0.121008 | 0.00565 | $0.000684 |
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.