@triadxyz/triad-protocol 0.5.2-beta → 0.5.2-beta.devnet
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/index.d.ts +1 -4
- package/dist/index.js +0 -107
- package/dist/stake.d.ts +13 -38
- package/dist/stake.js +26 -75
- package/dist/test.js +3 -55
- package/dist/ticker.d.ts +1 -12
- package/dist/ticker.js +2 -36
- package/dist/types/idl_triad_protocol.json +521 -390
- package/dist/types/stake.d.ts +0 -17
- package/dist/types/triad_protocol.d.ts +607 -419
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/vault.d.ts +0 -31
- package/dist/vault.js +0 -143
- package/package.json +1 -1
- package/dist/utils/stake-season-1/rarity.json +0 -8832
package/dist/types/stake.d.ts
CHANGED
|
@@ -3,15 +3,6 @@ import BN from 'bn.js';
|
|
|
3
3
|
export type Collection = 'alligators' | 'coleta' | 'undead' | 'pyth';
|
|
4
4
|
export type StakeNftArgs = {
|
|
5
5
|
wallet: PublicKey;
|
|
6
|
-
stakeVault: string;
|
|
7
|
-
items: {
|
|
8
|
-
mint: PublicKey;
|
|
9
|
-
name: string;
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
12
|
-
export type MigrateStakeArgs = {
|
|
13
|
-
wallet: PublicKey;
|
|
14
|
-
stakeVault: string;
|
|
15
6
|
items: {
|
|
16
7
|
mint: PublicKey;
|
|
17
8
|
name: string;
|
|
@@ -20,7 +11,6 @@ export type MigrateStakeArgs = {
|
|
|
20
11
|
export type StakeTokenArgs = {
|
|
21
12
|
name: string;
|
|
22
13
|
wallet: PublicKey;
|
|
23
|
-
stakeVault: string;
|
|
24
14
|
amount: number;
|
|
25
15
|
};
|
|
26
16
|
export type InitializeStakeArgs = {
|
|
@@ -33,40 +23,33 @@ export type DepositStakeRewardsArgs = {
|
|
|
33
23
|
wallet: PublicKey;
|
|
34
24
|
amount: BN;
|
|
35
25
|
mint: PublicKey;
|
|
36
|
-
stakeVault: string;
|
|
37
26
|
};
|
|
38
27
|
export type RequestWithdrawArgs = {
|
|
39
28
|
wallet: PublicKey;
|
|
40
29
|
name: string;
|
|
41
30
|
mint: PublicKey;
|
|
42
|
-
stakeVault: string;
|
|
43
31
|
};
|
|
44
32
|
export type WithdrawArgs = {
|
|
45
33
|
wallet: PublicKey;
|
|
46
34
|
name: string;
|
|
47
35
|
mint: PublicKey;
|
|
48
|
-
stakeVault: string;
|
|
49
36
|
};
|
|
50
37
|
export type UpdateStakeVaultStatusArgs = {
|
|
51
38
|
wallet: PublicKey;
|
|
52
39
|
isLocked: boolean;
|
|
53
|
-
stakeVault: string;
|
|
54
40
|
};
|
|
55
41
|
export type ClaimStakeRewardsArgs = {
|
|
56
42
|
wallet: PublicKey;
|
|
57
|
-
stakeVault: string;
|
|
58
43
|
nftName: string;
|
|
59
44
|
collections: number;
|
|
60
45
|
rank: number;
|
|
61
46
|
};
|
|
62
47
|
export type UpdateBoostArgs = {
|
|
63
48
|
wallet: PublicKey;
|
|
64
|
-
stakeVault: string;
|
|
65
49
|
nfts: {
|
|
66
50
|
name: string;
|
|
67
51
|
wallet: string;
|
|
68
52
|
}[];
|
|
69
|
-
boost: boolean;
|
|
70
53
|
};
|
|
71
54
|
export type UpdateStakeRewardsArgs = {
|
|
72
55
|
day: number;
|