More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 16750940 | 1086 days ago | IN | 0.1 ETH | 0.00059021 |
Latest 19 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 21126938 | 473 days ago | 0.05599423 ETH | ||||
| Uniswap V3Swap | 19272872 | 732 days ago | 0.07 ETH | ||||
| Uniswap V3Swap | 17522097 | 978 days ago | 0.05 ETH | ||||
| Transfer | 16970745 | 1055 days ago | 1 ETH | ||||
| Transfer | 16969392 | 1056 days ago | 2 ETH | ||||
| Transfer | 16889813 | 1067 days ago | 2 ETH | ||||
| Transfer | 16889807 | 1067 days ago | 5.13658889 ETH | ||||
| Transfer | 16876434 | 1069 days ago | 1 ETH | ||||
| Transfer | 16805565 | 1079 days ago | 0.99228053 ETH | ||||
| Transfer | 16804622 | 1079 days ago | 0.5 ETH | ||||
| Transfer | 16804617 | 1079 days ago | 0.5 ETH | ||||
| Transfer | 16804614 | 1079 days ago | 0.5 ETH | ||||
| Transfer | 16798386 | 1080 days ago | 0.2 ETH | ||||
| Outbound Transfe... | 16784679 | 1082 days ago | 1.35 ETH | ||||
| Outbound Transfe... | 16784675 | 1082 days ago | 2 ETH | ||||
| Transfer | 16784666 | 1082 days ago | 5.0021248 ETH | ||||
| Execute | 16756480 | 1086 days ago | 0.005 ETH | ||||
| Transfer | 16535749 | 1116 days ago | 0.31805428 ETH | ||||
| 0x60806040 | 16534082 | 1117 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x470A4c4A...50cb95632 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
AvoSafe
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.17;
/// @title IAvoSafe
/// @notice interface to access _avoWalletImpl on-chain
interface IAvoSafe {
function _avoWalletImpl() external view returns (address);
}
/// @title AvoSafe
/// @notice Proxy for AvoWallets 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 AvoSafes through factory change too!!
/// Relayers might want to pass in version as new param then to forward to the correct factory
contract AvoSafe {
/// @notice address of the Avo wallet logic / implementation contract. IMPORTANT: SAME STORAGE SLOT AS FOR PROXY
/// @dev _avoWalletImpl 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
/// _avoWalletImpl(), see code and comments in fallback below
address internal _avoWalletImpl;
/// @notice sets _avoWalletImpl address, fetching it from msg.sender via avoWalletImpl()
/// @dev avoWalletImpl_ is not an input param to not influence the deterministic Create2 address!
constructor() {
// "\x8e\x7d\xaf\x69" is hardcoded bytes of function selector for avoWalletImpl()
(bool success_, bytes memory data_) = msg.sender.call(bytes("\x8e\x7d\xaf\x69"));
address avoWalletImpl_;
assembly {
// cast last 20 bytes of hash to address
avoWalletImpl_ := mload(add(data_, 32))
}
if (!success_ || avoWalletImpl_.code.length == 0) {
revert();
}
_avoWalletImpl = avoWalletImpl_;
}
/// @notice Delegates the current call to `_avoWalletImpl` unless _avoWalletImpl() is called
/// if _avoWalletImpl() is called then the address for _avoWalletImpl is returned
/// @dev Mostly based on OpenZeppelin Proxy.sol
fallback() external payable {
assembly {
// load address avoWalletImpl_ from storage
let avoWalletImpl_ := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
// first 4 bytes of calldata specify which function to call.
// if those first 4 bytes == 87e9052a (function selector for _avoWalletImpl()) then we return the _avoWalletImpl address
// The value is right padded to 32-bytes with 0s
if eq(calldataload(0), 0x87e9052a00000000000000000000000000000000000000000000000000000000) {
mstore(0, avoWalletImpl_) // store address avoWalletImpl_ at memory address 0x0
return(0, 0x20) // send first 20 bytes of address at memory address 0x0
}
// @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(), avoWalletImpl_, 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": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}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
0x608060405234801561001057600080fd5b506000803373ffffffffffffffffffffffffffffffffffffffff166040518060400160405280600481526020017f8e7daf690000000000000000000000000000000000000000000000000000000081525060405161006e91906101a5565b6000604051808303816000865af19150503d80600081146100ab576040519150601f19603f3d011682016040523d82523d6000602084013e6100b0565b606091505b50915091506000602082015190508215806100e2575060008173ffffffffffffffffffffffffffffffffffffffff163b145b156100ec57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506101bc565b600081519050919050565b600081905092915050565b60005b8381101561016857808201518184015260208101905061014d565b60008484015250505050565b600061017f82610134565b610189818561013f565b935061019981856020860161014a565b80840191505092915050565b60006101b18284610174565b915081905092915050565b60aa806101ca6000396000f3fe608060405273ffffffffffffffffffffffffffffffffffffffff600054167f87e9052a0000000000000000000000000000000000000000000000000000000060003503604f578060005260206000f35b3660008037600080366000845af43d6000803e8060008114606f573d6000f35b3d6000fdfea26469706673582212206b87e9571aaea9ed523b568c544f1e27605a9e60767f9b6c9efbab3ad8293ea864736f6c63430008110033
Deployed Bytecode
0x608060405273ffffffffffffffffffffffffffffffffffffffff600054167f87e9052a0000000000000000000000000000000000000000000000000000000060003503604f578060005260206000f35b3660008037600080366000845af43d6000803e8060008114606f573d6000f35b3d6000fdfea26469706673582212206b87e9571aaea9ed523b568c544f1e27605a9e60767f9b6c9efbab3ad8293ea864736f6c63430008110033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$131.93
Net Worth in ETH
0.067898
Token Allocations
APOLUSDC
28.07%
AOPTUSDC
17.13%
AARBWETH
15.38%
Others
39.42%
Multichain Portfolio | 34 Chains
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.