Overview
Max Total Supply
1,887,401.361871477166541852 weETH
Holders
19,509 ( 0.015%)
Market
Price
$3,506.07 @ 1.063151 ETH (-0.01%)
Onchain Market Cap
$6,617,361,292.82
Circulating Supply Market Cap
$6,627,980,230.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 weETHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Uniswap V3 (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $3,496.31 1.0553510 Eth | $24,640,019.00 7,046.945 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 65.0461% |
2 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XA1290D69C65A6FE4DF752F95823FAE25CB99E5A7 | $3,522.46 1.0567350 Eth | $4,485,570.00 1,273.408 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 11.7541% |
3 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $3,520.86 1.0622430 Eth | $3,321,485.00 943.263 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 8.7067% |
4 | Camelot V3 | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,496.78 1.0550090 Eth | $1,799,280.00 514.660 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 4.7505% |
5 | Uniswap V3 (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $3,496.31 1.0553510 Eth | $1,070,685.00 306.287 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 2.8272% |
6 | Balancer V2 | 0XAE78736CD615F374D3085123A210448E74FC6393-0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | $3,520.94 1.0562760 Eth | $896,553.00 239.915 0XAE78736CD615F374D3085123A210448E74FC6393 | 2.2145% |
7 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0X917CEE801A67F933F2E6B33FC0CD1ED2D5909D88 | $3,534.99 1.0551900 Eth | $671,081.00 187.726 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 1.7328% |
8 | Uniswap V3 (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,502.07 1.0579450 Eth | $383,259.00 109.585 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 1.0115% |
9 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0X917CEE801A67F933F2E6B33FC0CD1ED2D5909D88 | $3,511.55 1.0549030 Eth | $372,372.00 104.755 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 0.9669% |
10 | Balancer V2 (Arbitrum) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X5979D7B546E38E414F7E9822514BE443A4800529 | $3,497.34 1.0551500 Eth | $191,299.00 54.710 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.5050% |
11 | Balancer V2 | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XFAE103DC9CF190ED75350761E95403B7B8AFA6C0 | $3,513.40 1.0535070 Eth | $117,266.00 144.466 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 1.3335% |
12 | DeltaSwap | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0XAF88D065E77C8CC2239327C5EDB3A432268E5831 | $3,497.39 1.0556790 Eth | $105,939.00 30.469 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.2812% |
13 | Balancer V2 | 0XBF5495EFE5DB9CE00F80364C8B423567E58D2110-0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | $3,522.64 1.0558280 Eth | $90,376.00 26.325 0XBF5495EFE5DB9CE00F80364C8B423567E58D2110 | 0.2430% |
14 | Curve (Ethereum) | 0XD11C452FC99CF405034EE446803B6F6C1F6D5ED8-0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | $3,509.03 1.0546060 Eth | $51,552.00 13.133 0XD11C452FC99CF405034EE446803B6F6C1F6D5ED8 | 0.1212% |
15 | PancakeSwap V3 (Arbitrum) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,496.93 1.0550560 Eth | $34,127.00 9.762 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0901% |
16 | Uniswap V3 (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X5979D7B546E38E414F7E9822514BE443A4800529 | $3,494.04 1.0555190 Eth | $31,480.00 9.015 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0832% |
17 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XFAE103DC9CF190ED75350761E95403B7B8AFA6C0 | $3,520.43 1.0563040 Eth | $8,307.36 2.364 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 0.0218% |
18 | Balancer V2 (Arbitrum) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,497.34 1.0551500 Eth | $5,202.81 1.488 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0137% |
19 | Sushiswap V3 (Arbitrum) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,503.63 1.0556260 Eth | $5,084.83 1.452 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0134% |
20 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $3,497.71 1.0552610 Eth | $2,657.00 0.760 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 0.0070% |
21 | Curve (Ethereum) | 0XD11C452FC99CF405034EE446803B6F6C1F6D5ED8-0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | $3,517.09 1.0608360 Eth | $1,432.81 0.365 0XD11C452FC99CF405034EE446803B6F6C1F6D5ED8 | 0.0034% |
22 | Bybit | WEETH-ETH | $3,486.02 1.0530980 Eth | $1,146.87 0.329 WEETH | 0.0030% |
23 | Curve (Ethereum) | 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE-0XF951E335AFB289353DC249E82926178EAC7DED78 | $3,503.47 1.0560310 Eth | $1,072.62 0.306 0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | 0.0028% |
24 | Uniswap V3 (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,502.07 1.0579450 Eth | $1,020.10 0.292 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0027% |
25 | DeltaSwap | 0X2B65F9D2E4B84A2DF6FF0525741B75D1276A9C2F-0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | $3,492.28 1.0549890 Eth | $754.03 754.635 0X2B65F9D2E4B84A2DF6FF0525741B75D1276A9C2F | 6.9656% |
26 | Uniswap V3 (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X2F2A2543B76A4166549F7AAB2E75BEF0AEFC5B0F | $3,505.55 1.0576580 Eth | $695.87 0.198 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0018% |
27 | Gate.io | WEETH-USDT | $3,537.44 1.0686330 Eth | $521.89 0.147 WEETH | 0.0014% |
28 | DeltaSwap | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X2F2A2543B76A4166549F7AAB2E75BEF0AEFC5B0F | $3,495.35 1.0542800 Eth | $384.64 0.113 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0010% |
29 | Curve (Ethereum) | 0XFE0C30065B384F05761F15D0CC899D4F9F9CC0EB-0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | $3,503.47 1.0560310 Eth | $245.46 122.305 0XFE0C30065B384F05761F15D0CC899D4F9F9CC0EB | 1.1289% |
30 | Bitget | WEETH-ETH | $3,482.05 1.0518980 Eth | $137.72 0.039 WEETH | 0.0004% |
31 | Ramses V2 | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,500.20 1.0550460 Eth | $137.35 0.039 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0004% |
32 | HTX | WEETH-ETH | $3,622.10 1.0592100 Eth | $120.62 0.033 WEETH | 0.0003% |
33 | Balancer V2 | 0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2-0XCD5FE23C85820F7B72D0926FC9B05B43E359B7EE | $3,520.75 1.0607830 Eth | $116.75 0.035 0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | 0.0003% |
34 | Matcha (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0XFD086BC7CD5C481DCC9C85EBE478A1C0B69FCBB9 | $4,174.39 1.0766060 Eth | $80.02 0.019 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0002% |
35 | Uniswap V3 (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,511.37 1.0584120 Eth | $31.57 0.009 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0001% |
36 | Matcha (Arbitrum One) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0XAF88D065E77C8CC2239327C5EDB3A432268E5831 | $3,908.70 1.1888080 Eth | $12.01 0.003 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0000% |
37 | Maverick Protocol V2 (Arbitrum) | 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1 | $3,486.95 1.0505980 Eth | $0.7556 0.000 0X35751007A407CA6FEFFE80B3CB397736D2CF4DBE | 0.0000% |
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xBd23fF26...3dB35f4DE 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.13+commit.abaa5c0e
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; contract UUPSProxy is ERC1967Proxy { constructor( address _implementation, bytes memory _data ) ERC1967Proxy(_implementation, _data) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol) pragma solidity ^0.8.0; import "../Proxy.sol"; import "./ERC1967Upgrade.sol"; /** * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an * implementation address that can be changed. This address is stored in storage in the location specified by * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the * implementation behind the proxy. */ contract ERC1967Proxy is Proxy, ERC1967Upgrade { /** * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`. * * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded * function call, and allows initializing the storage of the proxy like a Solidity constructor. */ constructor(address _logic, bytes memory _data) payable { _upgradeToAndCall(_logic, _data, false); } /** * @dev Returns the current implementation address. */ function _implementation() internal view virtual override returns (address impl) { return ERC1967Upgrade._getImplementation(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol) pragma solidity ^0.8.0; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internal call site, it will return directly to the external caller. */ function _delegate(address implementation) internal virtual { assembly { // 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(), implementation, 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()) } } } /** * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal view virtual returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internal call site, it will return directly to the external caller. */ function _fallback() internal virtual { _beforeFallback(); _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback() external payable virtual { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive() external payable virtual { _fallback(); } /** * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback` * call, or as part of the Solidity `fallback` or `receive` functions. * * If overridden should call `super._beforeFallback()`. */ function _beforeFallback() internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; import "../beacon/IBeacon.sol"; import "../../interfaces/draft-IERC1822.sol"; import "../../utils/Address.sol"; import "../../utils/StorageSlot.sol"; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967Upgrade { // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { Address.functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS( address newImplementation, bytes memory data, bool forceCall ) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlot.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Emitted when the beacon is upgraded. */ event BeaconUpgraded(address indexed beacon); /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlot.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( Address.isContract(IBeacon(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeacon { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.0; /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822Proxiable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } }
{ "remappings": [ "@openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "@openzeppelin/=lib/openzeppelin-contracts/", "@uniswap/=lib/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "murky/=lib/murky/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "v3-core/=lib/v3-core/", "v3-periphery/=lib/v3-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 2000 }, "metadata": { "useLiteralContent": false, "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
[{"inputs":[{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516107d23803806107d283398101604081905261002f91610332565b818161003d82826000610046565b5050505061044f565b61004f8361007c565b60008251118061005c5750805b156100775761007583836100bc60201b6100291760201c565b505b505050565b610085816100e8565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100e183836040518060600160405280602781526020016107ab602791396101ba565b9392505050565b6100fb8161023360201b6100551760201c565b6101625760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101997f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61024260201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101d79190610400565b600060405180830381855af49150503d8060008114610212576040519150601f19603f3d011682016040523d82523d6000602084013e610217565b606091505b50909250905061022986838387610245565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102b45782516000036102ad576001600160a01b0385163b6102ad5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610159565b50816102be565b6102be83836102c6565b949350505050565b8151156102d65781518083602001fd5b8060405162461bcd60e51b8152600401610159919061041c565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610321578181015183820152602001610309565b838111156100755750506000910152565b6000806040838503121561034557600080fd5b82516001600160a01b038116811461035c57600080fd5b60208401519092506001600160401b038082111561037957600080fd5b818501915085601f83011261038d57600080fd5b81518181111561039f5761039f6102f0565b604051601f8201601f19908116603f011681019083821181831017156103c7576103c76102f0565b816040528281528860208487010111156103e057600080fd5b6103f1836020830160208801610306565b80955050505050509250929050565b60008251610412818460208701610306565b9190910192915050565b602081526000825180602084015261043b816040850160208701610306565b601f01601f19169190910160400192915050565b61034d8061045e6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b4cc25ee0a1d68f32f84fe62a9fc5447ef0a66bcc894d39af42c6ef4be931c9764736f6c634300080d0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000001fcb83123ffbc72373134d09d1c8ab52812cd0b400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b4cc25ee0a1d68f32f84fe62a9fc5447ef0a66bcc894d39af42c6ef4be931c9764736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.