Skip to content

Commit

Permalink
Merge pull request Uniswap#62 from publu/feat/royalaid/export-raw-abis
Browse files Browse the repository at this point in the history
Improve type inference speed
  • Loading branch information
publu authored Oct 18, 2023
2 parents 4c44109 + 53cedbb commit 3a13d13
Show file tree
Hide file tree
Showing 6 changed files with 253 additions and 134 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@qidao/sdk",
"license": "MIT",
"version": "5.2.13",
"version": "5.3.1",
"description": "🛠 An SDK for building applications on top of QiDao Protocol.",
"main": "./dist/index.js",
"umd:main": "dist/index.umd.js",
Expand Down
33 changes: 33 additions & 0 deletions src/abis/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import ThreeStepQiZapper from './ThreeStepQiZappah.json'
import QiZappah from './QiZappah.json'
import BeefyZapper from './BeefyZapper.json'
import crosschainNativeQiStablecoin from './toGenerate/crosschainNativeQiStablecoin.json'
import crosschainQiStablecoin from './toGenerate/crosschainQiStablecoin.json'
import crosschainQiStablecoinSlim from './toGenerate/crosschainQiStablecoinSlim.json'
import crosschainQiStablecoinSlimV2 from './toGenerate/crosschainQiStablecoinSlimV2.json'
import crosschainQiStablecoinV2 from './toGenerate/crosschainQiStablecoinV2.json'
import crosschainQiStablecoinwbtc from './toGenerate/crosschainQiStablecoinwbtc.json'
import erc20QiStablecoincamwbtc from './toGenerate/erc20QiStablecoincamwbtc.json'
import erc20QiStablecoinwbtc from './toGenerate/erc20QiStablecoinwbtc.json'
import erc20Stablecoin from './toGenerate/erc20Stablecoin.json'
import gainsZapper from './toGenerate/GainsZapper.json'
import qiStablecoin from './toGenerate/QiStablecoin.json'
import stableQiVault from './toGenerate/stableQiVault.json'

export {
ThreeStepQiZapper,
QiZappah,
BeefyZapper,
crosschainNativeQiStablecoin,
crosschainQiStablecoin,
crosschainQiStablecoinSlim,
crosschainQiStablecoinSlimV2,
crosschainQiStablecoinV2,
crosschainQiStablecoinwbtc,
erc20QiStablecoincamwbtc,
erc20QiStablecoinwbtc,
erc20Stablecoin,
gainsZapper,
qiStablecoin,
stableQiVault,
}
6 changes: 6 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export const MAINNET_ZAPPER = '0x5AA5079A8037f9D050D838AEFCe10bA7B8b8b001'

export const BASE_THREE_STEP_ZAPPER = '0x70dD6dEf31E7285EcA5d2341FD9136A786c29422'

export const XDAI_THREE_STEP_ZAPPER = '0xb9e1b02e3a3a58b2c48e5ea3d830007e9d6d2e0b'

export enum ChainId {
MAINNET = 1,
GÖRLI = 5,
Expand Down Expand Up @@ -154,6 +156,7 @@ export const ZKEVM_WMATIC_ADDRESS = '0xa2036f0538221a77A3937F1379699f44945018d0'

export const BASE_WETH_ADDRESS = '0x4200000000000000000000000000000000000006'
export const BASE_CBETH_ADDRESS = '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22'
export const XDAI_SDAI_ADDRESS = '0xaf204776c7245bF4147c2612BF6e5972Ee483701'

//CAM Vaults
export const CAMWMATIC_VAULT_ADDRESS = '0x88d84a85A87ED12B8f098e8953B322fF789fCD1a'
Expand Down Expand Up @@ -207,3 +210,6 @@ export const ZKEVM_WMATIC_VAULT_ADDRESS = '0x8AB01c5Ee3422099156ab151eecB83c0956
//BASE Vaults
export const BASE_WETH_VAULT_ADDRESS = '0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6'
export const BASE_CBETH_VAULT_ADDRESS = '0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B'

//XDAI Vaults
export const XDAI_SDAI_VAULT_ADDRESS = '0x79AFAD49e968E7bEA7a23933E294a94E33E60158'
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export * from './zapInfo'
export * from './ZapMeta'
export * from './contracts'
export * from './tokens'
export * from './abis'
Loading

0 comments on commit 3a13d13

Please sign in to comment.