-
const buyAction = async (tokenToBuyWith, tokenToPurchase) => {
console.log("In buy action")
try {
const amountIn = data.BNBAmount;
const amount = await router.getAmountOut(…
-
**Godot version:** 3.1 Beta 11 (custom build from commit 2940475c716eab517ca52957acc8714f195d32cb)
**OS/device including version:** Gentoo Linux, Kernel 4.19.23, KDE 5, GTX 1080 w/NVidia proprietar…
Cygon updated
8 months ago
-
[@ikasiuk] We don't have BigDecimal and BigInteger as in Java. So we need a JS implementation if we want to support these types.
[Migrated from ceylon/ceylon-js#17]
-
I recently updated my npm packages, with the v3-sdk going from ^3.5.1-optimism-regensis to ^3.7.1. Because of this JSBI started to act weird.
At first I was getting an error saying Argument of type …
-
We need to format all numbers in DEX, so it is more easy to read long numbers. For example: 1,000,000.00 (with 2 decimals precision by default)
We need to implement an ability to use custom decimal p…
uchu updated
2 months ago
-
I've been attempting to get the [example trade](https://github.com/Uniswap/examples/blob/main/v3-sdk/trading/src/libs/trading.ts#L79-L114) to work using a mainnet fork setup with Anvil, as documented …
-
```
method Main() {
var a := new array;
}
```
verifies. However, it results in a compilation error in every backend.
C#:
```
(1748,41): error CS1586: Array creation must have array siz…
-
From the [spec](https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#amount):
> If the number of decimal places exceed what's supported for SOL (9) or the SPL token (mint specific), the wall…
-
### Lesson
Lesson 9
### Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
https://youtu.b…
-
## Issue:
To resolved I tried giving gasLimit with `registerAsOperator` function.
Getting following issue below:
```
tsc && node dist/index.js
Error in main function: Error: cannot estimate gas;…