Open-Sourcing Gainify Staking Platform - Governance Discussions / xGov Proposals Pilot - Algorand
Open-Sourcing Gainify Staking Platform
post by Atsoc1993 on Mar 20
Category: Defi
Ask: 50,000 Algo
Content Available Upon Proposal Passing
- Open-sourcing of the 2 core PUYA smart contracts behind the Gainify Staking platform, which has unique fee structuring
- Frontend and Backend codebase, as well as testing files
Value
- A working implementation of staking contracts to add to existing open-sourced content as well as frontend codebase and testing files
- Unique Fee structuring: A microfee occurs upon every action that is taken with any pool contract
Comments
- At one point there was a minor bug that is public knowledge that has been patched regarding AVM box storage limitations, a workaround was implemented
- The logic behind the staking pool logic is sound and working in its current state
Contracts
- Staking Pool Master / Factory
- Staking Pool Contract
Team
- Leo Costa
- Allan Diamante
- Ulrik Diamante
Previous Works
- rxelms.com
- algo-learn.com & Python on AVM Youtube Tutorial series
- algonfts.info
- leostxs.com
- AF Wallet Watcher
post by uhudo on Mar 31
In my opinion this proposal is out of scope for the xGov program, i.e. unpaid work stemming from dispute between two third-party entities.
post by Atsoc1993 on Apr 2
Evening @uhudo — I want to address your comments but would like to get the thoughts of @ulrik and @Allan before I respond.
post by uhudo on Apr 3
Thanks for the reply. There’s no rush. Proposal submissions are open continuously.
post by Atsoc1993 on Apr 6
I can remove any context surrounding unpaid work and keep it strictly about open sourcing the Gainify contracts.
post by uhudo on Apr 6
Thanks for these modifications. Now the proposal seems more in line with T&Cs.
post by Atsoc1993 on Apr 6
Oh I’d have to find the old App ID’s and manually run analytics.
I found the master contract’s mainnet app: 2736035976 | Pera Algorand Explorer. There were a total of 78 pools created.
post by Atsoc1993 on Apr 6
@uhudo I discussed with the team and the consensus is to just open-source the Gainify contracts, Algofun Shares System, and AVM Email contracts — they are minimally documented and will contain no test files, frontend codebase, or any other supplementary files.
Edit: All contracts added 04/06/2026 10PM EST
atsoc1993/xGov-Proposals-Contracts: The Contracts for the Algo.fun Shares System, AVM Email, and Gainify Staking
post by uhudo on Apr 7
About the formalities, the currently shared repo still does not meet T&Cs. An open-source license is missing.
post by Atsoc1993 on Apr 7
Ok — we will place Algofun Shares System & Gainify proposals on hold — then for AVM Email, fully open-source, add license, document, and add repo to Electric Capital.