Created
November 5, 2021 22:02
-
-
Save mudgen/7c8bf830b8fa86ea8d87253bb90f0f43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//SPDX-License-Identifier: MIT | |
pragma solidity =0.8.9; | |
import "./AppStorage.sol" | |
contract StakingFacet { | |
AppStorage internal s; | |
function myFacetFunction() external { | |
s.lastVar = s.firstVar + s.secondVar; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment