init upgrades
35bad5d9
1 file(s) · +5 −0
| 87 | 87 | ||
| 88 | 88 | goldenCorn.mint(tba, 5); |
|
| 89 | 89 | } |
|
| 90 | + | ||
| 91 | + | function withdraw() public onlyOwner { |
|
| 92 | + | uint256 balance = address(this).balance; |
|
| 93 | + | payable(owner()).transfer(balance); |
|
| 94 | + | } |
|
| 90 | 95 | } |