@dripfi/drip-sdk 1.3.9 → 1.3.10
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.
- package/dist/DripApi.d.ts +11 -11
- package/dist/DripConfig.d.ts +1 -4
- package/dist/DripConfig.js +4 -8
- package/dist/DripSdk.d.ts +11 -11
- package/dist/index.d.ts +3 -16
- package/dist/index.js +38 -5
- package/dist/perq/PerqApi.d.ts +4 -0
- package/dist/perq/PerqApi.js +9 -0
- package/dist/perq/PerqConfig.d.ts +5 -0
- package/dist/perq/PerqConfig.js +20 -0
- package/dist/perq/PerqSdk.d.ts +9 -0
- package/dist/perq/PerqSdk.js +26 -0
- package/dist/types/BeansBalance.d.ts +2 -1
- package/dist/types/CacheVaultRewards.d.ts +2 -1
- package/dist/types/Chain.d.ts +4 -0
- package/dist/types/Chain.js +8 -0
- package/dist/types/DeployedProject.d.ts +5 -2
- package/dist/types/DeployedVault.d.ts +5 -4
- package/dist/types/LoyaltyCard.d.ts +2 -1
- package/dist/types/MyPerqData.d.ts +1 -1
- package/dist/types/NFTBoost.d.ts +2 -1
- package/dist/types/PerqToBeansSwapInfo.d.ts +2 -1
- package/dist/types/QLFastRedeem.d.ts +3 -2
- package/dist/types/Strategy.d.ts +2 -1
- package/dist/types/StretchGoal.d.ts +2 -1
- package/dist/types/SwapInfo.d.ts +2 -1
- package/dist/types/UpgradeLoyaltyCardPayload.d.ts +2 -1
- package/dist/types/UserBalance.d.ts +2 -1
- package/dist/types/UserRewards.d.ts +2 -1
- package/dist/types/UserVaultBalance.d.ts +2 -1
- package/dist/types/Vault.d.ts +8 -7
- package/dist/types/VaultClaimData.d.ts +2 -1
- package/dist/types/VaultDepositToken.d.ts +2 -1
- package/dist/types/VaultReward.d.ts +2 -1
- package/dist/types/VaultStats.d.ts +2 -1
- package/dist/types/VaultType.d.ts +2 -1
- package/dist/types/VestingInfo.d.ts +2 -1
- package/dist/types/YelayVersion.d.ts +1 -0
- package/dist/types/YelayVersion.js +2 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/index.js +8 -0
- package/package.json +2 -1
package/dist/DripApi.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import { BigNumber } from 'ethers';
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
2
|
+
import Vault from './types/Vault';
|
3
|
+
import SwapInfo from './types/SwapInfo';
|
4
|
+
import QLFastRedeem from './types/QLFastRedeem';
|
5
|
+
import UserRewards from './types/UserRewards';
|
6
|
+
import VaultStats from './types/VaultStats';
|
7
|
+
import UserBalance from './types/UserBalance';
|
8
|
+
import VaultClaimData from './types/VaultClaimData';
|
9
9
|
import MyPerqData from './types/MyPerqData';
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
10
|
+
import LoyaltyCard from './types/LoyaltyCard';
|
11
|
+
import BeansBalance from './types/BeansBalance';
|
12
|
+
import PerqToBeansSwapInfo from './types/PerqToBeansSwapInfo';
|
13
13
|
import BeanEntry from './types/BeanEntry';
|
14
14
|
import { NonceEnrichedSignedPayload, NonceEnrichedPayload } from './types/SignedPayload';
|
15
|
-
import
|
15
|
+
import UpgradeLoyaltyCardPayload from './types/UpgradeLoyaltyCardPayload';
|
16
16
|
export default class DripApi {
|
17
17
|
route: string;
|
18
18
|
constructor(route: string);
|
package/dist/DripConfig.d.ts
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
import { SDKConfig } from '@spool.fi/spool-v2-sdk';
|
2
2
|
import { Signer } from 'ethers';
|
3
|
+
import { Chain } from './types/Chain';
|
3
4
|
export declare const NULL_ADDRESS = "0x0000000000000000000000000000000000000000";
|
4
5
|
export declare const PERQ_TOKEN_DECIMALS = 18;
|
5
|
-
export declare enum Chain {
|
6
|
-
MAINNET = "mainnet",
|
7
|
-
SEPOLIA = "sepolia"
|
8
|
-
}
|
9
6
|
export declare class DripConfig {
|
10
7
|
internalConfig: SDKConfig;
|
11
8
|
dripRoute: string;
|
package/dist/DripConfig.js
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DripConfig = exports.
|
3
|
+
exports.DripConfig = exports.PERQ_TOKEN_DECIMALS = exports.NULL_ADDRESS = void 0;
|
4
4
|
const spool_v2_sdk_1 = require("@spool.fi/spool-v2-sdk");
|
5
|
+
const Chain_1 = require("./types/Chain");
|
5
6
|
exports.NULL_ADDRESS = '0x0000000000000000000000000000000000000000';
|
6
7
|
exports.PERQ_TOKEN_DECIMALS = 18;
|
7
|
-
var Chain;
|
8
|
-
(function (Chain) {
|
9
|
-
Chain["MAINNET"] = "mainnet";
|
10
|
-
Chain["SEPOLIA"] = "sepolia";
|
11
|
-
})(Chain || (exports.Chain = Chain = {}));
|
12
8
|
const SUBGRAPH_URL_SEPOLIA = 'https://subgraph.satsuma-prod.com/49eb322da234/solidant/spool-v2-sepolia/api';
|
13
9
|
const RECYCLER_ADDRESS_SEPOLIA = '0x07F2264E199D62afe07E8288eC9D36d155fc3f24';
|
14
10
|
const SWAP_AND_RECYCLER_ADDRESS_SEPOLIA = '0xA4ed357FF233731860Ec8D0446FD95756d564014';
|
@@ -32,7 +28,7 @@ class DripConfig {
|
|
32
28
|
perqVestingAddress;
|
33
29
|
constructor(chain, dripRoute) {
|
34
30
|
switch (chain) {
|
35
|
-
case Chain.MAINNET:
|
31
|
+
case Chain_1.Chain.MAINNET:
|
36
32
|
this.internalConfig = (0, spool_v2_sdk_1.getMainnetConfig)(SUBGRAPH_URL_MAINNET);
|
37
33
|
this.dripRoute = dripRoute !== undefined ? dripRoute : PROD_BACKEND_ROUTE;
|
38
34
|
this.dripTokenAddress = DRIP_TOKEN_ADDRESS_MAINNET;
|
@@ -40,7 +36,7 @@ class DripConfig {
|
|
40
36
|
this.dripSwapAndRecyclerAddress = SWAP_AND_RECYCLER_ADDRESS_MAINNET;
|
41
37
|
this.perqVestingAddress = VESTING_ADDRESS_MAINNET;
|
42
38
|
break;
|
43
|
-
case Chain.SEPOLIA:
|
39
|
+
case Chain_1.Chain.SEPOLIA:
|
44
40
|
this.internalConfig = (0, spool_v2_sdk_1.getSepoliaConfig)(SUBGRAPH_URL_SEPOLIA);
|
45
41
|
this.dripRoute = dripRoute !== undefined ? dripRoute : DEV_BACKEND_ROUTE;
|
46
42
|
this.dripTokenAddress = DRIP_TOKEN_ADDRESS_SEPOLIA;
|
package/dist/DripSdk.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import { BigNumber, Signer } from 'ethers';
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
2
|
+
import UserRewards from './types/UserRewards';
|
3
|
+
import VaultStats from './types/VaultStats';
|
4
|
+
import UserBalance from './types/UserBalance';
|
5
|
+
import UserVaultBalance from './types/UserVaultBalance';
|
6
|
+
import VaultClaimData from './types/VaultClaimData';
|
7
|
+
import Vault from './types/Vault';
|
8
|
+
import LoyaltyCard from './types/LoyaltyCard';
|
9
9
|
import MyPerqData from './types/MyPerqData';
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import { PerqToBeansSwapInfo } from './types/PerqToBeansSwapInfo';
|
10
|
+
import BeansBalance from './types/BeansBalance';
|
11
|
+
import PerqToBeansSwapInfo from './types/PerqToBeansSwapInfo';
|
13
12
|
import BeanEntry from './types/BeanEntry';
|
14
|
-
import
|
13
|
+
import VestingInfo from './types/VestingInfo';
|
15
14
|
import { NonceEnrichedSignedPayload } from './types/SignedPayload';
|
15
|
+
import { Chain } from './types/Chain';
|
16
16
|
export default class DripSdk {
|
17
17
|
private dripApi;
|
18
18
|
private dripTokenContract;
|
package/dist/index.d.ts
CHANGED
@@ -1,28 +1,15 @@
|
|
1
1
|
import DripSdk from './DripSdk';
|
2
|
-
import { Vault } from './types/Vault';
|
3
|
-
import { VaultReward } from './types/VaultReward';
|
4
|
-
import { NFTBoost } from './types/NFTBoost';
|
5
|
-
import { Strategy } from './types/Strategy';
|
6
|
-
import { StretchGoal } from './types/StretchGoal';
|
7
|
-
import { SwapInfo } from './types/SwapInfo';
|
8
|
-
import { VaultDepositToken } from './types/VaultDepositToken';
|
9
|
-
import { VaultType } from './types/VaultType';
|
10
|
-
import { UserVaultBalance } from './types/UserVaultBalance';
|
11
|
-
import { UserBalance } from './types/UserBalance';
|
12
|
-
import { VaultStats } from './types/VaultStats';
|
13
|
-
import { Chain } from './DripConfig';
|
14
|
-
import MyPerqData from './types/MyPerqData';
|
15
|
-
import ELoyaltyCardTier from './types/ELoyaltyCardTier';
|
16
|
-
import BeanEntry from './types/BeanEntry';
|
17
2
|
import DRIP_SWAP_AND_RECYCLER_ABI from './abi/DripSwapAndRecyclerAbi.json';
|
18
3
|
import WETH_TOKEN_ABI from './abi/WethTokenAbi.json';
|
19
4
|
import DRIP_TOKEN_ABI from './abi/DripTokenAbi.json';
|
20
5
|
import TOKEN_RECYCLER_ABI from './abi/TokenRecyclerAbi.json';
|
21
6
|
import PERQ_VESTING_ABI from './abi/PerqVestingAbi.json';
|
22
7
|
import abi from './abi';
|
8
|
+
import * as types from './types';
|
9
|
+
import { Chain } from './types/Chain';
|
23
10
|
export { DRIP_SWAP_AND_RECYCLER_ABI, // TODO REMOVE THIS LINE
|
24
11
|
WETH_TOKEN_ABI, // TODO REMOVE THIS LINE
|
25
12
|
DRIP_TOKEN_ABI, // TODO REMOVE THIS LINE
|
26
13
|
TOKEN_RECYCLER_ABI, // TODO REMOVE THIS LINE
|
27
14
|
PERQ_VESTING_ABI, // TODO REMOVE THIS LINE
|
28
|
-
|
15
|
+
DripSdk, Chain, abi, types, };
|
package/dist/index.js
CHANGED
@@ -1,15 +1,44 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
2
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
37
|
};
|
5
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
39
|
+
exports.types = exports.abi = exports.Chain = exports.DripSdk = exports.PERQ_VESTING_ABI = exports.TOKEN_RECYCLER_ABI = exports.DRIP_TOKEN_ABI = exports.WETH_TOKEN_ABI = exports.DRIP_SWAP_AND_RECYCLER_ABI = void 0;
|
7
40
|
const DripSdk_1 = __importDefault(require("./DripSdk"));
|
8
41
|
exports.DripSdk = DripSdk_1.default;
|
9
|
-
const DripConfig_1 = require("./DripConfig");
|
10
|
-
Object.defineProperty(exports, "Chain", { enumerable: true, get: function () { return DripConfig_1.Chain; } });
|
11
|
-
const ELoyaltyCardTier_1 = __importDefault(require("./types/ELoyaltyCardTier"));
|
12
|
-
exports.ELoyaltyCardTier = ELoyaltyCardTier_1.default;
|
13
42
|
const DripSwapAndRecyclerAbi_json_1 = __importDefault(require("./abi/DripSwapAndRecyclerAbi.json")); // TODO REMOVE THIS LINE
|
14
43
|
exports.DRIP_SWAP_AND_RECYCLER_ABI = DripSwapAndRecyclerAbi_json_1.default;
|
15
44
|
const WethTokenAbi_json_1 = __importDefault(require("./abi/WethTokenAbi.json")); // TODO REMOVE THIS LINE
|
@@ -23,3 +52,7 @@ exports.PERQ_VESTING_ABI = PerqVestingAbi_json_1.default;
|
|
23
52
|
// FROM NOW ON, THIS IS THE NEW STRUCTURE:
|
24
53
|
const abi_1 = __importDefault(require("./abi"));
|
25
54
|
exports.abi = abi_1.default;
|
55
|
+
const types = __importStar(require("./types"));
|
56
|
+
exports.types = types;
|
57
|
+
const Chain_1 = require("./types/Chain");
|
58
|
+
Object.defineProperty(exports, "Chain", { enumerable: true, get: function () { return Chain_1.Chain; } });
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PerqConfig = void 0;
|
4
|
+
const Chain_1 = require("../types/Chain");
|
5
|
+
const PROD_BACKEND_ROUTE = 'https://perq.finance';
|
6
|
+
const DEV_BACKEND_ROUTE = 'https://dev.perq.finance';
|
7
|
+
class PerqConfig {
|
8
|
+
perqRoute;
|
9
|
+
constructor(chain, perqRoute) {
|
10
|
+
switch (chain) {
|
11
|
+
case Chain_1.Chain.MAINNET:
|
12
|
+
this.perqRoute = perqRoute !== undefined ? perqRoute : PROD_BACKEND_ROUTE;
|
13
|
+
break;
|
14
|
+
case Chain_1.Chain.SEPOLIA:
|
15
|
+
this.perqRoute = perqRoute !== undefined ? perqRoute : DEV_BACKEND_ROUTE;
|
16
|
+
break;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
exports.PerqConfig = PerqConfig;
|
@@ -0,0 +1,26 @@
|
|
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 sdk_1 = require("@yelay-lite/sdk");
|
7
|
+
const PerqApi_1 = __importDefault(require("./PerqApi"));
|
8
|
+
const PerqConfig_1 = require("./PerqConfig");
|
9
|
+
const YELAY_LITE_BACKEND_URL = 'http://134.209.255.15:3000';
|
10
|
+
const BASE_RPC_URL = 'https://sly-virulent-pallet.base-mainnet.quiknode.pro/22e8158f3fe6a39562769d29f885d4102f08715a/';
|
11
|
+
class PerqSdk {
|
12
|
+
perqApi;
|
13
|
+
perqConfig;
|
14
|
+
signer;
|
15
|
+
yelayLiteSdk;
|
16
|
+
constructor(chain, signer, perqRoute) {
|
17
|
+
this.signer = signer;
|
18
|
+
this.perqConfig = new PerqConfig_1.PerqConfig(chain, perqRoute);
|
19
|
+
this.perqApi = new PerqApi_1.default(this.perqConfig.perqRoute);
|
20
|
+
this.yelayLiteSdk = new sdk_1.YelayLiteSdk({
|
21
|
+
backendUrl: YELAY_LITE_BACKEND_URL,
|
22
|
+
rpcUrl: BASE_RPC_URL,
|
23
|
+
});
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.default = PerqSdk;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import StretchGoal from './StretchGoal';
|
2
|
+
import { YelayVersion } from './YelayVersion';
|
3
|
+
type DeployedProject = {
|
3
4
|
id: number | undefined;
|
4
5
|
projectName: string;
|
5
6
|
owners: string[];
|
@@ -35,7 +36,9 @@ export type DeployedProject = {
|
|
35
36
|
coingeckoId?: string;
|
36
37
|
projectType: string;
|
37
38
|
isFeatured: boolean;
|
39
|
+
yelayVersion: YelayVersion;
|
38
40
|
};
|
41
|
+
export default DeployedProject;
|
39
42
|
export type ProjectBacker = {
|
40
43
|
name: string;
|
41
44
|
image: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
4
|
-
|
1
|
+
import DeployedProject from './DeployedProject';
|
2
|
+
import VaultReward from './VaultReward';
|
3
|
+
import VaultType from './VaultType';
|
4
|
+
type DeployedVault = {
|
5
5
|
projectId: number;
|
6
6
|
vaultAddress: string;
|
7
7
|
liveUntil: string;
|
@@ -13,3 +13,4 @@ export type DeployedVault = {
|
|
13
13
|
coingeckoId?: string;
|
14
14
|
expectedTge?: string;
|
15
15
|
};
|
16
|
+
export default DeployedVault;
|
package/dist/types/NFTBoost.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
type QLFastRedeem = {
|
2
2
|
assetsWithdrawn: {
|
3
3
|
asset: {
|
4
4
|
decimals: number;
|
@@ -12,4 +12,5 @@ export interface QLFastRedeem {
|
|
12
12
|
blockNumber: number;
|
13
13
|
id: string;
|
14
14
|
svtWithdrawn: string;
|
15
|
-
}
|
15
|
+
};
|
16
|
+
export default QLFastRedeem;
|
package/dist/types/Strategy.d.ts
CHANGED
package/dist/types/SwapInfo.d.ts
CHANGED
package/dist/types/Vault.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import { RewardType
|
6
|
-
import
|
7
|
-
|
1
|
+
import DeployedProject from './DeployedProject';
|
2
|
+
import NFTBoost from './NFTBoost';
|
3
|
+
import Strategy from './Strategy';
|
4
|
+
import VaultDepositToken from './VaultDepositToken';
|
5
|
+
import VaultReward, { RewardType } from './VaultReward';
|
6
|
+
import VaultType from './VaultType';
|
7
|
+
type Vault = {
|
8
8
|
vaultName: string;
|
9
9
|
vaultAddress: string;
|
10
10
|
apy: number;
|
@@ -37,3 +37,4 @@ export type Vault = {
|
|
37
37
|
boostedTvl: number;
|
38
38
|
projectVAPY?: number;
|
39
39
|
};
|
40
|
+
export default Vault;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
type VaultReward = {
|
2
2
|
id: number | undefined;
|
3
3
|
type: RewardType;
|
4
4
|
name: string;
|
@@ -11,5 +11,6 @@ export type VaultReward = {
|
|
11
11
|
timestamp: number;
|
12
12
|
endTime: number;
|
13
13
|
};
|
14
|
+
export default VaultReward;
|
14
15
|
export declare const REWARD_TYPES: readonly ["token", "points", "pnode shards"];
|
15
16
|
export type RewardType = (typeof REWARD_TYPES)[number];
|
@@ -0,0 +1 @@
|
|
1
|
+
export type YelayVersion = "v2" | "lite";
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import Asset from './Asset';
|
2
|
+
import BeanEntry from './BeanEntry';
|
3
|
+
import BeansBalance from './BeansBalance';
|
4
|
+
import DepositToken from './DepositToken';
|
5
|
+
import DeployedProject from './DeployedProject';
|
6
|
+
import DeployedVault from './DeployedVault';
|
7
|
+
import ELoyaltyCardTier from './ELoyaltyCardTier';
|
8
|
+
import LoyaltyCard from './LoyaltyCard';
|
9
|
+
import MyPerqData from './MyPerqData';
|
10
|
+
import NFTBoost from './NFTBoost';
|
11
|
+
import PerqToBeansSwapInfo from './PerqToBeansSwapInfo';
|
12
|
+
import QLFastRedeem from './QLFastRedeem';
|
13
|
+
import { BasePayload, NonceEnrichedPayload, NonceEnrichedSignedPayload } from './SignedPayload';
|
14
|
+
import Strategy from './Strategy';
|
15
|
+
import StretchGoal from './StretchGoal';
|
16
|
+
import SwapInfo from './SwapInfo';
|
17
|
+
import Vault from './Vault';
|
18
|
+
import VaultDepositToken from './VaultDepositToken';
|
19
|
+
import VaultReward from './VaultReward';
|
20
|
+
import VaultStats from './VaultStats';
|
21
|
+
import UserBalance from './UserBalance';
|
22
|
+
import UserVaultBalance from './UserVaultBalance';
|
23
|
+
import UpgradeLoyaltyCardPayload from './UpgradeLoyaltyCardPayload';
|
24
|
+
import UserRewards from './UserRewards';
|
25
|
+
import VestingInfo from './VestingInfo';
|
26
|
+
import VaultClaimData from './VaultClaimData';
|
27
|
+
import VaultType from './VaultType';
|
28
|
+
export { Asset, BeanEntry, DeployedProject, DeployedVault, ELoyaltyCardTier, BeansBalance, DepositToken, LoyaltyCard, MyPerqData, NFTBoost, PerqToBeansSwapInfo, QLFastRedeem, Strategy, StretchGoal, SwapInfo, Vault, VaultDepositToken, VaultReward, VaultStats, UserBalance, UserVaultBalance, BasePayload, NonceEnrichedPayload, NonceEnrichedSignedPayload, UpgradeLoyaltyCardPayload, UserRewards, VestingInfo, VaultClaimData, VaultType, };
|
@@ -0,0 +1,8 @@
|
|
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
|
+
exports.ELoyaltyCardTier = void 0;
|
7
|
+
const ELoyaltyCardTier_1 = __importDefault(require("./ELoyaltyCardTier"));
|
8
|
+
exports.ELoyaltyCardTier = ELoyaltyCardTier_1.default;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dripfi/drip-sdk",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.10",
|
4
4
|
"description": "Drip SDK",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -14,6 +14,7 @@
|
|
14
14
|
},
|
15
15
|
"dependencies": {
|
16
16
|
"@spool.fi/spool-v2-sdk": "2.0.44",
|
17
|
+
"@yelay-lite/sdk": "0.0.11",
|
17
18
|
"ethers": "^5.7.2"
|
18
19
|
},
|
19
20
|
"author": "",
|