Implement a Log and Exp for `U128`
Open
enhancement
lib: std
- Dominant language
- Rust
- Stars
- 61.4k
- Forks
- 5.4k
- Avg merge
- 3h 33m
- Merged PRs (30d)
- 4
Description
We should implement `log()` and `exp()` methods on the `U128` type to support defi use cases such as a Balancer implementation.
### Depends on:
- [x] #1971
ref: https://etherscan.io/address/0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9#code#F26#L488
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the U128 type and the completed dependency in #1971, then compare the referenced Balancer implementation. Determine the expected behavior and validation for log() and exp(); done means both methods are implemented for U128 and support the stated DeFi use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100