ETH Price: $3,291.39 (-2.11%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake204271502024-07-31 14:31:59161 days ago1722436319IN
0x41435a96...E02e6d415
0 ETH0.0037282317.4737342
Withdraw All Tok...202327642024-07-04 11:10:47188 days ago1720091447IN
0x41435a96...E02e6d415
0 ETH0.0007106310.47429284
Stake201989352024-06-29 17:48:59193 days ago1719683339IN
0x41435a96...E02e6d415
0 ETH0.000443672.41208466
Withdraw All Tok...199121112024-05-20 15:44:11233 days ago1716219851IN
0x41435a96...E02e6d415
0 ETH0.0003453414.69219481
Stake198798192024-05-16 3:20:47237 days ago1715829647IN
0x41435a96...E02e6d415
0 ETH0.00098495.14411698
Stake198588162024-05-13 4:50:11240 days ago1715575811IN
0x41435a96...E02e6d415
0 ETH0.000602793.27694646
Stake198062652024-05-05 20:25:59248 days ago1714940759IN
0x41435a96...E02e6d415
0 ETH0.000363174.99871612
Stake198062652024-05-05 20:25:59248 days ago1714940759IN
0x41435a96...E02e6d415
0 ETH0.000981054.99871612
Stake198050122024-05-05 16:13:59248 days ago1714925639IN
0x41435a96...E02e6d415
0 ETH0.000540417.43820593
Stake198050122024-05-05 16:13:59248 days ago1714925639IN
0x41435a96...E02e6d415
0 ETH0.00149537.43702695
Stake197102492024-04-22 10:10:11261 days ago1713780611IN
0x41435a96...E02e6d415
0 ETH0.001868869.29552373
Stake196716472024-04-17 0:35:23266 days ago1713314123IN
0x41435a96...E02e6d415
0 ETH0.001287587.18669356
Stake196696292024-04-16 17:48:11267 days ago1713289691IN
0x41435a96...E02e6d415
0 ETH0.0029291614.56672102
Withdraw All Tok...196662702024-04-16 6:30:35267 days ago1713249035IN
0x41435a96...E02e6d415
0 ETH0.000614679.05986786
Stake196646892024-04-16 1:11:23267 days ago1713229883IN
0x41435a96...E02e6d415
0 ETH0.001522078.7293724
Stake196350752024-04-11 21:32:11271 days ago1712871131IN
0x41435a96...E02e6d415
0 ETH0.0031102516.24475252
Stake196303982024-04-11 5:48:23272 days ago1712814503IN
0x41435a96...E02e6d415
0 ETH0.0022754511.31717515
Stake196255952024-04-10 13:42:23273 days ago1712756543IN
0x41435a96...E02e6d415
0 ETH0.0077601124.21956651
Stake196108912024-04-08 12:16:35275 days ago1712578595IN
0x41435a96...E02e6d415
0 ETH0.0043055321.937686
Stake196071342024-04-07 23:38:35275 days ago1712533115IN
0x41435a96...E02e6d415
0 ETH0.0022585611.23318318
Stake196058962024-04-07 19:28:23276 days ago1712518103IN
0x41435a96...E02e6d415
0 ETH0.0029954815.26269769
Stake196013722024-04-07 4:14:59276 days ago1712463299IN
0x41435a96...E02e6d415
0 ETH0.001666238.70212318
Stake195969342024-04-06 13:18:23277 days ago1712409503IN
0x41435a96...E02e6d415
0 ETH0.003200118.35320518
Stake195901682024-04-05 14:35:35278 days ago1712327735IN
0x41435a96...E02e6d415
0 ETH0.0093955829.76989865
Stake195803192024-04-04 5:28:59279 days ago1712208539IN
0x41435a96...E02e6d415
0 ETH0.0035381717.59742818
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VuzzStaking

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-02-02
*/

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

interface IERC20 {
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    function balanceOf(address account) external view returns (uint256);
}

contract VuzzStaking {
    IERC20 public token;
    address public owner;
    uint256 public rewardPool;

    struct Stake {
        uint256 amount;
        uint256 startTime;
        uint256 period;
        bool active;
    }

    mapping(address => Stake[]) public stakes;
    mapping(uint256 => uint256) public periodToAPR;

    constructor(address tokenAddress) {
        token = IERC20(tokenAddress);
        owner = msg.sender;
        // Initialize APRs for different periods (in seconds)
        periodToAPR[14 days] = 20;
        periodToAPR[28 days] = 56;
        periodToAPR[56 days] = 120;
        
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }

    function viewStakes(address user)
        external
        view
        returns (Stake[] memory, uint256[] memory)
    {
        Stake[] memory userStakes = stakes[user];
        uint256[] memory remainingTimes = new uint256[](userStakes.length);

        for (uint256 i = 0; i < userStakes.length; i++) {
            uint256 endTime = userStakes[i].startTime + userStakes[i].period;
            remainingTimes[i] = (endTime > block.timestamp)
                ? endTime - block.timestamp
                : 0;
        }

        return (userStakes, remainingTimes);
    }

    function fundRewardPool(uint256 amount) external onlyOwner {
        require(
            token.transferFrom(msg.sender, address(this), amount),
            "Transfer failed"
        );
        rewardPool += amount;
    }

    function stake(uint256 amount, uint256 period) external {
        require(amount > 0, "Amount must be greater than 0");
        require(periodToAPR[period] > 0, "Invalid staking period");
        require(
            token.transferFrom(msg.sender, address(this), amount),
            "Transfer failed"
        );

        stakes[msg.sender].push(Stake(amount, block.timestamp, period, true));
    }

    function calculateReward(Stake memory userStake)
        private
        view
        returns (uint256)
    {
        if (
            block.timestamp >= userStake.startTime + userStake.period &&
            userStake.active
        ) {
            uint256 apr = periodToAPR[userStake.period];

            uint256 scaledPeriod = userStake.period * 10**18; // Scaling factor
            uint256 durationInYears = scaledPeriod / 365 days;

            return (userStake.amount * apr * durationInYears) / (100 * 10**18);
        }
        return 0;
    }

    function withdraw(uint256 stakingPeriod) external {
        uint256 totalReward = 0;
        uint256 totalAmount = 0;

        for (uint256 i = 0; i < stakes[msg.sender].length; i++) {
            Stake storage userStake = stakes[msg.sender][i];
            if (
                userStake.period == stakingPeriod &&
                userStake.active &&
                block.timestamp >= userStake.startTime + userStake.period
            ) {
                uint256 reward = calculateReward(userStake);
                totalReward += reward;
                totalAmount += userStake.amount;
                userStake.active = false; // Mark as withdrawn
            }
        }

        require(
            totalAmount > 0,
            "No completed stakes to withdraw for the specified period"
        );
        require(totalReward <= rewardPool, "Insufficient reward pool");

        rewardPool -= totalReward;
        totalAmount += totalReward;

        require(token.transfer(msg.sender, totalAmount), "Transfer failed");
    }

    function withdrawAllTokens() external onlyOwner {
        uint256 contractBalance = token.balanceOf(address(this));
        require(contractBalance > 0, "Contract has no tokens to withdraw");

        require(token.transfer(owner, contractBalance), "Transfer failed");
    }

    function withdrawTokens(uint256 _amount) external onlyOwner {
        uint256 contractBalance = token.balanceOf(address(this));
        require(contractBalance >= _amount, "Insufficient contract balance");
        
        require(token.transfer(owner, _amount), "Transfer failed");
}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"fundRewardPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"periodToAPR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"period","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"viewStakes","outputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"internalType":"struct VuzzStaking.Stake[]","name":"","type":"tuple[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakingPeriod","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAllTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161117c38038061117c83398101604081905261002f916100d5565b600080546001600160a01b039092166001600160a01b0319928316178155600180549092163317909155600460205260147f066e338a393f2ccdc559a4658a323404072c80a40348cbf6e97a06de88cab8be5560387f29886a107fc7a66e881e85f6bd158e8ff1cfc6a907f8af1121e98600c00a0be6556249d400905260787f809384dd0d219a427b26bc7f3259d46f60c7097ba05b3a7bd572f65f647ede1655610103565b6000602082840312156100e6578081fd5b81516001600160a01b03811681146100fc578182fd5b9392505050565b61106a806101126000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806366666aa91161007157806366666aa91461011d5780637b0472f0146101325780638da5cb5b14610145578063a43c992c1461015a578063e0dc26cd1461017b578063fc0c546a1461018e576100a9565b80631d583e0d146100ae578063280da6fa146100c35780632e1a7d4d146100cb578063315a095d146100de578063584b62a1146100f1575b600080fd5b6100c16100bc366004610c6a565b610196565b005b6100c1610285565b6100c16100d9366004610c6a565b6103f9565b6100c16100ec366004610c6a565b610618565b6101046100ff366004610c21565b61078d565b6040516101149493929190610f78565b60405180910390f35b6101256107d6565b6040516101149190610f6f565b6100c1610140366004610c9a565b6107dc565b61014d61093a565b6040516101149190610cbb565b61016d610168366004610c00565b610949565b604051610114929190610d0c565b610125610189366004610c6a565b610b1b565b61014d610b2d565b6001546001600160a01b031633146101c95760405162461bcd60e51b81526004016101c090610f15565b60405180910390fd5b6000546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906101fd90339030908690600401610ccf565b602060405180830381600087803b15801561021757600080fd5b505af115801561022b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024f9190610c4a565b61026b5760405162461bcd60e51b81526004016101c090610daf565b806002600082825461027d9190610f95565b909155505050565b6001546001600160a01b031633146102af5760405162461bcd60e51b81526004016101c090610f15565b600080546040516370a0823160e01b81526001600160a01b03909116906370a08231906102e0903090600401610cbb565b60206040518083038186803b1580156102f857600080fd5b505afa15801561030c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103309190610c82565b9050600081116103525760405162461bcd60e51b81526004016101c090610e46565b60005460015460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92610388929116908590600401610cf3565b602060405180830381600087803b1580156103a257600080fd5b505af11580156103b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103da9190610c4a565b6103f65760405162461bcd60e51b81526004016101c090610daf565b50565b60008060005b3360009081526003602052604090205481101561050d5733600090815260036020526040812080548390811061044557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201905084816002015414801561046c5750600381015460ff165b801561048b5750806002015481600101546104879190610f95565b4210155b156104fa57604080516080810182528254815260018301546020820152600283015491810191909152600382015460ff16151560608201526000906104cf90610b3c565b90506104db8186610f95565b82549095506104ea9085610f95565b60038301805460ff191690559350505b508061050581611003565b9150506103ff565b506000811161052e5760405162461bcd60e51b81526004016101c090610eb8565b6002548211156105505760405162461bcd60e51b81526004016101c090610dd8565b81600260008282546105629190610fec565b9091555061057290508282610f95565b60005460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb906105a59033908590600401610cf3565b602060405180830381600087803b1580156105bf57600080fd5b505af11580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190610c4a565b6106135760405162461bcd60e51b81526004016101c090610daf565b505050565b6001546001600160a01b031633146106425760405162461bcd60e51b81526004016101c090610f15565b600080546040516370a0823160e01b81526001600160a01b03909116906370a0823190610673903090600401610cbb565b60206040518083038186803b15801561068b57600080fd5b505afa15801561069f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c39190610c82565b9050818110156106e55760405162461bcd60e51b81526004016101c090610f38565b60005460015460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb9261071b929116908690600401610cf3565b602060405180830381600087803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610c4a565b6107895760405162461bcd60e51b81526004016101c090610daf565b5050565b600360205281600052604060002081815481106107a957600080fd5b60009182526020909120600490910201805460018201546002830154600390930154919450925060ff1684565b60025481565b600082116107fc5760405162461bcd60e51b81526004016101c090610e0f565b6000818152600460205260409020546108275760405162461bcd60e51b81526004016101c090610e88565b6000546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061085b90339030908790600401610ccf565b602060405180830381600087803b15801561087557600080fd5b505af1158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad9190610c4a565b6108c95760405162461bcd60e51b81526004016101c090610daf565b336000908152600360208181526040808420815160808101835296875242878401908152918701958652600160608801818152825480830184559287529390952096516004909102909601958655519285019290925591516002840155519101805460ff1916911515919091179055565b6001546001600160a01b031681565b606080600060036000856001600160a01b03166001600160a01b03168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156109ec576000848152602090819020604080516080810182526004860290920180548352600180820154848601526002820154928401929092526003015460ff16151560608301529083529092019101610993565b5050505090506000815167ffffffffffffffff811115610a1c57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a45578160200160208202803683370190505b50905060005b8251811015610b10576000838281518110610a7657634e487b7160e01b600052603260045260246000fd5b602002602001015160400151848381518110610aa257634e487b7160e01b600052603260045260246000fd5b602002602001015160200151610ab89190610f95565b9050428111610ac8576000610ad2565b610ad24282610fec565b838381518110610af257634e487b7160e01b600052603260045260246000fd5b60209081029190910101525080610b0881611003565b915050610a4b565b509092509050915091565b60046020526000908152604090205481565b6000546001600160a01b031681565b600081604001518260200151610b529190610f95565b4210158015610b62575081606001515b15610be0576040808301805160009081526004602052918220549051909190610b9390670de0b6b3a7640000610fcd565b90506000610ba56301e1338083610fad565b905068056bc75e2d6310000081848760000151610bc29190610fcd565b610bcc9190610fcd565b610bd69190610fad565b9350505050610be4565b5060005b919050565b80356001600160a01b0381168114610be457600080fd5b600060208284031215610c11578081fd5b610c1a82610be9565b9392505050565b60008060408385031215610c33578081fd5b610c3c83610be9565b946020939093013593505050565b600060208284031215610c5b578081fd5b81518015158114610c1a578182fd5b600060208284031215610c7b578081fd5b5035919050565b600060208284031215610c93578081fd5b5051919050565b60008060408385031215610cac578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6040808252835182820181905260009190606090818501906020808901865b83811015610d64578151805186528381015184870152878101518887015286015115158686015260809094019390820190600101610d2b565b50508683038188015287518084529281019450919250508581019084905b83821015610da25782518552938401939182019160019190910190610d82565b5092979650505050505050565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b60208082526018908201527f496e73756666696369656e742072657761726420706f6f6c0000000000000000604082015260600190565b6020808252601d908201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604082015260600190565b60208082526022908201527f436f6e747261637420686173206e6f20746f6b656e7320746f20776974686472604082015261617760f01b606082015260800190565b602080825260169082015275125b9d985b1a59081cdd185ada5b99c81c195c9a5bd960521b604082015260600190565b60208082526038908201527f4e6f20636f6d706c65746564207374616b657320746f2077697468647261772060408201527f666f72207468652073706563696669656420706572696f640000000000000000606082015260800190565b6020808252600990820152682737ba1037bbb732b960b91b604082015260600190565b6020808252601d908201527f496e73756666696369656e7420636f6e74726163742062616c616e6365000000604082015260600190565b90815260200190565b938452602084019290925260408301521515606082015260800190565b60008219821115610fa857610fa861101e565b500190565b600082610fc857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610fe757610fe761101e565b500290565b600082821015610ffe57610ffe61101e565b500390565b60006000198214156110175761101761101e565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212200d25728666406ad48ea1bd90c85114c1fb2bda6f8f38b47d89555e22a0ec799064736f6c63430008000033000000000000000000000000e469699f617bfd0fbffcd575970d34c2cecffa9f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806366666aa91161007157806366666aa91461011d5780637b0472f0146101325780638da5cb5b14610145578063a43c992c1461015a578063e0dc26cd1461017b578063fc0c546a1461018e576100a9565b80631d583e0d146100ae578063280da6fa146100c35780632e1a7d4d146100cb578063315a095d146100de578063584b62a1146100f1575b600080fd5b6100c16100bc366004610c6a565b610196565b005b6100c1610285565b6100c16100d9366004610c6a565b6103f9565b6100c16100ec366004610c6a565b610618565b6101046100ff366004610c21565b61078d565b6040516101149493929190610f78565b60405180910390f35b6101256107d6565b6040516101149190610f6f565b6100c1610140366004610c9a565b6107dc565b61014d61093a565b6040516101149190610cbb565b61016d610168366004610c00565b610949565b604051610114929190610d0c565b610125610189366004610c6a565b610b1b565b61014d610b2d565b6001546001600160a01b031633146101c95760405162461bcd60e51b81526004016101c090610f15565b60405180910390fd5b6000546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906101fd90339030908690600401610ccf565b602060405180830381600087803b15801561021757600080fd5b505af115801561022b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024f9190610c4a565b61026b5760405162461bcd60e51b81526004016101c090610daf565b806002600082825461027d9190610f95565b909155505050565b6001546001600160a01b031633146102af5760405162461bcd60e51b81526004016101c090610f15565b600080546040516370a0823160e01b81526001600160a01b03909116906370a08231906102e0903090600401610cbb565b60206040518083038186803b1580156102f857600080fd5b505afa15801561030c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103309190610c82565b9050600081116103525760405162461bcd60e51b81526004016101c090610e46565b60005460015460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92610388929116908590600401610cf3565b602060405180830381600087803b1580156103a257600080fd5b505af11580156103b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103da9190610c4a565b6103f65760405162461bcd60e51b81526004016101c090610daf565b50565b60008060005b3360009081526003602052604090205481101561050d5733600090815260036020526040812080548390811061044557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201905084816002015414801561046c5750600381015460ff165b801561048b5750806002015481600101546104879190610f95565b4210155b156104fa57604080516080810182528254815260018301546020820152600283015491810191909152600382015460ff16151560608201526000906104cf90610b3c565b90506104db8186610f95565b82549095506104ea9085610f95565b60038301805460ff191690559350505b508061050581611003565b9150506103ff565b506000811161052e5760405162461bcd60e51b81526004016101c090610eb8565b6002548211156105505760405162461bcd60e51b81526004016101c090610dd8565b81600260008282546105629190610fec565b9091555061057290508282610f95565b60005460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb906105a59033908590600401610cf3565b602060405180830381600087803b1580156105bf57600080fd5b505af11580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190610c4a565b6106135760405162461bcd60e51b81526004016101c090610daf565b505050565b6001546001600160a01b031633146106425760405162461bcd60e51b81526004016101c090610f15565b600080546040516370a0823160e01b81526001600160a01b03909116906370a0823190610673903090600401610cbb565b60206040518083038186803b15801561068b57600080fd5b505afa15801561069f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c39190610c82565b9050818110156106e55760405162461bcd60e51b81526004016101c090610f38565b60005460015460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb9261071b929116908690600401610cf3565b602060405180830381600087803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610c4a565b6107895760405162461bcd60e51b81526004016101c090610daf565b5050565b600360205281600052604060002081815481106107a957600080fd5b60009182526020909120600490910201805460018201546002830154600390930154919450925060ff1684565b60025481565b600082116107fc5760405162461bcd60e51b81526004016101c090610e0f565b6000818152600460205260409020546108275760405162461bcd60e51b81526004016101c090610e88565b6000546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061085b90339030908790600401610ccf565b602060405180830381600087803b15801561087557600080fd5b505af1158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad9190610c4a565b6108c95760405162461bcd60e51b81526004016101c090610daf565b336000908152600360208181526040808420815160808101835296875242878401908152918701958652600160608801818152825480830184559287529390952096516004909102909601958655519285019290925591516002840155519101805460ff1916911515919091179055565b6001546001600160a01b031681565b606080600060036000856001600160a01b03166001600160a01b03168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156109ec576000848152602090819020604080516080810182526004860290920180548352600180820154848601526002820154928401929092526003015460ff16151560608301529083529092019101610993565b5050505090506000815167ffffffffffffffff811115610a1c57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a45578160200160208202803683370190505b50905060005b8251811015610b10576000838281518110610a7657634e487b7160e01b600052603260045260246000fd5b602002602001015160400151848381518110610aa257634e487b7160e01b600052603260045260246000fd5b602002602001015160200151610ab89190610f95565b9050428111610ac8576000610ad2565b610ad24282610fec565b838381518110610af257634e487b7160e01b600052603260045260246000fd5b60209081029190910101525080610b0881611003565b915050610a4b565b509092509050915091565b60046020526000908152604090205481565b6000546001600160a01b031681565b600081604001518260200151610b529190610f95565b4210158015610b62575081606001515b15610be0576040808301805160009081526004602052918220549051909190610b9390670de0b6b3a7640000610fcd565b90506000610ba56301e1338083610fad565b905068056bc75e2d6310000081848760000151610bc29190610fcd565b610bcc9190610fcd565b610bd69190610fad565b9350505050610be4565b5060005b919050565b80356001600160a01b0381168114610be457600080fd5b600060208284031215610c11578081fd5b610c1a82610be9565b9392505050565b60008060408385031215610c33578081fd5b610c3c83610be9565b946020939093013593505050565b600060208284031215610c5b578081fd5b81518015158114610c1a578182fd5b600060208284031215610c7b578081fd5b5035919050565b600060208284031215610c93578081fd5b5051919050565b60008060408385031215610cac578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6040808252835182820181905260009190606090818501906020808901865b83811015610d64578151805186528381015184870152878101518887015286015115158686015260809094019390820190600101610d2b565b50508683038188015287518084529281019450919250508581019084905b83821015610da25782518552938401939182019160019190910190610d82565b5092979650505050505050565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b60208082526018908201527f496e73756666696369656e742072657761726420706f6f6c0000000000000000604082015260600190565b6020808252601d908201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604082015260600190565b60208082526022908201527f436f6e747261637420686173206e6f20746f6b656e7320746f20776974686472604082015261617760f01b606082015260800190565b602080825260169082015275125b9d985b1a59081cdd185ada5b99c81c195c9a5bd960521b604082015260600190565b60208082526038908201527f4e6f20636f6d706c65746564207374616b657320746f2077697468647261772060408201527f666f72207468652073706563696669656420706572696f640000000000000000606082015260800190565b6020808252600990820152682737ba1037bbb732b960b91b604082015260600190565b6020808252601d908201527f496e73756666696369656e7420636f6e74726163742062616c616e6365000000604082015260600190565b90815260200190565b938452602084019290925260408301521515606082015260800190565b60008219821115610fa857610fa861101e565b500190565b600082610fc857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610fe757610fe761101e565b500290565b600082821015610ffe57610ffe61101e565b500390565b60006000198214156110175761101761101e565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212200d25728666406ad48ea1bd90c85114c1fb2bda6f8f38b47d89555e22a0ec799064736f6c63430008000033

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

000000000000000000000000e469699f617bfd0fbffcd575970d34c2cecffa9f

-----Decoded View---------------
Arg [0] : tokenAddress (address): 0xE469699F617bfd0FBfFcd575970d34c2CeCfFA9f

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e469699f617bfd0fbffcd575970d34c2cecffa9f


Deployed Bytecode Sourcemap

401:4218:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1743:227;;;;;;:::i;:::-;;:::i;:::-;;4040:279;;;:::i;2970:1062::-;;;;;;:::i;:::-;;:::i;4327:289::-;;;;;;:::i;:::-;;:::i;645:41::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;482:25;;;:::i;:::-;;;;;;;:::i;1978:407::-;;;;;;:::i;:::-;;:::i;455:20::-;;;:::i;:::-;;;;;;;:::i;1149:586::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;693:46::-;;;;;;:::i;:::-;;:::i;429:19::-;;;:::i;1743:227::-;1102:5;;-1:-1:-1;;;;;1102:5:0;1088:10;:19;1080:41;;;;-1:-1:-1;;;1080:41:0;;;;;;;:::i;:::-;;;;;;;;;1835:5:::1;::::0;:53:::1;::::0;-1:-1:-1;;;1835:53:0;;-1:-1:-1;;;;;1835:5:0;;::::1;::::0;:18:::1;::::0;:53:::1;::::0;1854:10:::1;::::0;1874:4:::1;::::0;1881:6;;1835:53:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1813:118;;;;-1:-1:-1::0;;;1813:118:0::1;;;;;;;:::i;:::-;1956:6;1942:10;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;1743:227:0:o;4040:279::-;1102:5;;-1:-1:-1;;;;;1102:5:0;1088:10;:19;1080:41;;;;-1:-1:-1;;;1080:41:0;;;;;;;:::i;:::-;4099:23:::1;4125:5:::0;;:30:::1;::::0;-1:-1:-1;;;4125:30:0;;-1:-1:-1;;;;;4125:5:0;;::::1;::::0;:15:::1;::::0;:30:::1;::::0;4149:4:::1;::::0;4125:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4099:56;;4192:1;4174:15;:19;4166:66;;;;-1:-1:-1::0;;;4166:66:0::1;;;;;;;:::i;:::-;4253:5;::::0;;4268;4253:38:::1;::::0;-1:-1:-1;;;4253:38:0;;-1:-1:-1;;;;;4253:5:0;;::::1;::::0;:14:::1;::::0;:38:::1;::::0;4268:5;::::1;::::0;4275:15;;4253:38:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4245:66;;;;-1:-1:-1::0;;;4245:66:0::1;;;;;;;:::i;:::-;1132:1;4040:279::o:0;2970:1062::-;3031:19;3065;3106:9;3101:562;3132:10;3125:18;;;;:6;:18;;;;;:25;3121:29;;3101:562;;;3205:10;3172:23;3198:18;;;:6;:18;;;;;:21;;3217:1;;3198:21;;;;-1:-1:-1;;;3198:21:0;;;;;;;;;;;;;;;;;;;3172:47;;3276:13;3256:9;:16;;;:33;:70;;;;-1:-1:-1;3310:16:0;;;;;;3256:70;:148;;;;;3388:9;:16;;;3366:9;:19;;;:38;;;;:::i;:::-;3347:15;:57;;3256:148;3234:418;;;3456:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3439:14;;3456:26;;:15;:26::i;:::-;3439:43;-1:-1:-1;3501:21:0;3439:43;3501:21;;:::i;:::-;3556:16;;3501:21;;-1:-1:-1;3541:31:0;;;;:::i;:::-;3591:16;;;:24;;-1:-1:-1;;3591:24:0;;;3541:31;-1:-1:-1;;3234:418:0;-1:-1:-1;3152:3:0;;;;:::i;:::-;;;;3101:562;;;;3711:1;3697:11;:15;3675:121;;;;-1:-1:-1;;;3675:121:0;;;;;;;:::i;:::-;3830:10;;3815:11;:25;;3807:62;;;;-1:-1:-1;;;3807:62:0;;;;;;;:::i;:::-;3896:11;3882:10;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;3918:26:0;;-1:-1:-1;3933:11:0;3918:26;;:::i;:::-;3965:5;;:39;;-1:-1:-1;;;3965:39:0;;3918:26;;-1:-1:-1;;;;;;3965:5:0;;:14;;:39;;3980:10;;3918:26;;3965:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3957:67;;;;-1:-1:-1;;;3957:67:0;;;;;;;:::i;:::-;2970:1062;;;:::o;4327:289::-;1102:5;;-1:-1:-1;;;;;1102:5:0;1088:10;:19;1080:41;;;;-1:-1:-1;;;1080:41:0;;;;;;;:::i;:::-;4398:23:::1;4424:5:::0;;:30:::1;::::0;-1:-1:-1;;;4424:30:0;;-1:-1:-1;;;;;4424:5:0;;::::1;::::0;:15:::1;::::0;:30:::1;::::0;4448:4:::1;::::0;4424:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4398:56;;4492:7;4473:15;:26;;4465:68;;;;-1:-1:-1::0;;;4465:68:0::1;;;;;;;:::i;:::-;4562:5;::::0;;4577;4562:30:::1;::::0;-1:-1:-1;;;4562:30:0;;-1:-1:-1;;;;;4562:5:0;;::::1;::::0;:14:::1;::::0;:30:::1;::::0;4577:5;::::1;::::0;4584:7;;4562:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4554:58;;;;-1:-1:-1::0;;;4554:58:0::1;;;;;;;:::i;:::-;1132:1;4327:289:::0;:::o;645:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;645:41:0;-1:-1:-1;645:41:0;;;:::o;482:25::-;;;;:::o;1978:407::-;2062:1;2053:6;:10;2045:52;;;;-1:-1:-1;;;2045:52:0;;;;;;;:::i;:::-;2138:1;2116:19;;;:11;:19;;;;;;2108:58;;;;-1:-1:-1;;;2108:58:0;;;;;;;:::i;:::-;2199:5;;:53;;-1:-1:-1;;;2199:53:0;;-1:-1:-1;;;;;2199:5:0;;;;:18;;:53;;2218:10;;2238:4;;2245:6;;2199:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2177:118;;;;-1:-1:-1;;;2177:118:0;;;;;;;:::i;:::-;2315:10;2308:18;;;;:6;:18;;;;;;;;2332:44;;;;;;;;;;2346:15;2332:44;;;;;;;;;;;;2371:4;2332:44;;;;;;2308:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2308:69:0;;;;;;;;;;1978:407::o;455:20::-;;;-1:-1:-1;;;;;455:20:0;;:::o;1149:586::-;1233:14;1249:16;1283:25;1311:6;:12;1318:4;-1:-1:-1;;;;;1311:12:0;-1:-1:-1;;;;;1311:12:0;;;;;;;;;;;;1283:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1334:31;1382:10;:17;1368:32;;;;;;-1:-1:-1;;;1368:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1368:32:0;;1334:66;;1418:9;1413:267;1437:10;:17;1433:1;:21;1413:267;;;1476:15;1520:10;1531:1;1520:13;;;;;;-1:-1:-1;;;1520:13:0;;;;;;;;;;;;;;;:20;;;1494:10;1505:1;1494:13;;;;;;-1:-1:-1;;;1494:13:0;;;;;;;;;;;;;;;:23;;;:46;;;;:::i;:::-;1476:64;;1586:15;1576:7;:25;1575:93;;1667:1;1575:93;;;1622:25;1632:15;1622:7;:25;:::i;:::-;1555:14;1570:1;1555:17;;;;;;-1:-1:-1;;;1555:17:0;;;;;;;;;;;;;;;;;;:113;-1:-1:-1;1456:3:0;;;;:::i;:::-;;;;1413:267;;;-1:-1:-1;1700:10:0;;-1:-1:-1;1712:14:0;-1:-1:-1;1149:586:0;;;:::o;693:46::-;;;;;;;;;;;;;:::o;429:19::-;;;-1:-1:-1;;;;;429:19:0;;:::o;2393:569::-;2491:7;2575:9;:16;;;2553:9;:19;;;:38;;;;:::i;:::-;2534:15;:57;;:90;;;;;2608:9;:16;;;2534:90;2516:420;;;2677:16;;;;;;2651:11;2665:29;;;:11;:29;;;;;;2734:16;;2665:29;;2651:11;2734:25;;2753:6;2734:25;:::i;:::-;2711:48;-1:-1:-1;2792:23:0;2818;2833:8;2711:48;2818:23;:::i;:::-;2792:49;;2911:12;2891:15;2885:3;2866:9;:16;;;:22;;;;:::i;:::-;:40;;;;:::i;:::-;2865:59;;;;:::i;:::-;2858:66;;;;;;;2516:420;-1:-1:-1;2953:1:0;2393:569;;;;:::o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;:::-;345:41;264:128;-1:-1:-1;;;264:128:1:o;397:266::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;653:2;638:18;;;;625:32;;-1:-1:-1;;;484:179:1:o;668:297::-;;788:2;776:9;767:7;763:23;759:32;756:2;;;809:6;801;794:22;756:2;846:9;840:16;899:5;892:13;885:21;878:5;875:32;865:2;;926:6;918;911:22;970:190;;1082:2;1070:9;1061:7;1057:23;1053:32;1050:2;;;1103:6;1095;1088:22;1050:2;-1:-1:-1;1131:23:1;;1040:120;-1:-1:-1;1040:120:1:o;1165:194::-;;1288:2;1276:9;1267:7;1263:23;1259:32;1256:2;;;1309:6;1301;1294:22;1256:2;-1:-1:-1;1337:16:1;;1246:113;-1:-1:-1;1246:113:1:o;1364:258::-;;;1493:2;1481:9;1472:7;1468:23;1464:32;1461:2;;;1514:6;1506;1499:22;1461:2;-1:-1:-1;;1542:23:1;;;1612:2;1597:18;;;1584:32;;-1:-1:-1;1451:171:1:o;1627:203::-;-1:-1:-1;;;;;1791:32:1;;;;1773:51;;1761:2;1746:18;;1728:102::o;1835:375::-;-1:-1:-1;;;;;2093:15:1;;;2075:34;;2145:15;;;;2140:2;2125:18;;2118:43;2192:2;2177:18;;2170:34;;;;2025:2;2010:18;;1992:218::o;2215:274::-;-1:-1:-1;;;;;2407:32:1;;;;2389:51;;2471:2;2456:18;;2449:34;2377:2;2362:18;;2344:145::o;2494:1451::-;2785:2;2837:21;;;2907:13;;2810:18;;;2929:22;;;2494:1451;;2785:2;2970;;2988:18;;;;3025:4;3052:15;;;2494:1451;3098:378;3112:6;3109:1;3106:13;3098:378;;;3171:13;;3209:9;;3197:22;;3259:11;;;3253:18;3239:12;;;3232:40;3312:11;;;3306:18;3292:12;;;3285:40;3379:11;;3373:18;3366:26;3359:34;3345:12;;;3338:56;3423:4;3414:14;;;;3451:15;;;;3134:1;3127:9;3098:378;;;-1:-1:-1;;3512:19:1;;;3492:18;;;3485:47;3582:13;;3604:21;;;3643:12;;;;-1:-1:-1;3582:13:1;;-1:-1:-1;;3680:15:1;;;;3715:4;;3728:189;3744:8;3739:3;3736:17;3728:189;;;3813:15;;3799:30;;3851:14;;;;3890:17;;;;3772:1;3763:11;;;;;3728:189;;;-1:-1:-1;3934:5:1;;2765:1180;-1:-1:-1;;;;;;;2765:1180:1:o;4171:339::-;4373:2;4355:21;;;4412:2;4392:18;;;4385:30;-1:-1:-1;;;4446:2:1;4431:18;;4424:45;4501:2;4486:18;;4345:165::o;4515:348::-;4717:2;4699:21;;;4756:2;4736:18;;;4729:30;4795:26;4790:2;4775:18;;4768:54;4854:2;4839:18;;4689:174::o;4868:353::-;5070:2;5052:21;;;5109:2;5089:18;;;5082:30;5148:31;5143:2;5128:18;;5121:59;5212:2;5197:18;;5042:179::o;5226:398::-;5428:2;5410:21;;;5467:2;5447:18;;;5440:30;5506:34;5501:2;5486:18;;5479:62;-1:-1:-1;;;5572:2:1;5557:18;;5550:32;5614:3;5599:19;;5400:224::o;5629:346::-;5831:2;5813:21;;;5870:2;5850:18;;;5843:30;-1:-1:-1;;;5904:2:1;5889:18;;5882:52;5966:2;5951:18;;5803:172::o;5980:420::-;6182:2;6164:21;;;6221:2;6201:18;;;6194:30;6260:34;6255:2;6240:18;;6233:62;6331:26;6326:2;6311:18;;6304:54;6390:3;6375:19;;6154:246::o;6405:332::-;6607:2;6589:21;;;6646:1;6626:18;;;6619:29;-1:-1:-1;;;6679:2:1;6664:18;;6657:39;6728:2;6713:18;;6579:158::o;6742:353::-;6944:2;6926:21;;;6983:2;6963:18;;;6956:30;7022:31;7017:2;7002:18;;6995:59;7086:2;7071:18;;6916:179::o;7100:177::-;7246:25;;;7234:2;7219:18;;7201:76::o;7282:401::-;7507:25;;;7563:2;7548:18;;7541:34;;;;7606:2;7591:18;;7584:34;7661:14;7654:22;7649:2;7634:18;;7627:50;7494:3;7479:19;;7461:222::o;7688:128::-;;7759:1;7755:6;7752:1;7749:13;7746:2;;;7765:18;;:::i;:::-;-1:-1:-1;7801:9:1;;7736:80::o;7821:217::-;;7887:1;7877:2;;-1:-1:-1;;;7912:31:1;;7966:4;7963:1;7956:15;7994:4;7919:1;7984:15;7877:2;-1:-1:-1;8023:9:1;;7867:171::o;8043:168::-;;8149:1;8145;8141:6;8137:14;8134:1;8131:21;8126:1;8119:9;8112:17;8108:45;8105:2;;;8156:18;;:::i;:::-;-1:-1:-1;8196:9:1;;8095:116::o;8216:125::-;;8284:1;8281;8278:8;8275:2;;;8289:18;;:::i;:::-;-1:-1:-1;8326:9:1;;8265:76::o;8346:135::-;;-1:-1:-1;;8406:17:1;;8403:2;;;8426:18;;:::i;:::-;-1:-1:-1;8473:1:1;8462:13;;8393:88::o;8486:127::-;8547:10;8542:3;8538:20;8535:1;8528:31;8578:4;8575:1;8568:15;8602:4;8599:1;8592:15

Swarm Source

ipfs://0d25728666406ad48ea1bd90c85114c1fb2bda6f8f38b47d89555e22a0ec7990

Block Transaction Difficulty 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
[ 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.