-
Am I correct in my assumption that this snippet only calculates the historical price with the current price of BONE? So any changes will just update the chart.
```
export async function getTokenUS…
-
When running the Consumer example in the README example a BigNumber Error is thrown.
Example snippet:
```
var Provider = require('open-registry-sdk');
var contracts = {registrarAddress: '0xd76bc…
-
# Lines of code
https://github.com/code-423n4/2024-01-curves/blob/main/contracts/Curves.sol#L117-L153
# Vulnerability details
## Impact
It is possible to purchase the desired amount of tokens bef…
-
Hello, maybe a stupid question, but is there a natural way to get periodicity in BigNumbers decimals
```
math.config({
number: 'BigNumber', // Default type of number:
…
-
Below is a simplified example from [brick/math](https://github.com/brick/math).
I have the following hierarchy of classes:
- `BigNumber`
- `BigInteger`
- `BigDecimal`
To get an instance…
-
dApps commonly require math with large numbers. We currently have the BigInt base schema type for math with large integers, but we do not have a base schema type to facilitate arbitrary-precision math…
-
It looks like an error that fails to handle bignumber.js, but I don't know how to deal with it.
I didn't understand the relationship between slpjs and spl-mdm, so I posted it here.
----
git clo…
-
EVM supports 256-bit operations "natively". While that precision is not needed in a lot of cases it does come as very useful for certain operations, such as handling token balances, in Ethereum.
Wi…
-
hello,math floor maybe wrong
case 1:
math.floor(math.bignumber("1234567890123456.9951").mul( math.bignumber(100)),0).toString()
is wrong , accept '123456789012345699' but '12345678901234…
-
hello bhaiya
in test folder the file token.js is showing error while running
ERROR !!!
Should assign the total supply of tokens to the owner:
AssertionError: expected BigNumber{ _hex:…