Skip to content

Commit

Permalink
feat: add weeths
Browse files Browse the repository at this point in the history
  • Loading branch information
shriyatyagii committed Aug 20, 2024
1 parent fcb00d9 commit 72d87da
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dsa-connect",
"version": "0.6.97",
"version": "0.6.98",
"description": "DSA connect",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down
2 changes: 2 additions & 0 deletions src/abi/connectors/v2/WEETHS-A.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { AbiItem } from 'web3-utils'
export const WEETHS_A: AbiItem[] = [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"asset","type":"address"},{"indexed":false,"internalType":"uint256","name":"assetAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minShares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sharesMinted","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogDeposit","type":"event"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"assetAmount","type":"uint256"},{"internalType":"uint256","name":"minShares","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
4 changes: 3 additions & 1 deletion src/abi/connectors/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ import { PARASWAP_V6_A } from "./PARASWAP-V6-A"
import { MERKLE_CLAIM_A } from "./MERKLE-CLAIM-A"
import { SPARK_CLAIM_A } from "./SPARK-CLAIM-A"
import { FLUID_ARB_CLAIM_A } from "./FLUID-ARB-CLAIM-A"
import { WEETHS_A } from "./WEETHS-A"

export const connectorsV2_M1 = {
'MORPHO-REWARDS-A': MORPHO_REWARDS_A,
Expand Down Expand Up @@ -266,5 +267,6 @@ export const connectorsV2_M1 = {
'PARASWAP-V6-A': PARASWAP_V6_A,
'MERKLE-CLAIM-A': MERKLE_CLAIM_A,
'SPARK-CLAIM-A': SPARK_CLAIM_A,
'FLUID-ARB-CLAIM-A': FLUID_ARB_CLAIM_A
'FLUID-ARB-CLAIM-A': FLUID_ARB_CLAIM_A,
'WEETHS-A': WEETHS_A
}
3 changes: 2 additions & 1 deletion src/addresses/mainnet/connectorsV2_M1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ export const connectorsV2_M1 = {
'FLUID-INST-CLAIM-A': '0xA846B6E912F03831137Ce3C0349D784F8d51cE78',
'PARASWAP-V6-A': '0x6e5484d041aF87CD6C95cd95bd5bE7eA786098D3',
'MERKLE-CLAIM-A': '0xee85F567efc35621145dCf62f341d095D94b9F65',
'SPARK-CLAIM-A': '0xC36a19FFA9D050EEe5D53Fa15095Dc1228767EcF'
'SPARK-CLAIM-A': '0xC36a19FFA9D050EEe5D53Fa15095Dc1228767EcF',
'WEETHS-A': '0x8714DDa838b9fd0CF426545D319721c086833d59'
}

0 comments on commit 72d87da

Please sign in to comment.