Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 1,290 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Deposit To | 23839130 | 75 days ago | IN | 0.002 ETH | 0.00000758 | ||||
| Deposit To | 23366736 | 141 days ago | IN | 0.002 ETH | 0.00006246 | ||||
| Deposit To | 23181280 | 167 days ago | IN | 0.002 ETH | 0.00010414 | ||||
| Deposit To | 22459239 | 268 days ago | IN | 0.002 ETH | 0.00011748 | ||||
| Deposit To | 21859699 | 352 days ago | IN | 0.002 ETH | 0.00004262 | ||||
| Deposit To | 20833486 | 495 days ago | IN | 0.005 ETH | 0.00070946 | ||||
| Withdraw | 20819148 | 497 days ago | IN | 0 ETH | 0.00140695 | ||||
| Deposit To | 20715427 | 511 days ago | IN | 0.002 ETH | 0.00025255 | ||||
| Deposit To | 20691769 | 515 days ago | IN | 0.002 ETH | 0.00095801 | ||||
| Deposit To | 20682098 | 516 days ago | IN | 0.001 ETH | 0.00009846 | ||||
| Deposit To | 20628992 | 523 days ago | IN | 0.002 ETH | 0.00011861 | ||||
| Deposit To | 20606519 | 527 days ago | IN | 0.002 ETH | 0.00006037 | ||||
| Deposit To | 20598217 | 528 days ago | IN | 0.002 ETH | 0.00003848 | ||||
| Deposit To | 20572273 | 531 days ago | IN | 0.02 ETH | 0.00004135 | ||||
| Deposit To | 20556278 | 534 days ago | IN | 0.0022 ETH | 0.00007091 | ||||
| Deposit To | 20553451 | 534 days ago | IN | 0.002 ETH | 0.00006353 | ||||
| Deposit To | 20526866 | 538 days ago | IN | 0.002 ETH | 0.00009853 | ||||
| Deposit To | 20470099 | 546 days ago | IN | 0.03 ETH | 0.0009077 | ||||
| Deposit To | 20445142 | 549 days ago | IN | 0.003 ETH | 0.00006046 | ||||
| Deposit To | 20408269 | 554 days ago | IN | 0.00014 ETH | 0.00004754 | ||||
| Deposit To | 20394491 | 556 days ago | IN | 0.002 ETH | 0.00009454 | ||||
| Deposit To | 20377754 | 559 days ago | IN | 0.0005 ETH | 0.00036165 | ||||
| Deposit To | 20370847 | 559 days ago | IN | 0.002 ETH | 0.00023266 | ||||
| Deposit To | 20357188 | 561 days ago | IN | 0.002 ETH | 0.00092849 | ||||
| Deposit To | 20339752 | 564 days ago | IN | 0.002 ETH | 0.00025222 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TokenReceiver
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.14;
import { Owned } from "solmate/src/auth/Owned.sol";
/**
* @title TokenReceiver
* @author CyberConnect
* @notice A contract that receive native token and record the amount.
* The deposit only record the cumulative amount and withdraw won't affect
* the deposit value.
*/
contract TokenReceiver is Owned {
/*//////////////////////////////////////////////////////////////
STATES
//////////////////////////////////////////////////////////////*/
mapping(address => uint256) public deposits;
/*//////////////////////////////////////////////////////////////
EVENT
//////////////////////////////////////////////////////////////*/
event Deposit(address from, address to, uint256 amount);
event Withdraw(address to, uint256 amount);
/*//////////////////////////////////////////////////////////////
CONSTRUCTOR
//////////////////////////////////////////////////////////////*/
constructor(address owner) Owned(owner) {}
/*//////////////////////////////////////////////////////////////
EXTERNAL
//////////////////////////////////////////////////////////////*/
function depositTo(address to) external payable {
deposits[to] += msg.value;
emit Deposit(msg.sender, to, msg.value);
}
function withdraw(address to, uint256 amount) external onlyOwner {
payable(to).transfer(amount);
emit Withdraw(to, amount);
}
}// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// @notice Simple single owner authorization mixin.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
/*//////////////////////////////////////////////////////////////
EVENTS
//////////////////////////////////////////////////////////////*/
event OwnershipTransferred(address indexed user, address indexed newOwner);
/*//////////////////////////////////////////////////////////////
OWNERSHIP STORAGE
//////////////////////////////////////////////////////////////*/
address public owner;
modifier onlyOwner() virtual {
require(msg.sender == owner, "UNAUTHORIZED");
_;
}
/*//////////////////////////////////////////////////////////////
CONSTRUCTOR
//////////////////////////////////////////////////////////////*/
constructor(address _owner) {
owner = _owner;
emit OwnershipTransferred(address(0), _owner);
}
/*//////////////////////////////////////////////////////////////
OWNERSHIP LOGIC
//////////////////////////////////////////////////////////////*/
function transferOwnership(address newOwner) public virtual onlyOwner {
owner = newOwner;
emit OwnershipTransferred(msg.sender, newOwner);
}
}{
"remappings": [
"@openzeppelin/=lib/kernel/lib/openzeppelin-contracts/",
"account-abstraction/=lib/account-abstraction/contracts/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"kernel/=lib/kernel/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"solady/=lib/kernel/lib/solady/",
"solmate/=lib/solmate/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"bytecodeHash": "ipfs"
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "london",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"depositTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5060405161047338038061047383398101604081905261002f9161007e565b600080546001600160a01b0319166001600160a01b03831690811782556040518392907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350506100ae565b60006020828403121561009057600080fd5b81516001600160a01b03811681146100a757600080fd5b9392505050565b6103b6806100bd6000396000f3fe60806040526004361061004a5760003560e01c80638da5cb5b1461004f578063b760faf91461008c578063f2fde38b146100a1578063f3fef3a3146100c1578063fc7e286d146100e1575b600080fd5b34801561005b57600080fd5b5060005461006f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61009f61009a36600461030e565b61011c565b005b3480156100ad57600080fd5b5061009f6100bc36600461030e565b610193565b3480156100cd57600080fd5b5061009f6100dc366004610330565b61022c565b3480156100ed57600080fd5b5061010e6100fc36600461030e565b60016020526000908152604090205481565b604051908152602001610083565b6001600160a01b0381166000908152600160205260408120805434929061014490849061035a565b9091555050604080513381526001600160a01b0383166020820152348183015290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150565b6000546001600160a01b031633146101e15760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b031633146102755760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016101d8565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102ab573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b80356001600160a01b038116811461030957600080fd5b919050565b60006020828403121561032057600080fd5b610329826102f2565b9392505050565b6000806040838503121561034357600080fd5b61034c836102f2565b946020939093013593505050565b6000821982111561037b57634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122086b8f781cafea27501f18896fa9b56c41d5a15806e818834b53faadeb91d93ae64736f6c634300080e00330000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf
Deployed Bytecode
0x60806040526004361061004a5760003560e01c80638da5cb5b1461004f578063b760faf91461008c578063f2fde38b146100a1578063f3fef3a3146100c1578063fc7e286d146100e1575b600080fd5b34801561005b57600080fd5b5060005461006f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61009f61009a36600461030e565b61011c565b005b3480156100ad57600080fd5b5061009f6100bc36600461030e565b610193565b3480156100cd57600080fd5b5061009f6100dc366004610330565b61022c565b3480156100ed57600080fd5b5061010e6100fc36600461030e565b60016020526000908152604090205481565b604051908152602001610083565b6001600160a01b0381166000908152600160205260408120805434929061014490849061035a565b9091555050604080513381526001600160a01b0383166020820152348183015290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150565b6000546001600160a01b031633146101e15760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b031633146102755760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016101d8565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102ab573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b80356001600160a01b038116811461030957600080fd5b919050565b60006020828403121561032057600080fd5b610329826102f2565b9392505050565b6000806040838503121561034357600080fd5b61034c836102f2565b946020939093013593505050565b6000821982111561037b57634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122086b8f781cafea27501f18896fa9b56c41d5a15806e818834b53faadeb91d93ae64736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf
-----Decoded View---------------
Arg [0] : owner (address): 0x7884f7F04F994da14302a16Cf15E597e31eebECf
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf
Loading...
Loading
Loading...
Loading
Net Worth in USD
$1,968.22
Net Worth in ETH
0.884188
Token Allocations
ETH
95.80%
BNB
4.06%
POL
0.14%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| LINEA | 91.61% | $2,226.02 | 0.81 | $1,803.14 | |
| BSC | 4.06% | $761.13 | 0.1051 | $79.98 | |
| ETH | 2.19% | $2,228.35 | 0.0193 | $43.01 | |
| OP | 1.35% | $2,227.76 | 0.0119 | $26.49 | |
| SCROLL | 0.23% | $2,228.35 | 0.002 | $4.46 | |
| BASE | 0.23% | $2,227.28 | 0.002 | $4.45 | |
| BLAST | 0.15% | $2,226.78 | 0.0013 | $2.89 | |
| POL | 0.14% | $0.109649 | 25.2001 | $2.76 | |
| ARB | 0.05% | $2,227.4 | 0.00046548 | $1.04 |
Loading...
Loading
Loading...
Loading
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.