hoodquidity/packages/contracts/lib/openzeppelin-contracts/scripts/upgradeable
Денис Зефиров dba2811447 Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets
Full build: Vite/React acid-terminal frontend (BEARER design system,
Panchang/Sentient/Fragment Mono, neon layer, palette audit script),
HoodquidityVaults Foundry contracts (single+dual deposits via Chainlink-style
feeds, hybrid exit, 10% platform fee, boost, Genesis LP), Reown AppKit wallet
connect with Robinhood Chain testnet (46630), live data from Dexscreener and
onchain reads, partner portal, design-sync setup for claude.ai/design.

Deploy: static via Forgejo Actions platform, BUILD_DIR=apps/web/dist (.env).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 08:32:28 +04:00
..
alias Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00
patch-apply.sh Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00
patch-save.sh Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00
README.md Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00
transpile-onto.sh Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00
transpile.sh Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00
upgradeable.patch Hoodquidity: liquidity campaigns for Robinhood Chain stock token markets 2026-07-11 08:32:28 +04:00

The upgradeable variant of OpenZeppelin Contracts is automatically generated from the original Solidity code. We call this process "transpilation" and it is implemented by our Upgradeability Transpiler.

When the master branch or release-v* branches are updated, the code is transpiled and pushed to OpenZeppelin/openzeppelin-contracts-upgradeable by the upgradeable.yml workflow.

transpile.sh

Applies patches and invokes the transpiler with the command line flags we need for our requirements (for example, excluding certain files).

transpile-onto.sh

bash scripts/upgradeable/transpile-onto.sh <target> [<base>]

Transpiles the contents of the current git branch and commits the result as a new commit on branch <target>. If branch <target> doesn't exist, it will copy the commit history of [<base>] (this is used in GitHub Actions, but is usually not necessary locally).

patch-apply.sh & patch-save.sh

Some of the upgradeable contract variants require ad-hoc changes that are not implemented by the transpiler. These changes are implemented by patches stored in upgradeable.patch in this directory. patch-apply.sh applies these patches.

If the patches fail to apply due to changes in the repo, the conflicts have to be resolved manually. Once fixed, patch-save.sh will take the changes staged in Git and update upgradeable.patch to match.