https://github.com/interest-protocol/interest-math
Satisfies your basic math needs
https://github.com/interest-protocol/interest-math
Last synced: 3 months ago
JSON representation
Satisfies your basic math needs
- Host: GitHub
- URL: https://github.com/interest-protocol/interest-math
- Owner: interest-protocol
- Created: 2024-10-12T17:15:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-28T00:46:10.000Z (about 1 year ago)
- Last Synced: 2025-04-25T12:54:29.761Z (about 1 year ago)
- Language: Move
- Homepage:
- Size: 129 KB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Interest Math
## A set of math libraries used by Interest Protocol.
### It contains the following modules:
- `fixed18`: Fixed point arithmetic with 1e18 precision.
- `u64`: Utility functions for u64.
- `u128`: Utility functions for u128.
- `u256`: Utility functions for u256.
- `i32`: Utility functions for i32.
- `i64`: Utility functions for i64.
- `i128`: Utility functions for i128.
- `i256`: Utility functions for i256.
## Immutable
[The package is immutable (Testnet)](https://testnet.suivision.xyz/txblock/78doM3h5gLNSi4PUtmDgzpN67hMeuD2D1HzJkuSB3Fd1)
## Code
[Testnet Explorer](https://testnet.suivision.xyz/package/0x4f0897757092adc03641457a8a9becd3e069893b3e71583169039363e90827b4?tab=Code)