Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 968 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw All | 13966310 | 1042 days ago | IN | 0 ETH | 0.00631023 | ||||
Withdraw | 13960943 | 1043 days ago | IN | 0 ETH | 0.00448783 | ||||
Withdraw | 13891065 | 1054 days ago | IN | 0 ETH | 0.00380706 | ||||
Withdraw | 13667027 | 1089 days ago | IN | 0 ETH | 0.00572221 | ||||
Withdraw | 13559321 | 1106 days ago | IN | 0 ETH | 0.0036837 | ||||
Withdraw | 13443841 | 1124 days ago | IN | 0 ETH | 0.00295805 | ||||
Withdraw | 13312691 | 1144 days ago | IN | 0 ETH | 0.0027972 | ||||
Deposit | 12604684 | 1254 days ago | IN | 0.1495 ETH | 0.00021455 | ||||
Withdraw | 12427685 | 1282 days ago | IN | 0 ETH | 0.00468255 | ||||
Deposit | 12427273 | 1282 days ago | IN | 0.75 ETH | 0.00679271 | ||||
Deposit | 12356107 | 1293 days ago | IN | 0.75 ETH | 0.00191344 | ||||
Withdraw | 12281413 | 1305 days ago | IN | 0 ETH | 0.00384373 | ||||
Withdraw | 12272947 | 1306 days ago | IN | 0 ETH | 0.00640194 | ||||
Deposit | 12241497 | 1311 days ago | IN | 0.75 ETH | 0.00506643 | ||||
Withdraw | 12169016 | 1322 days ago | IN | 0 ETH | 0.00721877 | ||||
Deposit | 12163319 | 1323 days ago | IN | 0.75 ETH | 0.00759964 | ||||
Deposit | 12159976 | 1323 days ago | IN | 0.75 ETH | 0.0067854 | ||||
Deposit | 12156352 | 1324 days ago | IN | 0.75 ETH | 0.00601638 | ||||
Withdraw | 12155995 | 1324 days ago | IN | 0 ETH | 0.00832575 | ||||
Deposit | 12149265 | 1325 days ago | IN | 0.75 ETH | 0.0108114 | ||||
Deposit | 12129183 | 1328 days ago | IN | 0.75 ETH | 0.00560926 | ||||
Deposit | 12127124 | 1328 days ago | IN | 0.75 ETH | 0.00382063 | ||||
Deposit | 12119856 | 1329 days ago | IN | 0.75 ETH | 0.00384506 | ||||
Deposit | 12117720 | 1330 days ago | IN | 0.75 ETH | 0.00497596 | ||||
Deposit | 12117149 | 1330 days ago | IN | 0.75 ETH | 0.00488548 |
Latest 12 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13966310 | 1042 days ago | 127.73491921 ETH | ||||
13960943 | 1043 days ago | 200 ETH | ||||
13891065 | 1054 days ago | 40 ETH | ||||
13667027 | 1089 days ago | 40 ETH | ||||
13559321 | 1106 days ago | 100 ETH | ||||
13443841 | 1124 days ago | 41 ETH | ||||
13312691 | 1144 days ago | 17.53 ETH | ||||
12427685 | 1282 days ago | 60 ETH | ||||
12281413 | 1305 days ago | 68 ETH | ||||
12272947 | 1306 days ago | 611.663 ETH | ||||
12169016 | 1322 days ago | 40.47208078 ETH | ||||
12155995 | 1324 days ago | 15.1 ETH |
Loading...
Loading
Contract Name:
KolectivDeposit
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b5060008054610100600160a81b03191633610100021760ff1916815561078190819061003c90396000f3fe60806040526004361061007b5760003560e01c80638da5cb5b1161004e5780638da5cb5b14610104578063b7e8bc9914610126578063f3fef3a314610139578063fa09e630146101595761007b565b806311a3d247146100805780633f4ba83a146100b65780635c975abb146100cd5780638456cb59146100ef575b600080fd5b34801561008c57600080fd5b506100a061009b36600461053b565b610179565b6040516100ad919061071e565b60405180910390f35b3480156100c257600080fd5b506100cb610195565b005b3480156100d957600080fd5b506100e2610235565b6040516100ad9190610576565b3480156100fb57600080fd5b506100cb61023e565b34801561011057600080fd5b506101196102cf565b6040516100ad9190610562565b6100cb61013436600461053b565b6102e3565b34801561014557600080fd5b506100cb610154366004610512565b6103a0565b34801561016557600080fd5b506100cb6101743660046104f1565b6103fd565b63ffffffff81166000908152600160205260409020545b919050565b61019d610235565b6101c25760405162461bcd60e51b81526004016101b990610683565b60405180910390fd5b60005461010090046001600160a01b031633146101f15760405162461bcd60e51b81526004016101b990610615565b6000805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9061022b903390610562565b60405180910390a1565b60005460ff1690565b610246610235565b156102635760405162461bcd60e51b81526004016101b9906106f1565b60005461010090046001600160a01b031633146102925760405162461bcd60e51b81526004016101b990610615565b6000805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589061022b903390610562565b60005461010090046001600160a01b031690565b6102eb610235565b156103085760405162461bcd60e51b81526004016101b9906106f1565b600034116103285760405162461bcd60e51b81526004016101b990610581565b63ffffffff8116600090815260016020526040902054610349903490610727565b63ffffffff82166000818152600160205260409081902092909255905133907f9a8dfdf7d0a585fe5bd50fbea6a5802be1ecb3ca020432959fd63c41a4708f5f9061039590349061071e565b60405180910390a350565b60005461010090046001600160a01b031633146103cf5760405162461bcd60e51b81526004016101b990610615565b600081116103ef5760405162461bcd60e51b81526004016101b9906106ba565b6103f98282610439565b5050565b60005461010090046001600160a01b0316331461042c5760405162461bcd60e51b81526004016101b990610615565b6104368147610439565b50565b804710156104595760405162461bcd60e51b81526004016101b99061064c565b6000826001600160a01b0316826040516104729061055f565b60006040518083038185875af1925050503d80600081146104af576040519150601f19603f3d011682016040523d82523d6000602084013e6104b4565b606091505b50509050806104d55760405162461bcd60e51b81526004016101b9906105b8565b505050565b80356001600160a01b038116811461019057600080fd5b600060208284031215610502578081fd5b61050b826104da565b9392505050565b60008060408385031215610524578081fd5b61052d836104da565b946020939093013593505050565b60006020828403121561054c578081fd5b813563ffffffff8116811461050b578182fd5b90565b6001600160a01b0391909116815260200190565b901515815260200190565b6020808252601d908201527f4e6f2076616c75652070726f766964656420746f206465706f7369742e000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601c908201527f43616e206f6e6c792062652063616c6c6564206279206f776e65722e00000000604082015260600190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526017908201527f436f6e7472616374206973206e6f74207061757365642e000000000000000000604082015260600190565b6020808252601e908201527f4e6f2076616c75652070726f766964656420746f2077697468647261772e0000604082015260600190565b60208082526013908201527221b7b73a3930b1ba1034b9903830bab9b2b21760691b604082015260600190565b90815260200190565b6000821982111561074657634e487b7160e01b81526011600452602481fd5b50019056fea264697066735822122021efba7a61f1e55d8a4c54b65b87d5983838044f9007fe4b6fccc188281ce35464736f6c63430008000033
Deployed Bytecode
0x60806040526004361061007b5760003560e01c80638da5cb5b1161004e5780638da5cb5b14610104578063b7e8bc9914610126578063f3fef3a314610139578063fa09e630146101595761007b565b806311a3d247146100805780633f4ba83a146100b65780635c975abb146100cd5780638456cb59146100ef575b600080fd5b34801561008c57600080fd5b506100a061009b36600461053b565b610179565b6040516100ad919061071e565b60405180910390f35b3480156100c257600080fd5b506100cb610195565b005b3480156100d957600080fd5b506100e2610235565b6040516100ad9190610576565b3480156100fb57600080fd5b506100cb61023e565b34801561011057600080fd5b506101196102cf565b6040516100ad9190610562565b6100cb61013436600461053b565b6102e3565b34801561014557600080fd5b506100cb610154366004610512565b6103a0565b34801561016557600080fd5b506100cb6101743660046104f1565b6103fd565b63ffffffff81166000908152600160205260409020545b919050565b61019d610235565b6101c25760405162461bcd60e51b81526004016101b990610683565b60405180910390fd5b60005461010090046001600160a01b031633146101f15760405162461bcd60e51b81526004016101b990610615565b6000805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9061022b903390610562565b60405180910390a1565b60005460ff1690565b610246610235565b156102635760405162461bcd60e51b81526004016101b9906106f1565b60005461010090046001600160a01b031633146102925760405162461bcd60e51b81526004016101b990610615565b6000805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589061022b903390610562565b60005461010090046001600160a01b031690565b6102eb610235565b156103085760405162461bcd60e51b81526004016101b9906106f1565b600034116103285760405162461bcd60e51b81526004016101b990610581565b63ffffffff8116600090815260016020526040902054610349903490610727565b63ffffffff82166000818152600160205260409081902092909255905133907f9a8dfdf7d0a585fe5bd50fbea6a5802be1ecb3ca020432959fd63c41a4708f5f9061039590349061071e565b60405180910390a350565b60005461010090046001600160a01b031633146103cf5760405162461bcd60e51b81526004016101b990610615565b600081116103ef5760405162461bcd60e51b81526004016101b9906106ba565b6103f98282610439565b5050565b60005461010090046001600160a01b0316331461042c5760405162461bcd60e51b81526004016101b990610615565b6104368147610439565b50565b804710156104595760405162461bcd60e51b81526004016101b99061064c565b6000826001600160a01b0316826040516104729061055f565b60006040518083038185875af1925050503d80600081146104af576040519150601f19603f3d011682016040523d82523d6000602084013e6104b4565b606091505b50509050806104d55760405162461bcd60e51b81526004016101b9906105b8565b505050565b80356001600160a01b038116811461019057600080fd5b600060208284031215610502578081fd5b61050b826104da565b9392505050565b60008060408385031215610524578081fd5b61052d836104da565b946020939093013593505050565b60006020828403121561054c578081fd5b813563ffffffff8116811461050b578182fd5b90565b6001600160a01b0391909116815260200190565b901515815260200190565b6020808252601d908201527f4e6f2076616c75652070726f766964656420746f206465706f7369742e000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601c908201527f43616e206f6e6c792062652063616c6c6564206279206f776e65722e00000000604082015260600190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526017908201527f436f6e7472616374206973206e6f74207061757365642e000000000000000000604082015260600190565b6020808252601e908201527f4e6f2076616c75652070726f766964656420746f2077697468647261772e0000604082015260600190565b60208082526013908201527221b7b73a3930b1ba1034b9903830bab9b2b21760691b604082015260600190565b90815260200190565b6000821982111561074657634e487b7160e01b81526011600452602481fd5b50019056fea264697066735822122021efba7a61f1e55d8a4c54b65b87d5983838044f9007fe4b6fccc188281ce35464736f6c63430008000033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.