Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Multi Chain
Multichain Addresses
5 addresses found via
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0xe9a47600a083535025f8035f782df6d7f6bfb665faa15def5bc3c1726299ea1a | Swap Exact Token... | (pending) | 3 days 5 hrs ago | IN | 0 ETH | (Pending) | |||
Swap Exact Token... | 17398300 | 1 day 18 hrs ago | IN | 0 ETH | 0.00310702 | ||||
Swap Exact Token... | 17392118 | 2 days 15 hrs ago | IN | 0 ETH | 0.00388403 | ||||
Swap Exact Token... | 17385225 | 3 days 15 hrs ago | IN | 0 ETH | 0.00367336 | ||||
Swap Exact Token... | 17359991 | 7 days 4 hrs ago | IN | 0 ETH | 0.0034638 | ||||
Swap Exact Token... | 17359629 | 7 days 5 hrs ago | IN | 0 ETH | 0.00360833 | ||||
Swap Exact Token... | 17350438 | 8 days 12 hrs ago | IN | 0 ETH | 0.00291898 | ||||
Swap Exact Token... | 17350437 | 8 days 12 hrs ago | IN | 0 ETH | 0.00298691 | ||||
Swap Exact Token... | 17350310 | 8 days 12 hrs ago | IN | 0 ETH | 0.00308483 | ||||
Swap Exact Token... | 17350299 | 8 days 12 hrs ago | IN | 0 ETH | 0.00306674 | ||||
Swap Exact Token... | 17350294 | 8 days 12 hrs ago | IN | 0 ETH | 0.0028786 | ||||
Swap Exact Token... | 17317790 | 13 days 2 hrs ago | IN | 0 ETH | 0.00578789 | ||||
Swap Exact Token... | 17313727 | 13 days 16 hrs ago | IN | 0 ETH | 0.00464476 | ||||
Swap Exact Nativ... | 17184560 | 31 days 21 hrs ago | IN | 0.018 ETH | 0.00145322 | ||||
Swap Exact Token... | 17139638 | 38 days 5 hrs ago | IN | 0 ETH | 0.00519211 | ||||
Swap Exact Token... | 17138110 | 38 days 10 hrs ago | IN | 0 ETH | 0.0051799 | ||||
Swap Exact Token... | 17097000 | 44 days 4 hrs ago | IN | 0 ETH | 0.00657641 | ||||
Swap Exact Nativ... | 17031696 | 53 days 13 hrs ago | IN | 0.00005 ETH | 0.00304701 | ||||
Remove Liquidity... | 17031294 | 53 days 14 hrs ago | IN | 0 ETH | 0.00384573 | ||||
Swap Exact Token... | 17017732 | 55 days 12 hrs ago | IN | 0 ETH | 0.00252153 | ||||
Swap Exact Token... | 17010451 | 56 days 13 hrs ago | IN | 0 ETH | 0.00283466 | ||||
Swap Exact Token... | 16996289 | 58 days 13 hrs ago | IN | 0 ETH | 0.00285588 | ||||
Swap Exact Token... | 16995505 | 58 days 16 hrs ago | IN | 0 ETH | 0.00307797 | ||||
Swap Exact Token... | 16995120 | 58 days 17 hrs ago | IN | 0 ETH | 0.00351584 | ||||
Swap Exact Token... | 16988492 | 59 days 16 hrs ago | IN | 0 ETH | 0.00370648 |
Latest 25 internal transactions (View All)
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
17115051 | 41 days 16 hrs ago | 0.15523841 ETH | ||||
17115051 | 41 days 16 hrs ago | 0.15523841 ETH | ||||
17031696 | 53 days 13 hrs ago | 0.00005 ETH | ||||
16967535 | 62 days 15 hrs ago | 0.001 ETH | ||||
16888484 | 73 days 18 hrs ago | 0.00005576 ETH | ||||
16888484 | 73 days 18 hrs ago | 0.01115332 ETH | ||||
16888391 | 73 days 18 hrs ago | 0.00001097 ETH | ||||
16888391 | 73 days 18 hrs ago | 0.01097147 ETH | ||||
16883609 | 74 days 10 hrs ago | 0.000001 ETH | ||||
16782676 | 88 days 15 hrs ago | 0.08905439 ETH | ||||
16782676 | 88 days 15 hrs ago | 0.08905439 ETH | ||||
16630220 | 110 days 1 hr ago | 0.00051462 ETH | ||||
16630220 | 110 days 1 hr ago | 0.10292441 ETH | ||||
16600614 | 114 days 4 hrs ago | 0 ETH | ||||
16600614 | 114 days 4 hrs ago | 0.02081252 ETH | ||||
16564097 | 119 days 7 hrs ago | 0.01196688 ETH | ||||
16564097 | 119 days 7 hrs ago | 0.01196688 ETH | ||||
16554792 | 120 days 14 hrs ago | 0.25302842 ETH | ||||
16554792 | 120 days 14 hrs ago | 0.25302842 ETH | ||||
16554424 | 120 days 15 hrs ago | 0.0012822 ETH | ||||
16554424 | 120 days 15 hrs ago | 0.25644016 ETH | ||||
16554326 | 120 days 16 hrs ago | 0.00097788 ETH | ||||
16554326 | 120 days 16 hrs ago | 0.19557678 ETH | ||||
16550346 | 121 days 5 hrs ago | 0.00075225 ETH | ||||
16550346 | 121 days 5 hrs ago | 0.15045094 ETH |
Loading...
Loading
Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xCc7C34...5F3354fe
Contract Name:
WSProxyRouter
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.6.12; import './WSProxy.sol'; contract WSProxyRouter is TransparentUpgradeableProxy { constructor() public payable TransparentUpgradeableProxy() { } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.6.12; import '../interfaces/IWSProxy.sol'; /** * @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 internall call site, it will return directly to the external caller. */ function _delegate(address implementation) internal { // solhint-disable-next-line no-inline-assembly 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 overriden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal virtual view returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _fallback() internal { _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 () payable external { _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive () payable external { _delegate(_implementation()); } } /** * @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. * * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see * {TransparentUpgradeableProxy}. */ contract UpgradeableProxy is Proxy { /** * @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 initializating the storage of the proxy like a Solidity constructor. */ constructor() public payable { assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)); } /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @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 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _implementation() internal override view returns (address impl) { bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly assembly { impl := sload(slot) } } /** * @dev Upgrades the proxy to a new implementation. * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) virtual internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { address implementation = _implementation(); require(implementation != newImplementation, "WSProxy: Attemps update proxy with the same implementation"); bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly assembly { sstore(slot, newImplementation) } } } /** * @dev This contract implements a proxy that is upgradeable by an admin. * * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector * clashing], which can potentially be used in an attack, this contract uses the * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two * things that go hand in hand: * * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if * that call matches one of the admin functions exposed by the proxy itself. * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the * implementation. If the admin tries to call a function on the implementation it will fail with an error that says * "admin cannot fallback to proxy target". * * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due * to sudden errors when trying to call a function from the proxy implementation. * * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, * you should think of the `ProxyAdmin` instance as the real administrative inerface of your proxy. */ contract TransparentUpgradeableProxy is UpgradeableProxy, IWSProxy { /** * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}. */ constructor() public payable UpgradeableProxy() { require(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1), "Wrong admin slot"); _setAdmin(msg.sender); } /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @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 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin. */ modifier ifAdmin() { if (msg.sender == _admin()) { _; } else { _fallback(); } } /** * @dev Returns the current admin. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103` */ function admin() external override ifAdmin returns (address) { return _admin(); } function initialize(address _newImplementation, address _admin, bytes calldata _data) external override ifAdmin { _upgradeTo(_newImplementation); _setAdmin(_admin); if(_data.length > 0) { // solhint-disable-next-line avoid-low-level-calls (bool success,) = _implementation().delegatecall(_data); require(success); } } /** * @dev Returns the current implementation. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc` */ function implementation() external override ifAdmin returns (address) { return _implementation(); } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. * * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}. */ function changeAdmin(address newAdmin) external override ifAdmin { require(newAdmin != _admin(), "WSProxy: new admin is the same admin."); emit AdminChanged(_admin(), newAdmin); _setAdmin(newAdmin); } /** * @dev Upgrade the implementation of the proxy. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}. */ function upgradeTo(address newImplementation) external override ifAdmin { _upgradeTo(newImplementation); } /** * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the * proxied contract. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}. */ function upgradeToAndCall(address newImplementation, bytes calldata data) external override payable ifAdmin { _upgradeTo(newImplementation); // solhint-disable-next-line avoid-low-level-calls (bool success,) = newImplementation.delegatecall(data); require(success); } /** * @dev Returns the current admin. */ function _admin() internal view returns (address adm) { bytes32 slot = _ADMIN_SLOT; // solhint-disable-next-line no-inline-assembly assembly { adm := sload(slot) } } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { bytes32 slot = _ADMIN_SLOT; require(newAdmin != address(0), "WSProxy: Can't set admin to zero address."); // solhint-disable-next-line no-inline-assembly assembly { sstore(slot, newAdmin) } } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.6.12; interface IWSProxy { function initialize(address _implementation, address _admin, bytes calldata _data) external; function upgradeTo(address _proxy) external; function upgradeToAndCall(address _proxy, bytes calldata data) external payable; function changeAdmin(address newAdmin) external; function admin() external returns (address); function implementation() external returns (address); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","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":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405261000d33610012565b61007b565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036001600160a01b0382166100785760405162461bcd60e51b81526004018080602001828103825260298152602001806108086029913960400191505060405180910390fd5b55565b61077e8061008a6000396000f3fe6080604052600436106100595760003560e01c80633659cfe61461007b5780634f1ef286146100ae5780635c60da1b1461012e5780638f2839701461015f578063cf7a1d7714610192578063f851a4401461022857610070565b366100705761006e61006961023d565b610262565b005b61006e61006961023d565b34801561008757600080fd5b5061006e6004803603602081101561009e57600080fd5b50356001600160a01b031661028b565b61006e600480360360408110156100c457600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ef57600080fd5b82018360208201111561010157600080fd5b8035906020019184600183028401116401000000008311171561012357600080fd5b5090925090506102c5565b34801561013a57600080fd5b5061014361036d565b604080516001600160a01b039092168252519081900360200190f35b34801561016b57600080fd5b5061006e6004803603602081101561018257600080fd5b50356001600160a01b03166103aa565b34801561019e57600080fd5b5061006e600480360360608110156101b557600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101e957600080fd5b8201836020820111156101fb57600080fd5b8035906020019184600183028401116401000000008311171561021d57600080fd5b509092509050610477565b34801561023457600080fd5b5061014361053c565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610281573d6000f35b3d6000fd5b505050565b610293610563565b6001600160a01b0316336001600160a01b031614156102ba576102b581610588565b6102c2565b6102c26105c8565b50565b6102cd610563565b6001600160a01b0316336001600160a01b03161415610365576102ef83610588565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461034c576040519150601f19603f3d011682016040523d82523d6000602084013e610351565b606091505b505090508061035f57600080fd5b50610286565b6102866105c8565b6000610377610563565b6001600160a01b0316336001600160a01b0316141561039f5761039861023d565b90506103a7565b6103a76105c8565b90565b6103b2610563565b6001600160a01b0316336001600160a01b031614156102ba576103d3610563565b6001600160a01b0316816001600160a01b031614156104235760405162461bcd60e51b81526004018080602001828103825260258152602001806106c16025913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61044c610563565b604080516001600160a01b03928316815291841660208301528051918290030190a16102b5816105d5565b61047f610563565b6001600160a01b0316336001600160a01b0316141561052e576104a184610588565b6104aa836105d5565b80156105295760006104ba61023d565b6001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d8060008114610514576040519150601f19603f3d011682016040523d82523d6000602084013e610519565b606091505b505090508061052757600080fd5b505b610536565b6105366105c8565b50505050565b6000610546610563565b6001600160a01b0316336001600160a01b0316141561039f576103985b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6105918161063e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6105d361006961023d565b565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036001600160a01b03821661063b5760405162461bcd60e51b81526004018080602001828103825260298152602001806107206029913960400191505060405180910390fd5b55565b600061064861023d565b9050816001600160a01b0316816001600160a01b0316141561069b5760405162461bcd60e51b815260040180806020018281038252603a8152602001806106e6603a913960400191505060405180910390fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe575350726f78793a206e65772061646d696e206973207468652073616d652061646d696e2e575350726f78793a20417474656d7073207570646174652070726f78792077697468207468652073616d6520696d706c656d656e746174696f6e575350726f78793a2043616e2774207365742061646d696e20746f207a65726f20616464726573732ea2646970667358221220d41980729672931e6880a43133d2f44191050e1ddcd8fa2343ef51a2392f7f6964736f6c634300060c0033575350726f78793a2043616e2774207365742061646d696e20746f207a65726f20616464726573732e
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.
[ 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.