Source Code
Latest 25 from a total of 2,372,054 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Refund | 30100142 | 2 days ago | IN | 0 ETH | 0.00004132 | ||||
| Refund | 29966642 | 5 days ago | IN | 0 ETH | 0.00000004 | ||||
| Refund | 29884925 | 7 days ago | IN | 0 ETH | 0.00000133 | ||||
| Refund | 29884903 | 7 days ago | IN | 0 ETH | 0.00000169 | ||||
| Refund | 29802751 | 9 days ago | IN | 0 ETH | 0.00000558 | ||||
| Refund | 29802636 | 9 days ago | IN | 0 ETH | 0.0000085 | ||||
| Refund | 29802334 | 9 days ago | IN | 0 ETH | 0.00000976 | ||||
| Refund | 29711174 | 11 days ago | IN | 0 ETH | 0.00001131 | ||||
| Refund | 29709557 | 11 days ago | IN | 0 ETH | 0.00004939 | ||||
| Refund | 29679968 | 12 days ago | IN | 0 ETH | 0.00000097 | ||||
| Refund | 29583164 | 14 days ago | IN | 0 ETH | 0.0000168 | ||||
| Refund | 29551470 | 15 days ago | IN | 0 ETH | 0.00000133 | ||||
| Refund | 29344049 | 20 days ago | IN | 0 ETH | 0.00000006 | ||||
| Refund | 29283402 | 21 days ago | IN | 0 ETH | 0.00000067 | ||||
| Refund | 29194666 | 23 days ago | IN | 0 ETH | 0.00000081 | ||||
| Refund | 29140168 | 25 days ago | IN | 0 ETH | 0.00000065 | ||||
| Refund | 29140083 | 25 days ago | IN | 0 ETH | 0.00000044 | ||||
| Refund | 29113434 | 25 days ago | IN | 0 ETH | 0.00022499 | ||||
| Refund | 29113407 | 25 days ago | IN | 0 ETH | 0.00025858 | ||||
| Refund | 29113396 | 25 days ago | IN | 0 ETH | 0.00025855 | ||||
| Refund | 29113385 | 25 days ago | IN | 0 ETH | 0.0002586 | ||||
| Claim Yield | 29093754 | 26 days ago | IN | 0 ETH | 0.00000012 | ||||
| Claim Yield | 29093750 | 26 days ago | IN | 0 ETH | 0.00000011 | ||||
| Refund | 29093740 | 26 days ago | IN | 0 ETH | 0.00000013 | ||||
| Claim Yield | 29093711 | 26 days ago | IN | 0 ETH | 0.00000011 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 30100142 | 2 days ago | 0.01 ETH | ||||
| 29966642 | 5 days ago | 0.01 ETH | ||||
| 29884925 | 7 days ago | 0.03 ETH | ||||
| 29884903 | 7 days ago | 0.01 ETH | ||||
| 29802751 | 9 days ago | 0.01 ETH | ||||
| 29802636 | 9 days ago | 0.01 ETH | ||||
| 29802334 | 9 days ago | 0.01 ETH | ||||
| 29711174 | 11 days ago | 0.01 ETH | ||||
| 29709557 | 11 days ago | 0.01 ETH | ||||
| 29679968 | 12 days ago | 0.01 ETH | ||||
| 29583164 | 14 days ago | 0.01 ETH | ||||
| 29551470 | 15 days ago | 0.01 ETH | ||||
| 29344049 | 20 days ago | 0.01 ETH | ||||
| 29283402 | 21 days ago | 0.01 ETH | ||||
| 29194666 | 23 days ago | 0.01 ETH | ||||
| 29140168 | 25 days ago | 0.01 ETH | ||||
| 29140083 | 25 days ago | 0.01 ETH | ||||
| 29113434 | 25 days ago | 0.01 ETH | ||||
| 29113407 | 25 days ago | 0.01 ETH | ||||
| 29113396 | 25 days ago | 0.01 ETH | ||||
| 29113385 | 25 days ago | 0.02 ETH | ||||
| 29093740 | 26 days ago | 0.01 ETH | ||||
| 29055214 | 27 days ago | 0.01 ETH | ||||
| 28979196 | 28 days ago | 0.01 ETH | ||||
| 28934333 | 29 days ago | 0.01 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BlastrBoosts
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 300 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.21;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../interfaces/IBlastrStorage.sol";
import "../interfaces/IBlast.sol";
import "../interfaces/IBlastPoints.sol";
contract BlastrBoosts is Ownable, ReentrancyGuard {
IBlastrStorage public blastrStorage;
uint256 public tvl;
mapping(address => mapping(address => uint256)) public boosts; // booster -> collection -> nb of boosts
mapping(address => uint256) public boostsPerAddress; // booster -> nb of boosts
mapping(address => uint256) public balance; // booster -> balance
event Boost(address indexed user, address collection, uint256 quantity, uint256 value);
event Transfer(address indexed user, address from, address to, uint256 quantity);
event Refund(address indexed user, address collection, uint256 quantity, uint256 value);
constructor(
address _storageAddress
) {
blastrStorage = IBlastrStorage(_storageAddress);
IBlast blastYieldContract = IBlast(0x4300000000000000000000000000000000000002);
blastYieldContract.configureAutomaticYield();
blastYieldContract.configureClaimableGas();
IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800).configurePointsOperator(blastrStorage.blastPointsOperator());
}
function claimYield() external nonReentrant onlyOwner {
uint256 _claimableYield = claimableYield();
require(_claimableYield > 0, 'No yield to claim.');
(bool success, ) = payable(blastrStorage.feeCollector()).call{value: _claimableYield}("");
require(success, 'Transfer failed');
}
function claimGasFees(uint256 _minClaimRateBips) external nonReentrant onlyOwner {
IBlast blastYieldContract = IBlast(0x4300000000000000000000000000000000000002);
blastYieldContract.claimGasAtMinClaimRate(address(this), owner(), _minClaimRateBips);
}
function claimableYield() public view returns (uint256) {
return address(this).balance - tvl;
}
function boost(uint256 _quantity, address _collection) public payable {
require(_quantity > 0, "Incorrect quantity");
require(blastrStorage.isCollection(_collection), "Can only boost collection created with BLASTR");
require(boosts[msg.sender][_collection] + _quantity <= blastrStorage.maxBoostsPerAddressPerCollection(), "Max boosts per collection reached");
require(msg.value == _quantity * blastrStorage.boostPrice(), "Incorrect eth value sent");
boosts[msg.sender][_collection] += _quantity;
boostsPerAddress[msg.sender] += _quantity;
balance[msg.sender] += msg.value;
tvl += msg.value;
emit Boost(msg.sender, _collection, _quantity, msg.value);
}
function transfer(uint256 _quantity, address _collectionFrom, address _collectionTo) public {
require(_quantity > 0, "Incorrect quantity");
require(blastrStorage.isCollection(_collectionFrom) && blastrStorage.isCollection(_collectionTo), "Can only transfer boosts for collections created with BLASTR");
require(boosts[msg.sender][_collectionFrom] >= _quantity, "Not enough boosts to transfer");
require(boosts[msg.sender][_collectionTo] + _quantity <= blastrStorage.maxBoostsPerAddressPerCollection(), "Max boosts per collection reached");
boosts[msg.sender][_collectionFrom] -= _quantity;
boosts[msg.sender][_collectionTo] += _quantity;
emit Transfer(msg.sender, _collectionFrom, _collectionTo, _quantity);
}
function refund(address _collection) public {
require(blastrStorage.isCollection(_collection), "Can only refund from a collection created with BLASTR");
require(boosts[msg.sender][_collection] > 0, "No boosts to refund");
uint256 averageBoostPrice = balance[msg.sender] / boostsPerAddress[msg.sender];
uint256 boostsToRefund = boosts[msg.sender][_collection];
uint256 valueToRefund = averageBoostPrice * boostsToRefund;
boosts[msg.sender][_collection] = 0;
boostsPerAddress[msg.sender] -= boostsToRefund;
balance[msg.sender] -= valueToRefund;
tvl -= valueToRefund;
payable(msg.sender).transfer(valueToRefund);
emit Refund(msg.sender, _collection, boostsToRefund, valueToRefund);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../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.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @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 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;
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
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// 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 v4.9.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* 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[EIP 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);
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.21;
enum YieldMode {
AUTOMATIC,
VOID,
CLAIMABLE
}
enum GasMode {
VOID,
CLAIMABLE
}
interface IBlast{
// configure
function configureContract(address contractAddress, YieldMode _yield, GasMode gasMode, address governor) external;
function configure(YieldMode _yield, GasMode gasMode, address governor) external;
// base configuration options
function configureClaimableYield() external;
function configureClaimableYieldOnBehalf(address contractAddress) external;
function configureAutomaticYield() external;
function configureAutomaticYieldOnBehalf(address contractAddress) external;
function configureVoidYield() external;
function configureVoidYieldOnBehalf(address contractAddress) external;
function configureClaimableGas() external;
function configureClaimableGasOnBehalf(address contractAddress) external;
function configureVoidGas() external;
function configureVoidGasOnBehalf(address contractAddress) external;
function configureGovernor(address _governor) external;
function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external;
// claim yield
function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256);
function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256);
// claim gas
function claimAllGas(address contractAddress, address recipientOfGas) external returns (uint256);
function claimGasAtMinClaimRate(address contractAddress, address recipientOfGas, uint256 minClaimRateBips) external returns (uint256);
function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256);
function claimGas(address contractAddress, address recipientOfGas, uint256 gasToClaim, uint256 gasSecondsToConsume) external returns (uint256);
// read functions
function readClaimableYield(address contractAddress) external view returns (uint256);
function readYieldConfiguration(address contractAddress) external view returns (uint8);
function readGasParams(address contractAddress) external view returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, GasMode);
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.21;
interface IBlastPoints {
function configurePointsOperator(address operator) external;
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.21;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
interface IBlastrStorage {
// Events
event FeeCollectorUpdated(address feeCollector);
event ProtocolFeeUpdated(uint256 protocolFee);
event BoostPriceUpdated(uint256 boostPrice);
event NFTContractAddressUpdated(address NFTContractAddress);
event MaxBoostsPerAddressPerCollectionUpdated(uint256 maxBoostsPerAddressPerCollection);
event FactoryAdded(address factoryAddress);
event CollectionAdded(address collectionAddress);
// Function signatures
function addCollection(address _collectionAddress) external;
function addFactory(address _factoryAddress) external;
function updateFeeCollector(address _feeCollector) external;
function updateProtocolFee(uint256 _protocolFee) external;
function updateBoostPrice(uint256 _boostPrice) external;
function updateNFTContractAddress(address _NFTContractAddress) external;
function updateMaxBoostsPerAddressPerCollection(uint256 _maxBoostsPerAddressPerCollection) external;
// Public and external variable getters
function feeCollector() external view returns (address);
function blastPointsOperator() external view returns (address);
function protocolFee() external view returns (uint256);
function referrerFee() external view returns (uint256);
function boostPrice() external view returns (uint256);
function NFTContractAddress() external view returns (address);
function maxBoostsPerAddressPerCollection() external view returns (uint256);
function isCollection(address) external view returns (bool);
function isFactory(address) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 300
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"viaIR": true,
"evmVersion": "paris",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_storageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"collection","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Boost","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"collection","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Refund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blastrStorage","outputs":[{"internalType":"contract IBlastrStorage","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_collection","type":"address"}],"name":"boost","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"boosts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boostsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minClaimRateBips","type":"uint256"}],"name":"claimGasFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimableYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_collection","type":"address"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_collectionFrom","type":"address"},{"internalType":"address","name":"_collectionTo","type":"address"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tvl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080604090808252346200022c57620000346000916200127480380380916200002982856200025b565b83398101906200027f565b81546001600160a01b031980821633908117855585516001600160a01b0394909385929083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08880a3600180551690600254161760025573430000000000000000000000000000000000000290813b15620001a75763388a0bbd60e11b8152838160048183865af1801562000222576200020c575b50803b1562000208578280916004865180948193634e606c4760e01b83525af18015620001e257908391620001ec575b50508060206004926002541685519384809263102b8f8560e21b82525afa918215620001e2578392620001ab575b50732536fe9ab3f511540f2f9e2ec2a805005c3dd80091823b15620001a757906024849283875195869485936336b91f2b60e01b85521660048401525af180156200019d5762000182575b8251610fd39081620002a18239f35b6200018e829162000231565b6200019a578062000173565b80fd5b83513d84823e3d90fd5b8380fd5b620001d291925060203d8111620001da575b620001c981836200025b565b8101906200027f565b903862000128565b503d620001bd565b84513d85823e3d90fd5b620001f79062000231565b62000204578138620000fa565b5080fd5b8280fd5b6200021a9093919362000231565b9138620000ca565b85513d86823e3d90fd5b600080fd5b6001600160401b0381116200024557604052565b634e487b7160e01b600052604160045260246000fd5b601f909101601f19168101906001600160401b038211908210176200024557604052565b908160209103126200022c57516001600160a01b03811681036200022c579056fe6040608081526004908136101561001557600080fd5b600091823560e01c80630e3b014114610ac3578063268e2803146109fd578063406cf2291461087a5780635056d85114610832578063715018a6146107d55780637e1c1757146107ad5780638da5cb5b14610787578063a263a9eb1461075e578063b602b73214610727578063ccb570e314610448578063e3d670d714610411578063e5328e06146103ee578063f2fde38b1461032c5763fa89401a146100bb57600080fd5b346103285760209081600319360112610324576100d6610daf565b916001600160a01b0390602481836002541693875192838092635fa15ebb60e01b825289169687898301525afa90811561031a5787916102ed575b5015610285573386528281528486208287528152848620541561024d57338652600681528486205491600582528587205492831561023a579061016c60069392338a52868452888a20838b528452888a205495869104610f8a565b9433895282528688209088528152868681205533875260058152858720610194848254610eab565b9055338752528385206101a8838254610eab565b90556101b682600354610eab565b6003558480838015610230575b8280929181923390f1156102235761021d7f82c4addd7df9bb5b801dcdeb0a67eb8bda3d9e213af78965d584b0be8cb636609394519283923396846040919493926001600160a01b03606083019616825260208201520152565b0390a280f35b50505051903d90823e3d90fd5b6108fc91506101c3565b634e487b7160e01b885260128552602488fd5b8260649186519162461bcd60e51b83528201526013602482015272139bc8189bdbdcdd1cc81d1bc81c99599d5b99606a1b6044820152fd5b8260849186519162461bcd60e51b8352820152603560248201527f43616e206f6e6c7920726566756e642066726f6d206120636f6c6c656374696f60448201527f6e2063726561746564207769746820424c4153545200000000000000000000006064820152fd5b61030d9150823d8411610313575b6103058183610e1d565b810190610f0f565b38610111565b503d6102fb565b86513d89823e3d90fd5b8380fd5b8280fd5b503461032857602036600319011261032857610346610daf565b9061034f610dc5565b6001600160a01b0380921692831561039c57505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b50503461040d578160031936011261040d576020906003549051908152f35b5080fd5b50503461040d57602036600319011261040d57806020926001600160a01b03610438610daf565b1681526006845220549051908152f35b5034610328576060366003190112610328578035610464610d94565b92604435906001600160a01b038083169485840361072357610487851515610ece565b8160025416835190635fa15ebb60e01b9384835289169182848201526020948582602481865afa918215610719578c926106fa575b50816106b4575b501561064b57338a52828452848a20828b52845286858b2054106106085782908461050089888e3381528685528d82822090825285522054610f27565b91875193848092635c0e742360e11b82525afa9182156105fe578b926105bb575b50916105577fd1398bee19313d6bf672ccb116e51f4a1a947e91c757907f51fbb5b5e56c698f99949261021d9796941115610f34565b338b52818352848b20908b528252838a20610573888254610eab565b9055338a5281528289209189525280872061058f858254610f27565b9055519283923396846040919493929460608201956001600160a01b0380921683521660208201520152565b989391509493918289813d83116105f7575b6105d78183610e1d565b810103126105f357975192979394919390929091610557610521565b8a80fd5b503d6105cd565b86513d8d823e3d90fd5b845162461bcd60e51b8152808401859052601d60248201527f4e6f7420656e6f75676820626f6f73747320746f207472616e736665720000006044820152606490fd5b845162461bcd60e51b8152808401859052603c60248201527f43616e206f6e6c79207472616e7366657220626f6f73747320666f7220636f6c60448201527f6c656374696f6e732063726561746564207769746820424c41535452000000006064820152608490fd5b9050855190815288848201528481602481855afa9081156105fe578b916106dd575b50386104c3565b6106f49150853d8711610313576103058183610e1d565b386106d6565b610712919250863d8811610313576103058183610e1d565b90386104bc565b87513d8e823e3d90fd5b8780fd5b50503461040d57602036600319011261040d57806020926001600160a01b0361074e610daf565b1681526005845220549051908152f35b50503461040d578160031936011261040d576020906107804760035490610eab565b9051908152f35b50503461040d578160031936011261040d576001600160a01b0360209254169051908152f35b50503461040d578160031936011261040d576020906001600160a01b03600254169051908152f35b833461082f578060031936011261082f576107ee610dc5565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b50346103285781600319360112610328576020928291610850610daf565b610858610d94565b916001600160a01b038092168452865283832091168252845220549051908152f35b509034610328578260031936011261032857610894610e55565b61089c610dc5565b6108a94760035490610eab565b9081156109c657836001600160a01b0392836002541693835180956331056e5760e21b8252818860209889935afa9081156109bc57908492918391610980575b50928293918392165af13d1561097b573d67ffffffffffffffff81116109685782519061091f601f8201601f1916860183610e1d565b815285843d92013e5b1561093557836001805580f35b5162461bcd60e51b815291820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260649150fd5b634e487b7160e01b865260418552602486fd5b610928565b80929350878092503d83116109b5575b61099a8183610e1d565b810103126103245751818116810361032457839190826108e9565b503d610990565b85513d86823e3d90fd5b5162461bcd60e51b815260208184015260126024820152712737903cb4b2b632103a379031b630b4b69760711b6044820152606490fd5b509034610328576020366003190112610328576020610a6092610a1e610e55565b610a26610dc5565b84548351630951888f60e01b8152308382019081526001600160a01b03909216602083015291356040820152909384918291606090910190565b0381867343000000000000000000000000000000000000025af1908115610aba5750610a8f575b506001805580f35b602090813d8111610ab3575b610aa58183610e1d565b8101031261082f5738610a87565b503d610a9b565b513d84823e3d90fd5b508160031936011261032857803591610ada610d94565b91610ae6841515610ece565b6001600160a01b0390816002541690835192635fa15ebb60e01b845285169182828501526020938481602481855afa908115610d8a578991610d6d575b5015610d14573388528184528488208389528452610b4487868a2054610f27565b8551635c0e742360e11b81529085828581865afa918215610d0a579184939187938c92610cd0575b5090610b79911115610f34565b865163d05f40f160e01b815292839182905afa8015610cc6578890610c97575b610ba4915087610f8a565b3403610c54577f993a2001796b9d8c514dfd97840a470d9100ecf84f5edc41809b3afcca52d114949261021d9492600692338a5282528389209089528152828820610bf0888254610f27565b905533885260058152828820610c07888254610f27565b905533885252808620610c1b348254610f27565b9055610c2934600354610f27565b6003555191829133953491846040919493926001600160a01b03606083019616825260208201520152565b835162461bcd60e51b8152908101839052601860248201527f496e636f7272656374206574682076616c75652073656e7400000000000000006044820152606490fd5b508381813d8311610cbf575b610cad8183610e1d565b8101031261072357610ba49051610b99565b503d610ca3565b85513d8a823e3d90fd5b945092905083813d8311610d03575b610ce98183610e1d565b81010312610cff57610b79869285945191610b6c565b8980fd5b503d610cdf565b87513d8c823e3d90fd5b845162461bcd60e51b8152808301859052602d60248201527f43616e206f6e6c7920626f6f737420636f6c6c656374696f6e2063726561746560448201526c32103bb4ba3410212620a9aa2960991b6064820152608490fd5b610d849150853d8711610313576103058183610e1d565b38610b23565b86513d8b823e3d90fd5b602435906001600160a01b0382168203610daa57565b600080fd5b600435906001600160a01b0382168203610daa57565b6001600160a01b03600054163303610dd957565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff821117610e3f57604052565b634e487b7160e01b600052604160045260246000fd5b600260015414610e66576002600155565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b91908203918211610eb857565b634e487b7160e01b600052601160045260246000fd5b15610ed557565b60405162461bcd60e51b8152602060048201526012602482015271496e636f7272656374207175616e7469747960701b6044820152606490fd5b90816020910312610daa57518015158103610daa5790565b91908201809211610eb857565b15610f3b57565b60405162461bcd60e51b815260206004820152602160248201527f4d617820626f6f7374732070657220636f6c6c656374696f6e207265616368656044820152601960fa1b6064820152608490fd5b81810292918115918404141715610eb85756fea264697066735822122012fdbe3de8a8eaac6e032f509e6f69b2310471e36e032427789a5c9fe94819b164736f6c63430008150033000000000000000000000000b574b1c4233b61ecf8aa1fa6e6c694c4678ed4ee
Deployed Bytecode
0x6040608081526004908136101561001557600080fd5b600091823560e01c80630e3b014114610ac3578063268e2803146109fd578063406cf2291461087a5780635056d85114610832578063715018a6146107d55780637e1c1757146107ad5780638da5cb5b14610787578063a263a9eb1461075e578063b602b73214610727578063ccb570e314610448578063e3d670d714610411578063e5328e06146103ee578063f2fde38b1461032c5763fa89401a146100bb57600080fd5b346103285760209081600319360112610324576100d6610daf565b916001600160a01b0390602481836002541693875192838092635fa15ebb60e01b825289169687898301525afa90811561031a5787916102ed575b5015610285573386528281528486208287528152848620541561024d57338652600681528486205491600582528587205492831561023a579061016c60069392338a52868452888a20838b528452888a205495869104610f8a565b9433895282528688209088528152868681205533875260058152858720610194848254610eab565b9055338752528385206101a8838254610eab565b90556101b682600354610eab565b6003558480838015610230575b8280929181923390f1156102235761021d7f82c4addd7df9bb5b801dcdeb0a67eb8bda3d9e213af78965d584b0be8cb636609394519283923396846040919493926001600160a01b03606083019616825260208201520152565b0390a280f35b50505051903d90823e3d90fd5b6108fc91506101c3565b634e487b7160e01b885260128552602488fd5b8260649186519162461bcd60e51b83528201526013602482015272139bc8189bdbdcdd1cc81d1bc81c99599d5b99606a1b6044820152fd5b8260849186519162461bcd60e51b8352820152603560248201527f43616e206f6e6c7920726566756e642066726f6d206120636f6c6c656374696f60448201527f6e2063726561746564207769746820424c4153545200000000000000000000006064820152fd5b61030d9150823d8411610313575b6103058183610e1d565b810190610f0f565b38610111565b503d6102fb565b86513d89823e3d90fd5b8380fd5b8280fd5b503461032857602036600319011261032857610346610daf565b9061034f610dc5565b6001600160a01b0380921692831561039c57505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b50503461040d578160031936011261040d576020906003549051908152f35b5080fd5b50503461040d57602036600319011261040d57806020926001600160a01b03610438610daf565b1681526006845220549051908152f35b5034610328576060366003190112610328578035610464610d94565b92604435906001600160a01b038083169485840361072357610487851515610ece565b8160025416835190635fa15ebb60e01b9384835289169182848201526020948582602481865afa918215610719578c926106fa575b50816106b4575b501561064b57338a52828452848a20828b52845286858b2054106106085782908461050089888e3381528685528d82822090825285522054610f27565b91875193848092635c0e742360e11b82525afa9182156105fe578b926105bb575b50916105577fd1398bee19313d6bf672ccb116e51f4a1a947e91c757907f51fbb5b5e56c698f99949261021d9796941115610f34565b338b52818352848b20908b528252838a20610573888254610eab565b9055338a5281528289209189525280872061058f858254610f27565b9055519283923396846040919493929460608201956001600160a01b0380921683521660208201520152565b989391509493918289813d83116105f7575b6105d78183610e1d565b810103126105f357975192979394919390929091610557610521565b8a80fd5b503d6105cd565b86513d8d823e3d90fd5b845162461bcd60e51b8152808401859052601d60248201527f4e6f7420656e6f75676820626f6f73747320746f207472616e736665720000006044820152606490fd5b845162461bcd60e51b8152808401859052603c60248201527f43616e206f6e6c79207472616e7366657220626f6f73747320666f7220636f6c60448201527f6c656374696f6e732063726561746564207769746820424c41535452000000006064820152608490fd5b9050855190815288848201528481602481855afa9081156105fe578b916106dd575b50386104c3565b6106f49150853d8711610313576103058183610e1d565b386106d6565b610712919250863d8811610313576103058183610e1d565b90386104bc565b87513d8e823e3d90fd5b8780fd5b50503461040d57602036600319011261040d57806020926001600160a01b0361074e610daf565b1681526005845220549051908152f35b50503461040d578160031936011261040d576020906107804760035490610eab565b9051908152f35b50503461040d578160031936011261040d576001600160a01b0360209254169051908152f35b50503461040d578160031936011261040d576020906001600160a01b03600254169051908152f35b833461082f578060031936011261082f576107ee610dc5565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b50346103285781600319360112610328576020928291610850610daf565b610858610d94565b916001600160a01b038092168452865283832091168252845220549051908152f35b509034610328578260031936011261032857610894610e55565b61089c610dc5565b6108a94760035490610eab565b9081156109c657836001600160a01b0392836002541693835180956331056e5760e21b8252818860209889935afa9081156109bc57908492918391610980575b50928293918392165af13d1561097b573d67ffffffffffffffff81116109685782519061091f601f8201601f1916860183610e1d565b815285843d92013e5b1561093557836001805580f35b5162461bcd60e51b815291820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260649150fd5b634e487b7160e01b865260418552602486fd5b610928565b80929350878092503d83116109b5575b61099a8183610e1d565b810103126103245751818116810361032457839190826108e9565b503d610990565b85513d86823e3d90fd5b5162461bcd60e51b815260208184015260126024820152712737903cb4b2b632103a379031b630b4b69760711b6044820152606490fd5b509034610328576020366003190112610328576020610a6092610a1e610e55565b610a26610dc5565b84548351630951888f60e01b8152308382019081526001600160a01b03909216602083015291356040820152909384918291606090910190565b0381867343000000000000000000000000000000000000025af1908115610aba5750610a8f575b506001805580f35b602090813d8111610ab3575b610aa58183610e1d565b8101031261082f5738610a87565b503d610a9b565b513d84823e3d90fd5b508160031936011261032857803591610ada610d94565b91610ae6841515610ece565b6001600160a01b0390816002541690835192635fa15ebb60e01b845285169182828501526020938481602481855afa908115610d8a578991610d6d575b5015610d14573388528184528488208389528452610b4487868a2054610f27565b8551635c0e742360e11b81529085828581865afa918215610d0a579184939187938c92610cd0575b5090610b79911115610f34565b865163d05f40f160e01b815292839182905afa8015610cc6578890610c97575b610ba4915087610f8a565b3403610c54577f993a2001796b9d8c514dfd97840a470d9100ecf84f5edc41809b3afcca52d114949261021d9492600692338a5282528389209089528152828820610bf0888254610f27565b905533885260058152828820610c07888254610f27565b905533885252808620610c1b348254610f27565b9055610c2934600354610f27565b6003555191829133953491846040919493926001600160a01b03606083019616825260208201520152565b835162461bcd60e51b8152908101839052601860248201527f496e636f7272656374206574682076616c75652073656e7400000000000000006044820152606490fd5b508381813d8311610cbf575b610cad8183610e1d565b8101031261072357610ba49051610b99565b503d610ca3565b85513d8a823e3d90fd5b945092905083813d8311610d03575b610ce98183610e1d565b81010312610cff57610b79869285945191610b6c565b8980fd5b503d610cdf565b87513d8c823e3d90fd5b845162461bcd60e51b8152808301859052602d60248201527f43616e206f6e6c7920626f6f737420636f6c6c656374696f6e2063726561746560448201526c32103bb4ba3410212620a9aa2960991b6064820152608490fd5b610d849150853d8711610313576103058183610e1d565b38610b23565b86513d8b823e3d90fd5b602435906001600160a01b0382168203610daa57565b600080fd5b600435906001600160a01b0382168203610daa57565b6001600160a01b03600054163303610dd957565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff821117610e3f57604052565b634e487b7160e01b600052604160045260246000fd5b600260015414610e66576002600155565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b91908203918211610eb857565b634e487b7160e01b600052601160045260246000fd5b15610ed557565b60405162461bcd60e51b8152602060048201526012602482015271496e636f7272656374207175616e7469747960701b6044820152606490fd5b90816020910312610daa57518015158103610daa5790565b91908201809211610eb857565b15610f3b57565b60405162461bcd60e51b815260206004820152602160248201527f4d617820626f6f7374732070657220636f6c6c656374696f6e207265616368656044820152601960fa1b6064820152608490fd5b81810292918115918404141715610eb85756fea264697066735822122012fdbe3de8a8eaac6e032f509e6f69b2310471e36e032427789a5c9fe94819b164736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b574b1c4233b61ecf8aa1fa6e6c694c4678ed4ee
-----Decoded View---------------
Arg [0] : _storageAddress (address): 0xb574B1C4233b61ECF8Aa1fa6E6C694C4678ED4ee
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b574b1c4233b61ecf8aa1fa6e6c694c4678ed4ee
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$142,025.40
Net Worth in ETH
47.986398
Token Allocations
ETH
100.00%
USDB
0.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| BLAST | 99.33% | $2,958.93 | 47.6759 | $141,069.8 | |
| BLAST | <0.01% | $0.997879 | 6.0928 | $6.08 | |
| ETH | 0.50% | $2,959.04 | 0.2407 | $712.19 | |
| ARB | 0.10% | $2,958.93 | 0.05 | $148.07 | |
| LINEA | 0.04% | $2,959.04 | 0.0201 | $59.39 | |
| OP | 0.02% | $2,958.98 | 0.01 | $29.59 | |
| BASE | <0.01% | $2,958.98 | 0.00009255 | $0.273854 | |
| TAIKO | <0.01% | $2,959.64 | 0.000002 | $0.005919 |
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.