@infinex/evm-sdk
Advanced tools
Comparing version 0.0.5 to 0.0.6
import { default as dev } from './dev'; | ||
import { default as fork } from './fork'; | ||
import { default as prod } from './prod'; | ||
import { default as staging } from './staging'; | ||
export const env = { dev, staging, prod }; | ||
export const env = { dev, staging, prod, fork }; |
{ | ||
"name": "@infinex/evm-sdk", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "env", |
@@ -50,2 +50,4 @@ import { | ||
waitForTransactionReceipt: PublicClient['waitForTransactionReceipt']; | ||
request: PublicClient['request']; | ||
getBalance: PublicClient['getBalance']; | ||
} { | ||
@@ -89,3 +91,5 @@ const chain = defineChain({ | ||
waitForTransactionReceipt: publicClient.waitForTransactionReceipt, | ||
request: publicClient.request, | ||
getBalance: publicClient.getBalance, | ||
}; | ||
} |
@@ -9,10 +9,1 @@ export const circleChainIds = { | ||
} as const; | ||
export const infinexChainIds = { | ||
arbitrum: 0n, | ||
base: 1n, | ||
ethereum: 2n, | ||
optimism: 3n, | ||
polygon: 4n, | ||
solana: 5n, | ||
} as const; |
@@ -20,2 +20,3 @@ import { | ||
RecoveryModuleAbi as recoveryModuleAbi, | ||
WithdrawModuleAbi as withdrawModuleAbi, | ||
} from '@infinex/infinex-sdk/src/abis'; | ||
@@ -27,3 +28,3 @@ import { | ||
import { type Abi } from 'abitype'; | ||
import { type Address } from 'viem'; | ||
import { type Address, erc20Abi } from 'viem'; | ||
import { arbitrum, base, mainnet, optimism, polygon } from 'viem/chains'; | ||
@@ -54,2 +55,4 @@ | ||
stwStakingRewards: stwStakingRewardsAbi, | ||
erc20: erc20Abi, | ||
withdrawModule: withdrawModuleAbi, | ||
} as const satisfies Record<string, Abi>; | ||
@@ -158,2 +161,4 @@ | ||
curveStableSwagNG: true, | ||
erc20: true, | ||
withdrawModule: true, | ||
}, | ||
@@ -194,2 +199,4 @@ circeChainId: circleChainIds.arbitrum, | ||
curveStableSwagNG: true, | ||
erc20: true, | ||
withdrawModule: true, | ||
}, | ||
@@ -226,2 +233,4 @@ circeChainId: circleChainIds.base, | ||
curveStableSwagNG: true, | ||
erc20: true, | ||
withdrawModule: true, | ||
}, | ||
@@ -258,2 +267,4 @@ circeChainId: circleChainIds.ethereum, | ||
curveStableSwagNG: true, | ||
erc20: true, | ||
withdrawModule: true, | ||
}, | ||
@@ -289,2 +300,4 @@ circeChainId: circleChainIds.optimism, | ||
curveStableSwagNG: true, | ||
erc20: true, | ||
withdrawModule: true, | ||
}, | ||
@@ -291,0 +304,0 @@ circeChainId: circleChainIds.polygon, |
41435
15
1020