@streamflow/staking 12.2.1-alpha.p361.abedd84 → 12.3.0

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.
@@ -142,7 +142,7 @@ var governor_default = {
142
142
  address: "GVERNASJFxi8vjjJtwCKYQTeN51XsV1y2B1ap1GtKrKR",
143
143
  metadata: {
144
144
  name: "governor",
145
- version: "2.4.0",
145
+ version: "2.7.0",
146
146
  spec: "0.1.0",
147
147
  description: "Governor program to allow users to vote with stake tokens"
148
148
  },
@@ -1076,7 +1076,7 @@ var fee_manager_default = {
1076
1076
  address: "FEELzfBhsWXTNJX53zZcDVfRNoFYZQ6cZA3jLiGVL16V",
1077
1077
  metadata: {
1078
1078
  name: "fee_manager",
1079
- version: "2.4.0",
1079
+ version: "2.7.0",
1080
1080
  spec: "0.1.0",
1081
1081
  description: "Stores Fees and other admin configuration for the Staking protocol"
1082
1082
  },
@@ -1514,7 +1514,7 @@ var reward_pool_default = {
1514
1514
  address: "RWRDdfRbi3339VgKxTAXg4cjyniF7cbhNbMxZWiSKmj",
1515
1515
  metadata: {
1516
1516
  name: "reward_pool",
1517
- version: "2.4.0",
1517
+ version: "2.7.0",
1518
1518
  spec: "0.1.0",
1519
1519
  description: "Program to manage Reward Pools for Stake Pools and claim rewards from them"
1520
1520
  },
@@ -3344,7 +3344,7 @@ var reward_pool_dynamic_default = {
3344
3344
  address: "RWRDyfZa6Rk9UYi85yjYYfGmoUqffLqjo6vZdFawEez",
3345
3345
  metadata: {
3346
3346
  name: "reward_pool_dynamic",
3347
- version: "2.6.0",
3347
+ version: "2.7.0",
3348
3348
  spec: "0.1.0",
3349
3349
  description: "Reward pools with dynamic rewards distribution"
3350
3350
  },
@@ -4903,6 +4903,11 @@ var reward_pool_dynamic_default = {
4903
4903
  code: 6020,
4904
4904
  name: "AlreadyFunded",
4905
4905
  msg: "Fund already happened for the current period"
4906
+ },
4907
+ {
4908
+ code: 6021,
4909
+ name: "InvalidRewardsStatePrecision",
4910
+ msg: "Rewards state precision is invalid"
4906
4911
  }
4907
4912
  ],
4908
4913
  types: [
@@ -5212,6 +5217,13 @@ var reward_pool_dynamic_default = {
5212
5217
  ],
5213
5218
  type: "bool"
5214
5219
  },
5220
+ {
5221
+ name: "rewards_state_precision",
5222
+ docs: [
5223
+ "Precision level used to store `rewards_state`"
5224
+ ],
5225
+ type: "u8"
5226
+ },
5215
5227
  {
5216
5228
  name: "_buffer",
5217
5229
  docs: [
@@ -5220,7 +5232,7 @@ var reward_pool_dynamic_default = {
5220
5232
  type: {
5221
5233
  array: [
5222
5234
  "u8",
5223
- 31
5235
+ 30
5224
5236
  ]
5225
5237
  }
5226
5238
  }
@@ -5326,14 +5338,14 @@ var reward_pool_dynamic_default = {
5326
5338
  {
5327
5339
  name: "rewards_state",
5328
5340
  docs: [
5329
- "Ever increasing accumulator of the amount of rewards per effective stake.\n Said another way, if a user deposited before any rewards were added to the\n `vault`, then this would be the token amount per effective stake they could\n claim."
5341
+ "Ever-increasing accumulator of the amount of rewards per effective stake.\n Said another way, if a user deposited before any rewards were added to the\n `vault`, then this would be the token amount per effective stake they could\n claim."
5330
5342
  ],
5331
5343
  type: "u128"
5332
5344
  },
5333
5345
  {
5334
5346
  name: "last_amount",
5335
5347
  docs: [
5336
- "latest amount of tokens in the vault"
5348
+ "Last known amount of tokens in the vault"
5337
5349
  ],
5338
5350
  type: "u64"
5339
5351
  },
@@ -5344,6 +5356,13 @@ var reward_pool_dynamic_default = {
5344
5356
  ],
5345
5357
  type: "u64"
5346
5358
  },
5359
+ {
5360
+ name: "rewards_state_precision",
5361
+ docs: [
5362
+ "Precision level used to store `rewards_state`"
5363
+ ],
5364
+ type: "u8"
5365
+ },
5347
5366
  {
5348
5367
  name: "_buffer",
5349
5368
  docs: [
@@ -5352,7 +5371,7 @@ var reward_pool_dynamic_default = {
5352
5371
  type: {
5353
5372
  array: [
5354
5373
  "u8",
5355
- 128
5374
+ 127
5356
5375
  ]
5357
5376
  }
5358
5377
  }
@@ -5700,7 +5719,7 @@ var stake_pool_default = {
5700
5719
  address: "STAKEvGqQTtzJZH6BWDcbpzXXn2BBerPAgQ3EGLN2GH",
5701
5720
  metadata: {
5702
5721
  name: "stake_pool",
5703
- version: "2.4.0",
5722
+ version: "2.7.0",
5704
5723
  spec: "0.1.0",
5705
5724
  description: "Program to manage Stake Pools and stake/unstake tokens"
5706
5725
  },