My Java Codes
-
Updated
Jun 8, 2021 - Java
My Java Codes
A sample implementation to understand the Diamond Design Pattern in Solidity.
Programmable fiat framework: an EIP-2535 Diamond ERC-20 deposit token with programmable transfer envelopes and per-bank claim attribution on a permissioned Hyperledger Besu consortium.
The program that makes the Diamond Pattern. Made with C language. This program was written for the Algorithms and Programming lecture.
ERC-2535 compatible facet for the ERC-20 interface
Artha Protocol: multi-strategy yield vaults on one EIP-2535 diamond. ERC-20 vault shares, up to 5 strategies per vault (lending, liquid staking, yield-bearing, boosters), keeper rebalancing, a high-water-mark performance fee, staking rewards, referrals and timelock governance.
Perpetual futures DEX: leveraged long/short trading on BTC and ETH with USDT collateral, a diamond-style pool, keeper-run orders and liquidations, an LP vault, referrals and a Chainlink + DEX price oracle. Solidity, Foundry.
ERC-2535 Diamond pattern applied to Polkadot: upgradeable Solidity/PolkaVM runtimes with pallet-style facets
A decentralized NFT-collateralized lending platform implemented using the Diamond Pattern (EIP-2535).
Patterns in Python (basic level)
demo-contracts
To associate your repository with the diamond-pattern topic, visit your repo's landing page and select "manage topics."