@omnipair/dusk-sdk 2.27.0 → 3.0.1

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 (88) hide show
  1. package/README.md +92 -104
  2. package/dist/constants.d.ts +0 -6
  3. package/dist/constants.d.ts.map +1 -1
  4. package/dist/constants.js +0 -12
  5. package/dist/constants.js.map +1 -1
  6. package/dist/get.d.ts +97 -345
  7. package/dist/get.d.ts.map +1 -1
  8. package/dist/get.js +1 -2
  9. package/dist/get.js.map +1 -1
  10. package/dist/hlp-liquidation-client.d.ts.map +1 -1
  11. package/dist/hlp-liquidation-client.js +0 -1
  12. package/dist/hlp-liquidation-client.js.map +1 -1
  13. package/dist/idl_delegate.json +82 -390
  14. package/dist/idl_v2.json +226 -1098
  15. package/dist/index.d.ts +0 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +0 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/indexer.d.ts +1 -1
  20. package/dist/indexer.d.ts.map +1 -1
  21. package/dist/interest-accounting.d.ts +82 -47
  22. package/dist/interest-accounting.d.ts.map +1 -1
  23. package/dist/interest-accounting.js +103 -53
  24. package/dist/interest-accounting.js.map +1 -1
  25. package/dist/leverage-preview.d.ts +24 -86
  26. package/dist/leverage-preview.d.ts.map +1 -1
  27. package/dist/liquidation-client.js +2 -2
  28. package/dist/liquidation-client.js.map +1 -1
  29. package/dist/operator-client.d.ts.map +1 -1
  30. package/dist/operator-client.js +8 -9
  31. package/dist/operator-client.js.map +1 -1
  32. package/dist/referral.d.ts +6 -3
  33. package/dist/referral.d.ts.map +1 -1
  34. package/dist/referral.js +8 -7
  35. package/dist/referral.js.map +1 -1
  36. package/dist/tranche-client.d.ts +0 -56
  37. package/dist/tranche-client.d.ts.map +1 -1
  38. package/dist/tranche-client.js +2 -103
  39. package/dist/tranche-client.js.map +1 -1
  40. package/dist/transfer-fees.d.ts +6 -0
  41. package/dist/transfer-fees.d.ts.map +1 -1
  42. package/dist/transfer-fees.js +19 -0
  43. package/dist/transfer-fees.js.map +1 -1
  44. package/dist/type-aliases.d.ts +3 -15
  45. package/dist/type-aliases.d.ts.map +1 -1
  46. package/dist/types_delegate.d.ts +82 -390
  47. package/dist/types_delegate.d.ts.map +1 -1
  48. package/dist/types_v2.d.ts +227 -1099
  49. package/dist/types_v2.d.ts.map +1 -1
  50. package/dist/virtual-book/market.d.ts +24 -86
  51. package/dist/virtual-book/market.d.ts.map +1 -1
  52. package/dist/virtual-book/quotes.d.ts +61 -173
  53. package/dist/virtual-book/quotes.d.ts.map +1 -1
  54. package/dist/virtual-book/quotes.js +55 -6
  55. package/dist/virtual-book/quotes.js.map +1 -1
  56. package/dist/write.d.ts +1 -3
  57. package/dist/write.d.ts.map +1 -1
  58. package/dist/write.js +7 -24
  59. package/dist/write.js.map +1 -1
  60. package/dist/yield-client.d.ts +7 -20
  61. package/dist/yield-client.d.ts.map +1 -1
  62. package/dist/yield-client.js +6 -37
  63. package/dist/yield-client.js.map +1 -1
  64. package/package.json +2 -2
  65. package/src/constants.ts +0 -25
  66. package/src/get.ts +0 -3
  67. package/src/hlp-liquidation-client.ts +0 -1
  68. package/src/idl_delegate.json +82 -390
  69. package/src/idl_v2.json +226 -1098
  70. package/src/index.ts +0 -1
  71. package/src/indexer.ts +1 -1
  72. package/src/interest-accounting.ts +149 -71
  73. package/src/liquidation-client.ts +2 -2
  74. package/src/operator-client.ts +8 -9
  75. package/src/referral.ts +9 -14
  76. package/src/tranche-client.ts +3 -106
  77. package/src/transfer-fees.ts +18 -0
  78. package/src/type-aliases.ts +3 -15
  79. package/src/types_delegate.ts +82 -390
  80. package/src/types_v2.ts +226 -1098
  81. package/src/virtual-book/quotes.ts +70 -6
  82. package/src/write.ts +8 -36
  83. package/src/yield-client.ts +9 -48
  84. package/dist/income-receivable.d.ts +0 -77
  85. package/dist/income-receivable.d.ts.map +0 -1
  86. package/dist/income-receivable.js +0 -135
  87. package/dist/income-receivable.js.map +0 -1
  88. package/src/income-receivable.ts +0 -145
@@ -1379,10 +1379,6 @@ export type LeverageDelegate = {
1379
1379
  "name": "quoteReserveVault";
1380
1380
  "writable": true;
1381
1381
  },
1382
- {
1383
- "name": "borrowedInterestVault";
1384
- "writable": true;
1385
- },
1386
1382
  {
1387
1383
  "name": "custodyTargetAccount";
1388
1384
  "writable": true;
@@ -1844,15 +1840,6 @@ export type LeverageDelegate = {
1844
1840
  ];
1845
1841
  "writable": true;
1846
1842
  },
1847
- {
1848
- "name": "debtInterestVault";
1849
- "writable": true;
1850
- },
1851
- {
1852
- "name": "borrowedInterestVault";
1853
- "writable": true;
1854
- "optional": true;
1855
- },
1856
1843
  {
1857
1844
  "name": "hlpSrlpAccount";
1858
1845
  "writable": true;
@@ -2272,14 +2259,6 @@ export type LeverageDelegate = {
2272
2259
  "name": "quoteReserveVault";
2273
2260
  "writable": true;
2274
2261
  },
2275
- {
2276
- "name": "baseInterestVault";
2277
- "writable": true;
2278
- },
2279
- {
2280
- "name": "quoteInterestVault";
2281
- "writable": true;
2282
- },
2283
2262
  {
2284
2263
  "name": "baseYieldAccount";
2285
2264
  "writable": true;
@@ -2701,7 +2680,7 @@ export type LeverageDelegate = {
2701
2680
  {
2702
2681
  "code": 6009;
2703
2682
  "name": "unclaimedYield";
2704
- "msg": "Harvest the order's earned yield before closing it";
2683
+ "msg": "Harvest the order's swap fees before closing it";
2705
2684
  }
2706
2685
  ];
2707
2686
  "types": [
@@ -3619,10 +3598,10 @@ export type LeverageDelegate = {
3619
3598
  "docs": [
3620
3599
  "Aggregate outstanding *principal* (borrowed token amount, excluding",
3621
3600
  "accrued interest) backing fixed margin debt on each side. Accrued",
3622
- "interest is `fixed_*_debt - fixed_*_principal`; tracked so interest can",
3623
- "be routed to the interest vault (non-compounding) instead of",
3624
- "compounding into reserves. Principal is a raw token-atom balance and is",
3625
- "therefore bounded by the corresponding `u64` reserve custody domain."
3601
+ "interest is `fixed_*_debt - fixed_*_principal`; tracked so interest is",
3602
+ "credited to holders instead of compounding into reserves. Principal is",
3603
+ "a raw token-atom balance and is therefore bounded by the corresponding",
3604
+ "`u64` reserve custody domain."
3626
3605
  ];
3627
3606
  "type": "u64";
3628
3607
  },
@@ -3751,10 +3730,10 @@ export type LeverageDelegate = {
3751
3730
  };
3752
3731
  },
3753
3732
  {
3754
- "name": "publicInterestAdvance";
3733
+ "name": "ledger";
3755
3734
  "type": {
3756
3735
  "defined": {
3757
- "name": "publicInterestAdvance";
3736
+ "name": "interestLedger";
3758
3737
  };
3759
3738
  };
3760
3739
  },
@@ -3764,6 +3743,10 @@ export type LeverageDelegate = {
3764
3743
  },
3765
3744
  {
3766
3745
  "name": "interestGrowthIndexQ64";
3746
+ "docs": [
3747
+ "Ordinary srLP interest lane. Its denominator is srLP supply less junior",
3748
+ "reserve shares and both hLP vaults' srLP."
3749
+ ];
3767
3750
  "type": "u128";
3768
3751
  },
3769
3752
  {
@@ -3783,16 +3766,6 @@ export type LeverageDelegate = {
3783
3766
  ];
3784
3767
  "type": "u64";
3785
3768
  },
3786
- {
3787
- "name": "hlpFundingInterestGrowthRemainderScaled";
3788
- "docs": [
3789
- "Source-scoped Q64 carry for interest paid by hLP funding debt. Funding",
3790
- "uses a non-hLP denominator, while public interest uses total srLP",
3791
- "supply; sharing one carry across those denominators would eventually",
3792
- "leak rounding entitlement between the two populations."
3793
- ];
3794
- "type": "u64";
3795
- },
3796
3769
  {
3797
3770
  "name": "swapFeeCustodyBalance";
3798
3771
  "docs": [
@@ -3801,26 +3774,14 @@ export type LeverageDelegate = {
3801
3774
  ];
3802
3775
  "type": "u64";
3803
3776
  },
3804
- {
3805
- "name": "interestVaultBalance";
3806
- "type": "u64";
3807
- },
3808
3777
  {
3809
3778
  "name": "swapFeeLiability";
3810
3779
  "type": "u64";
3811
3780
  },
3812
- {
3813
- "name": "interestLiability";
3814
- "type": "u64";
3815
- },
3816
3781
  {
3817
3782
  "name": "unallocatedSwapFeeLiability";
3818
3783
  "type": "u64";
3819
3784
  },
3820
- {
3821
- "name": "unallocatedInterestLiability";
3822
- "type": "u64";
3823
- },
3824
3785
  {
3825
3786
  "name": "swapProtocolFeeLiability";
3826
3787
  "type": "u64";
@@ -3831,6 +3792,10 @@ export type LeverageDelegate = {
3831
3792
  },
3832
3793
  {
3833
3794
  "name": "interestProtocolFeeLiability";
3795
+ "docs": [
3796
+ "Booked protocol interest revenue. Its atoms sit in the reserve vault",
3797
+ "outside `cash_reserve`."
3798
+ ];
3834
3799
  "type": "u64";
3835
3800
  },
3836
3801
  {
@@ -3841,13 +3806,6 @@ export type LeverageDelegate = {
3841
3806
  "name": "referralInterestLiability";
3842
3807
  "type": "u64";
3843
3808
  },
3844
- {
3845
- "name": "revenueInterestLiability";
3846
- "docs": [
3847
- "Shared custody for operator claims and protocol fractional carry."
3848
- ];
3849
- "type": "u64";
3850
- },
3851
3809
  {
3852
3810
  "name": "feeSwapAuction";
3853
3811
  "type": {
@@ -4098,6 +4056,9 @@ export type LeverageDelegate = {
4098
4056
  },
4099
4057
  {
4100
4058
  "name": "baseInterestGrowthIndexQ64";
4059
+ "docs": [
4060
+ "Holder index of interest credited to this vault at accrual."
4061
+ ];
4101
4062
  "type": "u128";
4102
4063
  },
4103
4064
  {
@@ -4112,39 +4073,24 @@ export type LeverageDelegate = {
4112
4073
  "name": "baseSwapFeeCheckpointQ64";
4113
4074
  "type": "u128";
4114
4075
  },
4115
- {
4116
- "name": "baseInterestCheckpointQ64";
4117
- "type": "u128";
4118
- },
4119
4076
  {
4120
4077
  "name": "quoteSwapFeeCheckpointQ64";
4121
4078
  "type": "u128";
4122
4079
  },
4123
- {
4124
- "name": "quoteInterestCheckpointQ64";
4125
- "type": "u128";
4126
- },
4127
4080
  {
4128
4081
  "name": "baseSwapFeeRemainderQ64";
4129
4082
  "docs": [
4130
- "Aggregate sub-atom srLP entitlement carried across hLP checkpoints.",
4131
- "These are distinct from each holder YieldAccount remainder: this layer",
4132
- "converts vault-owned srLP growth into hLP growth without double-flooring."
4083
+ "Aggregate sub-atom srLP swap-fee entitlement carried across hLP",
4084
+ "checkpoints. Distinct from each holder YieldAccount remainder: this",
4085
+ "layer converts vault-owned srLP growth into hLP growth without",
4086
+ "double-flooring."
4133
4087
  ];
4134
4088
  "type": "u64";
4135
4089
  },
4136
- {
4137
- "name": "baseInterestRemainderQ64";
4138
- "type": "u64";
4139
- },
4140
4090
  {
4141
4091
  "name": "quoteSwapFeeRemainderQ64";
4142
4092
  "type": "u64";
4143
4093
  },
4144
- {
4145
- "name": "quoteInterestRemainderQ64";
4146
- "type": "u64";
4147
- },
4148
4094
  {
4149
4095
  "name": "baseSwapFeeGrowthRemainderScaled";
4150
4096
  "docs": [
@@ -4204,150 +4150,82 @@ export type LeverageDelegate = {
4204
4150
  {
4205
4151
  "name": "fundingAprEmaLastSlot";
4206
4152
  "type": "u64";
4207
- }
4208
- ];
4209
- };
4210
- },
4211
- {
4212
- "name": "incomeExposureEnd";
4213
- "type": {
4214
- "kind": "struct";
4215
- "fields": [
4216
- {
4217
- "name": "ended";
4218
- "type": "bool";
4219
4153
  },
4220
4154
  {
4221
- "name": "epoch";
4155
+ "name": "heldBaseInterest";
4156
+ "docs": [
4157
+ "Public interest credited to the vault's srLP while it was frozen,",
4158
+ "net of funding netting. It stays in `credited` for the vault's",
4159
+ "creditors: a terminal close applies it to the vault's debt, and a",
4160
+ "recovery that unfreezes the vault publishes it to the holders."
4161
+ ];
4222
4162
  "type": "u64";
4223
4163
  },
4224
4164
  {
4225
- "name": "growth";
4226
- "type": {
4227
- "defined": {
4228
- "name": "receivableGrowth";
4229
- };
4230
- };
4165
+ "name": "heldQuoteInterest";
4166
+ "type": "u64";
4231
4167
  }
4232
4168
  ];
4233
4169
  };
4234
4170
  },
4235
4171
  {
4236
- "name": "incomeReceivableBook";
4172
+ "name": "interestLedger";
4237
4173
  "docs": [
4238
- "A bounded-denomination epoch of an unpaid-income pool. Public and hLP",
4239
- "funding income use separate books. Repayments/defaults are pooled within",
4240
- "each book; already funded advances do not remain unpaid claims."
4174
+ "Per-asset interest ledger. Interest is credited to holders when it",
4175
+ "accrues; claims are paid from reserve cash.",
4176
+ "",
4177
+ "With `C = cash_reserve + flash_receivable`, `D` borrower principal,",
4178
+ "`I = public_recognized + funding_recognized`, `Q = credited`,",
4179
+ "`Pu = protocol_unpaid` and `Δ = deficit`, every instruction preserves",
4180
+ "`C + D + I + Δ = curve_reserve + Q + Pu`."
4241
4181
  ];
4242
4182
  "type": {
4243
4183
  "kind": "struct";
4244
4184
  "fields": [
4245
4185
  {
4246
- "name": "epoch";
4247
- "type": "u64";
4248
- },
4249
- {
4250
- "name": "unpaid";
4251
- "type": "u64";
4252
- },
4253
- {
4254
- "name": "units";
4255
- "type": "u64";
4256
- },
4257
- {
4258
- "name": "paidPerUnitQ64";
4259
- "type": "u128";
4260
- },
4261
- {
4262
- "name": "paidRemainder";
4263
- "type": "u64";
4264
- },
4265
- {
4266
- "name": "growth";
4186
+ "name": "publicRecognized";
4267
4187
  "docs": [
4268
- "Ordinary senior, junior, base hLP, quote hLP."
4188
+ "Public fixed and isolated interest outstanding (debt minus principal,",
4189
+ "clamped as in `public_unpaid_interest`) as last recognized."
4269
4190
  ];
4270
- "type": {
4271
- "array": [
4272
- {
4273
- "defined": {
4274
- "name": "receivableGrowth";
4275
- };
4276
- },
4277
- 4
4278
- ];
4279
- };
4280
- }
4281
- ];
4282
- };
4283
- },
4284
- {
4285
- "name": "incomeReceivableClaim";
4286
- "type": {
4287
- "kind": "struct";
4288
- "fields": [
4289
- {
4290
- "name": "epoch";
4291
- "type": "u64";
4292
- },
4293
- {
4294
- "name": "unitsQ64";
4295
4191
  "type": "u128";
4296
4192
  },
4297
4193
  {
4298
- "name": "paidCheckpointQ64";
4194
+ "name": "fundingRecognized";
4195
+ "docs": [
4196
+ "The opposite hLP vault's indexed funding debt in this asset minus its",
4197
+ "`debt_principal` (including carried funding) as last recognized."
4198
+ ];
4299
4199
  "type": "u128";
4300
4200
  },
4301
4201
  {
4302
- "name": "growthCheckpoint";
4303
- "type": {
4304
- "defined": {
4305
- "name": "receivableGrowth";
4306
- };
4307
- };
4308
- },
4309
- {
4310
- "name": "paidFractionQ128";
4202
+ "name": "credited";
4203
+ "docs": [
4204
+ "Credited, unclaimed interest of every holder lane, the junior seed,",
4205
+ "both hLP holder indexes, checkpointed holder balances, the operator,",
4206
+ "and index rounding dust. Includes `operator_claimable`."
4207
+ ];
4311
4208
  "type": "u128";
4312
4209
  },
4313
- {
4314
- "name": "claimable";
4315
- "type": "u64";
4316
- }
4317
- ];
4318
- };
4319
- },
4320
- {
4321
- "name": "interestRevenueBook";
4322
- "type": {
4323
- "kind": "struct";
4324
- "fields": [
4325
- {
4326
- "name": "grossUnpaid";
4327
- "type": "u64";
4328
- },
4329
4210
  {
4330
4211
  "name": "protocolUnpaid";
4331
- "type": "u64";
4332
- },
4333
- {
4334
- "name": "operatorUnpaid";
4335
- "type": "u64";
4336
- },
4337
- {
4338
- "name": "pendingGross";
4339
- "type": "u64";
4340
- },
4341
- {
4342
- "name": "pendingProtocolGross";
4343
- "type": "u64";
4212
+ "docs": [
4213
+ "Protocol share of recognized interest not yet paid or written off."
4214
+ ];
4215
+ "type": "u128";
4344
4216
  },
4345
4217
  {
4346
4218
  "name": "operatorClaimable";
4347
- "type": "u64";
4219
+ "docs": [
4220
+ "Current operator recipient's credited, unclaimed share."
4221
+ ];
4222
+ "type": "u128";
4348
4223
  },
4349
4224
  {
4350
4225
  "name": "protocolFractionQ64";
4226
+ "docs": [
4227
+ "Q64 sub-atom carries of the accrual split."
4228
+ ];
4351
4229
  "type": "u64";
4352
4230
  },
4353
4231
  {
@@ -4355,8 +4233,23 @@ export type LeverageDelegate = {
4355
4233
  "type": "u64";
4356
4234
  },
4357
4235
  {
4358
- "name": "protocolCashFractionQ64";
4236
+ "name": "protocolPending";
4237
+ "docs": [
4238
+ "Protocol share already removed from `cash_reserve`, still in the",
4239
+ "reserve vault, awaiting `book_protocol_interest`."
4240
+ ];
4359
4241
  "type": "u64";
4242
+ },
4243
+ {
4244
+ "name": "deficit";
4245
+ "docs": [
4246
+ "Pool loss that LP capital could not absorb: the amount by which",
4247
+ "credited interest and the protocol's unpaid share exceed everything",
4248
+ "the pool holds or is owed. `curve_reserve` is zero while it is",
4249
+ "nonzero. Credited claims are not reduced; they are paid from cash as",
4250
+ "it allows. It never decreases."
4251
+ ];
4252
+ "type": "u128";
4360
4253
  }
4361
4254
  ];
4362
4255
  };
@@ -4899,14 +4792,6 @@ export type LeverageDelegate = {
4899
4792
  };
4900
4793
  };
4901
4794
  },
4902
- {
4903
- "name": "income";
4904
- "type": {
4905
- "defined": {
4906
- "name": "marketIncomeBooks";
4907
- };
4908
- };
4909
- },
4910
4795
  {
4911
4796
  "name": "juniorExitConfig";
4912
4797
  "type": {
@@ -5107,115 +4992,6 @@ export type LeverageDelegate = {
5107
4992
  ];
5108
4993
  };
5109
4994
  },
5110
- {
5111
- "name": "marketIncomeBooks";
5112
- "docs": [
5113
- "Public-loan and hLP-funding receivables are independent. The vault-owned",
5114
- "public-income claims preserve hLP's automatic funding-gap repayment."
5115
- ];
5116
- "type": {
5117
- "kind": "struct";
5118
- "fields": [
5119
- {
5120
- "name": "books";
5121
- "docs": [
5122
- "base public, quote public, base hLP funding, quote hLP funding."
5123
- ];
5124
- "type": {
5125
- "array": [
5126
- {
5127
- "defined": {
5128
- "name": "incomeReceivableBook";
5129
- };
5130
- },
5131
- 4
5132
- ];
5133
- };
5134
- },
5135
- {
5136
- "name": "revenue";
5137
- "type": {
5138
- "array": [
5139
- {
5140
- "defined": {
5141
- "name": "interestRevenueBook";
5142
- };
5143
- },
5144
- 4
5145
- ];
5146
- };
5147
- },
5148
- {
5149
- "name": "pending";
5150
- "docs": [
5151
- "Gross settlement budget awaiting measured net custody credit."
5152
- ];
5153
- "type": {
5154
- "array": [
5155
- "u64",
5156
- 4
5157
- ];
5158
- };
5159
- },
5160
- {
5161
- "name": "seed";
5162
- "type": {
5163
- "array": [
5164
- {
5165
- "defined": {
5166
- "name": "incomeReceivableClaim";
5167
- };
5168
- },
5169
- 4
5170
- ];
5171
- };
5172
- },
5173
- {
5174
- "name": "hlp";
5175
- "docs": [
5176
- "[hLP target][income asset], owned by the vault rather than its holders."
5177
- ];
5178
- "type": {
5179
- "array": [
5180
- {
5181
- "array": [
5182
- {
5183
- "defined": {
5184
- "name": "incomeReceivableClaim";
5185
- };
5186
- },
5187
- 2
5188
- ];
5189
- },
5190
- 2
5191
- ];
5192
- };
5193
- },
5194
- {
5195
- "name": "juniorEnd";
5196
- "type": {
5197
- "array": [
5198
- {
5199
- "defined": {
5200
- "name": "incomeExposureEnd";
5201
- };
5202
- },
5203
- 4
5204
- ];
5205
- };
5206
- },
5207
- {
5208
- "name": "splitCarryBps";
5209
- "type": {
5210
- "array": [
5211
- "u16",
5212
- 4
5213
- ];
5214
- };
5215
- }
5216
- ];
5217
- };
5218
- },
5219
4995
  {
5220
4996
  "name": "marketSide";
5221
4997
  "type": {
@@ -5241,10 +5017,6 @@ export type LeverageDelegate = {
5241
5017
  "name": "collateralVault";
5242
5018
  "type": "pubkey";
5243
5019
  },
5244
- {
5245
- "name": "interestVault";
5246
- "type": "pubkey";
5247
- },
5248
5020
  {
5249
5021
  "name": "reserves";
5250
5022
  "type": {
@@ -5826,69 +5598,6 @@ export type LeverageDelegate = {
5826
5598
  ];
5827
5599
  };
5828
5600
  },
5829
- {
5830
- "name": "publicInterestAdvance";
5831
- "docs": [
5832
- "Reserve-cash funding of public borrower interest. The revenue-fee portion is",
5833
- "held in the reserve vault until repayment, so cancellation can return it",
5834
- "to executable cash without a transfer or a second transfer fee."
5835
- ];
5836
- "type": {
5837
- "kind": "struct";
5838
- "fields": [
5839
- {
5840
- "name": "outstandingGross";
5841
- "type": "u64";
5842
- },
5843
- {
5844
- "name": "revenueEscrow";
5845
- "type": "u64";
5846
- },
5847
- {
5848
- "name": "repaymentCreditPending";
5849
- "docs": [
5850
- "Native repayment has already restored this cash; its token handler",
5851
- "must exclude it from the new interest-vault transfer."
5852
- ];
5853
- "type": "u64";
5854
- },
5855
- {
5856
- "name": "revenueReleasePending";
5857
- "docs": [
5858
- "Frozen operator/protocol allocation released by repayment, still held in the",
5859
- "reserve vault until the same instruction completes token settlement."
5860
- ];
5861
- "type": "u64";
5862
- }
5863
- ];
5864
- };
5865
- },
5866
- {
5867
- "name": "receivableGrowth";
5868
- "docs": [
5869
- "One exposure lane's newly issued receivable units per LP receipt. The",
5870
- "weighted paid index is kept at full Q128 precision: flooring it earlier can",
5871
- "give late entrants a fractional claim on money paid before their entry."
5872
- ];
5873
- "type": {
5874
- "kind": "struct";
5875
- "fields": [
5876
- {
5877
- "name": "unitsQ64";
5878
- "type": "u128";
5879
- },
5880
- {
5881
- "name": "weightedPaidQ128";
5882
- "type": {
5883
- "array": [
5884
- "u64",
5885
- 4
5886
- ];
5887
- };
5888
- }
5889
- ];
5890
- };
5891
- },
5892
5601
  {
5893
5602
  "name": "referralAccrual";
5894
5603
  "docs": [
@@ -6435,28 +6144,11 @@ export type LeverageDelegate = {
6435
6144
  "option": "pubkey";
6436
6145
  };
6437
6146
  },
6438
- {
6439
- "name": "incomeInitialized";
6440
- "type": "bool";
6441
- },
6442
- {
6443
- "name": "income";
6444
- "type": {
6445
- "array": [
6446
- {
6447
- "defined": {
6448
- "name": "incomeReceivableClaim";
6449
- };
6450
- },
6451
- 2
6452
- ];
6453
- };
6454
- },
6455
6147
  {
6456
6148
  "name": "escrowBalance";
6457
6149
  "docs": [
6458
- "Owner's junior exit escrow receipts. Historical unpaid-income ownership",
6459
- "is checkpointed here alongside the liquid balance."
6150
+ "Owner's junior exit escrow receipts. They keep earning junior interest",
6151
+ "and are checkpointed alongside the liquid balance."
6460
6152
  ];
6461
6153
  "type": "u64";
6462
6154
  }