Skip to content

Commit

Permalink
change burn DMCX-> GWT rate to 110%
Browse files Browse the repository at this point in the history
  • Loading branch information
waterflier committed Aug 7, 2024
1 parent e551459 commit 4939642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/exchange.sol
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ contract Exchange is Initializable, UUPSUpgradeable, OwnableUpgradeable {

function DMCtoGWT(uint256 amount) public {
DMC(dmcToken).burnFrom(msg.sender, amount);
GWT(gwtToken).mint(msg.sender, amount * dmc2gwt_rate * 6 / 5);
GWT(gwtToken).mint(msg.sender, amount * dmc2gwt_rate * 11 / 10);
}

function enableTestMode() public onlyOwner testDisabled {
Expand Down

0 comments on commit 4939642

Please sign in to comment.