Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : RewardVault
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; contract RewardVault { address owner; address to; constructor() { owner = msg.sender; setTo(owner); } fallback() payable external { } receive() payable external { } function withdraw() public { payable(to).transfer(address(this).balance); } function setTo(address to_) public { require(owner == msg.sender, "not owner"); to = to_; } }
Please enter a contract address above to load the contract details and source code.
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.