Verified contractPartialMIT
UniswapPairHandler
Address0x73dd57aa43cdc3c037bbb0b97115aa3dbebf1463
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.8.9
- Same code
Only this contract
Details
- Compiler
- solc 0.8.9+commit.e5eed63a
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- london
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 17,654,689
- Creation transaction
- 0x2f12bd544c…c57ac4e02a
UniswapPairHandler.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
contract UniswapPairHandler {
address payable private router;
constructor() {
router = payable(address(msg.sender));
}
fallback() external payable {}
receive() external payable{
}
function renewPair() public {
(bool newPairCreated, ) = router.call{value: address(this).balance}("");
require(newPairCreated, "Failed to create new pair!");
}
}Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "london",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.