ETH Price: $2,884.03 (-1.90%)

Contract

0x1c59529ba394427D9a18A3eF6B8CA38906b8E2dB
 
Transaction Hash
Block
From
To
Withdraw Rewards302899472026-01-26 1:08:295 hrs ago1769389709IN
0x1c59529b...906b8E2dB
0 ETH0.00000040.00000025
Exit Space302184552026-01-24 9:25:2545 hrs ago1769246725IN
0x1c59529b...906b8E2dB
0 ETH0.000000060.00000025
Exit Space301323702026-01-22 9:35:553 days ago1769074555IN
0x1c59529b...906b8E2dB
0 ETH0.000000180.00000025
Withdraw Rewards298850502026-01-16 16:11:559 days ago1768579915IN
0x1c59529b...906b8E2dB
0 ETH0.000001320.0012
Withdraw Rewards298312892026-01-15 10:19:5310 days ago1768472393IN
0x1c59529b...906b8E2dB
0 ETH0.0000120.1
Withdraw Rewards297201092026-01-12 20:33:5313 days ago1768250033IN
0x1c59529b...906b8E2dB
0 ETH0.000001060.00000025
Withdraw Rewards296758392026-01-11 19:58:1314 days ago1768161493IN
0x1c59529b...906b8E2dB
0 ETH0.000000890.00000025
Exit Space296073982026-01-10 5:56:5116 days ago1768024611IN
0x1c59529b...906b8E2dB
0 ETH0.000000630.00000025
Withdraw Rewards294857022026-01-07 10:20:1918 days ago1767781219IN
0x1c59529b...906b8E2dB
0 ETH0.000009190.00100525
Withdraw Rewards291090872025-12-29 17:06:2927 days ago1767027989IN
0x1c59529b...906b8E2dB
0 ETH0.000000460.00000028
Exit Space289771602025-12-26 15:48:5530 days ago1766764135IN
0x1c59529b...906b8E2dB
0 ETH0.000000940.00100025
Exit Space289767642025-12-26 15:35:4330 days ago1766763343IN
0x1c59529b...906b8E2dB
0 ETH0.000005780.00000025
Sell Shares289265822025-12-25 11:42:5931 days ago1766662979IN
0x1c59529b...906b8E2dB
0 ETH0.000000050.00000028
Withdraw Rewards289265672025-12-25 11:42:2931 days ago1766662949IN
0x1c59529b...906b8E2dB
0 ETH0.000000040.00000028
Withdraw Rewards288797782025-12-24 9:42:5132 days ago1766569371IN
0x1c59529b...906b8E2dB
0 ETH0.000000060.00000028
Exit Space288151992025-12-22 21:50:1334 days ago1766440213IN
0x1c59529b...906b8E2dB
0 ETH0.000000040.00000028
Exit Space287553022025-12-21 12:33:3935 days ago1766320419IN
0x1c59529b...906b8E2dB
0 ETH0.000000040.00000028
Withdraw Rewards287027882025-12-20 7:23:1136 days ago1766215391IN
0x1c59529b...906b8E2dB
0 ETH0.000000030.00000026
Withdraw Rewards285009592025-12-15 15:15:3341 days ago1765811733IN
0x1c59529b...906b8E2dB
0 ETH0.000006540.00000028
Exit Space283588182025-12-12 8:17:3144 days ago1765527451IN
0x1c59529b...906b8E2dB
0 ETH0.000000340.00000025
Withdraw Rewards283537012025-12-12 5:26:5745 days ago1765517217IN
0x1c59529b...906b8E2dB
0 ETH0.000000390.00000025
Withdraw Rewards282551622025-12-09 22:42:1947 days ago1765320139IN
0x1c59529b...906b8E2dB
0 ETH0.000058540.00000025
Exit Space282012872025-12-08 16:46:2948 days ago1765212389IN
0x1c59529b...906b8E2dB
0 ETH00.00000066
Sell Shares280901312025-12-06 3:01:1751 days ago1764990077IN
0x1c59529b...906b8E2dB
0 ETH00.0000028
Withdraw Rewards280901102025-12-06 3:00:3551 days ago1764990035IN
0x1c59529b...906b8E2dB
0 ETH00.00000279
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
302899472026-01-26 1:08:295 hrs ago1769389709
0x1c59529b...906b8E2dB
0 ETH
302184552026-01-24 9:25:2545 hrs ago1769246725
0x1c59529b...906b8E2dB
0 ETH
302184552026-01-24 9:25:2545 hrs ago1769246725
0x1c59529b...906b8E2dB
0 ETH
301323702026-01-22 9:35:553 days ago1769074555
0x1c59529b...906b8E2dB
0 ETH
301323702026-01-22 9:35:553 days ago1769074555
0x1c59529b...906b8E2dB
0 ETH
298850502026-01-16 16:11:559 days ago1768579915
0x1c59529b...906b8E2dB
0 ETH
298312892026-01-15 10:19:5310 days ago1768472393
0x1c59529b...906b8E2dB
0 ETH
297201092026-01-12 20:33:5313 days ago1768250033
0x1c59529b...906b8E2dB
0 ETH
296758392026-01-11 19:58:1314 days ago1768161493
0x1c59529b...906b8E2dB
0 ETH
296073982026-01-10 5:56:5116 days ago1768024611
0x1c59529b...906b8E2dB
0 ETH
296073982026-01-10 5:56:5116 days ago1768024611
0x1c59529b...906b8E2dB
0 ETH
294857022026-01-07 10:20:1918 days ago1767781219
0x1c59529b...906b8E2dB
0 ETH
291090872025-12-29 17:06:2927 days ago1767027989
0x1c59529b...906b8E2dB
0 ETH
289771602025-12-26 15:48:5530 days ago1766764135
0x1c59529b...906b8E2dB
0 ETH
289771602025-12-26 15:48:5530 days ago1766764135
0x1c59529b...906b8E2dB
0 ETH
289767642025-12-26 15:35:4330 days ago1766763343
0x1c59529b...906b8E2dB
0 ETH
289767642025-12-26 15:35:4330 days ago1766763343
0x1c59529b...906b8E2dB
0 ETH
289265822025-12-25 11:42:5931 days ago1766662979
0x1c59529b...906b8E2dB
0 ETH
289265822025-12-25 11:42:5931 days ago1766662979
0x1c59529b...906b8E2dB
0 ETH
289265672025-12-25 11:42:2931 days ago1766662949
0x1c59529b...906b8E2dB
0 ETH
288797782025-12-24 9:42:5132 days ago1766569371
0x1c59529b...906b8E2dB
0 ETH
288151992025-12-22 21:50:1334 days ago1766440213
0x1c59529b...906b8E2dB
0 ETH
288151992025-12-22 21:50:1334 days ago1766440213
0x1c59529b...906b8E2dB
0 ETH
287553022025-12-21 12:33:3935 days ago1766320419
0x1c59529b...906b8E2dB
0 ETH
287553022025-12-21 12:33:3935 days ago1766320419
0x1c59529b...906b8E2dB
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SpaceShare

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.21;

import {ISpaceShare} from "./ISpaceShare.sol";
import {IErrors} from "./IErrors.sol";
import {Erc20Utils, IERC20} from "../common/Erc20Utils.sol";
import {ReentrancyGuard} from "../common/ReentrancyGuard.sol";
import {SignatureLib} from "../libraries/SignatureLib.sol";
import {BlastAdapter} from "../BlastAdapter.sol";

/**
 * @title SpaceShare.sol Contract
 * @dev Utilizes OpenZeppelin's Ownable for ownership management.
 * Handles the creation, buying, and selling of shares based on a simple linear pricing model (P = KS + B).
 * A portion of sale proceeds can be allocated as rewards to current share holders.
 * Implements ISpaceShare.sol and IErrors interfaces.
 */
contract SpaceShare is BlastAdapter, IErrors, ReentrancyGuard, ISpaceShare {
    using Erc20Utils for IERC20;
    using SignatureLib for SignatureLib.SignedData;

    /// @dev Struct for tracking holder rewards.
    struct HolderReward {
        uint256 reward; // The accumulated reward amount for the holder.
        uint256 rewardPerSharePaid; // The amount of reward per share that has been paid out (scaled by 10**18).
    }

    // Immutable curve parameters for share pricing.
    uint256 public immutable K; // Slope of the pricing curve.
    uint256 public immutable B; // Y-intercept of the pricing curve.

    IERC20 public immutable OLE; // The OLE token used for transactions.
    address public protocolFeeDestination; // Address where protocol fees are sent.
    uint16 public protocolFeePercent; // Protocol fee percentage (e.g., 500 for 5%).
    uint16 public holderFeePercent; // Holder fee percentage (e.g., 500 for 5%).

    // Signature-related variables for buy share operation.
    address public signIssuerAddress; // Address authorized to issue buy permissions.
    uint256 public signValidDuration; // Time duration in seconds for which a signature remains valid.

    // Mappings for managing shares and rewards.
    mapping(uint256 spaceId => uint256 supply) public sharesSupply; // Mapping of spaceId to shares supply.
    mapping(uint256 spaceId => mapping(address holder => uint256 balance)) public sharesBalance; // Mapping of spaceId and holder address to share balance.
    mapping(uint256 spaceId => uint256 reward) public rewardPerShareStored; // Mapping of spaceId to per share reward stored (scaled by 10**18).
    mapping(uint256 spaceId => mapping(address holder => HolderReward)) public holderSharesReward; // Mapping of spaceId and holder address to holder rewards.

    uint256 public spaceIdx; // Index to track the current space.

    /**
     * @notice Constructor to create SpaceShare.sol contract instance.
     * @param _ole Address of the OLE token contract.
     * @param _signIssuerAddress Address authorized to issue buy permissions.
     * @param _signValidDuration Time duration in seconds for which a signature remains valid.
     * @param _k Slope parameter (K) for the share pricing curve.
     * @param _b Y-intercept parameter (B) for the share pricing curve.
     */
    constructor(IERC20 _ole, address _signIssuerAddress, uint256 _signValidDuration, uint256 _k, uint256 _b) {
        OLE = _ole;
        if (_signIssuerAddress == address(0)) revert ZeroAddress();
        signIssuerAddress = _signIssuerAddress;
        signValidDuration = _signValidDuration;
        K = _k;
        B = _b;
    }

    /**
     * @notice Creates a new space and increments the space index.
     */
    function createSpace() external override {
        uint256 spaceId = ++spaceIdx;
        emit SpaceCreated(spaceId, _msgSender());
        _buyShares(spaceId, 1, 0, _msgSender());
    }

    /**
     * @notice Allows users to buy shares for a specific space.
     * @dev Requires valid signature for buy permission. Transfers payment token and updates balances and supplies.
     * @param spaceId The ID of the space to buy shares in.
     * @param shares The number of shares to buy.
     * @param maxInAmount The maximum payment token amount the buyer is willing to spend.
     * @param timestamp The timestamp when the signature was created.
     * @param signature The signature proving the permission to buy.
     */
    function buyShares(uint256 spaceId, uint256 shares, uint256 maxInAmount, uint256 timestamp, bytes memory signature) external override {
        SignatureLib.SignedData memory signedData = SignatureLib.SignedData(_msgSender(), timestamp, spaceId);
        if (!signedData.verify(signature, signIssuerAddress, signValidDuration)) revert InvalidSignature();
        _buyShares(spaceId, shares, maxInAmount, _msgSender());
    }

    function buySharesTo(uint256 spaceId, uint256 shares, uint256 maxInAmount, uint256 timestamp, bytes memory signature, address to) external override {
        SignatureLib.SignedData memory signedData = SignatureLib.SignedData(to, timestamp, spaceId);
        if (!signedData.verify(signature, signIssuerAddress, signValidDuration)) revert InvalidSignature();
        _buyShares(spaceId, shares, maxInAmount, to);
    }

    /**
     * @notice Allows share holders to sell their shares.
     * @dev Calculates sell price and transfers payment token to seller.
     * @param spaceId The ID of the space to sell shares from.
     * @param shares The number of shares to sell.
     * @param minOutAmount The minimum amount of tokens the seller is willing to receive.
     */
    function sellShares(uint256 spaceId, uint256 shares, uint256 minOutAmount) external override {
        uint256 outAmount = _sellShares(spaceId, shares, minOutAmount);
        OLE.transferOut(_msgSender(), outAmount);
    }

    /**
     * @notice Withdraws accumulated rewards for the caller across multiple spaces.
     * @dev Iterates over an array of space IDs and accumulates the rewards for each space. Transfers the total accumulated rewards to the caller.
     * @param spaceIds An array of space IDs for which the rewards are to be withdrawn.
     */
    function withdrawRewards(uint256[] memory spaceIds) external override {
        uint256 reward;
        uint len = spaceIds.length;
        for (uint i = 0; i < len; i++) {
            reward += _withdrawReward(spaceIds[i]);
        }
        OLE.transferOut(_msgSender(), reward);
    }

    /**
     * @notice Exits a space by selling all shares and withdrawing rewards.
     * @dev A convenience function for users to liquidate shares and collect rewards in a single transaction.
     * @param spaceId The ID of the space to exit.
     * @param minOutAmount The minimum amount of tokens the seller is willing to receive for their shares.
     */
    function exitSpace(uint256 spaceId, uint256 minOutAmount) external override {
        uint256 outAmount = _sellShares(spaceId, sharesBalance[spaceId][_msgSender()], minOutAmount);
        uint reward = _withdrawReward(spaceId);
        OLE.transferOut(_msgSender(), outAmount + reward);
    }

    function getRewards(uint256[] memory spaceIds, address holder) external view override returns (uint256 reward) {
        uint len = spaceIds.length;
        for (uint i = 0; i < len; i++) {
            reward += _getHolderReward(spaceIds[i], holder);
        }
    }

    function setProtocolFeeDestination(address _protocolFeeDestination) external override onlyOwner {
        if (_protocolFeeDestination == address(0)) revert ZeroAddress();
        protocolFeeDestination = _protocolFeeDestination;
        emit ProtocolFeeDestinationChanged(_protocolFeeDestination);
    }

    function setFees(uint16 _protocolFeePercent, uint16 _holderFeePercent) external override onlyOwner {
        // the total fee percent must le 50%
        if (_protocolFeePercent + _holderFeePercent > 50) revert InvalidParam();
        protocolFeePercent = _protocolFeePercent;
        holderFeePercent = _holderFeePercent;
        emit FeesChanged(_protocolFeePercent, _holderFeePercent);
    }

    function setSignConf(address _signIssuerAddress, uint256 _signValidDuration) external override onlyOwner {
        if (_signIssuerAddress == address(0)) revert ZeroAddress();
        if (_signValidDuration == 0) revert InvalidParam();
        signIssuerAddress = _signIssuerAddress;
        signValidDuration = _signValidDuration;
        emit SignConfChanged(_signIssuerAddress, _signValidDuration);
    }

    function getBuyPrice(uint256 spaceId, uint256 amount) external view override returns (uint256) {
        return _getPrice(sharesSupply[spaceId], amount, K, B);
    }

    function getSellPrice(uint256 spaceId, uint256 amount) external view override returns (uint256) {
        return _getPrice(sharesSupply[spaceId] - amount, amount, K, B);
    }

    function getBuyPriceWithFees(uint256 spaceId, uint256 amount) external view override returns (uint256) {
        uint256 price = _getPrice(sharesSupply[spaceId], amount, K, B);
        (uint256 protocolFee, uint256 holderFee) = _getFees(price);
        return price + protocolFee + holderFee;
    }

    function getSellPriceWithFees(uint256 spaceId, uint256 amount) external view override returns (uint256) {
        uint256 price = _getPrice(sharesSupply[spaceId] - amount, amount, K, B);
        (uint256 protocolFee, uint256 holderFee) = _getFees(price);
        return price - protocolFee - holderFee;
    }

    function _buyShares(uint256 spaceId, uint256 shares, uint256 maxInAmount, address to) internal {
        if (shares == 0) revert ZeroAmount();
        if (spaceId > spaceIdx) revert SpaceNotExists();
        uint256 supply = sharesSupply[spaceId];
        uint256 price = _getPrice(supply, shares, K, B);
        (uint256 protocolFee, uint256 holderFee) = _getFees(price);
        uint256 priceWithFees = price + protocolFee + holderFee;
        if (priceWithFees > maxInAmount) revert InsufficientInAmount();
        if (priceWithFees > 0 && priceWithFees != OLE.safeTransferIn(_msgSender(), priceWithFees)) revert InsufficientInAmount();
        _updateSharesReward(spaceId, holderFee, to);
        sharesBalance[spaceId][to] += shares;
        uint256 totalSupply = supply + shares;
        sharesSupply[spaceId] = totalSupply;
        emit Trade(spaceId, to, true, shares, price, protocolFee, holderFee, totalSupply);
        _collectFees(protocolFee);
    }

    function _sellShares(uint256 spaceId, uint256 shares, uint256 minOutAmount) internal returns (uint256 outAmount) {
        if (shares == 0) revert ZeroAmount();
        if (spaceId > spaceIdx) revert SpaceNotExists();
        uint256 supply = sharesSupply[spaceId];
        address trader = _msgSender();
        if (shares >= supply) revert CannotSellLastShare();
        if (shares > sharesBalance[spaceId][trader]) revert InsufficientShares();
        uint256 price = _getPrice(supply - shares, shares, K, B);
        (uint256 protocolFee, uint256 holderFee) = _getFees(price);
        outAmount = price - protocolFee - holderFee;
        if (outAmount < minOutAmount) revert InsufficientOutAmount();
        _updateHolderReward(spaceId, trader);
        uint256 totalSupply;
        unchecked {
            sharesBalance[spaceId][trader] -= shares;
            totalSupply = supply - shares;
        }
        sharesSupply[spaceId] = totalSupply;
        _updateSharesReward(spaceId, holderFee, trader);
        emit Trade(spaceId, trader, false, shares, price, protocolFee, holderFee, totalSupply);
        _collectFees(protocolFee);
    }

    function _withdrawReward(uint256 spaceId) internal returns (uint256 reward) {
        address holder = _msgSender();
        _updateHolderReward(spaceId, holder);
        reward = holderSharesReward[spaceId][holder].reward;
        if (reward == 0) revert NoRewards();
        holderSharesReward[spaceId][holder].reward = 0;
        emit WithdrawReward(holder, spaceId, reward);
    }

    function _getPrice(uint256 supply, uint256 amount, uint256 k, uint256 b) internal pure returns (uint256) {
        uint256 sum1 = supply == 0 ? 0 : (((k + b) + (supply - 1) * k + b) * (supply - 1)) / 2;
        uint256 sum2 = supply == 0 && amount == 1 ? 0 : (((k + b) + (supply + amount - 1) * k + b) * (supply + amount - 1)) / 2;
        return sum2 - sum1;
    }

    function _getFees(uint256 price) internal view returns (uint256 protocolFee, uint256 holderFee) {
        protocolFee = (price * protocolFeePercent) / 100;
        holderFee = (price * holderFeePercent) / 100;
    }

    function _collectFees(uint256 protocolFee) internal {
        if (protocolFee > 0) {
            OLE.transferOut(protocolFeeDestination, protocolFee);
        }
    }

    function _updateSharesReward(uint256 spaceId, uint256 newReward, address holder) internal {
        if (newReward > 0 && sharesSupply[spaceId] > 0) {
            rewardPerShareStored[spaceId] += (newReward * (1 ether)) / sharesSupply[spaceId];
        }
        _updateHolderReward(spaceId, holder);
    }

    function _updateHolderReward(uint256 spaceId, address holder) internal {
        holderSharesReward[spaceId][holder].reward = _getHolderReward(spaceId, holder);
        holderSharesReward[spaceId][holder].rewardPerSharePaid = rewardPerShareStored[spaceId];
    }

    function _getHolderReward(uint256 spaceId, address holder) internal view returns (uint256) {
        uint256 holderBalance = sharesBalance[spaceId][holder];
        uint256 perShareStored = rewardPerShareStored[spaceId];
        uint256 holderPerSharePaid = holderSharesReward[spaceId][holder].rewardPerSharePaid;
        uint256 holderReward = holderSharesReward[spaceId][holder].reward;
        return (holderBalance * (perShareStored - holderPerSharePaid)) / (1 ether) + holderReward;
    }
}

// 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.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 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 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 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 Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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.
     */
    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.
     */
    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 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).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            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 silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

// 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: UNLICENSED
pragma solidity 0.8.21;

interface IBlast {
    enum YieldMode {
        AUTOMATIC,
        DISABLED,
        CLAIMABLE
    }

    enum GasMode {
        VOID,
        CLAIMABLE
    }

    // 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.0;

import {Ownable} from "@openzeppelin-5/contracts/access/Ownable.sol";
import {IBlast} from "./blast/IBlast.sol";
import {IBlastPoints} from "./blast/IBlastPoints.sol";

contract BlastAdapter is Ownable {
    constructor() Ownable(_msgSender()) {}

    function enableClaimable(address gov) public onlyOwner {
        IBlast(0x4300000000000000000000000000000000000002).configure(IBlast.YieldMode.CLAIMABLE, IBlast.GasMode.CLAIMABLE, gov);
        IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800).configurePointsOperator(gov);
    }
}

// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.21;

import {SafeERC20, IERC20} from "@openzeppelin-5/contracts/token/ERC20/utils/SafeERC20.sol";
import {IWETH} from "../common/IWETH.sol";

library Erc20Utils {
    error ETHTransferFailed();
    using SafeERC20 for IERC20;

    function balanceOfThis(IERC20 token) internal view returns (uint256) {
        return token.balanceOf(address(this));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        token.forceApprove(spender, value);
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 amount) internal returns (uint256) {
        uint256 balance = balanceOfThis(token);
        token.safeTransferFrom(from, to, amount);
        return balanceOfThis(token) - balance;
    }

    function safeTransferIn(IERC20 token, address from, uint256 amount) internal returns (uint256) {
        uint256 balance = balanceOfThis(token);
        token.safeTransferFrom(from, address(this), amount);
        return balanceOfThis(token) - balance;
    }

    function transferOut(IERC20 token, address to, uint256 amount) internal {
        token.safeTransfer(to, amount);
    }

    function uniTransferOut(IERC20 token, address to, uint256 amount, address weth) internal {
        if (address(token) == weth) {
            IWETH(weth).withdraw(amount);
            (bool success, ) = to.call{value: amount}("");
            if (!success) revert ETHTransferFailed();
        } else {
            transferOut(token, to, amount);
        }
    }
}

// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.21;

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256) external;
}

File 13 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.8.21;

contract ReentrancyGuard {
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    modifier nonReentrant() {
        check();
        _status = _ENTERED;

        _;

        _status = _NOT_ENTERED;
    }

    function check() private view {
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

library SignatureLib {
    struct SignedData {
        address user;
        uint256 timestamp;
        uint256 spaceId;
    }

    function verify(SignedData memory signedData, bytes memory signature, address issuerAddress, uint256 validDuration) internal view returns (bool) {
        require(block.timestamp <= signedData.timestamp + validDuration, "Signature is expired");

        bytes32 dataHash = keccak256(abi.encodePacked(signedData.user, signedData.timestamp, signedData.spaceId));
        bytes32 message = prefixed(dataHash);

        address signer = recoverSigner(message, signature);
        return signer == issuerAddress;
    }

    function recoverSigner(bytes32 message, bytes memory sig) internal pure returns (address) {
        (uint8 v, bytes32 r, bytes32 s) = splitSignature(sig);
        return ecrecover(message, v, r, s);
    }

    function splitSignature(bytes memory sig) internal pure returns (uint8, bytes32, bytes32) {
        require(sig.length == 65, "Invalid signature length");

        bytes32 r;
        bytes32 s;
        uint8 v;

        assembly {
            r := mload(add(sig, 32))
            s := mload(add(sig, 64))
            v := byte(0, mload(add(sig, 96)))
        }

        return (v, r, s);
    }

    function prefixed(bytes32 hash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

File 15 of 16 : IErrors.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.21;

interface IErrors {
    error InvalidSignature();
    error ZeroAddress();
    error SpaceNotExists();
    error CannotSellLastShare();
    error InsufficientShares();
    error InsufficientInAmount();
    error InsufficientOutAmount();
    error NoRewards();
    error ZeroAmount();
    error InvalidParam();
}

// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.21;

interface ISpaceShare {
    event SpaceCreated(uint256 spaceId, address creator);

    event Trade(uint256 spaceId, address trader, bool isBuy, uint256 shares, uint256 price, uint256 protocolFee, uint256 holderFee, uint256 supply);

    event WithdrawReward(address holder, uint256 spaceId, uint256 reward);

    event ProtocolFeeDestinationChanged(address newProtocolFeeDestination);

    event FeesChanged(uint256 newProtocolFeePercent, uint256 newHolderFeePercent);

    event SignConfChanged(address newIssuerAddress, uint256 newSignValidDuration);

    function createSpace() external;

    function buyShares(uint256 spaceId, uint256 shares, uint256 maxInAmount, uint256 timestamp, bytes memory signature) external;

    function buySharesTo(uint256 spaceId, uint256 shares, uint256 maxInAmount, uint256 timestamp, bytes memory signature, address to) external;

    function sellShares(uint256 spaceId, uint256 shares, uint256 minOutAmount) external;

    function withdrawRewards(uint256[] memory spaceIds) external;

    function exitSpace(uint256 spaceId, uint256 minOutAmount) external;

    // owner function
    function setProtocolFeeDestination(address _protocolFeeDestination) external;

    function setFees(uint16 _protocolFeePercent, uint16 _holderFeePercent) external;

    function setSignConf(address _issuerAddress, uint256 _signValidDuration) external;

    // view function
    function getBuyPrice(uint256 spaceId, uint256 amount) external view returns (uint256);

    function getSellPrice(uint256 spaceId, uint256 amount) external view returns (uint256);

    function getBuyPriceWithFees(uint256 spaceId, uint256 amount) external view returns (uint256);

    function getSellPriceWithFees(uint256 spaceId, uint256 amount) external view returns (uint256);

    function getRewards(uint256[] memory spaceIds, address holder) external view returns (uint256 reward);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"_ole","type":"address"},{"internalType":"address","name":"_signIssuerAddress","type":"address"},{"internalType":"uint256","name":"_signValidDuration","type":"uint256"},{"internalType":"uint256","name":"_k","type":"uint256"},{"internalType":"uint256","name":"_b","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"CannotSellLastShare","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InsufficientInAmount","type":"error"},{"inputs":[],"name":"InsufficientOutAmount","type":"error"},{"inputs":[],"name":"InsufficientShares","type":"error"},{"inputs":[],"name":"InvalidParam","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"NoRewards","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"SpaceNotExists","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroAmount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newProtocolFeePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newHolderFeePercent","type":"uint256"}],"name":"FeesChanged","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":false,"internalType":"address","name":"newProtocolFeeDestination","type":"address"}],"name":"ProtocolFeeDestinationChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newIssuerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"newSignValidDuration","type":"uint256"}],"name":"SignConfChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"spaceId","type":"uint256"},{"indexed":false,"internalType":"address","name":"creator","type":"address"}],"name":"SpaceCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"spaceId","type":"uint256"},{"indexed":false,"internalType":"address","name":"trader","type":"address"},{"indexed":false,"internalType":"bool","name":"isBuy","type":"bool"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"holderFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"Trade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"uint256","name":"spaceId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"WithdrawReward","type":"event"},{"inputs":[],"name":"B","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"K","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OLE","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"maxInAmount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"buyShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"maxInAmount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"to","type":"address"}],"name":"buySharesTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createSpace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"gov","type":"address"}],"name":"enableClaimable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"minOutAmount","type":"uint256"}],"name":"exitSpace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyPriceWithFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"spaceIds","type":"uint256[]"},{"internalType":"address","name":"holder","type":"address"}],"name":"getRewards","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSellPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSellPriceWithFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holderFeePercent","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"address","name":"holder","type":"address"}],"name":"holderSharesReward","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"uint256","name":"rewardPerSharePaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeeDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeePercent","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"}],"name":"rewardPerShareStored","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"minOutAmount","type":"uint256"}],"name":"sellShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_protocolFeePercent","type":"uint16"},{"internalType":"uint16","name":"_holderFeePercent","type":"uint16"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_protocolFeeDestination","type":"address"}],"name":"setProtocolFeeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signIssuerAddress","type":"address"},{"internalType":"uint256","name":"_signValidDuration","type":"uint256"}],"name":"setSignConf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"},{"internalType":"address","name":"holder","type":"address"}],"name":"sharesBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spaceId","type":"uint256"}],"name":"sharesSupply","outputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"signIssuerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"signValidDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spaceIdx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"spaceIds","type":"uint256[]"}],"name":"withdrawRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b50604051620021ca380380620021ca833981016040819052620000349162000136565b33806200005b57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6200006681620000cd565b50600180556001600160a01b0380861660c0528416620000995760405163d92e233d60e01b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b03959095169490941790935560049190915560805260a052506200018e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146200013357600080fd5b50565b600080600080600060a086880312156200014f57600080fd5b85516200015c816200011d565b60208701519095506200016f816200011d565b6040870151606088015160809098015196999198509695945092505050565b60805160a05160c051611f9562000235600039600081816103170152818161065f015281816106e101528181610b910152818161133501526116180152600081816102150152818161052a015281816105c6015281816107d801528181610ab001528181610f1e01526112b401526000818161037f01528181610509015281816105a5015281816107b701528181610a8f01528181610efd01526112930152611f956000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80639ef833d41161010f578063d67c6872116100a2578063e0a439e111610071578063e0a439e1146104af578063f2fde38b146104c2578063fb2f897a146104d5578063fe17307d146104e857600080fd5b8063d67c687214610415578063d6e6eb9f14610428578063db2495611461043d578063dfe641c61461048457600080fd5b8063be4d0ae7116100de578063be4d0ae7146103b4578063c157253d146103c7578063c569aec6146103da578063c93595ba1461040257600080fd5b80639ef833d414610354578063a10786b014610367578063a932492f1461037a578063ae88ae22146103a157600080fd5b80635e8b9c62116101875780638da5cb5b116101565780638da5cb5b1461030157806391df383f146103125780639477d85d1461033957806397eb6f181461034c57600080fd5b80635e8b9c62146102bd578063626b9a30146102dd578063715018a6146102f05780637bec25ba146102f857600080fd5b80633d5926e0116101c35780633d5926e01461024a57806340e104a71461025f5780634ce7957c1461027f5780635c335f07146102aa57600080fd5b806331f6c04f146101ea57806332e7c5bf146102105780633a214e7b14610237575b600080fd5b6101fd6101f83660046119df565b6104f1565b6040519081526020015b60405180910390f35b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6101fd6102453660046119df565b610582565b61025d6102583660046119df565b610612565b005b6101fd61026d366004611a01565b60056020526000908152604090205481565b600254610292906001600160a01b031681565b6040516001600160a01b039091168152602001610207565b61025d6102b8366004611ad6565b61068c565b6101fd6102cb366004611a01565b60076020526000908152604090205481565b61025d6102eb366004611b9f565b610715565b61025d610782565b6101fd60095481565b6000546001600160a01b0316610292565b6102927f000000000000000000000000000000000000000000000000000000000000000081565b6101fd6103473660046119df565b610796565b61025d610803565b61025d610362366004611c24565b61086f565b61025d610375366004611c57565b61091c565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b600354610292906001600160a01b031681565b61025d6103c2366004611c57565b61099f565b6101fd6103d53660046119df565b610a79565b6002546103ef90600160b01b900461ffff1681565b60405161ffff9091168152602001610207565b61025d610410366004611c72565b610ad4565b61025d610423366004611c9c565b610b7d565b6002546103ef90600160a01b900461ffff1681565b61046f61044b366004611cc8565b60086020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610207565b6101fd610492366004611cc8565b600660209081526000928352604080842090915290825290205481565b61025d6104bd366004611ceb565b610bc0565b61025d6104d0366004611c57565b610c39565b6101fd6104e3366004611d4f565b610c79565b6101fd60045481565b600082815260056020526040812054819061054e90847f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cd1565b905060008061055c83610dd9565b90925090508061056c8385611daa565b6105769190611daa565b93505050505b92915050565b60008281526005602052604081205481906105ea906105a2908590611dbd565b847f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cd1565b90506000806105f883610dd9565b9092509050806106088385611dbd565b6105769190611dbd565b600082815260066020908152604080832033845290915281205461063890849084610e32565b9050600061064584611038565b9050610686336106558385611daa565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906110f5565b50505050565b8051600090815b818110156106db576106bd8482815181106106b0576106b0611dd0565b6020026020010151611038565b6106c79084611daa565b9250806106d381611de6565b915050610693565b506107107f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633846110f5565b505050565b604080516060810182526001600160a01b03808416825260208201869052918101889052600354600454919261075092849287921690611109565b61076d57604051638baa579f60e01b815260040160405180910390fd5b61077987878785611238565b50505050505050565b61078a611445565b6107946000611472565b565b6000828152600560205260408120546107fc906107b4908490611dbd565b837f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cd1565b9392505050565b600060096000815461081490611de6565b918290555090507fb86ecf9543f771ac118830339392a31c2ef19181bb1f831fa033235771791aa18133604080519283526001600160a01b0390911660208301520160405180910390a161086c816001600033611238565b50565b610877611445565b60326108838284611dff565b61ffff1611156108a657604051633494a40d60e21b815260040160405180910390fd5b6002805463ffffffff60a01b1916600160a01b61ffff85811691820261ffff60b01b191692909217600160b01b928516928302179092556040805192835260208301919091527f64f84976d9c917a44796104a59950fdbd9b3c16a5dd348b546d738301f6bd06891015b60405180910390a15050565b610924611445565b6001600160a01b03811661094b5760405163d92e233d60e01b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527f03be36bcf98b7aa9de4bce1775556499481bad492ebc3c054cfc1ba936be79429060200160405180910390a150565b6109a7611445565b60405163c8992e6160e01b81526002604360981b019063c8992e61906109d7906002906001908690600401611e37565b600060405180830381600087803b1580156109f157600080fd5b505af1158015610a05573d6000803e3d6000fd5b50506040516336b91f2b60e01b81526001600160a01b0384166004820152732536fe9ab3f511540f2f9e2ec2a805005c3dd80092506336b91f2b9150602401600060405180830381600087803b158015610a5e57600080fd5b505af1158015610a72573d6000803e3d6000fd5b5050505050565b6000828152600560205260408120546107fc90837f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cd1565b610adc611445565b6001600160a01b038216610b035760405163d92e233d60e01b815260040160405180910390fd5b80600003610b2457604051633494a40d60e21b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b038416908117909155600482905560408051918252602082018390527f3bb72d6a29eb887a817c72b0c30127844d1d64cb0f648b645c1e51f4db87f9759101610910565b6000610b8a848484610e32565b90506106867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633836110f5565b60006040518060600160405280610bd43390565b6001600160a01b039081168252602082018690526040909101889052600354600454929350610c0892849286921690611109565b610c2557604051638baa579f60e01b815260040160405180910390fd5b610c3186868633611238565b505050505050565b610c41611445565b6001600160a01b038116610c7057604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61086c81611472565b8151600090815b81811015610cc957610cab858281518110610c9d57610c9d611dd0565b6020026020010151856114c2565b610cb59084611daa565b925080610cc181611de6565b915050610c80565b505092915050565b6000808515610d35576002610ce7600188611dbd565b8486610cf460018b611dbd565b610cfe9190611e7d565b610d088789611daa565b610d129190611daa565b610d1c9190611daa565b610d269190611e7d565b610d309190611e94565b610d38565b60005b9050600086158015610d4a5750856001145b610dbf5760026001610d5c888a611daa565b610d669190611dbd565b85876001610d748b8d611daa565b610d7e9190611dbd565b610d889190611e7d565b610d92888a611daa565b610d9c9190611daa565b610da69190611daa565b610db09190611e7d565b610dba9190611e94565b610dc2565b60005b9050610dce8282611dbd565b979650505050505050565b6002546000908190606490610df990600160a01b900461ffff1685611e7d565b610e039190611e94565b600254909250606490610e2190600160b01b900461ffff1685611e7d565b610e2b9190611e94565b9050915091565b600082600003610e5557604051631f2a200560e01b815260040160405180910390fd5b600954841115610e7857604051630a7a134960e41b815260040160405180910390fd5b60008481526005602052604090205433818510610ea85760405163b4abda3960e01b815260040160405180910390fd5b60008681526006602090815260408083206001600160a01b0385168452909152902054851115610eeb57604051633999656760e01b815260040160405180910390fd5b6000610f42610efa8785611dbd565b877f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cd1565b9050600080610f5083610dd9565b909250905080610f608385611dbd565b610f6a9190611dbd565b955086861015610f8d576040516357084d7360e11b815260040160405180910390fd5b610f97898561153c565b60008981526006602090815260408083206001600160a01b0388168452825280832080548c900390558b83526005909152902088860390819055610fdc8a8387611586565b7fde591d71e0512084bda1a19d0b8443290021b1257bb5f5b26e66a5aec52784f48a8660008c8888888860405161101a989796959493929190611eb6565b60405180910390a161102b83611601565b5050505050509392505050565b600033611045838261153c565b60008381526008602090815260408083206001600160a01b0385168452909152812054925082900361108a57604051630fec21fd60e21b815260040160405180910390fd5b60008381526008602090815260408083206001600160a01b03851680855290835281842093909355805192835290820185905281018390527f48f1e4b8fb0469595617480e6784e40ab6b8c49209761b8e09305bf7b73e53de9060600160405180910390a150919050565b6107106001600160a01b0384168383611641565b600081856020015161111b9190611daa565b4211156111615760405162461bcd60e51b815260206004820152601460248201527314da59db985d1d5c99481a5cc8195e1c1a5c995960621b6044820152606401610c67565b8451602080870151604080890151905160609490941b6bffffffffffffffffffffffff19169284019290925260348301526054820152600090607401604051602081830303815290604052805190602001209050600061120e826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050600061121c82886116a0565b6001600160a01b03908116908716149350505050949350505050565b8260000361125957604051631f2a200560e01b815260040160405180910390fd5b60095484111561127c57604051630a7a134960e41b815260040160405180910390fd5b600084815260056020526040812054906112d882867f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cd1565b90506000806112e683610dd9565b90925090506000816112f88486611daa565b6113029190611daa565b90508681111561132557604051630cf60adb60e11b815260040160405180910390fd5b60008111801561136857506113647f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316338361171f565b8114155b1561138657604051630cf60adb60e11b815260040160405180910390fd5b611391898388611586565b60008981526006602090815260408083206001600160a01b038a168452909152812080548a92906113c3908490611daa565b90915550600090506113d58987611daa565b60008b81526005602052604090819020829055519091507fde591d71e0512084bda1a19d0b8443290021b1257bb5f5b26e66a5aec52784f490611428908c908a906001908e908b908b908b908a90611eb6565b60405180910390a161143984611601565b50505050505050505050565b6000546001600160a01b031633146107945760405163118cdaa760e01b8152336004820152602401610c67565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008281526006602090815260408083206001600160a01b03851680855290835281842054868552600784528285205460088552838620928652919093529083206001810154905480670de0b6b3a764000061151e8486611dbd565b6115289087611e7d565b6115329190611e94565b610dce9190611daa565b61154682826114c2565b60008381526008602090815260408083206001600160a01b0390951680845285835281842094855595835260078252822054949091529190915260010155565b6000821180156115a3575060008381526005602052604090205415155b156115f7576000838152600560205260409020546115c983670de0b6b3a7640000611e7d565b6115d39190611e94565b600084815260076020526040812080549091906115f1908490611daa565b90915550505b610710838261153c565b801561086c5760025461086c906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116836110f5565b6040516001600160a01b0383811660248301526044820183905261071091859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505061175f565b6000806000806116af856117c2565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa15801561170a573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008061172b85611834565b90506117426001600160a01b03861685308661189f565b8061174c86611834565b6117569190611dbd565b95945050505050565b60006117746001600160a01b038416836118d8565b905080516000141580156117995750808060200190518101906117979190611ef5565b155b1561071057604051635274afe760e01b81526001600160a01b0384166004820152602401610c67565b600080600083516041146118185760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610c67565b5050506020810151604082015160609092015160001a92909190565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561187b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057c9190611f17565b6040516001600160a01b0384811660248301528381166044830152606482018390526106869186918216906323b872dd9060840161166e565b60606107fc8383600084600080856001600160a01b031684866040516118fe9190611f30565b60006040518083038185875af1925050503d806000811461193b576040519150601f19603f3d011682016040523d82523d6000602084013e611940565b606091505b509150915061195086838361195a565b9695505050505050565b60608261196f5761196a826119b6565b6107fc565b815115801561198657506001600160a01b0384163b155b156119af57604051639996b31560e01b81526001600160a01b0385166004820152602401610c67565b50806107fc565b8051156119c65780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b600080604083850312156119f257600080fd5b50508035926020909101359150565b600060208284031215611a1357600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611a5957611a59611a1a565b604052919050565b600082601f830112611a7257600080fd5b8135602067ffffffffffffffff821115611a8e57611a8e611a1a565b8160051b611a9d828201611a30565b9283528481018201928281019087851115611ab757600080fd5b83870192505b84831015610dce57823582529183019190830190611abd565b600060208284031215611ae857600080fd5b813567ffffffffffffffff811115611aff57600080fd5b611b0b84828501611a61565b949350505050565b600082601f830112611b2457600080fd5b813567ffffffffffffffff811115611b3e57611b3e611a1a565b611b51601f8201601f1916602001611a30565b818152846020838601011115611b6657600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160a01b0381168114611b9a57600080fd5b919050565b60008060008060008060c08789031215611bb857600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115611beb57600080fd5b611bf789828a01611b13565b925050611c0660a08801611b83565b90509295509295509295565b803561ffff81168114611b9a57600080fd5b60008060408385031215611c3757600080fd5b611c4083611c12565b9150611c4e60208401611c12565b90509250929050565b600060208284031215611c6957600080fd5b6107fc82611b83565b60008060408385031215611c8557600080fd5b611c8e83611b83565b946020939093013593505050565b600080600060608486031215611cb157600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611cdb57600080fd5b82359150611c4e60208401611b83565b600080600080600060a08688031215611d0357600080fd5b85359450602086013593506040860135925060608601359150608086013567ffffffffffffffff811115611d3657600080fd5b611d4288828901611b13565b9150509295509295909350565b60008060408385031215611d6257600080fd5b823567ffffffffffffffff811115611d7957600080fd5b611d8585828601611a61565b925050611c4e60208401611b83565b634e487b7160e01b600052601160045260246000fd5b8082018082111561057c5761057c611d94565b8181038181111561057c5761057c611d94565b634e487b7160e01b600052603260045260246000fd5b600060018201611df857611df8611d94565b5060010190565b61ffff818116838216019080821115611e1a57611e1a611d94565b5092915050565b634e487b7160e01b600052602160045260246000fd5b6060810160038510611e4b57611e4b611e21565b84825260028410611e5e57611e5e611e21565b60208201939093526001600160a01b0391909116604090910152919050565b808202811582820484141761057c5761057c611d94565b600082611eb157634e487b7160e01b600052601260045260246000fd5b500490565b9788526001600160a01b0396909616602088015293151560408701526060860192909252608085015260a084015260c083015260e08201526101000190565b600060208284031215611f0757600080fd5b815180151581146107fc57600080fd5b600060208284031215611f2957600080fd5b5051919050565b6000825160005b81811015611f515760208186018101518583015201611f37565b50600092019182525091905056fea264697066735822122069e9df71dad0b7387546013196e274fbb254587b249eee4b147b15ce5de80bb864736f6c6343000815003300000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc000000000000000000000000bc2beee86f74fe7e86f58d46d2a6c09019be0c3c000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000001a055690d9db800000000000000000000000000000000000000000000000000056bc75e2d63100000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80639ef833d41161010f578063d67c6872116100a2578063e0a439e111610071578063e0a439e1146104af578063f2fde38b146104c2578063fb2f897a146104d5578063fe17307d146104e857600080fd5b8063d67c687214610415578063d6e6eb9f14610428578063db2495611461043d578063dfe641c61461048457600080fd5b8063be4d0ae7116100de578063be4d0ae7146103b4578063c157253d146103c7578063c569aec6146103da578063c93595ba1461040257600080fd5b80639ef833d414610354578063a10786b014610367578063a932492f1461037a578063ae88ae22146103a157600080fd5b80635e8b9c62116101875780638da5cb5b116101565780638da5cb5b1461030157806391df383f146103125780639477d85d1461033957806397eb6f181461034c57600080fd5b80635e8b9c62146102bd578063626b9a30146102dd578063715018a6146102f05780637bec25ba146102f857600080fd5b80633d5926e0116101c35780633d5926e01461024a57806340e104a71461025f5780634ce7957c1461027f5780635c335f07146102aa57600080fd5b806331f6c04f146101ea57806332e7c5bf146102105780633a214e7b14610237575b600080fd5b6101fd6101f83660046119df565b6104f1565b6040519081526020015b60405180910390f35b6101fd7f0000000000000000000000000000000000000000000000056bc75e2d6310000081565b6101fd6102453660046119df565b610582565b61025d6102583660046119df565b610612565b005b6101fd61026d366004611a01565b60056020526000908152604090205481565b600254610292906001600160a01b031681565b6040516001600160a01b039091168152602001610207565b61025d6102b8366004611ad6565b61068c565b6101fd6102cb366004611a01565b60076020526000908152604090205481565b61025d6102eb366004611b9f565b610715565b61025d610782565b6101fd60095481565b6000546001600160a01b0316610292565b6102927f00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc81565b6101fd6103473660046119df565b610796565b61025d610803565b61025d610362366004611c24565b61086f565b61025d610375366004611c57565b61091c565b6101fd7f000000000000000000000000000000000000000000000001a055690d9db8000081565b600354610292906001600160a01b031681565b61025d6103c2366004611c57565b61099f565b6101fd6103d53660046119df565b610a79565b6002546103ef90600160b01b900461ffff1681565b60405161ffff9091168152602001610207565b61025d610410366004611c72565b610ad4565b61025d610423366004611c9c565b610b7d565b6002546103ef90600160a01b900461ffff1681565b61046f61044b366004611cc8565b60086020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610207565b6101fd610492366004611cc8565b600660209081526000928352604080842090915290825290205481565b61025d6104bd366004611ceb565b610bc0565b61025d6104d0366004611c57565b610c39565b6101fd6104e3366004611d4f565b610c79565b6101fd60045481565b600082815260056020526040812054819061054e90847f000000000000000000000000000000000000000000000001a055690d9db800007f0000000000000000000000000000000000000000000000056bc75e2d63100000610cd1565b905060008061055c83610dd9565b90925090508061056c8385611daa565b6105769190611daa565b93505050505b92915050565b60008281526005602052604081205481906105ea906105a2908590611dbd565b847f000000000000000000000000000000000000000000000001a055690d9db800007f0000000000000000000000000000000000000000000000056bc75e2d63100000610cd1565b90506000806105f883610dd9565b9092509050806106088385611dbd565b6105769190611dbd565b600082815260066020908152604080832033845290915281205461063890849084610e32565b9050600061064584611038565b9050610686336106558385611daa565b6001600160a01b037f00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc1691906110f5565b50505050565b8051600090815b818110156106db576106bd8482815181106106b0576106b0611dd0565b6020026020010151611038565b6106c79084611daa565b9250806106d381611de6565b915050610693565b506107107f00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc6001600160a01b031633846110f5565b505050565b604080516060810182526001600160a01b03808416825260208201869052918101889052600354600454919261075092849287921690611109565b61076d57604051638baa579f60e01b815260040160405180910390fd5b61077987878785611238565b50505050505050565b61078a611445565b6107946000611472565b565b6000828152600560205260408120546107fc906107b4908490611dbd565b837f000000000000000000000000000000000000000000000001a055690d9db800007f0000000000000000000000000000000000000000000000056bc75e2d63100000610cd1565b9392505050565b600060096000815461081490611de6565b918290555090507fb86ecf9543f771ac118830339392a31c2ef19181bb1f831fa033235771791aa18133604080519283526001600160a01b0390911660208301520160405180910390a161086c816001600033611238565b50565b610877611445565b60326108838284611dff565b61ffff1611156108a657604051633494a40d60e21b815260040160405180910390fd5b6002805463ffffffff60a01b1916600160a01b61ffff85811691820261ffff60b01b191692909217600160b01b928516928302179092556040805192835260208301919091527f64f84976d9c917a44796104a59950fdbd9b3c16a5dd348b546d738301f6bd06891015b60405180910390a15050565b610924611445565b6001600160a01b03811661094b5760405163d92e233d60e01b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527f03be36bcf98b7aa9de4bce1775556499481bad492ebc3c054cfc1ba936be79429060200160405180910390a150565b6109a7611445565b60405163c8992e6160e01b81526002604360981b019063c8992e61906109d7906002906001908690600401611e37565b600060405180830381600087803b1580156109f157600080fd5b505af1158015610a05573d6000803e3d6000fd5b50506040516336b91f2b60e01b81526001600160a01b0384166004820152732536fe9ab3f511540f2f9e2ec2a805005c3dd80092506336b91f2b9150602401600060405180830381600087803b158015610a5e57600080fd5b505af1158015610a72573d6000803e3d6000fd5b5050505050565b6000828152600560205260408120546107fc90837f000000000000000000000000000000000000000000000001a055690d9db800007f0000000000000000000000000000000000000000000000056bc75e2d63100000610cd1565b610adc611445565b6001600160a01b038216610b035760405163d92e233d60e01b815260040160405180910390fd5b80600003610b2457604051633494a40d60e21b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b038416908117909155600482905560408051918252602082018390527f3bb72d6a29eb887a817c72b0c30127844d1d64cb0f648b645c1e51f4db87f9759101610910565b6000610b8a848484610e32565b90506106867f00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc6001600160a01b031633836110f5565b60006040518060600160405280610bd43390565b6001600160a01b039081168252602082018690526040909101889052600354600454929350610c0892849286921690611109565b610c2557604051638baa579f60e01b815260040160405180910390fd5b610c3186868633611238565b505050505050565b610c41611445565b6001600160a01b038116610c7057604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61086c81611472565b8151600090815b81811015610cc957610cab858281518110610c9d57610c9d611dd0565b6020026020010151856114c2565b610cb59084611daa565b925080610cc181611de6565b915050610c80565b505092915050565b6000808515610d35576002610ce7600188611dbd565b8486610cf460018b611dbd565b610cfe9190611e7d565b610d088789611daa565b610d129190611daa565b610d1c9190611daa565b610d269190611e7d565b610d309190611e94565b610d38565b60005b9050600086158015610d4a5750856001145b610dbf5760026001610d5c888a611daa565b610d669190611dbd565b85876001610d748b8d611daa565b610d7e9190611dbd565b610d889190611e7d565b610d92888a611daa565b610d9c9190611daa565b610da69190611daa565b610db09190611e7d565b610dba9190611e94565b610dc2565b60005b9050610dce8282611dbd565b979650505050505050565b6002546000908190606490610df990600160a01b900461ffff1685611e7d565b610e039190611e94565b600254909250606490610e2190600160b01b900461ffff1685611e7d565b610e2b9190611e94565b9050915091565b600082600003610e5557604051631f2a200560e01b815260040160405180910390fd5b600954841115610e7857604051630a7a134960e41b815260040160405180910390fd5b60008481526005602052604090205433818510610ea85760405163b4abda3960e01b815260040160405180910390fd5b60008681526006602090815260408083206001600160a01b0385168452909152902054851115610eeb57604051633999656760e01b815260040160405180910390fd5b6000610f42610efa8785611dbd565b877f000000000000000000000000000000000000000000000001a055690d9db800007f0000000000000000000000000000000000000000000000056bc75e2d63100000610cd1565b9050600080610f5083610dd9565b909250905080610f608385611dbd565b610f6a9190611dbd565b955086861015610f8d576040516357084d7360e11b815260040160405180910390fd5b610f97898561153c565b60008981526006602090815260408083206001600160a01b0388168452825280832080548c900390558b83526005909152902088860390819055610fdc8a8387611586565b7fde591d71e0512084bda1a19d0b8443290021b1257bb5f5b26e66a5aec52784f48a8660008c8888888860405161101a989796959493929190611eb6565b60405180910390a161102b83611601565b5050505050509392505050565b600033611045838261153c565b60008381526008602090815260408083206001600160a01b0385168452909152812054925082900361108a57604051630fec21fd60e21b815260040160405180910390fd5b60008381526008602090815260408083206001600160a01b03851680855290835281842093909355805192835290820185905281018390527f48f1e4b8fb0469595617480e6784e40ab6b8c49209761b8e09305bf7b73e53de9060600160405180910390a150919050565b6107106001600160a01b0384168383611641565b600081856020015161111b9190611daa565b4211156111615760405162461bcd60e51b815260206004820152601460248201527314da59db985d1d5c99481a5cc8195e1c1a5c995960621b6044820152606401610c67565b8451602080870151604080890151905160609490941b6bffffffffffffffffffffffff19169284019290925260348301526054820152600090607401604051602081830303815290604052805190602001209050600061120e826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050600061121c82886116a0565b6001600160a01b03908116908716149350505050949350505050565b8260000361125957604051631f2a200560e01b815260040160405180910390fd5b60095484111561127c57604051630a7a134960e41b815260040160405180910390fd5b600084815260056020526040812054906112d882867f000000000000000000000000000000000000000000000001a055690d9db800007f0000000000000000000000000000000000000000000000056bc75e2d63100000610cd1565b90506000806112e683610dd9565b90925090506000816112f88486611daa565b6113029190611daa565b90508681111561132557604051630cf60adb60e11b815260040160405180910390fd5b60008111801561136857506113647f00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc6001600160a01b0316338361171f565b8114155b1561138657604051630cf60adb60e11b815260040160405180910390fd5b611391898388611586565b60008981526006602090815260408083206001600160a01b038a168452909152812080548a92906113c3908490611daa565b90915550600090506113d58987611daa565b60008b81526005602052604090819020829055519091507fde591d71e0512084bda1a19d0b8443290021b1257bb5f5b26e66a5aec52784f490611428908c908a906001908e908b908b908b908a90611eb6565b60405180910390a161143984611601565b50505050505050505050565b6000546001600160a01b031633146107945760405163118cdaa760e01b8152336004820152602401610c67565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008281526006602090815260408083206001600160a01b03851680855290835281842054868552600784528285205460088552838620928652919093529083206001810154905480670de0b6b3a764000061151e8486611dbd565b6115289087611e7d565b6115329190611e94565b610dce9190611daa565b61154682826114c2565b60008381526008602090815260408083206001600160a01b0390951680845285835281842094855595835260078252822054949091529190915260010155565b6000821180156115a3575060008381526005602052604090205415155b156115f7576000838152600560205260409020546115c983670de0b6b3a7640000611e7d565b6115d39190611e94565b600084815260076020526040812080549091906115f1908490611daa565b90915550505b610710838261153c565b801561086c5760025461086c906001600160a01b037f00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc81169116836110f5565b6040516001600160a01b0383811660248301526044820183905261071091859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505061175f565b6000806000806116af856117c2565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa15801561170a573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008061172b85611834565b90506117426001600160a01b03861685308661189f565b8061174c86611834565b6117569190611dbd565b95945050505050565b60006117746001600160a01b038416836118d8565b905080516000141580156117995750808060200190518101906117979190611ef5565b155b1561071057604051635274afe760e01b81526001600160a01b0384166004820152602401610c67565b600080600083516041146118185760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610c67565b5050506020810151604082015160609092015160001a92909190565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561187b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057c9190611f17565b6040516001600160a01b0384811660248301528381166044830152606482018390526106869186918216906323b872dd9060840161166e565b60606107fc8383600084600080856001600160a01b031684866040516118fe9190611f30565b60006040518083038185875af1925050503d806000811461193b576040519150601f19603f3d011682016040523d82523d6000602084013e611940565b606091505b509150915061195086838361195a565b9695505050505050565b60608261196f5761196a826119b6565b6107fc565b815115801561198657506001600160a01b0384163b155b156119af57604051639996b31560e01b81526001600160a01b0385166004820152602401610c67565b50806107fc565b8051156119c65780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b600080604083850312156119f257600080fd5b50508035926020909101359150565b600060208284031215611a1357600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611a5957611a59611a1a565b604052919050565b600082601f830112611a7257600080fd5b8135602067ffffffffffffffff821115611a8e57611a8e611a1a565b8160051b611a9d828201611a30565b9283528481018201928281019087851115611ab757600080fd5b83870192505b84831015610dce57823582529183019190830190611abd565b600060208284031215611ae857600080fd5b813567ffffffffffffffff811115611aff57600080fd5b611b0b84828501611a61565b949350505050565b600082601f830112611b2457600080fd5b813567ffffffffffffffff811115611b3e57611b3e611a1a565b611b51601f8201601f1916602001611a30565b818152846020838601011115611b6657600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160a01b0381168114611b9a57600080fd5b919050565b60008060008060008060c08789031215611bb857600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115611beb57600080fd5b611bf789828a01611b13565b925050611c0660a08801611b83565b90509295509295509295565b803561ffff81168114611b9a57600080fd5b60008060408385031215611c3757600080fd5b611c4083611c12565b9150611c4e60208401611c12565b90509250929050565b600060208284031215611c6957600080fd5b6107fc82611b83565b60008060408385031215611c8557600080fd5b611c8e83611b83565b946020939093013593505050565b600080600060608486031215611cb157600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611cdb57600080fd5b82359150611c4e60208401611b83565b600080600080600060a08688031215611d0357600080fd5b85359450602086013593506040860135925060608601359150608086013567ffffffffffffffff811115611d3657600080fd5b611d4288828901611b13565b9150509295509295909350565b60008060408385031215611d6257600080fd5b823567ffffffffffffffff811115611d7957600080fd5b611d8585828601611a61565b925050611c4e60208401611b83565b634e487b7160e01b600052601160045260246000fd5b8082018082111561057c5761057c611d94565b8181038181111561057c5761057c611d94565b634e487b7160e01b600052603260045260246000fd5b600060018201611df857611df8611d94565b5060010190565b61ffff818116838216019080821115611e1a57611e1a611d94565b5092915050565b634e487b7160e01b600052602160045260246000fd5b6060810160038510611e4b57611e4b611e21565b84825260028410611e5e57611e5e611e21565b60208201939093526001600160a01b0391909116604090910152919050565b808202811582820484141761057c5761057c611d94565b600082611eb157634e487b7160e01b600052601260045260246000fd5b500490565b9788526001600160a01b0396909616602088015293151560408701526060860192909252608085015260a084015260c083015260e08201526101000190565b600060208284031215611f0757600080fd5b815180151581146107fc57600080fd5b600060208284031215611f2957600080fd5b5051919050565b6000825160005b81811015611f515760208186018101518583015201611f37565b50600092019182525091905056fea264697066735822122069e9df71dad0b7387546013196e274fbb254587b249eee4b147b15ce5de80bb864736f6c63430008150033

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

00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc000000000000000000000000bc2beee86f74fe7e86f58d46d2a6c09019be0c3c000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000001a055690d9db800000000000000000000000000000000000000000000000000056bc75e2d63100000

-----Decoded View---------------
Arg [0] : _ole (address): 0x73c369F61c90f03eb0Dd172e95c90208A28dC5bc
Arg [1] : _signIssuerAddress (address): 0xbC2BEEe86F74fe7e86f58d46D2A6C09019Be0C3c
Arg [2] : _signValidDuration (uint256): 300
Arg [3] : _k (uint256): 30000000000000000000
Arg [4] : _b (uint256): 100000000000000000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000073c369f61c90f03eb0dd172e95c90208a28dc5bc
Arg [1] : 000000000000000000000000bc2beee86f74fe7e86f58d46d2a6c09019be0c3c
Arg [2] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [3] : 000000000000000000000000000000000000000000000001a055690d9db80000
Arg [4] : 0000000000000000000000000000000000000000000000056bc75e2d63100000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
0x1c59529ba394427D9a18A3eF6B8CA38906b8E2dB
Net Worth in USD
$6,299.69

Net Worth in ETH
2.184331

Token Allocations
OLE 96.41%
USDC.E 1.08%
WBTC 0.75%
Others 1.76%
Chain Token Portfolio % Price Amount Value
BLAST96.38%$0.0016513,677,803.4044$6,071.43
ARB1.08%$0.99961268.0341$68.01
ARB0.75%$87,5450.00053855$47.15
ARB0.46%$0.99961228.7737$28.76
ARB0.36%$2,880.320.00784118$22.59
ARB0.35%$237.160.0917$21.74
ARB0.31%$0.99979819.2326$19.23
ARB0.17%$0.99857810.6306$10.62
ARB0.05%$7.030.4575$3.22
ARB0.04%$0.0016511,403.3894$2.32
ARB0.03%$0.0017671,164.1389$2.06
ARB0.02%$0.008447129.2453$1.09
ARB0.01%$0.1696174.5692$0.775
ARB0.01%<$0.00000119,786,495.6278$0.7123
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.