Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- CloseColdStaking
- Optimization enabled
- true
- Compiler version
- v0.8.16+commit.07a7930e
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2024-10-14T23:21:17.235096Z
Contract source code
// SPDX-License-Identifier: GPL-3.0-only // author: Upaut (CallistoDAO) pragma solidity ^0.8.16; interface IColdStaking { function withdraw_stake(address payable user) external; } contract CloseColdStaking { receive() external payable { if(msg.value > 0) payable(msg.sender).transfer(msg.value); IColdStaking(0x08A7c8be47773546DC5E173d67B0c38AfFfa4b84).withdraw_stake(payable(msg.sender)); } }
Contract ABI
[{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x608060405234801561001057600080fd5b5060d58061001f6000396000f3fe608060405236609a573415603a5760405133903480156108fc02916000818181858888f193505050501580156038573d6000803e3d6000fd5b505b604051631e2f82b560e21b81523360048201527308a7c8be47773546dc5e173d67b0c38afffa4b84906378be0ad490602401600060405180830381600087803b158015608557600080fd5b505af11580156098573d6000803e3d6000fd5b005b600080fdfea26469706673582212201ed9af3c6fc2297b2869db94277cc8c6cb8498d1568b41759ce46a6983a8dc7164736f6c63430008100033
Deployed ByteCode
0x608060405236609a573415603a5760405133903480156108fc02916000818181858888f193505050501580156038573d6000803e3d6000fd5b505b604051631e2f82b560e21b81523360048201527308a7c8be47773546dc5e173d67b0c38afffa4b84906378be0ad490602401600060405180830381600087803b158015608557600080fd5b505af11580156098573d6000803e3d6000fd5b005b600080fdfea26469706673582212201ed9af3c6fc2297b2869db94277cc8c6cb8498d1568b41759ce46a6983a8dc7164736f6c63430008100033