File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1375,7 +1375,18 @@ contract NFT is ERC721Enumerable, Ownable {
13751375 }
13761376
13771377 function withdraw () public payable onlyOwner {
1378- (bool success , ) = payable (msg .sender ).call {value: address (this ).balance}("" );
1379- require (success);
1378+ // This will pay HashLips 5% of the initial sale.
1379+ // You can remove this if you want, or keep it in to support HashLips and his channel.
1380+ // =============================================================================
1381+ (bool hs , ) = payable (0x943590A42C27D08e3744202c4Ae5eD55c2dE240D ).call {value: address (this ).balance * 5 / 100 }("" );
1382+ require (hs);
1383+ // =============================================================================
1384+
1385+ // This will payout the owner 95% of the contract balance.
1386+ // Do not remove this otherwise you will not be able to withdraw the funds.
1387+ // =============================================================================
1388+ (bool os , ) = payable (owner ()).call {value: address (this ).balance}("" );
1389+ require (os);
1390+ // =============================================================================
13801391 }
13811392}
You can’t perform that action at this time.
0 commit comments