POL Price: $0.224719 (+2.78%)
Gas: 30 GWei
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Seed Vesti...694834412025-03-25 13:13:521 hr ago1742908432IN
0x579CD9c3...6BFE7Ae88
0 POL0.003917730.00000036
Claim Private Ve...694755282025-03-25 8:31:436 hrs ago1742891503IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000003
Claim Seed Vesti...694518932025-03-24 18:34:3020 hrs ago1742841270IN
0x579CD9c3...6BFE7Ae88
0 POL0.003917730.00000004
Claim Private Ve...694374152025-03-24 9:53:5428 hrs ago1742810034IN
0x579CD9c3...6BFE7Ae88
0 POL0.0039939230.00018681
Claim Private Ve...694173642025-03-23 21:53:2440 hrs ago1742766804IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000002
Claim Seed Vesti...693995242025-03-23 11:19:412 days ago1742728781IN
0x579CD9c3...6BFE7Ae88
0 POL0.003917730.00000004
Claim Private Ve...693622342025-03-22 13:16:573 days ago1742649417IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000003
Claim Private Ve...693405592025-03-22 0:25:353 days ago1742603135IN
0x579CD9c3...6BFE7Ae88
0 POL0.0039935430.00000006
Claim Private Ve...693328622025-03-21 19:52:313 days ago1742586751IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000004
Claim Private Ve...693306802025-03-21 18:35:093 days ago1742582109IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000011
Claim Private Ve...692907562025-03-20 18:53:434 days ago1742496823IN
0x579CD9c3...6BFE7Ae88
0 POL0.0040312130.28300002
Claim Private Ve...692901772025-03-20 18:33:094 days ago1742495589IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000002
Claim Private Ve...692793662025-03-20 12:05:405 days ago1742472340IN
0x579CD9c3...6BFE7Ae88
0 POL0.0039939130.00008683
Claim Seed Vesti...692694602025-03-20 6:13:315 days ago1742451211IN
0x579CD9c3...6BFE7Ae88
0 POL0.003917730.00000002
Claim Private Ve...692494402025-03-19 18:23:345 days ago1742408614IN
0x579CD9c3...6BFE7Ae88
0 POL0.0036478857.05976182
Claim Private Ve...692122052025-03-18 20:07:476 days ago1742328467IN
0x579CD9c3...6BFE7Ae88
0 POL0.004506930.00000002
Claim Private Ve...692016492025-03-18 13:47:317 days ago1742305651IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000487
Claim Seed Vesti...692001672025-03-18 12:53:367 days ago1742302416IN
0x579CD9c3...6BFE7Ae88
0 POL0.0039173430.00000003
Claim Private Ve...691753762025-03-17 22:04:217 days ago1742249061IN
0x579CD9c3...6BFE7Ae88
0 POL0.003993930.00000002
Claim Private Ve...691728182025-03-17 20:33:437 days ago1742243623IN
0x579CD9c3...6BFE7Ae88
0 POL0.0038075128.60000004
Claim Private Ve...691691612025-03-17 18:17:117 days ago1742235431IN
0x579CD9c3...6BFE7Ae88
0 POL0.004008830.1119593
Claim Private Ve...691641292025-03-17 15:17:307 days ago1742224650IN
0x579CD9c3...6BFE7Ae88
0 POL0.0108717381.66251131
Claim Private Ve...691624172025-03-17 14:15:068 days ago1742220906IN
0x579CD9c3...6BFE7Ae88
0 POL0.0123191292.53453911
Claim Seed Vesti...691548442025-03-17 9:42:438 days ago1742204563IN
0x579CD9c3...6BFE7Ae88
0 POL0.0039209130.02460532
Claim Seed Vesti...691364662025-03-16 22:41:378 days ago1742164897IN
0x579CD9c3...6BFE7Ae88
0 POL0.003917730.00000003
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PrivateSeedVestingClaimer

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : PrivateSeedClaimer.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

import "./FloyxTokenVesting.sol";
import "./utils/ReentrancyGuard.sol";
import "./utils/SafeMath.sol";

contract PrivateSeedVestingClaimer is ReentrancyGuard {
    using SafeMath for uint256;
    FloyxTokenVesting public floyxVestingContract;

    constructor(address _floyxVestingContractAddress) {
        floyxVestingContract = FloyxTokenVesting(_floyxVestingContractAddress);
    }

    function claimPrivateVesting(address account) external nonReentrant {
        // Call both claimVestedToken functions here
        floyxVestingContract.claimVestedToken(account, 1);
        floyxVestingContract.claimVestedToken(account, 3);
    }

    function getPrivateClaimableAmount(
        address _wallet
    ) external view returns (uint256) {
        uint256 amount1 = floyxVestingContract.getClaimableAmount(_wallet, 1);
        uint256 amount2 = floyxVestingContract.getClaimableAmount(_wallet, 3);
        return amount1 + amount2;
    }

    function getPrivateReleasedAmount(
        address _wallet
    ) external view returns (uint256) {
        uint256 amount1 = floyxVestingContract.getReleasedAmount(_wallet, 1);
        uint256 amount2 = floyxVestingContract.getReleasedAmount(_wallet, 3);
        return amount1 + amount2;
    }

    function getPrivateTototalAmount(
        address _wallet
    ) external view returns (uint256) {
        uint256 amount1 = floyxVestingContract.getTototalSheduleAmount(
            _wallet,
            1
        );
        uint256 amount2 = floyxVestingContract.getTototalSheduleAmount(
            _wallet,
            3
        );
        return amount1 + amount2;
    }

    function claimSeedVesting(address account) public {
        // Call both claimVestedToken functions here
        floyxVestingContract.claimVestedToken(account, 0);
        floyxVestingContract.claimVestedToken(account, 2);
    }

    function getSeedClaimableAmount(
        address _wallet
    ) external view returns (uint256) {
        uint256 amount1 = floyxVestingContract.getClaimableAmount(_wallet, 0);
        uint256 amount2 = floyxVestingContract.getClaimableAmount(_wallet, 2);
        return amount1 + amount2;
    }

    function getSeedReleasedAmount(
        address _wallet
    ) external view returns (uint256) {
        uint256 amount1 = floyxVestingContract.getReleasedAmount(_wallet, 0);
        uint256 amount2 = floyxVestingContract.getReleasedAmount(_wallet, 2);
        return amount1 + amount2;
    }

    function getSeedTototalAmount(
        address _wallet
    ) external view returns (uint256) {
        uint256 amount1 = floyxVestingContract.getTototalSheduleAmount(
            _wallet,
            0
        );
        uint256 amount2 = floyxVestingContract.getTototalSheduleAmount(
            _wallet,
            2
        );
        return amount1 + amount2;
    }
}

File 2 of 7 : AdminAccess.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

import "./utils/Ownable.sol";
import "./utils/ReentrancyGuard.sol";

error VotingEnded();
error AlreadyVoted();
error AdminAlreadyExists();
error AdminDoesNotExists();
error canNotRemoveContractOwnerFromAdmin();
error AdminCanNotRemoveHimself();
error propsalAlreadySent();
error propsalNotInitialized();

contract AdminAccess is Ownable, ReentrancyGuard {
    struct AddAdminRequest {
        address Admin;
        mapping(address => bool) approvals;
        uint256 approvalCount;
        bool executed;
        bool initialized;
    }

    struct RemoveAdminRequest {
        address Admin;
        mapping(address => bool) approvals;
        uint256 approvalCount;
        bool executed;
        bool initialized;
    }

    struct PauseVesting {
        mapping(address => bool) approvals;
        uint256 approvalCount;
        bool executed;
        bool initialized;
    }

    struct StartVesting {
        mapping(address => bool) approvals;
        uint256 approvalCount;
        bool executed;
        bool initialized;
    }

    mapping(address => bool) private admins;
    mapping(address => AddAdminRequest) private addingAdminRequestNo;
    mapping(address => RemoveAdminRequest) private RemovingAdminRequestNo;
    mapping(uint256 => PauseVesting) private PauseVestings;
    mapping(uint256 => StartVesting) private StartVestings;
    address[] private _adminAddresses;
    bool public paused = false;
    uint256 public pauseProposalNo;
    uint256 public StartVestingProposalNo;

    event AdminAdded(address _admin);
    event AdminRemoved(address _admin);

    constructor() {
        admins[owner()] = true;
        _adminAddresses.push(owner());
    }

    function _addAdmin(address _admin) internal {
        admins[_admin] = true;
        _adminAddresses.push(_admin);
        emit AdminAdded(_admin);
    }

    function addAdminProposal(
        address _newAdmin
    ) external onlyAdmin nonReentrant {
        AddAdminRequest storage proposal = addingAdminRequestNo[_newAdmin];
        if (admins[_newAdmin]) {
            revert AdminAlreadyExists();
        }
        if (proposal.Admin == _newAdmin) {
            revert propsalAlreadySent();
        }
        proposal.Admin = _newAdmin;
        proposal.approvals[msg.sender] = false;
        proposal.approvalCount = 0;
        proposal.executed = false;
        proposal.initialized = true;
    }

    function approveAddAdmin(
        address _newAdmin
    ) external onlyAdmin nonReentrant {
        AddAdminRequest storage proposal = addingAdminRequestNo[_newAdmin];
        if (!proposal.initialized) {
            revert propsalNotInitialized();
        }
        if (admins[_newAdmin]) {
            revert AdminAlreadyExists();
        }
        if (proposal.executed) {
            revert VotingEnded();
        }
        if (proposal.approvals[msg.sender]) {
            revert AlreadyVoted();
        }
        proposal.approvals[msg.sender] = true;
        proposal.approvalCount++;

        if (proposal.approvalCount >= getAdminCount()) {
            proposal.executed = true;
            _addAdmin(_newAdmin);
            delete addingAdminRequestNo[_newAdmin];
        }
    }

    function _removeAdmin(address _admin) internal {
        admins[_admin] = false;
        _adminAddresses.pop();
        emit AdminRemoved(_admin);
    }

    function removeAdminProposal(
        address _admin
    ) external onlyAdmin nonReentrant {
        RemoveAdminRequest storage proposal = RemovingAdminRequestNo[_admin];
        if (!admins[_admin]) {
            revert AdminDoesNotExists();
        }
        if (msg.sender == _admin) {
            revert AdminCanNotRemoveHimself();
        }
        if (proposal.Admin == _admin) {
            revert propsalAlreadySent();
        }
        proposal.Admin = _admin;
        proposal.approvals[msg.sender] = false;
        proposal.approvalCount = 1;
        proposal.executed = false;
        proposal.initialized = true;
    }

    function approveRemoveAdmin(
        address _admin
    ) external onlyAdmin nonReentrant {
        RemoveAdminRequest storage proposal = RemovingAdminRequestNo[_admin];
        if (!proposal.initialized) {
            revert propsalNotInitialized();
        }
        if (msg.sender == _admin) {
            revert AdminCanNotRemoveHimself();
        }
        if (proposal.executed) {
            revert VotingEnded();
        }
        if (proposal.approvals[msg.sender]) {
            revert AlreadyVoted();
        }
        proposal.approvals[msg.sender] = true;
        proposal.approvalCount++;

        if (proposal.approvalCount >= getAdminCount()) {
            proposal.executed = true;
            _removeAdmin(_admin);
            delete RemovingAdminRequestNo[_admin];
        }
    }

    function createPauseVestingProposal() external onlyAdmin nonReentrant {
        uint256 proposalId = pauseProposalNo++;
        PauseVesting storage proposal = PauseVestings[proposalId];
        proposal.approvals[msg.sender] = false;
        proposal.approvalCount = 0;
        proposal.executed = false;
        proposal.initialized = true;
    }

    function approvePauseVestingProposal(
        uint256 _ProposalId
    ) external onlyAdmin nonReentrant {
        PauseVesting storage proposal = PauseVestings[_ProposalId];
        if (!proposal.initialized) {
            revert propsalNotInitialized();
        }
        if (proposal.executed) {
            revert VotingEnded();
        }
        if (proposal.approvals[msg.sender]) {
            revert AlreadyVoted();
        }
        proposal.approvals[msg.sender] = true;
        proposal.approvalCount++;

        if (proposal.approvalCount >= getAdminCount()) {
            proposal.executed = true;
            paused = true;
            delete PauseVestings[_ProposalId];
        }
    }

    function createStartVestingProposal() external onlyAdmin nonReentrant {
        uint256 proposalId = StartVestingProposalNo++;
        StartVesting storage proposal = StartVestings[proposalId];
        proposal.approvals[msg.sender] = false;
        proposal.approvalCount = 0;
        proposal.executed = false;
        proposal.initialized = true;
    }

    function approveStartVestingProposal(
        uint256 _ProposalId
    ) external onlyAdmin nonReentrant {
        StartVesting storage proposal = StartVestings[_ProposalId];
        if (!proposal.initialized) {
            revert propsalNotInitialized();
        }
        if (proposal.executed) {
            revert VotingEnded();
        }
        if (proposal.approvals[msg.sender]) {
            revert AlreadyVoted();
        }
        proposal.approvals[msg.sender] = true;
        proposal.approvalCount++;

        if (proposal.approvalCount >= getAdminCount()) {
            proposal.executed = true;
            paused = false;
            delete StartVestings[_ProposalId];
        }
    }

    function isAdmin(address admin) public view returns (bool) {
        return admins[admin];
    }

    function getAdminCount() public view returns (uint256) {
        return _adminAddresses.length;
    }

    modifier onlyAdmin() {
        require(
            admins[_msgSender()] || _msgSender() == owner(),
            "Caller does not have Admin Access"
        );
        _;
    }
}

File 3 of 7 : FloyxTokenVesting.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

import "./IFloyx.sol";
import "./AdminAccess.sol";
import "./utils/SafeMath.sol";

// Custom error for indicating that all tokens have been released for a beneficiary
error AllTokensAreReleleased(address _beneficiary);
error ZeroAddress();
error Zero_amount();
error VestingScheduleExists();
error VestingNotStarted();
error NoTokensToRelease();
error TokenMintingFailed();
error TokenCanNotBeMintedToAdmins();
error ReceiverShouldNotBeAddressZero();
error ownerShipCouldNotBeTransferred();
error InvalidRound();
error VestingSheduleIsPausedByAdmins();
error AirdropSheduleExists();

/**
 * @title FloyxTokenVesting
 * @dev A token vesting contract that allows the controlled release of tokens over a specified period of time.
 */
contract FloyxTokenVesting is AdminAccess {
    using SafeMath for uint256;

    IFloyx private immutable token;
    uint256 private totalReleasedAmount;
    uint256 private totalVestedAmount;
    uint256 private seedStartTime;
    uint256 private _startTime;
    uint256 private _slicePeriod;
    uint256 private _cliffPeriod;
    uint256 private _releasedPercent;
    uint256 private _tgePercent;
    uint256 private _duration;
    uint8 private VestingRoundNo;

    struct VestingSchedule {
        bool initialized;
        uint256 startTime;
        uint256 duration;
        uint256 slicePeriod;
        uint256 cliff;
        uint256 amountTotal;
        uint256 released;
        uint256 releasedPercent;
        uint256 tgePercent;
    }

    enum VestingRound {
        Seed, //0
        PrivateSale, //1
        PublicSale, //2
        StakingReward, //3
        Liquidity, //4
        PartnerShips, //5
        Ecosystem, //6
        Team, //7
        Marketing, //8
        Development, //9
        Advisors, //10
        Airdrop //11
    }

    mapping(address => mapping(uint8 => VestingSchedule))
        public vestingSchedules;
    mapping(uint8 => uint256) public vestedAmountInRounds;

    // mapping(address => VestingSchedule) public vestingSchedules;

    /**
     * @dev Constructor function
     * @param _token The address of the token contract
     */
    constructor(address _token) {
        token = IFloyx(_token);
    }

    // Events
    event addVesting(
        address indexed beneficiary,
        uint256 startTime,
        uint256 duration,
        uint256 slicePeriod,
        uint256 cliff,
        uint256 amountTotal,
        uint256 releasedPercent,
        uint256 tgePercent
    );

    event addAirdrop(
        address indexed beneficiary,
        uint256 startTime,
        uint256 duration,
        uint256 slicePeriod,
        uint256 cliff,
        uint256 amountTotal,
        uint256 releasedPercent,
        uint256 tgePercent
    );

    event withdraw(address indexed beneficiary, uint256 amount);
    event ModifyVesting(address indexed beneficiary, uint256 amount);

    modifier onlyIfVestingScheduleInitialized(
        address _beneficiary,
        uint8 _round
    ) {
        if (!vestingSchedules[_beneficiary][_round].initialized) {
            revert VestingScheduleExists();
        }
        _;
    }

    /**
     * @dev Adds a private sale vesting schedule for a beneficiary
     * @param _beneficiary The address of the beneficiary
     * @param _amount The total amount of tokens to be vested
     */

    function sheduleTheVesting(
        address _beneficiary,
        uint256 _amount
    ) external onlyAdmin nonReentrant {
        _sheduleTheVesting(_beneficiary, _amount);
    }

    function _sheduleTheVesting(
        address _beneficiary,
        uint256 _amount
    ) internal {
        if (_beneficiary == address(0)) {
            revert ZeroAddress();
        }
        if (isAdmin(_beneficiary)) {
            revert TokenCanNotBeMintedToAdmins();
        }
        if (paused) {
            revert VestingSheduleIsPausedByAdmins();
        }
        if (_amount <= 0) {
            revert Zero_amount();
        }
        if (vestingSchedules[_beneficiary][VestingRoundNo].initialized) {
            revert VestingScheduleExists();
        }

        VestingSchedule memory vestingSchedule = VestingSchedule({
            initialized: true,
            startTime: _startTime,
            duration: _duration + _startTime,
            slicePeriod: _slicePeriod,
            cliff: _cliffPeriod,
            amountTotal: _amount,
            released: 0,
            releasedPercent: _releasedPercent,
            tgePercent: _tgePercent
        });

        vestingSchedules[_beneficiary][VestingRoundNo] = vestingSchedule;
        vestedAmountInRounds[VestingRoundNo] = vestedAmountInRounds[
            VestingRoundNo
        ].add(_amount);
        totalVestedAmount = totalVestedAmount.add(_amount);
        emit addVesting(
            _beneficiary,
            _startTime,
            _duration,
            _slicePeriod,
            _cliffPeriod,
            _amount,
            _releasedPercent,
            _tgePercent
        );
    }

    /**
     * @dev Schedules airdrops for a group of beneficiaries.
     * @param _beneficiaries List of beneficiary addresses.
     * @param _amount Amount of tokens to distribute to each beneficiary.
     */
    function scheduleAirdropForGroup(
        address[] calldata _beneficiaries,
        uint256 _amount
    ) external onlyAdmin nonReentrant {
        if (_amount == 0) {
            revert Zero_amount();
        }

        for (uint256 i = 0; i < _beneficiaries.length; i++) {
            address beneficiary = _beneficiaries[i];

            if (isAdmin(beneficiary)) {
                revert TokenCanNotBeMintedToAdmins();
            }
            if (paused) {
                revert VestingSheduleIsPausedByAdmins();
            }

            if (beneficiary == address(0)) {
                revert ReceiverShouldNotBeAddressZero();
            }
            if (vestingSchedules[beneficiary][11].initialized) {
                revert AirdropSheduleExists();
            }

            VestingSchedule memory vestingSchedule = VestingSchedule({
                initialized: true,
                startTime: _startTime,
                duration: _duration + _startTime,
                slicePeriod: _slicePeriod,
                cliff: _cliffPeriod,
                amountTotal: _amount,
                released: 0,
                releasedPercent: _releasedPercent,
                tgePercent: _tgePercent
            });

            vestingSchedules[beneficiary][11] = vestingSchedule;
            vestedAmountInRounds[11] = vestedAmountInRounds[11].add(_amount);
            totalVestedAmount = totalVestedAmount.add(_amount);
            emit addAirdrop(
                beneficiary,
                _startTime,
                _duration,
                _slicePeriod,
                _cliffPeriod,
                _amount,
                _releasedPercent,
                _tgePercent
            );
        }
    }

    /**
     * @dev Retrieves the amount of tokens claimable by a beneficiary based on their vesting schedule
     * @return The amount of tokens claimable by the beneficiary
     */

    function getClaimableAmount(
        address _beneficiary,
        uint8 _round
    ) external view returns (uint256) {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ][_round];
        isValidRound(_round);
        uint256 currentTime = getCurrentTime();
        if (currentTime < vestingSchedule.startTime) {
            return 0;
        }
        if (vestingSchedule.released == vestingSchedule.amountTotal) {
            return 0;
        }
        uint256 releaseAmount = _getClaimableAmount(_beneficiary, _round);
        if (
            releaseAmount.add(vestingSchedule.released) >
            vestingSchedule.amountTotal
        ) {
            releaseAmount = vestingSchedule.amountTotal.sub(
                vestingSchedule.released
            );
        }
        return releaseAmount;
    }

    /**
     * @dev Retrieves the total amount of tokens to be vested
     * @return The total amount of tokens to be vested
     */
    function getTotalVestingAmount() public view returns (uint256) {
        return totalVestedAmount;
    }

    /**
     * @dev Retrieves the total amount of tokens released from the vesting contract
     * @return The total amount of tokens released
     */

    function getTotalReleasedAmount() external view returns (uint256) {
        return totalReleasedAmount;
    }

    /**
     * @dev Retrieves the total amount of tokens that have been released to a specific beneficiary
     * @param _beneficiary The address of the beneficiary
     * @return The total amount of tokens released to the beneficiary
     */

    function getReleasedAmount(
        address _beneficiary,
        uint8 _round
    ) external view returns (uint256) {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ][_round];
        isValidRound(_round);
        return vestingSchedule.released;
    }

    /**
     * @dev Retrieves the slice period duration for a specific beneficiary's vesting schedule
     * @param _beneficiary The address of the beneficiary
     * @return The duration of a slice period for the beneficiary's vesting schedule
     */
    function getSlicePeriod(
        address _beneficiary,
        uint8 _round
    ) external view returns (uint256) {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ][_round];
        isValidRound(_round);
        uint256 _getSheduleAmount = vestingSchedule.amountTotal;
        uint256 _totalReleaseAmount = vestingSchedule.released;

        if (_getSheduleAmount == _totalReleaseAmount) {
            return 0;
        } else {
            return vestingSchedule.slicePeriod;
        }
    }

    /**
     * @dev Retrieves the start time of the vesting period for a specific beneficiary
     * @param _beneficiary The address of the beneficiary
     * @return The start time of the vesting period for the beneficiary
     */
    function getStartTimePeriod(
        address _beneficiary,
        uint8 _round
    ) external view returns (uint256) {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ][_round];
        isValidRound(_round);
        uint256 _getSheduleAmount = vestingSchedule.amountTotal;
        uint256 _totalReleaseAmount = vestingSchedule.released;

        if (_getSheduleAmount == _totalReleaseAmount) {
            return 0;
        } else {
            return vestingSchedule.cliff;
        }
    }

    /**
     * @dev Retrieves the total amount of tokens scheduled to be vested for a specific beneficiary
     * @param _beneficiary The address of the beneficiary
     * @return The total amount of tokens scheduled for vesting for the beneficiary
     */
    function getTototalSheduleAmount(
        address _beneficiary,
        uint8 _round
    ) external view returns (uint256) {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ][_round];
        isValidRound(_round);
        return vestingSchedule.amountTotal;
    }

    /**
     * @dev Retrieves the address of the token contract
     * @return The address of the token contract
     */

    function getToken() external view returns (address) {
        return address(token);
    }

    /**
     * @dev Claims the vested tokens for a beneficiary
     */

    function claimVestedToken(
        address _beneficiary,
        uint8 _round
    )
        external
        nonReentrant
        onlyIfVestingScheduleInitialized(_beneficiary, _round)
    {
        _claimVestedToken(_beneficiary, _round);
    }

    function _claimVestedToken(address _to, uint8 _round) internal {
        isValidRound(_round);
        VestingSchedule storage vestingSchedule = vestingSchedules[_to][_round];
        uint256 currentTime = getCurrentTime();
        if (currentTime < vestingSchedule.startTime) {
            revert VestingNotStarted();
        }
        if (vestingSchedule.amountTotal == vestingSchedule.released) {
            revert AllTokensAreReleleased(_to);
        }
        uint256 releaseAmount = _getClaimableAmount(_to, _round);
        if (releaseAmount == 0) {
            revert NoTokensToRelease();
        }
        if (
            releaseAmount.add(vestingSchedule.released) >
            vestingSchedule.amountTotal
        ) {
            releaseAmount = vestingSchedule.amountTotal.sub(
                vestingSchedule.released
            );
        }
        vestingSchedule.released = vestingSchedule.released.add(releaseAmount);
        totalVestedAmount = totalVestedAmount.sub(releaseAmount);
        totalReleasedAmount = totalReleasedAmount.add(releaseAmount);
        bool success = token.mint(_to, releaseAmount);
        if (!success) {
            revert TokenMintingFailed();
        }

        emit withdraw(msg.sender, releaseAmount);
    }

    /**
     * @dev Sets the start time of the vesting period for all beneficiaries
     * @param __startTime The new start time for the vesting period
     */
    function setStartTimeOfVesting(uint256 __startTime) external onlyAdmin {
        _startTime = __startTime;
    }

    /**
     * @dev Sets the duration of a slice period for all beneficiaries' vesting schedules
     * @param __slicePeriod The new duration of a slice period in seconds
     */
    function setSlicePeriod(uint256 __slicePeriod) external onlyAdmin {
        _slicePeriod = __slicePeriod;
    }

    /**
     * @dev Sets the cliff period of the vesting period for all beneficiaries
     * @param _cliff The new start time for the vesting period
     */
    function setCliffPeriod(uint256 _cliff) external onlyAdmin {
        _cliffPeriod = _cliff;
    }

    /**
     * @dev Sets the released percentage for all beneficiaries' vesting schedules
     * @param __releasePercentinMultipleof100 The new released percentage (in multiple of 100)
     */
    function setReleasePercent(
        uint256 __releasePercentinMultipleof100
    ) external onlyAdmin {
        _releasedPercent = __releasePercentinMultipleof100;
    }

    /**
     * @dev Sets the TGE (Token Generation Event) percentage for all beneficiaries' vesting schedules
     * @param __tgePercentinMuptipleof100 The new TGE percentage (in multiple of 100)
     */
    function setTgePercent(
        uint256 __tgePercentinMuptipleof100
    ) external onlyAdmin {
        _tgePercent = __tgePercentinMuptipleof100;
    }

    /**
     * @dev Sets the duration of the vesting period for all beneficiaries' vesting schedules
     * @param __durationinMonth The new duration of the vesting period in months
     */
    function setDuration(uint256 __durationinMonth) external onlyAdmin {
        _duration = __durationinMonth * 30 days;
    }

    function setRound(uint8 _round) external onlyAdmin {
        isValidRound(_round);
        VestingRoundNo = _round;
    }

    /**
     * @dev Calculates the amount of tokens that are claimable by a beneficiary at the current time
     * @param _beneficiary The address of the beneficiary
     * @return The amount of claimable tokens for the beneficiary
     */
    function _getClaimableAmount(
        address _beneficiary,
        uint8 _round
    ) internal view returns (uint256) {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ][_round];
        // If all tokens have already been released, revert with an error
        if (vestingSchedule.released >= vestingSchedule.amountTotal) {
            revert AllTokensAreReleleased(_beneficiary);
        }
        // Calculate the TGE (Token Generation Event) amount and vested amount
        uint256 tgeAmount = _getTgeAmount(vestingSchedule);
        uint256 vestedAmount = _computeReleasableAmount(vestingSchedule);
        // Calculate the total amount that can be released now
        uint256 releaseableAmount = tgeAmount.add(vestedAmount);
        // Subtract the previously released amount to get the claimable amount
        return releaseableAmount.sub(vestingSchedule.released);
    }

    /**
     * @dev Computes the amount of tokens that have vested based on the current time
     * @param vestingSchedule The beneficiary's vesting schedule
     * @return The amount of tokens that have vested
     */
    function _computeReleasableAmount(
        VestingSchedule memory vestingSchedule
    ) internal view returns (uint256) {
        uint256 currentTime = getCurrentTime();
        uint256 calculateTime = vestingSchedule.cliff.sub(
            vestingSchedule.slicePeriod
        );
        // If the current time is before the vesting start time, no tokens have vested
        if (currentTime < vestingSchedule.cliff) {
            return 0;
        }
        // If the current time is after or equal to the vesting end time, all remaining tokens are vested
        else if (
            currentTime >=
            vestingSchedule.duration.add(vestingSchedule.startTime)
        ) {
            return vestingSchedule.amountTotal.sub(vestingSchedule.released);
        }
        // Calculate the vested amount as per slice period
        else {
            uint256 timeFromStart = currentTime.sub(calculateTime);
            uint256 secondsPerSlice = vestingSchedule.slicePeriod;
            uint256 vestedSlicePeriods = timeFromStart.div(secondsPerSlice);
            uint256 vestedAmountPerSlice = _calculateReleasableAmount(
                vestingSchedule
            );
            uint256 vestedAmount = vestedAmountPerSlice.mul(vestedSlicePeriods);
            return vestedAmount;
        }
    }

    /**
     * @dev Calculates the amount of tokens that have vested in a single slice period
     * @param vestingSchedule The beneficiary's vesting schedule
     * @return The amount of tokens that have vested in a slice period
     */
    function _calculateReleasableAmount(
        VestingSchedule memory vestingSchedule
    ) internal pure returns (uint256) {
        uint256 totalAmount = vestingSchedule.amountTotal;
        uint256 releasedPercent = uint256(vestingSchedule.releasedPercent);
        return totalAmount.mul(releasedPercent).div(10000);
    }

    /**
     * @dev Calculates the amount of tokens that will be released at the Token Generation Event (TGE)
     * @param vestingSchedule The beneficiary's vesting schedule
     * @return The amount of tokens released at the TGE
     */
    function _getTgeAmount(
        VestingSchedule memory vestingSchedule
    ) internal pure returns (uint256) {
        uint256 totalAmount = vestingSchedule.amountTotal;
        uint256 tgePercent_ = uint256(vestingSchedule.tgePercent);
        return ((totalAmount.mul(tgePercent_)).div(10000));
    }

    /**
     * @dev Returns the current timestamp
     * @return The current timestamp
     */
    function getCurrentTime() internal view returns (uint256) {
        return block.timestamp;
    }

    function isValidRound(uint8 _round) internal pure {
        if (
            !(_round == uint8(VestingRound.Seed) ||
                _round == uint8(VestingRound.PrivateSale) ||
                _round == uint8(VestingRound.PublicSale) ||
                _round == uint8(VestingRound.StakingReward) ||
                _round == uint8(VestingRound.Liquidity) ||
                _round == uint8(VestingRound.PartnerShips) ||
                _round == uint8(VestingRound.Ecosystem) ||
                _round == uint8(VestingRound.Team) ||
                _round == uint8(VestingRound.Marketing) ||
                _round == uint8(VestingRound.Development) ||
                _round == uint8(VestingRound.Advisors) ||
                _round == uint8(VestingRound.Airdrop))
        ) {
            revert InvalidRound();
        }
    }

    function transferTokenOwnership(address _newOwner) external onlyAdmin {
        if (_newOwner == address(0)) {
            revert ZeroAddress();
        }
        if (!isAdmin(_newOwner)) {
            revert ownerShipCouldNotBeTransferred();
        }
        if (msg.sender == _newOwner) {
            revert ownerShipCouldNotBeTransferred();
        }
        token.transferOwnership(_newOwner);
    }
}

File 4 of 7 : IFloyx.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity 0.8.18;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IFloyx {
    /**
     * @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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` 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 amount
    ) external returns (bool);

    function mint(address to, uint256 amount) external returns (bool);

    function transferOwnership(address newOwner) external;

    function burn(uint256 amount) external;
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity 0.8.18;

/**
 * @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;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity 0.8.18;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 7 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity 0.8.18;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_floyxVestingContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimPrivateVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimSeedVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"floyxVestingContract","outputs":[{"internalType":"contract FloyxTokenVesting","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getPrivateClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getPrivateReleasedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getPrivateTototalAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getSeedClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getSeedReleasedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getSeedTototalAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001297380380620012978339818101604052810190620000379190620000f1565b600160008190555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000123565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620000b9826200008c565b9050919050565b620000cb81620000ac565b8114620000d757600080fd5b50565b600081519050620000eb81620000c0565b92915050565b6000602082840312156200010a576200010962000087565b5b60006200011a84828501620000da565b91505092915050565b61116480620001336000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80639b1df30a116100665780639b1df30a14610144578063b7c0ba3e14610174578063ca7f22b8146101a4578063d751f70e146101c0578063d7c1ad23146101de57610093565b8063208d32101461009857806331d6b7eb146100b4578063699af001146100e45780637ab0275414610114575b600080fd5b6100b260048036038101906100ad9190610d6e565b61020e565b005b6100ce60048036038101906100c99190610d6e565b610331565b6040516100db9190610db4565b60405180910390f35b6100fe60048036038101906100f99190610d6e565b61048d565b60405161010b9190610db4565b60405180910390f35b61012e60048036038101906101299190610d6e565b6105e9565b60405161013b9190610db4565b60405180910390f35b61015e60048036038101906101599190610d6e565b610745565b60405161016b9190610db4565b60405180910390f35b61018e60048036038101906101899190610d6e565b6108a1565b60405161019b9190610db4565b60405180910390f35b6101be60048036038101906101b99190610d6e565b6109fd565b005b6101c8610b30565b6040516101d59190610e2e565b60405180910390f35b6101f860048036038101906101f39190610d6e565b610b56565b6040516102059190610db4565b60405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260006040518363ffffffff1660e01b815260040161026c929190610ea0565b600060405180830381600087803b15801561028657600080fd5b505af115801561029a573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260026040518363ffffffff1660e01b81526004016102fc929190610f04565b600060405180830381600087803b15801561031657600080fd5b505af115801561032a573d6000803e3d6000fd5b5050505050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98460016040518363ffffffff1660e01b8152600401610392929190610f68565b602060405180830381865afa1580156103af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d39190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98560036040518363ffffffff1660e01b8152600401610435929190611025565b602060405180830381865afa158015610452573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104769190610fbd565b90508082610484919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478460006040518363ffffffff1660e01b81526004016104ee929190610ea0565b602060405180830381865afa15801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478560026040518363ffffffff1660e01b8152600401610591929190610f04565b602060405180830381865afa1580156105ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d29190610fbd565b905080826105e0919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478460016040518363ffffffff1660e01b815260040161064a929190610f68565b602060405180830381865afa158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478560036040518363ffffffff1660e01b81526004016106ed929190611025565b602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190610fbd565b9050808261073c919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8460006040518363ffffffff1660e01b81526004016107a6929190610ea0565b602060405180830381865afa1580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8560026040518363ffffffff1660e01b8152600401610849929190610f04565b602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190610fbd565b90508082610898919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8460016040518363ffffffff1660e01b8152600401610902929190610f68565b602060405180830381865afa15801561091f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109439190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8560036040518363ffffffff1660e01b81526004016109a5929190611025565b602060405180830381865afa1580156109c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e69190610fbd565b905080826109f4919061107d565b92505050919050565b610a05610cb2565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260016040518363ffffffff1660e01b8152600401610a63929190610f68565b600060405180830381600087803b158015610a7d57600080fd5b505af1158015610a91573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260036040518363ffffffff1660e01b8152600401610af3929190611025565b600060405180830381600087803b158015610b0d57600080fd5b505af1158015610b21573d6000803e3d6000fd5b50505050610b2d610d01565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98460006040518363ffffffff1660e01b8152600401610bb7929190610ea0565b602060405180830381865afa158015610bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf89190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98560026040518363ffffffff1660e01b8152600401610c5a929190610f04565b602060405180830381865afa158015610c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9b9190610fbd565b90508082610ca9919061107d565b92505050919050565b600260005403610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee9061110e565b60405180910390fd5b6002600081905550565b6001600081905550565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d3b82610d10565b9050919050565b610d4b81610d30565b8114610d5657600080fd5b50565b600081359050610d6881610d42565b92915050565b600060208284031215610d8457610d83610d0b565b5b6000610d9284828501610d59565b91505092915050565b6000819050919050565b610dae81610d9b565b82525050565b6000602082019050610dc96000830184610da5565b92915050565b6000819050919050565b6000610df4610def610dea84610d10565b610dcf565b610d10565b9050919050565b6000610e0682610dd9565b9050919050565b6000610e1882610dfb565b9050919050565b610e2881610e0d565b82525050565b6000602082019050610e436000830184610e1f565b92915050565b610e5281610d30565b82525050565b6000819050919050565b600060ff82169050919050565b6000610e8a610e85610e8084610e58565b610dcf565b610e62565b9050919050565b610e9a81610e6f565b82525050565b6000604082019050610eb56000830185610e49565b610ec26020830184610e91565b9392505050565b6000819050919050565b6000610eee610ee9610ee484610ec9565b610dcf565b610e62565b9050919050565b610efe81610ed3565b82525050565b6000604082019050610f196000830185610e49565b610f266020830184610ef5565b9392505050565b6000819050919050565b6000610f52610f4d610f4884610f2d565b610dcf565b610e62565b9050919050565b610f6281610f37565b82525050565b6000604082019050610f7d6000830185610e49565b610f8a6020830184610f59565b9392505050565b610f9a81610d9b565b8114610fa557600080fd5b50565b600081519050610fb781610f91565b92915050565b600060208284031215610fd357610fd2610d0b565b5b6000610fe184828501610fa8565b91505092915050565b6000819050919050565b600061100f61100a61100584610fea565b610dcf565b610e62565b9050919050565b61101f81610ff4565b82525050565b600060408201905061103a6000830185610e49565b6110476020830184611016565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061108882610d9b565b915061109383610d9b565b92508282019050808211156110ab576110aa61104e565b5b92915050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006110f8601f836110b1565b9150611103826110c2565b602082019050919050565b60006020820190508181036000830152611127816110eb565b905091905056fea26469706673582212201d239492b57761583c8cd0ce78a5a642f2a010b9ac5d111185c6d1c5b16ce99464736f6c634300081200330000000000000000000000009487e24a3137cfcf8cf40a3a9d60235bd5f7c802

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80639b1df30a116100665780639b1df30a14610144578063b7c0ba3e14610174578063ca7f22b8146101a4578063d751f70e146101c0578063d7c1ad23146101de57610093565b8063208d32101461009857806331d6b7eb146100b4578063699af001146100e45780637ab0275414610114575b600080fd5b6100b260048036038101906100ad9190610d6e565b61020e565b005b6100ce60048036038101906100c99190610d6e565b610331565b6040516100db9190610db4565b60405180910390f35b6100fe60048036038101906100f99190610d6e565b61048d565b60405161010b9190610db4565b60405180910390f35b61012e60048036038101906101299190610d6e565b6105e9565b60405161013b9190610db4565b60405180910390f35b61015e60048036038101906101599190610d6e565b610745565b60405161016b9190610db4565b60405180910390f35b61018e60048036038101906101899190610d6e565b6108a1565b60405161019b9190610db4565b60405180910390f35b6101be60048036038101906101b99190610d6e565b6109fd565b005b6101c8610b30565b6040516101d59190610e2e565b60405180910390f35b6101f860048036038101906101f39190610d6e565b610b56565b6040516102059190610db4565b60405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260006040518363ffffffff1660e01b815260040161026c929190610ea0565b600060405180830381600087803b15801561028657600080fd5b505af115801561029a573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260026040518363ffffffff1660e01b81526004016102fc929190610f04565b600060405180830381600087803b15801561031657600080fd5b505af115801561032a573d6000803e3d6000fd5b5050505050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98460016040518363ffffffff1660e01b8152600401610392929190610f68565b602060405180830381865afa1580156103af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d39190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98560036040518363ffffffff1660e01b8152600401610435929190611025565b602060405180830381865afa158015610452573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104769190610fbd565b90508082610484919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478460006040518363ffffffff1660e01b81526004016104ee929190610ea0565b602060405180830381865afa15801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478560026040518363ffffffff1660e01b8152600401610591929190610f04565b602060405180830381865afa1580156105ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d29190610fbd565b905080826105e0919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478460016040518363ffffffff1660e01b815260040161064a929190610f68565b602060405180830381865afa158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395a065478560036040518363ffffffff1660e01b81526004016106ed929190611025565b602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190610fbd565b9050808261073c919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8460006040518363ffffffff1660e01b81526004016107a6929190610ea0565b602060405180830381865afa1580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8560026040518363ffffffff1660e01b8152600401610849929190610f04565b602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190610fbd565b90508082610898919061107d565b92505050919050565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8460016040518363ffffffff1660e01b8152600401610902929190610f68565b602060405180830381865afa15801561091f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109439190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f4add0e8560036040518363ffffffff1660e01b81526004016109a5929190611025565b602060405180830381865afa1580156109c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e69190610fbd565b905080826109f4919061107d565b92505050919050565b610a05610cb2565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260016040518363ffffffff1660e01b8152600401610a63929190610f68565b600060405180830381600087803b158015610a7d57600080fd5b505af1158015610a91573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663708167ad8260036040518363ffffffff1660e01b8152600401610af3929190611025565b600060405180830381600087803b158015610b0d57600080fd5b505af1158015610b21573d6000803e3d6000fd5b50505050610b2d610d01565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98460006040518363ffffffff1660e01b8152600401610bb7929190610ea0565b602060405180830381865afa158015610bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf89190610fbd565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c73acf98560026040518363ffffffff1660e01b8152600401610c5a929190610f04565b602060405180830381865afa158015610c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9b9190610fbd565b90508082610ca9919061107d565b92505050919050565b600260005403610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee9061110e565b60405180910390fd5b6002600081905550565b6001600081905550565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d3b82610d10565b9050919050565b610d4b81610d30565b8114610d5657600080fd5b50565b600081359050610d6881610d42565b92915050565b600060208284031215610d8457610d83610d0b565b5b6000610d9284828501610d59565b91505092915050565b6000819050919050565b610dae81610d9b565b82525050565b6000602082019050610dc96000830184610da5565b92915050565b6000819050919050565b6000610df4610def610dea84610d10565b610dcf565b610d10565b9050919050565b6000610e0682610dd9565b9050919050565b6000610e1882610dfb565b9050919050565b610e2881610e0d565b82525050565b6000602082019050610e436000830184610e1f565b92915050565b610e5281610d30565b82525050565b6000819050919050565b600060ff82169050919050565b6000610e8a610e85610e8084610e58565b610dcf565b610e62565b9050919050565b610e9a81610e6f565b82525050565b6000604082019050610eb56000830185610e49565b610ec26020830184610e91565b9392505050565b6000819050919050565b6000610eee610ee9610ee484610ec9565b610dcf565b610e62565b9050919050565b610efe81610ed3565b82525050565b6000604082019050610f196000830185610e49565b610f266020830184610ef5565b9392505050565b6000819050919050565b6000610f52610f4d610f4884610f2d565b610dcf565b610e62565b9050919050565b610f6281610f37565b82525050565b6000604082019050610f7d6000830185610e49565b610f8a6020830184610f59565b9392505050565b610f9a81610d9b565b8114610fa557600080fd5b50565b600081519050610fb781610f91565b92915050565b600060208284031215610fd357610fd2610d0b565b5b6000610fe184828501610fa8565b91505092915050565b6000819050919050565b600061100f61100a61100584610fea565b610dcf565b610e62565b9050919050565b61101f81610ff4565b82525050565b600060408201905061103a6000830185610e49565b6110476020830184611016565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061108882610d9b565b915061109383610d9b565b92508282019050808211156110ab576110aa61104e565b5b92915050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006110f8601f836110b1565b9150611103826110c2565b602082019050919050565b60006020820190508181036000830152611127816110eb565b905091905056fea26469706673582212201d239492b57761583c8cd0ce78a5a642f2a010b9ac5d111185c6d1c5b16ce99464736f6c63430008120033

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

0000000000000000000000009487e24a3137cfcf8cf40a3a9d60235bd5f7c802

-----Decoded View---------------
Arg [0] : _floyxVestingContractAddress (address): 0x9487e24A3137CFcf8cF40A3a9D60235BD5f7C802

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009487e24a3137cfcf8cf40a3a9d60235bd5f7c802


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.