ETH Price: $1,864.60 (-4.38%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Distribute Funds245128652026-02-22 13:59:3531 hrs ago1771768775IN
0x2CC861aA...4dF76F4a3
0 ETH0.000011590.03976096
Distribute Funds245093472026-02-22 2:13:4743 hrs ago1771726427IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008740.03128616
Distribute Funds245075202026-02-21 20:06:112 days ago1771704371IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008220.03415206
Distribute Funds245027002026-02-21 3:58:352 days ago1771646315IN
0x2CC861aA...4dF76F4a3
0 ETH0.000007440.03194231
Distribute Funds244865312026-02-18 21:52:114 days ago1771451531IN
0x2CC861aA...4dF76F4a3
0 ETH0.000012140.05205046
Distribute Funds244805572026-02-18 1:53:115 days ago1771379591IN
0x2CC861aA...4dF76F4a3
0 ETH0.000007990.03426913
Distribute Funds244429062026-02-12 19:53:2311 days ago1770926003IN
0x2CC861aA...4dF76F4a3
0 ETH0.000020740.08616065
Distribute Funds244361762026-02-11 21:19:5912 days ago1770844799IN
0x2CC861aA...4dF76F4a3
0 ETH0.000018660.06498779
Distribute Funds244241382026-02-10 4:58:4713 days ago1770699527IN
0x2CC861aA...4dF76F4a3
0 ETH0.000007880.03385142
Distribute Funds244141142026-02-08 19:22:1115 days ago1770578531IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008380.03603658
Distribute Funds243978822026-02-06 12:47:4717 days ago1770382067IN
0x2CC861aA...4dF76F4a3
0 ETH0.000076920.27447516
Distribute Funds243953162026-02-06 4:11:3517 days ago1770351095IN
0x2CC861aA...4dF76F4a3
0 ETH0.000112140.42302263
Distribute Funds243790302026-02-03 21:32:3519 days ago1770154355IN
0x2CC861aA...4dF76F4a3
0 ETH0.000116420.44468936
Distribute Funds243428662026-01-29 20:20:5925 days ago1769718059IN
0x2CC861aA...4dF76F4a3
0 ETH0.000036110.12881565
Distribute Funds243322742026-01-28 8:53:4726 days ago1769590427IN
0x2CC861aA...4dF76F4a3
0 ETH0.000022310.09563653
Distribute Funds243236562026-01-27 4:03:4727 days ago1769486627IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008030.03443252
Distribute Funds243180212026-01-26 9:10:3528 days ago1769418635IN
0x2CC861aA...4dF76F4a3
0 ETH0.000011910.04627072
Distribute Funds243165262026-01-26 4:11:1128 days ago1769400671IN
0x2CC861aA...4dF76F4a3
0 ETH0.00000780.02965075
Distribute Funds243119362026-01-25 12:50:3529 days ago1769345435IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008350.03576535
Distribute Funds242559102026-01-17 17:18:4737 days ago1768670327IN
0x2CC861aA...4dF76F4a3
0 ETH0.000007720.03313676
Distribute Funds242210212026-01-12 20:28:4742 days ago1768249727IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008040.03451169
Distribute Funds241879592026-01-08 5:46:1146 days ago1767851171IN
0x2CC861aA...4dF76F4a3
0 ETH0.000007720.03310813
Distribute Funds241872282026-01-08 3:18:5946 days ago1767842339IN
0x2CC861aA...4dF76F4a3
0 ETH0.000008370.03592564
Distribute Funds241771642026-01-06 17:35:3548 days ago1767720935IN
0x2CC861aA...4dF76F4a3
0 ETH0.000044310.17709299
Distribute Funds241614022026-01-04 12:49:1150 days ago1767530951IN
0x2CC861aA...4dF76F4a3
0 ETH0.000010920.04680204
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer245192722026-02-23 11:24:4710 hrs ago1771845887
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245192722026-02-23 11:24:4710 hrs ago1771845887
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245188432026-02-23 9:58:4711 hrs ago1771840727
0x2CC861aA...4dF76F4a3
0.00011827 ETH
Transfer245188432026-02-23 9:58:4711 hrs ago1771840727
0x2CC861aA...4dF76F4a3
0.00011827 ETH
Transfer245175462026-02-23 5:38:3515 hrs ago1771825115
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245175462026-02-23 5:38:3515 hrs ago1771825115
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245152192026-02-22 21:51:2323 hrs ago1771797083
0x2CC861aA...4dF76F4a3
0.0001056 ETH
Transfer245152192026-02-22 21:51:2323 hrs ago1771797083
0x2CC861aA...4dF76F4a3
0.0001056 ETH
Transfer245140572026-02-22 17:58:3527 hrs ago1771783115
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245140572026-02-22 17:58:3527 hrs ago1771783115
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245133662026-02-22 15:40:1129 hrs ago1771774811
0x2CC861aA...4dF76F4a3
0.0001056 ETH
Transfer245133662026-02-22 15:40:1129 hrs ago1771774811
0x2CC861aA...4dF76F4a3
0.0001056 ETH
Transfer245128652026-02-22 13:59:3531 hrs ago1771768775
0x2CC861aA...4dF76F4a3
0.00001267 ETH
Transfer245128652026-02-22 13:59:3531 hrs ago1771768775
0x2CC861aA...4dF76F4a3
0.00001267 ETH
Transfer245112392026-02-22 8:33:3536 hrs ago1771749215
0x2CC861aA...4dF76F4a3
0.00009715 ETH
Transfer245112392026-02-22 8:33:3536 hrs ago1771749215
0x2CC861aA...4dF76F4a3
0.00009715 ETH
Transfer245108202026-02-22 7:08:5938 hrs ago1771744139
0x2CC861aA...4dF76F4a3
0.00008448 ETH
Transfer245108202026-02-22 7:08:5938 hrs ago1771744139
0x2CC861aA...4dF76F4a3
0.00008448 ETH
Transfer245107512026-02-22 6:55:1138 hrs ago1771743311
0x2CC861aA...4dF76F4a3
0.00002112 ETH
Transfer245107512026-02-22 6:55:1138 hrs ago1771743311
0x2CC861aA...4dF76F4a3
0.00002112 ETH
Transfer245100192026-02-22 4:28:4741 hrs ago1771734527
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245100192026-02-22 4:28:4741 hrs ago1771734527
0x2CC861aA...4dF76F4a3
0.00004224 ETH
Transfer245093472026-02-22 2:13:4743 hrs ago1771726427
0x2CC861aA...4dF76F4a3
0.00002534 ETH
Transfer245093472026-02-22 2:13:4743 hrs ago1771726427
0x2CC861aA...4dF76F4a3
0.00002534 ETH
Transfer245091052026-02-22 1:24:4744 hrs ago1771723487
0x2CC861aA...4dF76F4a3
0.00004224 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DistributionWrapper

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "./interfaces/IBlazeAuction.sol";
import "./interfaces/IBlazeStaking.sol";

contract DistributionWrapper is ReentrancyGuard {
    IBlazeAuction public blazeAuction;
    IBlazeStaking public blazeStaking;
    uint32 public stakingStartTimestamp;

    constructor(address _auction, address _staking) {
        require(_auction != address(0), "Invalid auction Addresses");
        require(_staking!= address(0), "Invalid stakingAddresses");
        blazeAuction = IBlazeAuction(_auction);        
        blazeStaking = IBlazeStaking(_staking);        
        stakingStartTimestamp = blazeStaking._deploymentTimeStamp();
    }

    receive() external payable {}

    function distributeFunds() external nonReentrant {
        uint32 currentDay = uint32(((block.timestamp - stakingStartTimestamp) / 1 days) + 1);

        uint256 beforeEthBalance = address(this).balance;

        blazeAuction.claimFees();
        blazeStaking.setFeeRewardsForAllCycle();

        uint256 next8Day = blazeStaking.getNextCycleDistributionDay(8);

        if(currentDay >= next8Day) {
            blazeStaking.distributeFeeRewardsForAll();
        }

        uint256 incentive = address(this).balance - beforeEthBalance;

        (bool sent, ) = payable(msg.sender).call{value: incentive}("");
        require(sent, "Failed to send Ether");
    }

    function claimFees() external nonReentrant {
        blazeAuction.claimFees();
    }

    function setFeeRewardsForAllCycle() external nonReentrant {
        blazeStaking.setFeeRewardsForAllCycle();
    }

    function distributeFeeRewardsForAll() external nonReentrant {
        blazeStaking.distributeFeeRewardsForAll();
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 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: UNLICENSED
pragma solidity 0.8.24;

interface IBlazeAuction {
    function mintBlazeTokensForLP() external;
        
    function claimFees() external;
}

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.24;

interface IBlazeStaking {
    function setFeeRewardsForAllCycle() external;

    function distributeFeeRewardsForAll() external;

    function _deploymentTimeStamp() external view returns (uint32);

    function getNextCycleDistributionDay(uint16) external view returns (uint256);

    function getUser2888BlazeToken(address user, uint256 cycle) external view returns (uint256 blazeTokenStaked);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_auction","type":"address"},{"internalType":"address","name":"_staking","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"blazeAuction","outputs":[{"internalType":"contract IBlazeAuction","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blazeStaking","outputs":[{"internalType":"contract IBlazeStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeFeeRewardsForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFeeRewardsForAllCycle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingStartTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161083c38038061083c83398101604081905261002f916101b5565b60016000556001600160a01b03821661008f5760405162461bcd60e51b815260206004820152601960248201527f496e76616c69642061756374696f6e204164647265737365730000000000000060448201526064015b60405180910390fd5b6001600160a01b0381166100e55760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964207374616b696e6741646472657373657300000000000000006044820152606401610086565b600180546001600160a01b038085166001600160a01b03199283161790925560028054928416929091168217905560408051630c9bd72560e31b815290516364deb928916004808201926020929091908290030181865afa15801561014e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017291906101e8565b600260146101000a81548163ffffffff021916908363ffffffff1602179055505050610215565b80516001600160a01b03811681146101b057600080fd5b919050565b600080604083850312156101c857600080fd5b6101d183610199565b91506101df60208401610199565b90509250929050565b6000602082840312156101fa57600080fd5b815163ffffffff8116811461020e57600080fd5b9392505050565b610618806102246000396000f3fe6080604052600436106100745760003560e01c806386491dd91161004e57806386491dd91461010d578063c2459ca814610122578063c36e60a914610142578063d294f0931461015757600080fd5b80633a6a4d2e146100805780635b2ef37e146100975780637402a85d146100d457600080fd5b3661007b57005b600080fd5b34801561008c57600080fd5b5061009561016c565b005b3480156100a357600080fd5b506002546100b7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100e057600080fd5b506002546100f890600160a01b900463ffffffff1681565b60405163ffffffff90911681526020016100cb565b34801561011957600080fd5b50610095610411565b34801561012e57600080fd5b506001546100b7906001600160a01b031681565b34801561014e57600080fd5b5061009561048b565b34801561016357600080fd5b506100956104e3565b61017461053b565b600254600090620151809061019690600160a01b900463ffffffff164261057b565b6101a09190610594565b6101ab9060016105b6565b6001546040805163d294f09360e01b8152905192935047926001600160a01b039092169163d294f0939160048082019260009290919082900301818387803b1580156101f657600080fd5b505af115801561020a573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b03166001600160a01b03166386491dd96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561025e57600080fd5b505af1158015610272573d6000803e3d6000fd5b505060025460405163a84dd99360e01b815260086004820152600093506001600160a01b03909116915063a84dd99390602401602060405180830381865afa1580156102c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e691906105c9565b9050808363ffffffff161061035e57600260009054906101000a90046001600160a01b03166001600160a01b031663c36e60a96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561034557600080fd5b505af1158015610359573d6000803e3d6000fd5b505050505b600061036a834761057b565b604051909150600090339083908381818185875af1925050503d80600081146103af576040519150601f19603f3d011682016040523d82523d6000602084013e6103b4565b606091505b50509050806104005760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015260640160405180910390fd5b505050505061040f6001600055565b565b61041961053b565b600260009054906101000a90046001600160a01b03166001600160a01b03166386491dd96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561046957600080fd5b505af115801561047d573d6000803e3d6000fd5b5050505061040f6001600055565b61049361053b565b600260009054906101000a90046001600160a01b03166001600160a01b031663c36e60a96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561046957600080fd5b6104eb61053b565b600160009054906101000a90046001600160a01b03166001600160a01b031663d294f0936040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561046957600080fd5b60026000540361055e57604051633ee5aeb560e01b815260040160405180910390fd5b6002600055565b634e487b7160e01b600052601160045260246000fd5b8181038181111561058e5761058e610565565b92915050565b6000826105b157634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561058e5761058e610565565b6000602082840312156105db57600080fd5b505191905056fea2646970667358221220eb75df31752b7dc29c9543838ce31f66cb8929944378e93e29726143e2a4188b64736f6c63430008180033000000000000000000000000200ed69de20fe522d08df5d7ce3d69aba4e02e74000000000000000000000000bc0043bc5b0c394d9d05d49768f9548f8cf9587b

Deployed Bytecode

0x6080604052600436106100745760003560e01c806386491dd91161004e57806386491dd91461010d578063c2459ca814610122578063c36e60a914610142578063d294f0931461015757600080fd5b80633a6a4d2e146100805780635b2ef37e146100975780637402a85d146100d457600080fd5b3661007b57005b600080fd5b34801561008c57600080fd5b5061009561016c565b005b3480156100a357600080fd5b506002546100b7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100e057600080fd5b506002546100f890600160a01b900463ffffffff1681565b60405163ffffffff90911681526020016100cb565b34801561011957600080fd5b50610095610411565b34801561012e57600080fd5b506001546100b7906001600160a01b031681565b34801561014e57600080fd5b5061009561048b565b34801561016357600080fd5b506100956104e3565b61017461053b565b600254600090620151809061019690600160a01b900463ffffffff164261057b565b6101a09190610594565b6101ab9060016105b6565b6001546040805163d294f09360e01b8152905192935047926001600160a01b039092169163d294f0939160048082019260009290919082900301818387803b1580156101f657600080fd5b505af115801561020a573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b03166001600160a01b03166386491dd96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561025e57600080fd5b505af1158015610272573d6000803e3d6000fd5b505060025460405163a84dd99360e01b815260086004820152600093506001600160a01b03909116915063a84dd99390602401602060405180830381865afa1580156102c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e691906105c9565b9050808363ffffffff161061035e57600260009054906101000a90046001600160a01b03166001600160a01b031663c36e60a96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561034557600080fd5b505af1158015610359573d6000803e3d6000fd5b505050505b600061036a834761057b565b604051909150600090339083908381818185875af1925050503d80600081146103af576040519150601f19603f3d011682016040523d82523d6000602084013e6103b4565b606091505b50509050806104005760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015260640160405180910390fd5b505050505061040f6001600055565b565b61041961053b565b600260009054906101000a90046001600160a01b03166001600160a01b03166386491dd96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561046957600080fd5b505af115801561047d573d6000803e3d6000fd5b5050505061040f6001600055565b61049361053b565b600260009054906101000a90046001600160a01b03166001600160a01b031663c36e60a96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561046957600080fd5b6104eb61053b565b600160009054906101000a90046001600160a01b03166001600160a01b031663d294f0936040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561046957600080fd5b60026000540361055e57604051633ee5aeb560e01b815260040160405180910390fd5b6002600055565b634e487b7160e01b600052601160045260246000fd5b8181038181111561058e5761058e610565565b92915050565b6000826105b157634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561058e5761058e610565565b6000602082840312156105db57600080fd5b505191905056fea2646970667358221220eb75df31752b7dc29c9543838ce31f66cb8929944378e93e29726143e2a4188b64736f6c63430008180033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000200ed69de20fe522d08df5d7ce3d69aba4e02e74000000000000000000000000bc0043bc5b0c394d9d05d49768f9548f8cf9587b

-----Decoded View---------------
Arg [0] : _auction (address): 0x200ed69de20Fe522d08dF5d7CE3d69aba4e02e74
Arg [1] : _staking (address): 0xBc0043bc5b0c394D9d05d49768f9548F8CF9587b

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000200ed69de20fe522d08df5d7ce3d69aba4e02e74
Arg [1] : 000000000000000000000000bc0043bc5b0c394d9d05d49768f9548f8cf9587b


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.