Haythem Sellami
Haythem Sellami
# Update auction length ### Code - [x] Unit test 100% coverage - [x] Does your code follow the naming and code documentation guidelines? ### Documentation - [ ] Is...
Remove `ERC20Upgradeable` from `MockCUSDC.sol`
Modify `_getExpiredCashValue()` to take the otoken underlying, strike asset, expiry and option type as params instead of taking an Otoken contract. The current MarginCalculator implementation have a lot of repetitive...
Create truffle script for easier dev experience - Whitelist a long Otoken - Whitelist a collateral - Add a pricer - Farm asset from pool - Set terminator address -...
- Refactor AddressBook setup - Refactor `createTokenAmount` - change numbers to BigNumber
- Update testing files to be consistent in the `BigNumber`, `toNumber()`, `toString()` usage. - Scale up all expected results variables or scale down tokens amount.
Update the function `createScaledNumber()` and `createTokenAmount()` to return a BigNumber instead of a string, will be more scalable for different use cases.
# Task: ## Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for...