@bananapus/distributor-v6 0.0.46 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -97,6 +97,12 @@ This repo does not explain why an allocation exists. It only defines how funded
97
97
  `getPastTotalTierActiveVotes` denominator, then cap each numerator with `getPastAccountTierActiveVotes`; this
98
98
  requires `@bananapus/721-hook-v6 >= 0.0.73` for the active-vote checkpoints API
99
99
  - snapshot timing is part of the trusted surface
100
+ - `poke()`-style keeper or funding flows should be treated as snapshot policy decisions: calling them at a different
101
+ block can change which historical votes or NFTs share a funded round
102
+ - 721 claim helpers should preflight the holder, tier set, checkpoint block, and available distributor inventory before
103
+ batching claims; ownership at the time of submission is not enough if the funded round used an older snapshot
104
+ - direct token or native-token balances at a distributor are unaccounted inventory until an explicit funding or recycle
105
+ path assigns them to a reward round
100
106
  - this repo settles distributions, but it does not prove the upstream entitlement math was correct
101
107
 
102
108
  ## Where state lives
@@ -155,6 +161,8 @@ script/
155
161
  - teams should review claim timing and snapshot assumptions with the same care they review the payout source
156
162
  - token distributors require hooks that expose `IJBActiveVotes`; expiring token rounds recycle any unmaterialized
157
163
  remainder after the deadline
164
+ - payout-split funding always enters the default reward group; tier-scoped rewards need explicit funding and matching
165
+ tier-scoped claim parameters
158
166
 
159
167
  ## For AI agents
160
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/distributor-v6",
3
- "version": "0.0.46",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,12 +24,12 @@
24
24
  "deploy:testnets": "source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"
25
25
  },
26
26
  "dependencies": {
27
- "@bananapus/721-hook-v6": "^0.0.73",
28
- "@bananapus/core-v6": "^0.0.86",
29
- "@bananapus/permission-ids-v6": "^0.0.31",
27
+ "@bananapus/721-hook-v6": "^1.0.0",
28
+ "@bananapus/core-v6": "^1.0.0",
29
+ "@bananapus/permission-ids-v6": "^1.0.0",
30
30
  "@openzeppelin/contracts": "5.6.1",
31
31
  "@prb/math": "4.1.2",
32
- "@rev-net/core-v6": "^0.0.91"
32
+ "@rev-net/core-v6": "^1.0.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@sphinx-labs/plugins": "0.33.3"