Skip to content

v1.0.0

Choose a tag to compare

@Juglipaff Juglipaff released this 04 Jul 09:07
Immutable release. Only release title and notes can be modified.
1f25d4f

Initial public release.

Constant-gas, deposit-age-weighted, front-run-resistant on-chain reward distribution primitive for Solidity. O(1) per operation regardless of participant count or distribution history.

Algorithm derivation and correctness proof: https://juglipaff.github.io/Token-Distribution-Algorithm/

Install

Foundry:
```
forge install Juglipaff/fair-reward-distributor
```

npm:
```
npm install @juglipaff/fair-reward-distributor
```

Not audited

This code has not been audited. Do not deploy to production without an independent security review.