Skip to content

Commit

Permalink
Fix electra converter address
Browse files Browse the repository at this point in the history
  • Loading branch information
slavastartsev committed Mar 20, 2024
1 parent 38df576 commit 3a4f807
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "@electra.finance/sdk",
"version": "0.2.20",
"version": "0.2.21",
"description": "Electra finance SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const crossMarginInfoSchema = z.object({
fundingRateAccount: z.string().optional(),
soLevel: z.number().optional(),
delegateContractAddress: z.string().optional(),
electraConverterAddress: z.string().optional(),
instruments: z.record(z.string(), crossMarginCFDItemInfo),
});

Expand Down
1 change: 0 additions & 1 deletion src/services/BlockchainService/schemas/infoSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const infoSchema = z.object({
chainName: z.string(),
exchangeContractAddress: z.string(),
oracleContractAddress: z.string(),
electraConverterAddress: z.string(),
matcherAddress: z.string(),
orderFeePercent: z.number(),
assetToAddress: z.record(z.string()).transform(makePartial),
Expand Down

0 comments on commit 3a4f807

Please sign in to comment.