Source Code
Latest 6 from a total of 6 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 21677084 | 89 days ago | IN | 0 ETH | 0.00000003 | ||||
| Withdraw Tokens | 19327027 | 144 days ago | IN | 0 ETH | 0.00000004 | ||||
| Update Claim Qua... | 16311737 | 214 days ago | IN | 0 ETH | 0.00000004 | ||||
| Withdraw Tokens | 16311709 | 214 days ago | IN | 0 ETH | 0.00000007 | ||||
| Update Claim Qua... | 16188677 | 216 days ago | IN | 0 ETH | 0.00000003 | ||||
| Withdraw Tokens | 16188633 | 216 days ago | IN | 0 ETH | 0.00000004 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SUSHIClaim
Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled:
No with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
// Interface for the World Address Book contract
interface IAddressBook {
function addressVerifiedUntil(address addr) external view returns (uint256);
}
contract SUSHIClaim is Context, Ownable, ReentrancyGuard {
using SafeERC20 for IERC20;
// Variables
IERC20 public immutable SUSHI_Token;
address public constant ADDRESS_BOOK = 0x57b930D551e677CC36e2fA036Ae2fe8FdaE0330D;
address payable private admin;
uint256 private claimInterval;
uint256 private claimQuantity;
struct Claimer {
address claimerAddress;
uint256 lastClaim;
uint256 totalClaimed;
}
mapping(address => Claimer) public ArrayClaimers;
event Claim(address _claimer, uint256 _amount);
constructor() Ownable(msg.sender) {
SUSHI_Token = IERC20(0xab09A728E53d3d6BC438BE95eeD46Da0Bbe7FB38); // SUSHI Address
claimInterval = 43000;
claimQuantity = 7 * 10 **18; // 7 SUSHI
}
function claim() external nonReentrant {
// Verify sender is ORB verified
require(
IAddressBook(ADDRESS_BOOK).addressVerifiedUntil(_msgSender()) > 0,
"Sender not verified"
);
// Check contract has enough balance
require(SUSHI_Token.balanceOf(address(this)) >= claimQuantity, "Insufficient contract balance");
Claimer memory current_claimer = ArrayClaimers[_msgSender()];
require(block.number > (current_claimer.lastClaim + claimInterval)); // 43.000 blocks is 24hs aprox.
ArrayClaimers[_msgSender()].lastClaim = block.number;
ArrayClaimers[_msgSender()].totalClaimed = current_claimer.totalClaimed + claimQuantity;
SUSHI_Token.safeTransfer(_msgSender(), claimQuantity);
emit Claim(_msgSender(), claimQuantity);
}
function viewClaimerInfo(address _address) public view returns (Claimer memory) {
return ArrayClaimers[_address];
}
function viewBlocksUntilClaim(address _address) public view returns (uint256) {
Claimer memory current_claimer = ArrayClaimers[_address];
if(block.number > (current_claimer.lastClaim + claimInterval)){
return 0;
} else {
return (current_claimer.lastClaim + claimInterval) - block.number;
}
}
function withdrawTokens(uint256 amount) external onlyOwner nonReentrant {
require(amount > 0, "Amount must be greater than 0");
require(SUSHI_Token.balanceOf(address(this)) >= amount, "Insufficient balance");
SUSHI_Token.safeTransfer(msg.sender, amount);
}
function updateClaimInterval (uint256 _newInterval) public onlyOwner(){
claimInterval = _newInterval;
}
function updateClaimQuantity (uint256 _newQuantity) public onlyOwner(){
claimQuantity = _newQuantity;
}
}// 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.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
/**
* @dev An operation with an ERC-20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*
* NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
* only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
* set here.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
// bubble errors
if iszero(success) {
let ptr := mload(0x40)
returndatacopy(ptr, 0, returndatasize())
revert(ptr, returndatasize())
}
returnSize := returndatasize()
returnValue := mload(0)
}
if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
bool success;
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
returnSize := returndatasize()
returnValue := mload(0)
}
return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,
* consider using {ReentrancyGuardTransient} instead.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant NOT_ENTERED = 1;
uint256 private constant ENTERED = 2;
uint256 private _status;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
constructor() {
_status = NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be NOT_ENTERED
if (_status == ENTERED) {
revert ReentrancyGuardReentrantCall();
}
// Any calls to nonReentrant after this point will fail
_status = ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/"
],
"optimizer": {
"enabled": false,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "cancun",
"viaIR": false,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Claim","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"},{"inputs":[],"name":"ADDRESS_BOOK","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ArrayClaimers","outputs":[{"internalType":"address","name":"claimerAddress","type":"address"},{"internalType":"uint256","name":"lastClaim","type":"uint256"},{"internalType":"uint256","name":"totalClaimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUSHI_Token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newInterval","type":"uint256"}],"name":"updateClaimInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newQuantity","type":"uint256"}],"name":"updateClaimQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"viewBlocksUntilClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"viewClaimerInfo","outputs":[{"components":[{"internalType":"address","name":"claimerAddress","type":"address"},{"internalType":"uint256","name":"lastClaim","type":"uint256"},{"internalType":"uint256","name":"totalClaimed","type":"uint256"}],"internalType":"struct SUSHIClaim.Claimer","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a060405234801561000f575f5ffd5b50335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610081575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161007891906101fd565b60405180910390fd5b610090816100fd60201b60201c565b506001808190555073ab09a728e53d3d6bc438be95eed46da0bbe7fb3873ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505061a7f8600381905550676124fee993bc0000600481905550610216565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6101e7826101be565b9050919050565b6101f7816101dd565b82525050565b5f6020820190506102105f8301846101ee565b92915050565b6080516112c061024a5f395f81816103a10152818161047f015281816105af0152818161081501526108bb01526112c05ff3fe608060405234801561000f575f5ffd5b50600436106100b2575f3560e01c80637f80b2191161006f5780637f80b219146101505780638da5cb5b1461016e578063d9752f5f1461018c578063dd0634e4146101a8578063df9c35df146101da578063f2fde38b1461020a576100b2565b8063021454c8146100b65780630ccfe3e2146100e6578063206e8f3214610104578063315a095d146101205780634e71d92d1461013c578063715018a614610146575b5f5ffd5b6100d060048036038101906100cb9190610de8565b610226565b6040516100dd9190610e2b565b60405180910390f35b6100ee610322565b6040516100fb9190610e53565b60405180910390f35b61011e60048036038101906101199190610e96565b61033a565b005b61013a60048036038101906101359190610e96565b61034c565b005b6101446104ce565b005b61014e6108a6565b005b6101586108b9565b6040516101659190610f1c565b60405180910390f35b6101766108dd565b6040516101839190610e53565b60405180910390f35b6101a660048036038101906101a19190610e96565b610904565b005b6101c260048036038101906101bd9190610de8565b610916565b6040516101d193929190610f35565b60405180910390f35b6101f460048036038101906101ef9190610de8565b61095b565b6040516102019190610fc8565b60405180910390f35b610224600480360381019061021f9190610de8565b610a1a565b005b5f5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481525050905060035481602001516102ec919061100e565b4311156102fc575f91505061031d565b43600354826020015161030f919061100e565b6103199190611041565b9150505b919050565b7357b930d551e677cc36e2fa036ae2fe8fdae0330d81565b610342610a9e565b8060038190555050565b610354610a9e565b61035c610b25565b5f811161039e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610395906110ce565b60405180910390fd5b807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103f89190610e53565b602060405180830381865afa158015610413573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104379190611100565b1015610478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046f90611175565b60405180910390fd5b6104c333827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610b6b9092919063ffffffff16565b6104cb610bea565b50565b6104d6610b25565b5f7357b930d551e677cc36e2fa036ae2fe8fdae0330d73ffffffffffffffffffffffffffffffffffffffff16632bc91fed61050f610bf3565b6040518263ffffffff1660e01b815260040161052b9190610e53565b602060405180830381865afa158015610546573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056a9190611100565b116105aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a1906111dd565b60405180910390fd5b6004547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106069190610e53565b602060405180830381865afa158015610621573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106459190611100565b1015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067d90611245565b60405180910390fd5b5f60055f610692610bf3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090506003548160200151610752919061100e565b431161075c575f5ffd5b4360055f610768610bf3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001018190555060045481604001516107ba919061100e565b60055f6107c5610bf3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2060020181905550610859610810610bf3565b6004547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610b6b9092919063ffffffff16565b7f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4610882610bf3565b600454604051610893929190611263565b60405180910390a1506108a4610bea565b565b6108ae610a9e565b6108b75f610bfa565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61090c610a9e565b8060048190555050565b6005602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b610963610d56565b60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820154815250509050919050565b610a22610a9e565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a92575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610a899190610e53565b60405180910390fd5b610a9b81610bfa565b50565b610aa6610bf3565b73ffffffffffffffffffffffffffffffffffffffff16610ac46108dd565b73ffffffffffffffffffffffffffffffffffffffff1614610b2357610ae7610bf3565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b1a9190610e53565b60405180910390fd5b565b600260015403610b61576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b610be5838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401610b9e929190611263565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610cbb565b505050565b60018081905550565b5f33905090565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f5f60205f8451602086015f885af180610cda576040513d5f823e3d81fd5b3d92505f519150505f8214610cf3576001811415610d0e565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b15610d5057836040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401610d479190610e53565b60405180910390fd5b50505050565b60405180606001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81526020015f81525090565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610db782610d8e565b9050919050565b610dc781610dad565b8114610dd1575f5ffd5b50565b5f81359050610de281610dbe565b92915050565b5f60208284031215610dfd57610dfc610d8a565b5b5f610e0a84828501610dd4565b91505092915050565b5f819050919050565b610e2581610e13565b82525050565b5f602082019050610e3e5f830184610e1c565b92915050565b610e4d81610dad565b82525050565b5f602082019050610e665f830184610e44565b92915050565b610e7581610e13565b8114610e7f575f5ffd5b50565b5f81359050610e9081610e6c565b92915050565b5f60208284031215610eab57610eaa610d8a565b5b5f610eb884828501610e82565b91505092915050565b5f819050919050565b5f610ee4610edf610eda84610d8e565b610ec1565b610d8e565b9050919050565b5f610ef582610eca565b9050919050565b5f610f0682610eeb565b9050919050565b610f1681610efc565b82525050565b5f602082019050610f2f5f830184610f0d565b92915050565b5f606082019050610f485f830186610e44565b610f556020830185610e1c565b610f626040830184610e1c565b949350505050565b610f7381610dad565b82525050565b610f8281610e13565b82525050565b606082015f820151610f9c5f850182610f6a565b506020820151610faf6020850182610f79565b506040820151610fc26040850182610f79565b50505050565b5f606082019050610fdb5f830184610f88565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61101882610e13565b915061102383610e13565b925082820190508082111561103b5761103a610fe1565b5b92915050565b5f61104b82610e13565b915061105683610e13565b925082820390508181111561106e5761106d610fe1565b5b92915050565b5f82825260208201905092915050565b7f416d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f6110b8601d83611074565b91506110c382611084565b602082019050919050565b5f6020820190508181035f8301526110e5816110ac565b9050919050565b5f815190506110fa81610e6c565b92915050565b5f6020828403121561111557611114610d8a565b5b5f611122848285016110ec565b91505092915050565b7f496e73756666696369656e742062616c616e63650000000000000000000000005f82015250565b5f61115f601483611074565b915061116a8261112b565b602082019050919050565b5f6020820190508181035f83015261118c81611153565b9050919050565b7f53656e646572206e6f74207665726966696564000000000000000000000000005f82015250565b5f6111c7601383611074565b91506111d282611193565b602082019050919050565b5f6020820190508181035f8301526111f4816111bb565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e63650000005f82015250565b5f61122f601d83611074565b915061123a826111fb565b602082019050919050565b5f6020820190508181035f83015261125c81611223565b9050919050565b5f6040820190506112765f830185610e44565b6112836020830184610e1c565b939250505056fea2646970667358221220f059b8b48c8367066a40d6cc4db443ec5aa9d36f48d8e08bfde5f611af2cdf7264736f6c634300081e0033
Deployed Bytecode
0x608060405234801561000f575f5ffd5b50600436106100b2575f3560e01c80637f80b2191161006f5780637f80b219146101505780638da5cb5b1461016e578063d9752f5f1461018c578063dd0634e4146101a8578063df9c35df146101da578063f2fde38b1461020a576100b2565b8063021454c8146100b65780630ccfe3e2146100e6578063206e8f3214610104578063315a095d146101205780634e71d92d1461013c578063715018a614610146575b5f5ffd5b6100d060048036038101906100cb9190610de8565b610226565b6040516100dd9190610e2b565b60405180910390f35b6100ee610322565b6040516100fb9190610e53565b60405180910390f35b61011e60048036038101906101199190610e96565b61033a565b005b61013a60048036038101906101359190610e96565b61034c565b005b6101446104ce565b005b61014e6108a6565b005b6101586108b9565b6040516101659190610f1c565b60405180910390f35b6101766108dd565b6040516101839190610e53565b60405180910390f35b6101a660048036038101906101a19190610e96565b610904565b005b6101c260048036038101906101bd9190610de8565b610916565b6040516101d193929190610f35565b60405180910390f35b6101f460048036038101906101ef9190610de8565b61095b565b6040516102019190610fc8565b60405180910390f35b610224600480360381019061021f9190610de8565b610a1a565b005b5f5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481525050905060035481602001516102ec919061100e565b4311156102fc575f91505061031d565b43600354826020015161030f919061100e565b6103199190611041565b9150505b919050565b7357b930d551e677cc36e2fa036ae2fe8fdae0330d81565b610342610a9e565b8060038190555050565b610354610a9e565b61035c610b25565b5f811161039e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610395906110ce565b60405180910390fd5b807f000000000000000000000000ab09a728e53d3d6bc438be95eed46da0bbe7fb3873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103f89190610e53565b602060405180830381865afa158015610413573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104379190611100565b1015610478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046f90611175565b60405180910390fd5b6104c333827f000000000000000000000000ab09a728e53d3d6bc438be95eed46da0bbe7fb3873ffffffffffffffffffffffffffffffffffffffff16610b6b9092919063ffffffff16565b6104cb610bea565b50565b6104d6610b25565b5f7357b930d551e677cc36e2fa036ae2fe8fdae0330d73ffffffffffffffffffffffffffffffffffffffff16632bc91fed61050f610bf3565b6040518263ffffffff1660e01b815260040161052b9190610e53565b602060405180830381865afa158015610546573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056a9190611100565b116105aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a1906111dd565b60405180910390fd5b6004547f000000000000000000000000ab09a728e53d3d6bc438be95eed46da0bbe7fb3873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106069190610e53565b602060405180830381865afa158015610621573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106459190611100565b1015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067d90611245565b60405180910390fd5b5f60055f610692610bf3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090506003548160200151610752919061100e565b431161075c575f5ffd5b4360055f610768610bf3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001018190555060045481604001516107ba919061100e565b60055f6107c5610bf3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2060020181905550610859610810610bf3565b6004547f000000000000000000000000ab09a728e53d3d6bc438be95eed46da0bbe7fb3873ffffffffffffffffffffffffffffffffffffffff16610b6b9092919063ffffffff16565b7f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4610882610bf3565b600454604051610893929190611263565b60405180910390a1506108a4610bea565b565b6108ae610a9e565b6108b75f610bfa565b565b7f000000000000000000000000ab09a728e53d3d6bc438be95eed46da0bbe7fb3881565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61090c610a9e565b8060048190555050565b6005602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b610963610d56565b60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820154815250509050919050565b610a22610a9e565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a92575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610a899190610e53565b60405180910390fd5b610a9b81610bfa565b50565b610aa6610bf3565b73ffffffffffffffffffffffffffffffffffffffff16610ac46108dd565b73ffffffffffffffffffffffffffffffffffffffff1614610b2357610ae7610bf3565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b1a9190610e53565b60405180910390fd5b565b600260015403610b61576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b610be5838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401610b9e929190611263565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610cbb565b505050565b60018081905550565b5f33905090565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f5f60205f8451602086015f885af180610cda576040513d5f823e3d81fd5b3d92505f519150505f8214610cf3576001811415610d0e565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b15610d5057836040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401610d479190610e53565b60405180910390fd5b50505050565b60405180606001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81526020015f81525090565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610db782610d8e565b9050919050565b610dc781610dad565b8114610dd1575f5ffd5b50565b5f81359050610de281610dbe565b92915050565b5f60208284031215610dfd57610dfc610d8a565b5b5f610e0a84828501610dd4565b91505092915050565b5f819050919050565b610e2581610e13565b82525050565b5f602082019050610e3e5f830184610e1c565b92915050565b610e4d81610dad565b82525050565b5f602082019050610e665f830184610e44565b92915050565b610e7581610e13565b8114610e7f575f5ffd5b50565b5f81359050610e9081610e6c565b92915050565b5f60208284031215610eab57610eaa610d8a565b5b5f610eb884828501610e82565b91505092915050565b5f819050919050565b5f610ee4610edf610eda84610d8e565b610ec1565b610d8e565b9050919050565b5f610ef582610eca565b9050919050565b5f610f0682610eeb565b9050919050565b610f1681610efc565b82525050565b5f602082019050610f2f5f830184610f0d565b92915050565b5f606082019050610f485f830186610e44565b610f556020830185610e1c565b610f626040830184610e1c565b949350505050565b610f7381610dad565b82525050565b610f8281610e13565b82525050565b606082015f820151610f9c5f850182610f6a565b506020820151610faf6020850182610f79565b506040820151610fc26040850182610f79565b50505050565b5f606082019050610fdb5f830184610f88565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61101882610e13565b915061102383610e13565b925082820190508082111561103b5761103a610fe1565b5b92915050565b5f61104b82610e13565b915061105683610e13565b925082820390508181111561106e5761106d610fe1565b5b92915050565b5f82825260208201905092915050565b7f416d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f6110b8601d83611074565b91506110c382611084565b602082019050919050565b5f6020820190508181035f8301526110e5816110ac565b9050919050565b5f815190506110fa81610e6c565b92915050565b5f6020828403121561111557611114610d8a565b5b5f611122848285016110ec565b91505092915050565b7f496e73756666696369656e742062616c616e63650000000000000000000000005f82015250565b5f61115f601483611074565b915061116a8261112b565b602082019050919050565b5f6020820190508181035f83015261118c81611153565b9050919050565b7f53656e646572206e6f74207665726966696564000000000000000000000000005f82015250565b5f6111c7601383611074565b91506111d282611193565b602082019050919050565b5f6020820190508181035f8301526111f4816111bb565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e63650000005f82015250565b5f61122f601d83611074565b915061123a826111fb565b602082019050919050565b5f6020820190508181035f83015261125c81611223565b9050919050565b5f6040820190506112765f830185610e44565b6112836020830184610e1c565b939250505056fea2646970667358221220f059b8b48c8367066a40d6cc4db443ec5aa9d36f48d8e08bfde5f611af2cdf7264736f6c634300081e0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.