ETH Price: $3,990.40 (+0.82%)

Contract

0x4f4334d1A0bF96492633D1E22c531e54fCAb7b72
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw All139663102022-01-08 18:07:321073 days ago1641665252IN
0x4f4334d1...4fCAb7b72
0 ETH0.00631023188.46081763
Withdraw139609432022-01-07 22:16:091074 days ago1641593769IN
0x4f4334d1...4fCAb7b72
0 ETH0.00448783143.76263052
Withdraw138910652021-12-28 2:31:471084 days ago1640658707IN
0x4f4334d1...4fCAb7b72
0 ETH0.00380706121.95479893
Withdraw136670272021-11-22 21:57:021120 days ago1637618222IN
0x4f4334d1...4fCAb7b72
0 ETH0.00572221183.30458286
Withdraw135593212021-11-05 22:34:231137 days ago1636151663IN
0x4f4334d1...4fCAb7b72
0 ETH0.0036837118.0030459
Withdraw134438412021-10-18 20:04:481155 days ago1634587488IN
0x4f4334d1...4fCAb7b72
0 ETH0.0029580594.75785899
Withdraw133126912021-09-28 6:23:111175 days ago1632810191IN
0x4f4334d1...4fCAb7b72
0 ETH0.002797289.63958726
Deposit126046842021-06-10 4:48:231285 days ago1623300503IN
0x4f4334d1...4fCAb7b72
0.1495 ETH0.0002145510
Withdraw124276852021-05-13 18:35:491313 days ago1620930949IN
0x4f4334d1...4fCAb7b72
0 ETH0.00468255150
Deposit124272732021-05-13 17:04:181313 days ago1620925458IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00679271142
Deposit123561072021-05-02 17:29:541324 days ago1619976594IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.0019134440
Withdraw122814132021-04-21 4:21:191335 days ago1618978879IN
0x4f4334d1...4fCAb7b72
0 ETH0.00384373114
Withdraw122729472021-04-19 21:29:451337 days ago1618867785IN
0x4f4334d1...4fCAb7b72
0 ETH0.00640194205
Deposit122414972021-04-15 0:48:131341 days ago1618447693IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00506643112
Withdraw121690162021-04-03 21:24:421353 days ago1617485082IN
0x4f4334d1...4fCAb7b72
0 ETH0.00721877130
Deposit121633192021-04-03 0:22:441353 days ago1617409364IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00759964168
Deposit121599762021-04-02 12:06:511354 days ago1617365211IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.0067854150
Deposit121563522021-04-01 22:35:361355 days ago1617316536IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00601638133
Withdraw121559952021-04-01 21:16:031355 days ago1617311763IN
0x4f4334d1...4fCAb7b72
0 ETH0.00832575150
Deposit121492652021-03-31 20:20:331356 days ago1617222033IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.0108114239
Deposit121291832021-03-28 18:09:151359 days ago1616954955IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00560926124
Deposit121271242021-03-28 10:35:591359 days ago1616927759IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.0038206384.46
Deposit121198562021-03-27 7:39:251360 days ago1616830765IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.0038450685
Deposit121177202021-03-26 23:47:361360 days ago1616802456IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00497596110.00000145
Deposit121171492021-03-26 21:39:211361 days ago1616794761IN
0x4f4334d1...4fCAb7b72
0.75 ETH0.00488548108
View all transactions

Latest 12 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
139663102022-01-08 18:07:321073 days ago1641665252
0x4f4334d1...4fCAb7b72
127.73491921 ETH
139609432022-01-07 22:16:091074 days ago1641593769
0x4f4334d1...4fCAb7b72
200 ETH
138910652021-12-28 2:31:471084 days ago1640658707
0x4f4334d1...4fCAb7b72
40 ETH
136670272021-11-22 21:57:021120 days ago1637618222
0x4f4334d1...4fCAb7b72
40 ETH
135593212021-11-05 22:34:231137 days ago1636151663
0x4f4334d1...4fCAb7b72
100 ETH
134438412021-10-18 20:04:481155 days ago1634587488
0x4f4334d1...4fCAb7b72
41 ETH
133126912021-09-28 6:23:111175 days ago1632810191
0x4f4334d1...4fCAb7b72
17.53 ETH
124276852021-05-13 18:35:491313 days ago1620930949
0x4f4334d1...4fCAb7b72
60 ETH
122814132021-04-21 4:21:191335 days ago1618978879
0x4f4334d1...4fCAb7b72
68 ETH
122729472021-04-19 21:29:451337 days ago1618867785
0x4f4334d1...4fCAb7b72
611.663 ETH
121690162021-04-03 21:24:421353 days ago1617485082
0x4f4334d1...4fCAb7b72
40.47208078 ETH
121559952021-04-01 21:16:031355 days ago1617311763
0x4f4334d1...4fCAb7b72
15.1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KolectivDeposit

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2021-03-18
*/

pragma solidity ^0.8.0;


// SPDX-License-Identifier: UNLICENSED
contract KolectivDeposit {

    event Deposit(address indexed account, uint32 indexed orderId, uint256 amount);
    event Paused(address account);
    event Unpaused(address account);

    bool private _paused;
    address private _owner;
    mapping (uint32 => uint256) private orderToBalance;

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    modifier whenNotPaused() {
        require(!paused(), "Contract is paused.");
        _;
    }

    modifier whenPaused() {
        require(paused(), "Contract is not paused.");
        _;
    }

    modifier onlyOwner() {
        require(_owner == msg.sender, "Can only be called by owner.");
        _;
    }

    constructor() {
        _owner = msg.sender;
        _paused = false;
    }

    function deposit(uint32 orderId) public payable whenNotPaused {
        require(msg.value > 0, "No value provided to deposit.");
        orderToBalance[orderId] = orderToBalance[orderId] + msg.value;
        emit Deposit(msg.sender, orderId, msg.value);
    }

    function getOrderBalance(uint32 orderId) public view returns (uint256) {
        return orderToBalance[orderId];
    }

    function owner() public view returns (address) {
        return _owner;
    }

    // ------------------------------------------------------------------------------------------------------
    // Only owner functionality below here
    function pause() public whenNotPaused onlyOwner {
        _paused = true;
        emit Paused(msg.sender);
    }

    function unpause() public whenPaused onlyOwner {
        _paused = false;
        emit Unpaused(msg.sender);
    }

    function withdraw(address payable account, uint256 amount) public onlyOwner {
        require(amount > 0, "No value provided to withdraw.");
        sendValue(account, amount);
    }

    function withdrawAll(address payable account) public onlyOwner {
        sendValue(account, address(this).balance);
    }

    function sendValue(address payable recipient, uint256 amount) private {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint32","name":"orderId","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint32","name":"orderId","type":"uint32"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint32","name":"orderId","type":"uint32"}],"name":"getOrderBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060008054610100600160a81b03191633610100021760ff1916815561078190819061003c90396000f3fe60806040526004361061007b5760003560e01c80638da5cb5b1161004e5780638da5cb5b14610104578063b7e8bc9914610126578063f3fef3a314610139578063fa09e630146101595761007b565b806311a3d247146100805780633f4ba83a146100b65780635c975abb146100cd5780638456cb59146100ef575b600080fd5b34801561008c57600080fd5b506100a061009b36600461053b565b610179565b6040516100ad919061071e565b60405180910390f35b3480156100c257600080fd5b506100cb610195565b005b3480156100d957600080fd5b506100e2610235565b6040516100ad9190610576565b3480156100fb57600080fd5b506100cb61023e565b34801561011057600080fd5b506101196102cf565b6040516100ad9190610562565b6100cb61013436600461053b565b6102e3565b34801561014557600080fd5b506100cb610154366004610512565b6103a0565b34801561016557600080fd5b506100cb6101743660046104f1565b6103fd565b63ffffffff81166000908152600160205260409020545b919050565b61019d610235565b6101c25760405162461bcd60e51b81526004016101b990610683565b60405180910390fd5b60005461010090046001600160a01b031633146101f15760405162461bcd60e51b81526004016101b990610615565b6000805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9061022b903390610562565b60405180910390a1565b60005460ff1690565b610246610235565b156102635760405162461bcd60e51b81526004016101b9906106f1565b60005461010090046001600160a01b031633146102925760405162461bcd60e51b81526004016101b990610615565b6000805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589061022b903390610562565b60005461010090046001600160a01b031690565b6102eb610235565b156103085760405162461bcd60e51b81526004016101b9906106f1565b600034116103285760405162461bcd60e51b81526004016101b990610581565b63ffffffff8116600090815260016020526040902054610349903490610727565b63ffffffff82166000818152600160205260409081902092909255905133907f9a8dfdf7d0a585fe5bd50fbea6a5802be1ecb3ca020432959fd63c41a4708f5f9061039590349061071e565b60405180910390a350565b60005461010090046001600160a01b031633146103cf5760405162461bcd60e51b81526004016101b990610615565b600081116103ef5760405162461bcd60e51b81526004016101b9906106ba565b6103f98282610439565b5050565b60005461010090046001600160a01b0316331461042c5760405162461bcd60e51b81526004016101b990610615565b6104368147610439565b50565b804710156104595760405162461bcd60e51b81526004016101b99061064c565b6000826001600160a01b0316826040516104729061055f565b60006040518083038185875af1925050503d80600081146104af576040519150601f19603f3d011682016040523d82523d6000602084013e6104b4565b606091505b50509050806104d55760405162461bcd60e51b81526004016101b9906105b8565b505050565b80356001600160a01b038116811461019057600080fd5b600060208284031215610502578081fd5b61050b826104da565b9392505050565b60008060408385031215610524578081fd5b61052d836104da565b946020939093013593505050565b60006020828403121561054c578081fd5b813563ffffffff8116811461050b578182fd5b90565b6001600160a01b0391909116815260200190565b901515815260200190565b6020808252601d908201527f4e6f2076616c75652070726f766964656420746f206465706f7369742e000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601c908201527f43616e206f6e6c792062652063616c6c6564206279206f776e65722e00000000604082015260600190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526017908201527f436f6e7472616374206973206e6f74207061757365642e000000000000000000604082015260600190565b6020808252601e908201527f4e6f2076616c75652070726f766964656420746f2077697468647261772e0000604082015260600190565b60208082526013908201527221b7b73a3930b1ba1034b9903830bab9b2b21760691b604082015260600190565b90815260200190565b6000821982111561074657634e487b7160e01b81526011600452602481fd5b50019056fea264697066735822122021efba7a61f1e55d8a4c54b65b87d5983838044f9007fe4b6fccc188281ce35464736f6c63430008000033

Deployed Bytecode

0x60806040526004361061007b5760003560e01c80638da5cb5b1161004e5780638da5cb5b14610104578063b7e8bc9914610126578063f3fef3a314610139578063fa09e630146101595761007b565b806311a3d247146100805780633f4ba83a146100b65780635c975abb146100cd5780638456cb59146100ef575b600080fd5b34801561008c57600080fd5b506100a061009b36600461053b565b610179565b6040516100ad919061071e565b60405180910390f35b3480156100c257600080fd5b506100cb610195565b005b3480156100d957600080fd5b506100e2610235565b6040516100ad9190610576565b3480156100fb57600080fd5b506100cb61023e565b34801561011057600080fd5b506101196102cf565b6040516100ad9190610562565b6100cb61013436600461053b565b6102e3565b34801561014557600080fd5b506100cb610154366004610512565b6103a0565b34801561016557600080fd5b506100cb6101743660046104f1565b6103fd565b63ffffffff81166000908152600160205260409020545b919050565b61019d610235565b6101c25760405162461bcd60e51b81526004016101b990610683565b60405180910390fd5b60005461010090046001600160a01b031633146101f15760405162461bcd60e51b81526004016101b990610615565b6000805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9061022b903390610562565b60405180910390a1565b60005460ff1690565b610246610235565b156102635760405162461bcd60e51b81526004016101b9906106f1565b60005461010090046001600160a01b031633146102925760405162461bcd60e51b81526004016101b990610615565b6000805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589061022b903390610562565b60005461010090046001600160a01b031690565b6102eb610235565b156103085760405162461bcd60e51b81526004016101b9906106f1565b600034116103285760405162461bcd60e51b81526004016101b990610581565b63ffffffff8116600090815260016020526040902054610349903490610727565b63ffffffff82166000818152600160205260409081902092909255905133907f9a8dfdf7d0a585fe5bd50fbea6a5802be1ecb3ca020432959fd63c41a4708f5f9061039590349061071e565b60405180910390a350565b60005461010090046001600160a01b031633146103cf5760405162461bcd60e51b81526004016101b990610615565b600081116103ef5760405162461bcd60e51b81526004016101b9906106ba565b6103f98282610439565b5050565b60005461010090046001600160a01b0316331461042c5760405162461bcd60e51b81526004016101b990610615565b6104368147610439565b50565b804710156104595760405162461bcd60e51b81526004016101b99061064c565b6000826001600160a01b0316826040516104729061055f565b60006040518083038185875af1925050503d80600081146104af576040519150601f19603f3d011682016040523d82523d6000602084013e6104b4565b606091505b50509050806104d55760405162461bcd60e51b81526004016101b9906105b8565b505050565b80356001600160a01b038116811461019057600080fd5b600060208284031215610502578081fd5b61050b826104da565b9392505050565b60008060408385031215610524578081fd5b61052d836104da565b946020939093013593505050565b60006020828403121561054c578081fd5b813563ffffffff8116811461050b578182fd5b90565b6001600160a01b0391909116815260200190565b901515815260200190565b6020808252601d908201527f4e6f2076616c75652070726f766964656420746f206465706f7369742e000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601c908201527f43616e206f6e6c792062652063616c6c6564206279206f776e65722e00000000604082015260600190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526017908201527f436f6e7472616374206973206e6f74207061757365642e000000000000000000604082015260600190565b6020808252601e908201527f4e6f2076616c75652070726f766964656420746f2077697468647261772e0000604082015260600190565b60208082526013908201527221b7b73a3930b1ba1034b9903830bab9b2b21760691b604082015260600190565b90815260200190565b6000821982111561074657634e487b7160e01b81526011600452602481fd5b50019056fea264697066735822122021efba7a61f1e55d8a4c54b65b87d5983838044f9007fe4b6fccc188281ce35464736f6c63430008000033

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  ]
[ 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.