File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,19 @@ contract PrettyAwesomeWords is ERC721Enumerable, Ownable {
9292 return buildMetadata (_tokenId);
9393 }
9494
95- //only owner
9695 function withdraw () public payable onlyOwner {
97- (bool success , ) = payable (msg .sender ).call {value: address (this ).balance}("" );
98- require (success);
96+ // This will pay HashLips 5% of the initial sale.
97+ // You can remove this if you want, or keep it in to support HashLips and his channel.
98+ // =============================================================================
99+ (bool hs , ) = payable (0x943590A42C27D08e3744202c4Ae5eD55c2dE240D ).call {value: address (this ).balance * 5 / 100 }("" );
100+ require (hs);
101+ // =============================================================================
102+
103+ // This will payout the owner 95% of the contract balance.
104+ // Do not remove this otherwise you will not be able to withdraw the funds.
105+ // =============================================================================
106+ (bool os , ) = payable (owner ()).call {value: address (this ).balance}("" );
107+ require (os);
108+ // =============================================================================
99109 }
100110}
You can’t perform that action at this time.
0 commit comments