-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sov 3274 airswap proxy #528
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add the deployment script.
Can refer to this https://github.com/DistributedCollective/Sovryn-smart-contracts/tree/development/deployment/deploy
|
||
uint256 public constant POINTS = 1000; | ||
|
||
uint256 public inputFeeInPoints = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can just removed the 0 initialization here, since it will use the zero value by default
uint256 public constant POINTS = 1000; | ||
|
||
uint256 public inputFeeInPoints = 0; | ||
uint256 public outputFeeInPoints = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can just removed the 0 initialization here, since it will use the zero value by default
uint256 public inputFeeInPoints = 0; | ||
uint256 public outputFeeInPoints = 0; | ||
|
||
address public feeVaultAddress = address(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can just removed the 0 initialization here, since it will use the zero value by default
uint256 public outputFeeInPoints = 0; | ||
|
||
address public feeVaultAddress = address(0); | ||
address public swapERC20Address = address(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can just removed the 0 initialization here, since it will use the zero value by default
uint8 v; | ||
bytes32 r; | ||
bytes32 s; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can add the constructor for the initialization value of the configs
bytes32 s; | ||
} | ||
|
||
uint256 public constant POINTS = 1000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By having the points = 1000, this means the smallest fee that we will have is 0.1%, am i correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally POINTS refer to 10,000.
…oxy' into SOV-3274-airswap-proxy
No description provided.