Skip to content

Commit

Permalink
update [packages]: change ergo-sdk and ergo-dex-sdk packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadyazdanii committed Jun 23, 2024
1 parent bb561a6 commit 8b18452
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 189 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@cosmjs/stargate": "^0.31.1",
"@cosmjs/tendermint-rpc": "^0.32.2",
"@crocswap/sdk": "^2.4.5",
"@ergolabs/ergo-dex-sdk": "^1.9.67-beta.4",
"@ethersproject/abstract-provider": "5.7.0",
"@ethersproject/address": "5.7.0",
"@ethersproject/contracts": "5.7.0",
Expand All @@ -50,6 +49,8 @@
"@pancakeswap/v3-periphery": "^1.0.2",
"@pancakeswap/v3-sdk": "^3.7.0",
"@pangolindex/sdk": "^1.1.0",
"@patternglobal/ergo-dex-sdk": "^1.0.1",
"@patternglobal/ergo-sdk": "^1.0.0",
"@perp/sdk-curie": "^1.16.0",
"@sushiswap/sdk": "^5.0.0-canary.116",
"@taquito/rpc": "^17.0.0",
Expand Down
10 changes: 5 additions & 5 deletions src/chains/ergo/ergo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
SwapExtremums,
SwapParams,
swapVars,
} from '@ergolabs/ergo-dex-sdk';
} from '@patternglobal/ergo-dex-sdk';
import {
Explorer,
Prover,
Expand All @@ -45,10 +45,10 @@ import {
BoxSelection,
Input as TxInput,
RustModule,
} from '@ergolabs/ergo-sdk';
import { makeTarget } from '@ergolabs/ergo-dex-sdk/build/main/utils/makeTarget';
import { NativeExFeeType } from '@ergolabs/ergo-dex-sdk/build/main/types';
import { NetworkContext } from '@ergolabs/ergo-sdk/build/main/entities/networkContext';
} from '@patternglobal/ergo-sdk';
import { makeTarget } from '@patternglobal/ergo-dex-sdk/build/main/utils/makeTarget';
import { NativeExFeeType } from '@patternglobal/ergo-dex-sdk/build/main/types';
import { NetworkContext } from '@patternglobal/ergo-sdk/build/main/entities/networkContext';
async function x() {
await RustModule.load(true);
}
Expand Down
Loading

0 comments on commit 8b18452

Please sign in to comment.