Source Code
Latest 25 from a total of 34 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 21795923 | 395 days ago | IN | 1.35 ETH | 0.0000445 | ||||
| Transfer | 21789577 | 396 days ago | IN | 0.6 ETH | 0.00005725 | ||||
| Transfer | 21703844 | 408 days ago | IN | 0.00810872 ETH | 0.00015195 | ||||
| Transfer | 21703695 | 408 days ago | IN | 0.63 ETH | 0.00013792 | ||||
| Transfer | 21703663 | 408 days ago | IN | 0.17963747 ETH | 0.00014397 | ||||
| Transfer | 21703659 | 408 days ago | IN | 0.26144685 ETH | 0.00011517 | ||||
| Transfer | 21703586 | 408 days ago | IN | 0.00374868 ETH | 0.0001239 | ||||
| Transfer | 21703575 | 408 days ago | IN | 0.00237906 ETH | 0.00015017 | ||||
| Transfer | 21703573 | 408 days ago | IN | 0.00185829 ETH | 0.00015465 | ||||
| Transfer | 21703573 | 408 days ago | IN | 0.01850717 ETH | 0.00015465 | ||||
| Transfer | 21703569 | 408 days ago | IN | 0.00661141 ETH | 0.00016374 | ||||
| Transfer | 21703568 | 408 days ago | IN | 0.00346137 ETH | 0.0001579 | ||||
| Transfer | 21703566 | 408 days ago | IN | 0.00400941 ETH | 0.00016592 | ||||
| Transfer | 21703565 | 408 days ago | IN | 0.00341744 ETH | 0.00016538 | ||||
| Transfer | 21667478 | 413 days ago | IN | 0.00362183 ETH | 0.00063 | ||||
| Transfer | 21667387 | 413 days ago | IN | 0.24592782 ETH | 0.00132098 | ||||
| Transfer | 21667377 | 413 days ago | IN | 0.17 ETH | 0.00140618 | ||||
| Transfer | 21667367 | 413 days ago | IN | 0.1685347 ETH | 0.00137788 | ||||
| Transfer | 21667359 | 413 days ago | IN | 0.18023395 ETH | 0.00176963 | ||||
| Transfer | 21667350 | 413 days ago | IN | 0.42956754 ETH | 0.00176963 | ||||
| Transfer | 21667313 | 413 days ago | IN | 0.17048973 ETH | 0.00153812 | ||||
| Transfer | 21667289 | 413 days ago | IN | 0.17193359 ETH | 0.00255598 | ||||
| Transfer | 21667230 | 413 days ago | IN | 0.43114674 ETH | 0.00138063 | ||||
| Transfer | 21667228 | 413 days ago | IN | 0.44501855 ETH | 0.00193978 | ||||
| Transfer | 21667222 | 413 days ago | IN | 0.45084863 ETH | 0.00209965 |
Latest 8 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 21858351 | 387 days ago | 1.71717012 ETH | ||||
| Transfer | 21858348 | 387 days ago | 0.32968219 ETH | ||||
| Transfer | 21827964 | 391 days ago | 1.57 ETH | ||||
| Transfer | 21789783 | 396 days ago | 5 ETH | ||||
| Transfer | 21746527 | 402 days ago | 4 ETH | ||||
| Transfer | 21741093 | 403 days ago | 4 ETH | ||||
| 0x60806040 | 20967969 | 511 days ago | Contract Creation | 0 ETH | |||
| 0x60806040 | 20967964 | 511 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xf0C2F244...c3ae9D2ff The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
UUPSProxy
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity >=0.8.11 <0.9.0;
import "./AbstractProxy.sol";
import "./ProxyStorage.sol";
import "../errors/AddressError.sol";
import "../utils/AddressUtil.sol";
contract UUPSProxy is AbstractProxy, ProxyStorage {
constructor(address firstImplementation) {
if (firstImplementation == address(0)) {
revert AddressError.ZeroAddress();
}
if (!AddressUtil.isContract(firstImplementation)) {
revert AddressError.NotAContract(firstImplementation);
}
_proxyStore().implementation = firstImplementation;
}
function _getImplementation() internal view virtual override returns (address) {
return _proxyStore().implementation;
}
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.11 <0.9.0;
/**
* @title Library for address related errors.
*/
library AddressError {
/**
* @dev Thrown when a zero address was passed as a function parameter (0x0000000000000000000000000000000000000000).
*/
error ZeroAddress();
/**
* @dev Thrown when an address representing a contract is expected, but no code is found at the address.
* @param contr The address that was expected to be a contract.
*/
error NotAContract(address contr);
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.11 <0.9.0;
abstract contract AbstractProxy {
fallback() external payable {
// gasleft();
_forward();
// gasleft();
// gasAMount = gas1-gas2
// oracle amount(gasAMount)
// transfer(oracleamount);
}
receive() external payable {
_forward();
}
function _forward() internal {
address implementation = _getImplementation();
// solhint-disable-next-line no-inline-assembly
assembly {
calldatacopy(0, 0, calldatasize())
let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)
returndatacopy(0, 0, returndatasize())
switch result
case 0 {
revert(0, returndatasize())
}
default {
return(0, returndatasize())
}
}
}
function _getImplementation() internal view virtual returns (address);
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.11 <0.9.0;
contract ProxyStorage {
bytes32 private constant _SLOT_PROXY_STORAGE =
keccak256(abi.encode("io.synthetix.core-contracts.Proxy"));
struct ProxyStore {
address implementation;
bool simulatingUpgrade;
}
function _proxyStore() internal pure returns (ProxyStore storage store) {
bytes32 s = _SLOT_PROXY_STORAGE;
assembly {
store.slot := s
}
}
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.11 <0.9.0;
library AddressUtil {
function isContract(address account) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
}{
"evmVersion": "paris",
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": [
":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
":@synthetixio/core-contracts/=node_modules/@synthetixio/core-contracts/",
":@synthetixio/core-modules/=node_modules/@synthetixio/core-modules/",
":@synthetixio/main/=node_modules/@synthetixio/main/",
":@synthetixio/oracle-manager/=node_modules/@synthetixio/oracle-manager/",
":@synthetixio/perps-market/=node_modules/@synthetixio/perps-market/",
":@synthetixio/spot-market/=node_modules/@synthetixio/spot-market/",
":cannon-std/=lib/cannon-std/src/",
":ds-test/=lib/forge-std/lib/ds-test/src/",
":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
":forge-std/=lib/forge-std/src/",
":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
":openzeppelin-contracts/=lib/openzeppelin-contracts/",
":src/=src/",
":test/=test/",
":wormhole-circle-integration/=lib/wormhole-circle-integration/evm/src/",
":wormhole/=lib/wormhole-circle-integration/evm/src/"
],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"firstImplementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"contr","type":"address"}],"name":"NotAContract","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
0x608060405234801561001057600080fd5b5060405161025338038061025383398101604081905261002f9161011d565b6001600160a01b0381166100565760405163d92e233d60e01b815260040160405180910390fd5b803b610084576040516322a2d07b60e21b81526001600160a01b038216600482015260240160405180910390fd5b8061008d6100b1565b80546001600160a01b0319166001600160a01b03929092169190911790555061014d565b6000806040516020016100ff9060208082526021908201527f696f2e73796e7468657469782e636f72652d636f6e7472616374732e50726f786040820152607960f81b606082015260800190565b60408051601f19818403018152919052805160209091012092915050565b60006020828403121561012f57600080fd5b81516001600160a01b038116811461014657600080fd5b9392505050565b60f88061015b6000396000f3fe608060405236601057600e6013565b005b600e5b6000601b6040565b90503660008037600080366000845af43d6000803e808015603b573d6000f35b3d6000fd5b600060486057565b546001600160a01b0316919050565b60008060405160200160a49060208082526021908201527f696f2e73796e7468657469782e636f72652d636f6e7472616374732e50726f786040820152607960f81b606082015260800190565b60408051601f1981840301815291905280516020909101209291505056fea264697066735822122029ebc86041b73f8029d879f02589ee5d9aa1c29ba2bcbdfbca9eb42d6430667164736f6c63430008150033000000000000000000000000c69347cdf339cc0c89bfc71c0a535d653ecc28b4
Deployed Bytecode
0x608060405236601057600e6013565b005b600e5b6000601b6040565b90503660008037600080366000845af43d6000803e808015603b573d6000f35b3d6000fd5b600060486057565b546001600160a01b0316919050565b60008060405160200160a49060208082526021908201527f696f2e73796e7468657469782e636f72652d636f6e7472616374732e50726f786040820152607960f81b606082015260800190565b60408051601f1981840301815291905280516020909101209291505056fea264697066735822122029ebc86041b73f8029d879f02589ee5d9aa1c29ba2bcbdfbca9eb42d6430667164736f6c63430008150033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,082.78 | 0.000000000000000048 | <$0.000001 |
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.