Marcel Clarembaux

ERC-4626: Tokenized Vault Standard Smart Contract Module in Bunzz

The Tokenized Vault Standard (ERC-4626) module allows the minting and burning of “shares” (represented using the ERC20 inheritance) in exchange for underlying “assets” through standardized {deposit}, {mint}, {redeem} and {burn} workflows.  This contract extends the ERC20 standard. Any additional extensions included along it would affect the “shares” token represented by this contract and not the …

ERC-4626: Tokenized Vault Standard Smart Contract Module in Bunzz Read More »

ERC-5791: Physical Backed Tokens Smart Contract Module in Bunzz

The ERC-5791: Physical Backed Tokens module is an extension of the EIP-721 and a minimal interface for linking ownership of EIP-721 NFTs to a physical chip. It proposes a minimal interface for a EIP-721 NFT to be “physically backed” and owned by whoever owns the NFT’s physical counterpart. It is an implementation of PBT where …

ERC-5791: Physical Backed Tokens Smart Contract Module in Bunzz Read More »

MinimalForwarder Smart Contract Module in Bunzz

This is a simple minimal meta transactions forwarder to be used together with an ERC2771 compatible contract. This MinimalForwarder module is mainly meant for testing, as there are some features missing to be a good production-ready forwarder. So this contract does not intend to have all the properties that are needed for a sound forwarding …

MinimalForwarder Smart Contract Module in Bunzz Read More »

DEXPriceAggregatorUniswapV3 Smart Contract Module in Bunzz

The DEXPriceAggregatorUniswapV3 module is a DEX-based price oracle aggregating spot and TWAP rates from Uniswap V3 that selects the worst rate between spot and TWAP. The module is able to handle queries for asset prices across an intermediate liquidity pool (e.g. WBTC -> WETH -> USDC). It’s useful for all price queries: You can access …

DEXPriceAggregatorUniswapV3 Smart Contract Module in Bunzz Read More »

UniswapV3Adapter Smart Contract Module in Bunzz

The UniswapV3Adapter module serves as a common interface for external contracts to perform queries and swaps for Uniswap V3 Factories. DexAggregator can use adapter to find the best offer between two assets for a given amount and execute this offer. It also accounts for query & swap gas-cost of the offer and for that needs …

UniswapV3Adapter Smart Contract Module in Bunzz Read More »

UniswapV2Adapter Smart Contract Module in Bunzz

The UniswapV2Adapter module serves as a common interface for external contracts to perform queries and swaps for Uniswap V2 Factories.  The DexAggregator can use the adapter to find the best offer between two assets for a given amount and execute this offer. It also accounts for query & swap gas-cost of the offer and for …

UniswapV2Adapter Smart Contract Module in Bunzz Read More »

UniswapV2Factory Smart Contract Module in Bunzz

This module allows you to create uniswap liquidity pair contracts and you can fetch the pair address of any ERC20 token that has an active pair. The UniswapV2Factory holds the generic bytecode responsible for powering pairs. Its primary job is to create one and only one smart contract per unique token pair. It also contains …

UniswapV2Factory Smart Contract Module in Bunzz Read More »

ERC20Votes Smart Contract Module in Bunzz

ERC20Votes is an extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound’s, and supports token supply up to 2²²⁴^ — 1, while ERC20VotesComp is limited to 2^96^ – 1. You can access this Module and the code here: https://bit.ly/40ircwI How to Use This extension keeps a history checkpoints of each account’s vote power. …

ERC20Votes Smart Contract Module in Bunzz Read More »

ERC1155D Smart Contract Module in Bunzz

The ERC1155D module is a gas efficient NFT contract and an alternative to ERC721. It is intended to only be used for 1/1 NFT’s (supply of 1) and does not support tokens with supply greater than 1. It’s fully backward compatible with ERC1155 and has no issues with high gas cost when following the specifications. …

ERC1155D Smart Contract Module in Bunzz Read More »

ERC721A Smart Contract Module in Bunzz

The ERC721A module is a modification of the ERC721 NFT standard that adds internal modifications to heavily optimize serialized batch minting while keeping all of the external functions that an ERC721 would use allowing a third party application to interact with them interchangeably. You can access this Module and the code here: https://bit.ly/3LaBDOv With the the …

ERC721A Smart Contract Module in Bunzz Read More »

New features & Updates to the Module templates Upload process in Bunzz Repository

For all developers who already started contributing to our open source Smart Contract Hub by uploading their own custom modules templates in Bunzz Repository we now have some updates to complete the process in our GUI.. New Features: Update: Select the version of Solidity Now you can deploy your Modules in any version of Solidity, …

New features & Updates to the Module templates Upload process in Bunzz Repository Read More »