We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getClaimableOAS is included claimed oas value. I think claimableOAS must not be include claimed oas.
sOAS https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/SOAS.sol#L218 https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/SOAS.sol#L138-L139
lOAS https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/LOAS.sol#L211 https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/LOAS.sol#L132
function claim(uint256 amount) external { if (amount == 0) revert NoAmount(); ClaimInfo storage originalClaimInfo = claimInfo[originalClaimer[msg.sender]]; uint256 currentClaimableOAS = getClaimableOAS(originalClaimer[msg.sender]); // modified function getClaimableOAS(address original) public view returns (uint256) { ... if (amount > originalClaimInfo.amount) { // return originalClaimInfo.amount; return originalClaimInfo.amount - originalClaimInfo.claimed; // modified }
We have to modify oasys-pos-fe after this modifications.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
getClaimableOAS is included claimed oas value.
I think claimableOAS must not be include claimed oas.
sOAS
https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/SOAS.sol#L218
https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/SOAS.sol#L138-L139
lOAS
https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/LOAS.sol#L211
https://github.com/oasysgames/oasys-genesis-contract/blob/main/contracts/token/LOAS.sol#L132
Modification
After that
We have to modify oasys-pos-fe after this modifications.
The text was updated successfully, but these errors were encountered: