@dripfi/drip-sdk 1.4.28-bridge-perq-1 → 1.4.28-silo-sdk

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +45 -48
  2. package/dist/PerqSdk.d.ts +5 -3
  3. package/dist/PerqSdk.js +8 -5
  4. package/dist/abi/index.d.ts +0 -286
  5. package/dist/abi/index.js +4 -8
  6. package/dist/contracts/{BasePerqContract.d.ts → BaseContract.d.ts} +1 -1
  7. package/dist/contracts/{BasePerqContract.js → BaseContract.js} +2 -2
  8. package/dist/contracts/index.d.ts +6 -8
  9. package/dist/contracts/index.js +7 -11
  10. package/dist/contracts/{PerqSwapAndRecyclerContract.d.ts → perq/PerqSwapAndRecyclerContract.d.ts} +3 -3
  11. package/dist/contracts/{PerqSwapAndRecyclerContract.js → perq/PerqSwapAndRecyclerContract.js} +3 -3
  12. package/dist/contracts/{PerqTokenContract.d.ts → perq/PerqTokenContract.d.ts} +2 -2
  13. package/dist/contracts/{PerqTokenContract.js → perq/PerqTokenContract.js} +3 -3
  14. package/dist/contracts/{PerqTokenRecyclerContract.d.ts → perq/PerqTokenRecyclerContract.d.ts} +3 -3
  15. package/dist/contracts/{PerqTokenRecyclerContract.js → perq/PerqTokenRecyclerContract.js} +3 -3
  16. package/dist/contracts/{PerqVestingContract.d.ts → perq/PerqVestingContract.d.ts} +3 -3
  17. package/dist/contracts/{PerqVestingContract.js → perq/PerqVestingContract.js} +3 -3
  18. package/dist/subpackages/SiloPackage.d.ts +18 -0
  19. package/dist/subpackages/SiloPackage.js +115 -0
  20. package/dist/subpackages/VaultHandlerPackage.d.ts +37 -0
  21. package/dist/subpackages/VaultHandlerPackage.js +154 -0
  22. package/dist/types/DeployedProject.d.ts +1 -0
  23. package/dist/types/PerqConfig.d.ts +0 -2
  24. package/dist/types/PerqConfig.js +0 -4
  25. package/dist/types/SdkType.d.ts +2 -0
  26. package/dist/types/VaultData.d.ts +2 -0
  27. package/package.json +2 -1
  28. package/dist/abi/BridgeMainnetPerqToSonicAbi.json +0 -598
  29. package/dist/abi/BridgeSonicPerqToMainnetAbi.json +0 -733
  30. package/dist/contracts/BridgeMainnetPerqToSonicContract.d.ts +0 -9
  31. package/dist/contracts/BridgeMainnetPerqToSonicContract.js +0 -48
  32. package/dist/contracts/BridgeSonicPerqToMainnetContract.d.ts +0 -9
  33. package/dist/contracts/BridgeSonicPerqToMainnetContract.js +0 -47
  34. package/dist/subpackages/BridgePerqPackage.d.ts +0 -36
  35. package/dist/subpackages/BridgePerqPackage.js +0 -207
  36. package/dist/types/BridgePerq.d.ts +0 -14
  37. /package/dist/abi/{PerqSwapAndRecyclerAbi.json → perq/PerqSwapAndRecyclerAbi.json} +0 -0
  38. /package/dist/abi/{PerqTokenAbi.json → perq/PerqTokenAbi.json} +0 -0
  39. /package/dist/abi/{PerqVestingAbi.json → perq/PerqVestingAbi.json} +0 -0
  40. /package/dist/abi/{TokenRecyclerAbi.json → perq/TokenRecyclerAbi.json} +0 -0
  41. /package/dist/types/{BridgePerq.js → SdkType.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { BigNumber, ContractTransaction, ethers } from 'ethers';
2
- import BasePerqContract from './BasePerqContract';
3
- export default class PerqTokenContract extends BasePerqContract {
2
+ import BaseContract from '../BaseContract';
3
+ export default class PerqTokenContract extends BaseContract {
4
4
  constructor(address: string, signer?: ethers.Signer);
5
5
  getAllowance(spender: string): Promise<BigNumber>;
6
6
  approve(spender: string, amount: BigNumber): Promise<ContractTransaction>;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const ethers_1 = require("ethers");
7
- const PerqTokenAbi_json_1 = __importDefault(require("../abi/PerqTokenAbi.json"));
8
- const BasePerqContract_1 = __importDefault(require("./BasePerqContract"));
9
- class PerqTokenContract extends BasePerqContract_1.default {
7
+ const PerqTokenAbi_json_1 = __importDefault(require("../../abi/perq/PerqTokenAbi.json"));
8
+ const BaseContract_1 = __importDefault(require("../BaseContract"));
9
+ class PerqTokenContract extends BaseContract_1.default {
10
10
  constructor(address, signer) {
11
11
  super(address, new ethers_1.ethers.utils.Interface(PerqTokenAbi_json_1.default), signer);
12
12
  }
@@ -1,7 +1,7 @@
1
1
  import { ContractTransaction } from 'ethers';
2
- import BasePerqContract from './BasePerqContract';
3
- import PerqSdk from '../PerqSdk';
4
- export default class PerqTokenRecyclerContract extends BasePerqContract {
2
+ import BaseContract from '../BaseContract';
3
+ import PerqSdk from '../../PerqSdk';
4
+ export default class PerqTokenRecyclerContract extends BaseContract {
5
5
  constructor(perqSdk: PerqSdk);
6
6
  recycle(amountToRecycle: string, beneficiary: string | undefined, price: string, deadline: string, signature: string): Promise<ContractTransaction>;
7
7
  }
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const ethers_1 = require("ethers");
7
- const TokenRecyclerAbi_json_1 = __importDefault(require("../abi/TokenRecyclerAbi.json"));
8
- const BasePerqContract_1 = __importDefault(require("./BasePerqContract"));
9
- class PerqTokenRecyclerContract extends BasePerqContract_1.default {
7
+ const TokenRecyclerAbi_json_1 = __importDefault(require("../../abi/perq/TokenRecyclerAbi.json"));
8
+ const BaseContract_1 = __importDefault(require("../BaseContract"));
9
+ class PerqTokenRecyclerContract extends BaseContract_1.default {
10
10
  constructor(perqSdk) {
11
11
  super(perqSdk.perqConfig.perqTokenRecyclerAddress, new ethers_1.ethers.utils.Interface(TokenRecyclerAbi_json_1.default), perqSdk.signer);
12
12
  }
@@ -1,7 +1,7 @@
1
1
  import { BigNumber, ContractTransaction } from 'ethers';
2
- import BasePerqContract from './BasePerqContract';
3
- import PerqSdk from '../PerqSdk';
4
- export default class PerqVestingContract extends BasePerqContract {
2
+ import BaseContract from '../BaseContract';
3
+ import PerqSdk from '../../PerqSdk';
4
+ export default class PerqVestingContract extends BaseContract {
5
5
  constructor(perqSdk: PerqSdk);
6
6
  start(): Promise<BigNumber>;
7
7
  end(): Promise<BigNumber>;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const ethers_1 = require("ethers");
7
- const PerqVestingAbi_json_1 = __importDefault(require("../abi/PerqVestingAbi.json"));
8
- const BasePerqContract_1 = __importDefault(require("./BasePerqContract"));
9
- class PerqVestingContract extends BasePerqContract_1.default {
7
+ const PerqVestingAbi_json_1 = __importDefault(require("../../abi/perq/PerqVestingAbi.json"));
8
+ const BaseContract_1 = __importDefault(require("../BaseContract"));
9
+ class PerqVestingContract extends BaseContract_1.default {
10
10
  constructor(perqSdk) {
11
11
  super(perqSdk.perqConfig.perqVestingAddress, new ethers_1.ethers.utils.Interface(PerqVestingAbi_json_1.default), perqSdk.signer);
12
12
  }
@@ -0,0 +1,18 @@
1
+ import { BigNumber, Signer } from 'ethers';
2
+ import { SiloSdk } from '@dripfi/silo-sdk';
3
+ export default class SiloPackage {
4
+ siloSdk: SiloSdk;
5
+ constructor(signer: Signer);
6
+ deposit(assetAmount: string, vaultAddress: string): Promise<string | undefined>;
7
+ withdraw(assetAmount: string, vaultAddress: string): Promise<string | undefined>;
8
+ redeem(sharesAmount: string, vaultAddress: string): Promise<string | undefined>;
9
+ getHistoricalTvl(): Promise<any>;
10
+ getApy(): Promise<any>;
11
+ getEarnedRewards(): Promise<any>;
12
+ getBalanceInShares(vaultAddress: string): Promise<BigNumber>;
13
+ getBalanceInAssets(vaultAddress: string): Promise<BigNumber>;
14
+ getTotalSupply(vaultAddress: string): Promise<BigNumber>;
15
+ getTotalAssets(vaultAddress: string): Promise<BigNumber>;
16
+ private convertToShares;
17
+ private convertToAssets;
18
+ }
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const silo_sdk_1 = require("@dripfi/silo-sdk");
4
+ class SiloPackage {
5
+ siloSdk;
6
+ constructor(signer) {
7
+ this.siloSdk = new silo_sdk_1.SiloSdk(signer);
8
+ console.log('Silo sdk constructed');
9
+ console.log('siloSdk.subgraph ', this.siloSdk.subgraph);
10
+ console.log('siloSdk.contracts ', this.siloSdk.contracts);
11
+ }
12
+ async deposit(assetAmount, vaultAddress) {
13
+ try {
14
+ const tx = await this.siloSdk.contracts.deposit(assetAmount, vaultAddress);
15
+ return tx;
16
+ }
17
+ catch (error) {
18
+ console.error('Error depositing:', error);
19
+ throw error;
20
+ }
21
+ }
22
+ async withdraw(assetAmount, vaultAddress) {
23
+ try {
24
+ const tx = await this.siloSdk.contracts.withdraw(assetAmount, vaultAddress);
25
+ return tx;
26
+ }
27
+ catch (error) {
28
+ console.error('Error depositing:', error);
29
+ throw error;
30
+ }
31
+ }
32
+ async redeem(sharesAmount, vaultAddress) {
33
+ try {
34
+ const tx = await this.siloSdk.contracts.redeem(sharesAmount, vaultAddress);
35
+ return tx;
36
+ }
37
+ catch (error) {
38
+ console.error('Error depositing:', error);
39
+ throw error;
40
+ }
41
+ }
42
+ async getHistoricalTvl() {
43
+ console.log('getHistoricalTvl to be implemented');
44
+ return await this.siloSdk.getHistoricalTvl();
45
+ }
46
+ async getApy() {
47
+ console.log('getApy to be implemented');
48
+ return await this.siloSdk.getApy();
49
+ }
50
+ async getEarnedRewards() {
51
+ console.log('getEarnedRewards to be implemented');
52
+ return await this.siloSdk.getEarnedRewards();
53
+ }
54
+ async getBalanceInShares(vaultAddress) {
55
+ try {
56
+ const balance = await this.siloSdk.contracts.getBalance(vaultAddress);
57
+ return balance;
58
+ }
59
+ catch (error) {
60
+ console.error('Error getting balance:', error);
61
+ throw error;
62
+ }
63
+ }
64
+ async getBalanceInAssets(vaultAddress) {
65
+ try {
66
+ const balance = await this.siloSdk.contracts.getBalanceInAssets(vaultAddress);
67
+ return balance;
68
+ }
69
+ catch (error) {
70
+ console.error('Error getting balance:', error);
71
+ throw error;
72
+ }
73
+ }
74
+ async getTotalSupply(vaultAddress) {
75
+ try {
76
+ const totalSupply = await this.siloSdk.contracts.getTotalSupply(vaultAddress);
77
+ return totalSupply;
78
+ }
79
+ catch (error) {
80
+ console.error('Error getting totalSupply:', error);
81
+ throw error;
82
+ }
83
+ }
84
+ async getTotalAssets(vaultAddress) {
85
+ try {
86
+ const totalAssets = await this.siloSdk.contracts.getTotalAssets(vaultAddress);
87
+ return totalAssets;
88
+ }
89
+ catch (error) {
90
+ console.error('Error getting totalAssets:', error);
91
+ throw error;
92
+ }
93
+ }
94
+ async convertToShares(assetsAmount, vaultAddress) {
95
+ try {
96
+ const shares = await this.siloSdk.contracts.convertToShares(assetsAmount, vaultAddress);
97
+ return shares;
98
+ }
99
+ catch (error) {
100
+ console.error('Error converting to shares:', error);
101
+ throw error;
102
+ }
103
+ }
104
+ async convertToAssets(sharesAmount, vaultAddress) {
105
+ try {
106
+ const assets = await this.siloSdk.contracts.convertToAssets(sharesAmount, vaultAddress);
107
+ return assets;
108
+ }
109
+ catch (error) {
110
+ console.error('Error converting to assets:', error);
111
+ throw error;
112
+ }
113
+ }
114
+ }
115
+ exports.default = SiloPackage;
@@ -0,0 +1,37 @@
1
+ import PerqSdk from '../PerqSdk';
2
+ import SdkType from '../types/SdkType';
3
+ export default class VaultHandler {
4
+ private perqSdk;
5
+ constructor(perqSdk: PerqSdk);
6
+ deposit(tokenAddress: string, vaultAddress: string, amount: string, sdkType: SdkType, onChainProjectId?: number): Promise<string>;
7
+ withdraw(tokenAddress: string, vaultAddress: string, amount: string, sdkType: SdkType, onChainProjectId?: number): Promise<string>;
8
+ /**
9
+ * Centralized method to execute vault operations based on SDK type
10
+ * This makes it easy to add new SDK types in the future
11
+ */
12
+ private executeVaultOperation;
13
+ /**
14
+ * Handles Yelay Lite vault operations
15
+ */
16
+ private handleYelayLiteOperation;
17
+ /**
18
+ * Handles Silo vault operations
19
+ */
20
+ private handleSiloOperation;
21
+ /**
22
+ * Handles Silo withdraw with automatic full/partial withdraw detection
23
+ */
24
+ private handleSiloWithdraw;
25
+ /**
26
+ * Handles a full withdraw from a Silo vault
27
+ */
28
+ private handleSiloFullWithdraw;
29
+ /**
30
+ * Handles a partial withdraw from a Silo vault
31
+ */
32
+ private handleSiloPartialWithdraw;
33
+ /**
34
+ * Extracts transaction hash from various transaction response formats
35
+ */
36
+ private extractTransactionHash;
37
+ }
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const ethers_1 = require("ethers");
7
+ const ERC20TokenContract_1 = __importDefault(require("../contracts/ERC20TokenContract"));
8
+ class VaultHandler {
9
+ perqSdk;
10
+ constructor(perqSdk) {
11
+ this.perqSdk = perqSdk;
12
+ }
13
+ async deposit(tokenAddress, vaultAddress, amount, sdkType, onChainProjectId) {
14
+ if (!this.perqSdk.signer) {
15
+ throw Error('No signer provided');
16
+ }
17
+ try {
18
+ return await this.executeVaultOperation('deposit', {
19
+ tokenAddress,
20
+ vaultAddress,
21
+ amount,
22
+ sdkType,
23
+ onChainProjectId,
24
+ });
25
+ }
26
+ catch (error) {
27
+ console.error('Error depositing to vault:', error);
28
+ throw error;
29
+ }
30
+ }
31
+ async withdraw(tokenAddress, vaultAddress, amount, sdkType, onChainProjectId) {
32
+ if (!this.perqSdk.signer) {
33
+ throw Error('No signer provided');
34
+ }
35
+ try {
36
+ return await this.executeVaultOperation('withdraw', {
37
+ tokenAddress,
38
+ vaultAddress,
39
+ amount,
40
+ sdkType,
41
+ onChainProjectId,
42
+ });
43
+ }
44
+ catch (error) {
45
+ console.error('Error withdrawing from vault:', error);
46
+ throw error;
47
+ }
48
+ }
49
+ /**
50
+ * Centralized method to execute vault operations based on SDK type
51
+ * This makes it easy to add new SDK types in the future
52
+ */
53
+ async executeVaultOperation(operation, params) {
54
+ const { tokenAddress, vaultAddress, amount, sdkType, onChainProjectId } = params;
55
+ switch (sdkType) {
56
+ case 'lite':
57
+ return this.handleYelayLiteOperation(operation, tokenAddress, vaultAddress, amount, onChainProjectId);
58
+ case 'silo':
59
+ return this.handleSiloOperation(operation, tokenAddress, vaultAddress, amount);
60
+ default:
61
+ throw new Error(`Unsupported SDK type: ${sdkType}`);
62
+ }
63
+ }
64
+ /**
65
+ * Handles Yelay Lite vault operations
66
+ */
67
+ async handleYelayLiteOperation(operation, tokenAddress, vaultAddress, amount, onChainProjectId) {
68
+ if (!onChainProjectId || onChainProjectId === -1) {
69
+ throw new Error('OnChainProjectId is required for Lite vaults');
70
+ }
71
+ if (operation === 'deposit') {
72
+ return await this.perqSdk.lite.deposit(tokenAddress, vaultAddress, onChainProjectId, amount);
73
+ }
74
+ else {
75
+ return await this.perqSdk.lite.withdraw(tokenAddress, vaultAddress, onChainProjectId, amount);
76
+ }
77
+ }
78
+ /**
79
+ * Handles Silo vault operations
80
+ */
81
+ async handleSiloOperation(operation, tokenAddress, vaultAddress, amount) {
82
+ if (!this.perqSdk.siloPackage) {
83
+ throw new Error('Silo package not initialized. Please provide a signer.');
84
+ }
85
+ if (operation === 'deposit') {
86
+ const tx = await this.perqSdk.siloPackage.deposit(amount, vaultAddress);
87
+ return this.extractTransactionHash(tx);
88
+ }
89
+ else {
90
+ return await this.handleSiloWithdraw(tokenAddress, vaultAddress, amount);
91
+ }
92
+ }
93
+ /**
94
+ * Handles Silo withdraw with automatic full/partial withdraw detection
95
+ */
96
+ async handleSiloWithdraw(tokenAddress, vaultAddress, amount) {
97
+ if (!this.perqSdk.siloPackage) {
98
+ throw new Error('Silo package not initialized. Please provide a signer.');
99
+ }
100
+ let userBalance = ethers_1.BigNumber.from(0);
101
+ try {
102
+ userBalance = await this.perqSdk.siloPackage.getBalanceInAssets(vaultAddress);
103
+ }
104
+ catch (error) {
105
+ console.error('Error getting user balance for silo withdraw: ', error);
106
+ }
107
+ const tokenContract = new ERC20TokenContract_1.default(tokenAddress, this.perqSdk.signer);
108
+ const decimals = await tokenContract.getPrecission();
109
+ const parsedWithdrawAmount = ethers_1.ethers.utils.parseUnits(amount, decimals);
110
+ try {
111
+ if (parsedWithdrawAmount.gte(userBalance)) {
112
+ return await this.handleSiloFullWithdraw(vaultAddress);
113
+ }
114
+ else {
115
+ return await this.handleSiloPartialWithdraw(vaultAddress, parsedWithdrawAmount);
116
+ }
117
+ }
118
+ catch (error) {
119
+ console.error('Error handling silo withdraw: ', error);
120
+ throw error;
121
+ }
122
+ }
123
+ /**
124
+ * Handles a full withdraw from a Silo vault
125
+ */
126
+ async handleSiloFullWithdraw(vaultAddress) {
127
+ const balanceInShares = await this.perqSdk.siloPackage.getBalanceInShares(vaultAddress);
128
+ const tx = await this.perqSdk.siloPackage.redeem(balanceInShares.toString(), vaultAddress);
129
+ return this.extractTransactionHash(tx);
130
+ }
131
+ /**
132
+ * Handles a partial withdraw from a Silo vault
133
+ */
134
+ async handleSiloPartialWithdraw(vaultAddress, parsedWithdrawAmount) {
135
+ const tx = await this.perqSdk.siloPackage.withdraw(parsedWithdrawAmount.toString(), vaultAddress);
136
+ return this.extractTransactionHash(tx);
137
+ }
138
+ /**
139
+ * Extracts transaction hash from various transaction response formats
140
+ */
141
+ extractTransactionHash(tx) {
142
+ if (typeof tx === 'string') {
143
+ return tx;
144
+ }
145
+ if (tx?.hash) {
146
+ return tx.hash;
147
+ }
148
+ if (tx?.transactionHash) {
149
+ return tx.transactionHash;
150
+ }
151
+ throw new Error('Unable to extract transaction hash from response');
152
+ }
153
+ }
154
+ exports.default = VaultHandler;
@@ -43,6 +43,7 @@ type DeployedProject = {
43
43
  liveFrom: string;
44
44
  distributionType: string;
45
45
  isHidden: boolean;
46
+ siloVaults: string[];
46
47
  };
47
48
  export default DeployedProject;
48
49
  export type ProjectBacker = {
@@ -9,8 +9,6 @@ type PerqConfig = {
9
9
  swapAndDepositContractAddress: string;
10
10
  ethereumSwapperAddress: string;
11
11
  smartVaultManagerContractAddress: string;
12
- bridgeMainnetPerqToSonicAddress: string;
13
- bridgeSonicPerqToMainnetAddress: string;
14
12
  };
15
13
  export default PerqConfig;
16
14
  export declare const PRODUCTION: PerqConfig;
@@ -12,8 +12,6 @@ exports.PRODUCTION = {
12
12
  swapAndDepositContractAddress: '0xd8534197bd587f8226d12e0c864ef2cae6f82f5c',
13
13
  ethereumSwapperAddress: '0x33e52c206d584550193e642c8982f2fff6339994',
14
14
  smartVaultManagerContractAddress: '0x23daf34e2b9af02a74dc19cb52af727b19403874',
15
- bridgeMainnetPerqToSonicAddress: '0x26c352304909CC7e59EEeD39242Eb7AFbC706Ad3',
16
- bridgeSonicPerqToMainnetAddress: '0x26c352304909CC7e59EEeD39242Eb7AFbC706Ad3',
17
15
  };
18
16
  exports.DEVELOPMENT = {
19
17
  route: 'https://dev.perq.finance',
@@ -24,6 +22,4 @@ exports.DEVELOPMENT = {
24
22
  swapAndDepositContractAddress: '0x5fb08e00de169f041711206a0995410884080177',
25
23
  ethereumSwapperAddress: '0xe411921ee9eedfefd7b9ae15bf232bd36949fcbbc',
26
24
  smartVaultManagerContractAddress: '0x2638d6c0b4ef6dee04050fa0b07ca62500435747',
27
- bridgeMainnetPerqToSonicAddress: '0x26c352304909CC7e59EEeD39242Eb7AFbC706Ad3',
28
- bridgeSonicPerqToMainnetAddress: '0x26c352304909CC7e59EEeD39242Eb7AFbC706Ad3',
29
25
  };
@@ -0,0 +1,2 @@
1
+ type SdkType = 'lite' | 'silo';
2
+ export default SdkType;
@@ -1,5 +1,6 @@
1
1
  import { ChainId } from './ChainId';
2
2
  import DepositToken from './DepositToken';
3
+ import SdkType from './SdkType';
3
4
  import Strategy from './Strategy';
4
5
  import StretchGoal from './StretchGoal';
5
6
  import VaultReward from './VaultReward';
@@ -26,5 +27,6 @@ type VaultData = {
26
27
  stretchGoals: StretchGoal[];
27
28
  rewards: VaultReward[];
28
29
  rewardTooltipName: string;
30
+ sdkType: SdkType;
29
31
  };
30
32
  export default VaultData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dripfi/drip-sdk",
3
- "version": "1.4.28-bridge-perq-1",
3
+ "version": "1.4.28-silo-sdk",
4
4
  "description": "Drip SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,6 +13,7 @@
13
13
  "pretty": "prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\""
14
14
  },
15
15
  "dependencies": {
16
+ "@dripfi/silo-sdk": "^0.0.1",
16
17
  "@yelay-lite/sdk": "1.0.7",
17
18
  "ethers": "^5.7.2"
18
19
  },