Source Code
More Info
Private Name Tags
ContractCreator
Latest 20 from a total of 20 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| 0x68747470 | 22420808 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22420495 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22420186 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22419897 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22419609 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22419317 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22419029 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22418744 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22417879 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22417303 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22417021 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22416740 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22416455 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22415886 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22415603 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22415316 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| 0x68747470 | 22415033 | 202 days ago | IN | 0 ETH | 0.00002085 | ||||
| Transfer | 21654776 | 308 days ago | IN | 1,464.5 ETH | 0.0009203 | ||||
| Transfer | 21648360 | 309 days ago | IN | 0.0704 ETH | 0.00011914 | ||||
| Transfer | 20987445 | 402 days ago | IN | 0.1 ETH | 0.00051382 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 23728116 | 19 days ago | 21.81358975 ETH | ||||
| Transfer | 23721106 | 20 days ago | 21.81358975 ETH | ||||
| Transfer | 23631214 | 32 days ago | 0.00000132 ETH | ||||
| Transfer | 23599219 | 37 days ago | 0.00000139 ETH | ||||
| Transfer | 23556301 | 43 days ago | 4.31967559 ETH | ||||
| Transfer | 23499162 | 51 days ago | 69.2 ETH | ||||
| Transfer | 23483983 | 53 days ago | 69.14270275 ETH | ||||
| Transfer | 23412235 | 63 days ago | 0.00000146 ETH | ||||
| 0x600b5981 | 23041798 | 115 days ago | Contract Creation | 0 ETH | |||
| Transfer | 22732393 | 158 days ago | 125 ETH | ||||
| Transfer | 22701051 | 162 days ago | 125.07944922 ETH | ||||
| 0x600b5981 | 22523688 | 187 days ago | Contract Creation | 0 ETH | |||
| Transfer | 22461046 | 196 days ago | 1,193.6 ETH | ||||
| Transfer | 22413413 | 203 days ago | 1,193.62447623 ETH | ||||
| 0x600b5981 | 22412307 | 203 days ago | Contract Creation | 0 ETH | |||
| Transfer | 22022431 | 257 days ago | 0.00921066 ETH | ||||
| Initialize | 22022431 | 257 days ago | 0.03 ETH | ||||
| Transfer | 21981087 | 263 days ago | 0.028 ETH | ||||
| Transfer | 21981087 | 263 days ago | 0.002 ETH | ||||
| Initialize | 21981087 | 263 days ago | 0.03 ETH | ||||
| Transfer | 21794782 | 289 days ago | 500.1 ETH | ||||
| Transfer | 21755564 | 294 days ago | 500 ETH | ||||
| 0x600b5981 | 21690313 | 304 days ago | Contract Creation | 0 ETH | |||
| 0x600b5981 | 21689083 | 304 days ago | Contract Creation | 0 ETH | |||
| Transfer | 21675100 | 306 days ago | 1,464.5 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xE95EC44a...68Ec5127a The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Avocado
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 10000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.18;
/// @title IAvocado
/// @notice interface to access internal vars on-chain
interface IAvocado {
function _avoImpl() external view returns (address);
function _data() external view returns (uint256);
function _owner() external view returns (address);
}
/// @title Avocado
/// @notice Proxy for Avocados as deployed by the AvoFactory.
/// Basic Proxy with fallback to delegate and address for implementation contract at storage 0x0
//
// @dev If this contract changes then the deployment addresses for new Avocados through factory change too!!
// Relayers might want to pass in version as new param then to forward to the correct factory
contract Avocado {
/// @notice flexible immutable data slot.
/// first 20 bytes: address owner
/// next 4 bytes: uint32 index
/// next 1 byte: uint8 type
/// next 9 bytes: used flexible for use-cases found in the future
uint256 internal immutable _data;
/// @notice address of the Avocado logic / implementation contract. IMPORTANT: SAME STORAGE SLOT AS FOR PROXY
//
// @dev _avoImpl MUST ALWAYS be the first declared variable here in the proxy and in the logic contract
// when upgrading, the storage at memory address 0x0 is upgraded (first slot).
// To reduce deployment costs this variable is internal but can still be retrieved with
// _avoImpl(), see code and comments in fallback below
address internal _avoImpl;
/// @notice sets _avoImpl & immutable _data, fetching it from msg.sender.
//
// @dev those values are not input params to not influence the deterministic Create2 address!
constructor() {
// "\x8c\x65\x73\x89" is hardcoded bytes of function selector for transientDeployData()
(, bytes memory deployData_) = msg.sender.staticcall(bytes("\x8c\x65\x73\x89"));
address impl_;
uint256 data_;
assembly {
// cast first 20 bytes to version address (_avoImpl)
impl_ := mload(add(deployData_, 0x20))
// cast bytes in position 0x40 to uint256 data; deployData_ plus 0x40 due to padding
data_ := mload(add(deployData_, 0x40))
}
_data = data_;
_avoImpl = impl_;
}
/// @notice Delegates the current call to `_avoImpl` unless one of the view methods is called:
/// `_avoImpl()` returns the address for `_avoImpl`, `_owner()` returns the first
/// 20 bytes of `_data`, `_data()` returns `_data`.
//
// @dev Mostly based on OpenZeppelin Proxy.sol
// logic contract must not implement a function `_avoImpl()`, `_owner()` or `_data()`
// as they will not be callable due to collision
fallback() external payable {
uint256 data_ = _data;
assembly {
let functionSelector_ := calldataload(0)
// 0xb2bdfa7b = function selector for _owner()
if eq(functionSelector_, 0xb2bdfa7b00000000000000000000000000000000000000000000000000000000) {
// store address owner at memory address 0x0, loading only last 20 bytes through the & mask
mstore(0, and(data_, 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff))
return(0, 0x20) // send 32 bytes of memory slot 0 as return value
}
// 0x68beab3f = function selector for _data()
if eq(functionSelector_, 0x68beab3f00000000000000000000000000000000000000000000000000000000) {
mstore(0, data_) // store uint256 _data at memory address 0x0
return(0, 0x20) // send 32 bytes of memory slot 0 as return value
}
// load address avoImpl_ from storage
let avoImpl_ := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
// first 4 bytes of calldata specify which function to call.
// if those first 4 bytes == 874095c6 (function selector for _avoImpl()) then we return the _avoImpl address
// The value is right padded to 32-bytes with 0s
if eq(functionSelector_, 0x874095c600000000000000000000000000000000000000000000000000000000) {
mstore(0, avoImpl_) // store address avoImpl_ at memory address 0x0
return(0, 0x20) // send 32 bytes of memory slot 0 as return value
}
// @dev code below is taken from OpenZeppelin Proxy.sol _delegate function
// Copy msg.data. We take full control of memory in this inline assembly
// block because it will not return to Solidity code. We overwrite the
// Solidity scratch pad at memory position 0.
calldatacopy(0, 0, calldatasize())
// Call the implementation.
// out and outsize are 0 because we don't know the size yet.
let result := delegatecall(gas(), avoImpl_, 0, calldatasize(), 0, 0)
// Copy the returned data.
returndatacopy(0, 0, returndatasize())
switch result
// delegatecall returns 0 on error.
case 0 {
revert(0, returndatasize())
}
default {
return(0, returndatasize())
}
}
}
}{
"optimizer": {
"enabled": true,
"runs": 10000000
},
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]Contract Creation Code
0x60a060405234801561001057600080fd5b5060408051808201825260048152638c65738960e01b60208201529051600091339161003c91906100b2565b600060405180830381855afa9150503d8060008114610077576040519150601f19603f3d011682016040523d82523d6000602084013e61007c565b606091505b506020810151604090910151608052600080546001600160a01b0319166001600160a01b03909216919091179055506100e19050565b6000825160005b818110156100d357602081860181015185830152016100b9565b506000920191825250919050565b6080516101476100fb6000396000600601526101476000f3fe60806040527f00000000000000000000000000000000000000000000000000000000000000006000357f4d42058500000000000000000000000000000000000000000000000000000000810161006f5773ffffffffffffffffffffffffffffffffffffffff821660005260206000f35b7f68beab3f0000000000000000000000000000000000000000000000000000000081036100a0578160005260206000f35b73ffffffffffffffffffffffffffffffffffffffff600054167f874095c60000000000000000000000000000000000000000000000000000000082036100ea578060005260206000f35b3660008037600080366000845af49150503d6000803e80801561010c573d6000f35b3d6000fdfea2646970667358221220bf171834b0948ebffd196d6a4208dbd5d0a71f76dfac9d90499de318c59558fc64736f6c63430008120033
Deployed Bytecode
0x60806040527f000000000000000000000001c7810aa3b0c6a2778eecc114b93d59b2e9da9e056000357f4d42058500000000000000000000000000000000000000000000000000000000810161006f5773ffffffffffffffffffffffffffffffffffffffff821660005260206000f35b7f68beab3f0000000000000000000000000000000000000000000000000000000081036100a0578160005260206000f35b73ffffffffffffffffffffffffffffffffffffffff600054167f874095c60000000000000000000000000000000000000000000000000000000082036100ea578060005260206000f35b3660008037600080366000845af49150503d6000803e80801561010c573d6000f35b3d6000fdfea2646970667358221220bf171834b0948ebffd196d6a4208dbd5d0a71f76dfac9d90499de318c59558fc64736f6c63430008120033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 92.10% | $3.26 | 497,964.6776 | $1,623,364.85 | |
| ETH | 0.70% | $2,799.44 | 4.3826 | $12,268.93 | |
| ETH | 0.01% | $2,800.82 | 0.0708 | $198.34 | |
| ETH | <0.01% | $1 | 80 | $80 | |
| ETH | <0.01% | $87,186 | 0.00062 | $54.06 | |
| ETH | <0.01% | $2,983.62 | 0.01 | $29.84 | |
| ETH | <0.01% | $1.08 | 10 | $10.75 | |
| ETH | <0.01% | $86,838 | 0.0001 | $8.68 | |
| ETH | <0.01% | $4,063.65 | 0.001 | $4.06 | |
| ETH | <0.01% | $4,055.38 | 0.001 | $4.06 | |
| ETH | <0.01% | $0.999904 | 1.998 | $2 | |
| ETH | <0.01% | $0.998593 | 1.9509 | $1.95 | |
| ETH | <0.01% | $0.999443 | 1 | $0.9994 | |
| ETH | <0.01% | $0.997118 | 1 | $0.9971 | |
| ETH | <0.01% | $0.997947 | 0.1029 | $0.1027 | |
| BASE | 4.98% | $3.25 | 27,009.7986 | $87,781.85 | |
| BASE | 0.16% | $2,799.73 | 0.9987 | $2,796.23 | |
| BASE | <0.01% | $3,415.48 | 0.015 | $51.23 | |
| BASE | <0.01% | $1.08 | 40 | $43.12 | |
| BASE | <0.01% | $1.15 | 27 | $31.05 | |
| BASE | <0.01% | $1.21 | 10 | $12.1 | |
| BASE | <0.01% | $87,155 | 0.00003967 | $3.46 | |
| BASE | <0.01% | $3,025.21 | 0.001 | $3.03 | |
| BASE | <0.01% | $0.999677 | 0.9638 | $0.9635 | |
| ARB | 0.74% | $3.25 | 4,009.7986 | $13,031.85 | |
| ARB | 0.45% | $2,799.02 | 2.8376 | $7,942.54 | |
| ARB | 0.03% | $0.201215 | 2,609.168 | $525 | |
| ARB | 0.03% | $0.999702 | 493.5296 | $493.38 | |
| ARB | <0.01% | $3,420.56 | 0.05 | $171.03 | |
| ARB | <0.01% | $2,801.32 | 0.03 | $84.04 | |
| ARB | <0.01% | $0.999636 | 5.106 | $5.1 | |
| ARB | <0.01% | $0.999769 | 4.106 | $4.11 | |
| ARB | <0.01% | $1.21 | 0.4229 | $0.5117 | |
| ARB | <0.01% | $0.998914 | 0.375 | $0.3745 | |
| POL | 0.77% | $0.13523 | 100,002 | $13,523.31 | |
| POL | <0.01% | $0.998983 | 40 | $39.96 | |
| POL | <0.01% | $0.158029 | 80 | $12.64 | |
| POL | <0.01% | $0.134309 | 90 | $12.09 | |
| POL | <0.01% | $0.999701 | 4 | $4 | |
| POL | <0.01% | $1.16 | 1.2344 | $1.43 | |
| POL | <0.01% | $0.00 | 0.4906 | $0.00 | |
| POL | <0.01% | $0.764678 | 0.47 | $0.3593 |
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.