File tree Expand file tree Collapse file tree 5 files changed +22
-356
lines changed Expand file tree Collapse file tree 5 files changed +22
-356
lines changed Original file line number Diff line number Diff line change 55
55
},
56
56
"homepage" : " https://github.com/the-metagame/evm-translator#readme" ,
57
57
"dependencies" : {
58
+ "@alch/alchemy-sdk" : " ^1.0.3" ,
58
59
"@gnosis.pm/safe-ethers-lib" : " ^1.2.1" ,
59
60
"@gnosis.pm/safe-service-client" : " ^1.2.0" ,
60
- "alchemy-sdk" : " ^2.2.1" ,
61
61
"axios" : " ^0.27.2" ,
62
62
"bottleneck" : " ^2.19.5" ,
63
63
"collect.js" : " ^4.32.0" ,
Original file line number Diff line number Diff line change
1
+ import { AlchemyConfig , initializeAlchemy } from '@alch/alchemy-sdk'
1
2
import { AlchemyProvider , StaticJsonRpcProvider } from '@ethersproject/providers'
2
- import { AlchemyConfig , initializeAlchemy } from 'alchemy-sdk'
3
3
4
4
import { ABI_Item , ABI_ItemUnfiltered } from 'interfaces/abi'
5
5
import { InterpreterMap } from 'interfaces/contractInterpreter'
Original file line number Diff line number Diff line change 1
- import { Network } from 'alchemy-sdk'
1
+ import { Network } from '@alch/ alchemy-sdk'
2
2
import { BigNumber } from 'ethers'
3
3
import { z } from 'zod'
4
4
Original file line number Diff line number Diff line change 1
1
import { ethAddress , proxyImplementationAddress } from './constants'
2
2
import { logWarning } from './logging'
3
+ import { AlchemyProvider , Network } from '@alch/alchemy-sdk'
3
4
import { BaseProvider } from '@ethersproject/providers'
4
- import { AlchemyProvider , Network } from 'alchemy-sdk'
5
5
import Bottleneck from 'bottleneck'
6
6
import collect from 'collect.js'
7
7
import { BigNumber } from 'ethers'
@@ -315,7 +315,7 @@ export const getNativeTokenValueEvents = (interactions: Interaction[]): Interact
315
315
return nativeTokenEvents
316
316
}
317
317
318
- export const getKeys = ( obj : Record < string , any > ) => Object . keys ( obj ) as Array < string >
318
+ export const getKeys = < T > ( obj : T ) => Object . keys ( obj ) as Array < keyof T >
319
319
320
320
export const getEntries = < T > ( obj : Record < string , T > ) => Object . entries ( obj ) as Array < [ string , T ] >
321
321
You can’t perform that action at this time.
0 commit comments