Created
November 13, 2018 15:50
-
-
Save ylv-io/2c6838a9760e7bf7fd67f2a5a64fe74d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function changeFeeMake(uint feeMake_) { | |
| if (msg.sender != admin) throw; | |
| if (feeMake_ > feeMake) throw; | |
| feeMake = feeMake_; | |
| } | |
| function changeFeeTake(uint feeTake_) { | |
| if (msg.sender != admin) throw; | |
| if (feeTake_ > feeTake || feeTake_ < feeRebate) throw; | |
| feeTake = feeTake_; | |
| } | |
| function changeFeeRebate(uint feeRebate_) { | |
| if (msg.sender != admin) throw; | |
| if (feeRebate_ < feeRebate || feeRebate_ > feeTake) throw; | |
| feeRebate = feeRebate_; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment