ETH Price: $3,615.94 (+1.04%)

Contract

0x68Ed285Ac96edF7165C21B1221CDFfF65B80629A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim_balance150192102022-06-24 16:34:33892 days ago1656088473IN
0x68Ed285A...65B80629A
0 ETH0.0011448148.69905347
Claim_balance126314212021-06-14 8:11:571268 days ago1623658317IN
0x68Ed285A...65B80629A
0 ETH0.0009403240
Claim_balance126233632021-06-13 2:06:041269 days ago1623549964IN
0x68Ed285A...65B80629A
0 ETH0.000141046
Claim_balance125892082021-06-07 19:17:531274 days ago1623093473IN
0x68Ed285A...65B80629A
0 ETH0.0006957917.6
Claim_balance125727622021-06-05 6:02:271277 days ago1622872947IN
0x68Ed285A...65B80629A
0 ETH0.0003761216
Claim_balance125694152021-06-04 17:36:461277 days ago1622828206IN
0x68Ed285A...65B80629A
0 ETH0.0004137417.6
Claim_balance125599102021-06-03 6:25:521279 days ago1622701552IN
0x68Ed285A...65B80629A
0 ETH0.0008227835
Claim_balance125597902021-06-03 6:01:571279 days ago1622700117IN
0x68Ed285A...65B80629A
0 ETH0.0005406823
Claim_balance125511132021-06-01 21:47:341280 days ago1622584054IN
0x68Ed285A...65B80629A
0 ETH0.0005171722
Set_payout125439932021-05-31 19:27:331281 days ago1622489253IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439912021-05-31 19:26:481281 days ago1622489208IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439812021-05-31 19:24:341281 days ago1622489074IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439802021-05-31 19:24:061281 days ago1622489046IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439772021-05-31 19:23:391281 days ago1622489019IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439732021-05-31 19:23:131281 days ago1622488993IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439582021-05-31 19:19:341281 days ago1622488774IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439532021-05-31 19:18:581281 days ago1622488738IN
0x68Ed285A...65B80629A
0 ETH0.0019724100
Set_payout125439472021-05-31 19:18:171281 days ago1622488697IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439452021-05-31 19:17:521281 days ago1622488672IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439412021-05-31 19:16:301281 days ago1622488590IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439362021-05-31 19:15:371281 days ago1622488537IN
0x68Ed285A...65B80629A
0 ETH0.0091047100
Set_payout125439292021-05-31 19:14:371281 days ago1622488477IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439202021-05-31 19:13:261281 days ago1622488406IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439182021-05-31 19:12:371281 days ago1622488357IN
0x68Ed285A...65B80629A
0 ETH0.001973100
Set_payout125439172021-05-31 19:11:591281 days ago1622488319IN
0x68Ed285A...65B80629A
0 ETH0.001973100
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:
vesting

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-05-04
*/

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

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

contract vesting {

    struct claimer{
        uint256 total;
        uint256 timestamp;
        uint256 rate;
    }

    mapping(address => claimer) claimers;
    address owner;
    IERC20 token;

    constructor(address _token){
        owner = msg.sender;
        token = IERC20(_token);
    }

    function claim_balance() public {
        require(claimers[msg.sender].total > 0, "0 balance");
        require(claimers[msg.sender].timestamp <= block.timestamp, "time not met yet");

        claimers[msg.sender].total -= claimers[msg.sender].rate;
        claimers[msg.sender].timestamp += 1 weeks;
        token.transfer(msg.sender, claimers[msg.sender].rate);
    }

    function set_payout(uint256 amount, address _wallet, uint256 _rate) public{
        require(msg.sender == owner, "only owner");
        claimers[_wallet] = claimer(amount, block.timestamp + 1 weeks, _rate);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"claim_balance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"set_payout","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161044238038061044283398101604081905261002f91610062565b60018054336001600160a01b031991821617909155600280549091166001600160a01b0392909216919091179055610090565b600060208284031215610073578081fd5b81516001600160a01b0381168114610089578182fd5b9392505050565b6103a38061009f6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638068092a1461003b578063f248415514610045575b600080fd5b610043610058565b005b61004361005336600461025c565b6101ac565b3360009081526020819052604090205461008d5760405162461bcd60e51b815260040161008490610305565b60405180910390fd5b336000908152602081905260409020600101544210156100bf5760405162461bcd60e51b8152600401610084906102b7565b336000908152602081905260408120600281015481549092906100e3908490610340565b9091555050336000908152602081905260408120600101805462093a80929061010d908490610328565b909155505060028054336000818152602081905260409081902090930154925163a9059cbb60e01b81526001600160a01b039092169263a9059cbb9261015792919060040161029e565b602060405180830381600087803b15801561017157600080fd5b505af1158015610185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a99190610235565b50565b6001546001600160a01b031633146101d65760405162461bcd60e51b8152600401610084906102e1565b60405180606001604052808481526020014262093a806101f69190610328565b81526020908101929092526001600160a01b03909216600090815280825260409081902083518155918301516001830155919091015160029091015550565b600060208284031215610246578081fd5b81518015158114610255578182fd5b9392505050565b600080600060608486031215610270578182fd5b8335925060208401356001600160a01b038116811461028d578283fd5b929592945050506040919091013590565b6001600160a01b03929092168252602082015260400190565b60208082526010908201526f1d1a5b59481b9bdd081b595d081e595d60821b604082015260600190565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b602080825260099082015268302062616c616e636560b81b604082015260600190565b6000821982111561033b5761033b610357565b500190565b60008282101561035257610352610357565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122052e34665d6b6143ecf6be984fd46ff5b7f2958df5c43fcdd35b34c169863eb0764736f6c634300080100330000000000000000000000009196e18bc349b1f64bc08784eae259525329a1ad

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80638068092a1461003b578063f248415514610045575b600080fd5b610043610058565b005b61004361005336600461025c565b6101ac565b3360009081526020819052604090205461008d5760405162461bcd60e51b815260040161008490610305565b60405180910390fd5b336000908152602081905260409020600101544210156100bf5760405162461bcd60e51b8152600401610084906102b7565b336000908152602081905260408120600281015481549092906100e3908490610340565b9091555050336000908152602081905260408120600101805462093a80929061010d908490610328565b909155505060028054336000818152602081905260409081902090930154925163a9059cbb60e01b81526001600160a01b039092169263a9059cbb9261015792919060040161029e565b602060405180830381600087803b15801561017157600080fd5b505af1158015610185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a99190610235565b50565b6001546001600160a01b031633146101d65760405162461bcd60e51b8152600401610084906102e1565b60405180606001604052808481526020014262093a806101f69190610328565b81526020908101929092526001600160a01b03909216600090815280825260409081902083518155918301516001830155919091015160029091015550565b600060208284031215610246578081fd5b81518015158114610255578182fd5b9392505050565b600080600060608486031215610270578182fd5b8335925060208401356001600160a01b038116811461028d578283fd5b929592945050506040919091013590565b6001600160a01b03929092168252602082015260400190565b60208082526010908201526f1d1a5b59481b9bdd081b595d081e595d60821b604082015260600190565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b602080825260099082015268302062616c616e636560b81b604082015260600190565b6000821982111561033b5761033b610357565b500190565b60008282101561035257610352610357565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122052e34665d6b6143ecf6be984fd46ff5b7f2958df5c43fcdd35b34c169863eb0764736f6c63430008010033

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

0000000000000000000000009196e18bc349b1f64bc08784eae259525329a1ad

-----Decoded View---------------
Arg [0] : _token (address): 0x9196E18Bc349B1F64Bc08784eaE259525329a1ad

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009196e18bc349b1f64bc08784eae259525329a1ad


Deployed Bytecode Sourcemap

575:922:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;895:376;;;:::i;:::-;;1279:215;;;;;;:::i;:::-;;:::i;895:376::-;955:10;975:1;946:20;;;;;;;;;;:26;938:52;;;;-1:-1:-1;;;938:52:0;;;;;;;:::i;:::-;;;;;;;;;1018:10;1009:8;:20;;;;;;;;;;:30;;;1043:15;-1:-1:-1;1009:49:0;1001:78;;;;-1:-1:-1;;;1001:78:0;;;;;;;:::i;:::-;1131:10;1122:8;:20;;;;;;;;;;:25;;;;1092:55;;1122:25;;:8;1092:55;;1122:25;;1092:55;:::i;:::-;;;;-1:-1:-1;;1167:10:0;1158:8;:20;;;;;;;;;;:30;;:41;;1192:7;;1158:8;:41;;1192:7;;1158:41;:::i;:::-;;;;-1:-1:-1;;1210:5:0;;;1225:10;1210:5;1237:20;;;;;;;;;;;;:25;;;;1210:53;;-1:-1:-1;;;1210:53:0;;-1:-1:-1;;;;;1210:5:0;;;;:14;;:53;;1225:10;1237:25;1210:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;895:376::o;1279:215::-;1386:5;;-1:-1:-1;;;;;1386:5:0;1372:10;:19;1364:42;;;;-1:-1:-1;;;1364:42:0;;;;;;;:::i;:::-;1437:49;;;;;;;;1445:6;1437:49;;;;1453:15;1471:7;1453:25;;;;:::i;:::-;1437:49;;;;;;;;;;-1:-1:-1;;;;;1417:17:0;;;-1:-1:-1;1417:17:0;;;;;;;;;;;:69;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1279:215:0:o;14:297:1:-;;134:2;122:9;113:7;109:23;105:32;102:2;;;155:6;147;140:22;102:2;192:9;186:16;245:5;238:13;231:21;224:5;221:32;211:2;;272:6;264;257:22;211:2;300:5;92:219;-1:-1:-1;;;92:219:1:o;316:442::-;;;;462:2;450:9;441:7;437:23;433:32;430:2;;;483:6;475;468:22;430:2;511:23;;;-1:-1:-1;584:2:1;569:18;;556:32;-1:-1:-1;;;;;617:31:1;;607:42;;597:2;;668:6;660;653:22;597:2;420:338;;696:5;;-1:-1:-1;;;748:2:1;733:18;;;;720:32;;420:338::o;763:274::-;-1:-1:-1;;;;;955:32:1;;;;937:51;;1019:2;1004:18;;997:34;925:2;910:18;;892:145::o;1042:340::-;1244:2;1226:21;;;1283:2;1263:18;;;1256:30;-1:-1:-1;;;1317:2:1;1302:18;;1295:46;1373:2;1358:18;;1216:166::o;1387:334::-;1589:2;1571:21;;;1628:2;1608:18;;;1601:30;-1:-1:-1;;;1662:2:1;1647:18;;1640:40;1712:2;1697:18;;1561:160::o;1726:332::-;1928:2;1910:21;;;1967:1;1947:18;;;1940:29;-1:-1:-1;;;2000:2:1;1985:18;;1978:39;2049:2;2034:18;;1900:158::o;2063:128::-;;2134:1;2130:6;2127:1;2124:13;2121:2;;;2140:18;;:::i;:::-;-1:-1:-1;2176:9:1;;2111:80::o;2196:125::-;;2264:1;2261;2258:8;2255:2;;;2269:18;;:::i;:::-;-1:-1:-1;2306:9:1;;2245:76::o;2326:127::-;2387:10;2382:3;2378:20;2375:1;2368:31;2418:4;2415:1;2408:15;2442:4;2439:1;2432:15

Swarm Source

ipfs://52e34665d6b6143ecf6be984fd46ff5b7f2958df5c43fcdd35b34c169863eb07

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.