0
xMacro LibraryHere you will find Macro's growing
collection of public resources.
Check them out below.
A curated list of audits we have worked with in the past, available to the community.
A collective of seasoned professionals in blockchain, data science, and finance committed to making crypto markets more efficient and transparent.
Audited a Pendle adaptor and its corresponding Pendle pricing extension, to allow cellars to interact the Pendle protocol and hold various Pendle tokens as positions, including LP, YT, PT, and SY tokens.
A decentralized and transparent stable value asset protocol (including stablecoins) on the Celo blockchain
Audited an adjustment to the vote escrow curve function and adjustments to the governance contracts setup.
DEX with leverage and gas-free trading
Audit of changes made to the core protocol including margin requirement changes, support for pending deposit, a new EscrowContract has been added, support for quote token migration, and other minor refactors.
A modular interoperability protocol
We reviewed the new Connext's connector for Scroll L2. Scope included both ScrollHubConnector
and ScrollSpokeConnector
contracts.
Borrow and lend against any tokenized asset through liquid, tradeable debt markets.
Covenant is a decentralized, non-custodial debt market, built on perpetual debt. It is a lending protocol based on Aave architecture with interest rate calculation externalized to AMM markets for particular debt asset. Macro audited their core protocol implementation prior to their beta release.
Automated DeFi yield optimization strategies
Audited Sommelier's multichain contracts that allow assets to be shared between different chains using Chainlink's CCIP protocol. Additionally, we audited the Compound v3 adapter as well as the support for various staking adapters including EtherFi, KelpDAO, Lido, Renzo, Stader, Swell.
Supercharge tokens, contracts, and addresses by layering rich blocks of interoperable, interconnected, interactive data on top of any onchain entity.
Patchwork protocol was refactored and new functionality was added to the core system contract for managing and charging various fees related to different system operations. We have reviewed these changes and additional updates that were introduced to extract assignment functionality into a specific contract
Automated DeFi yield optimization strategies
Audited the new addition to cellars to support multi-asset deposits as well as the support for MorphoBlue adapters.
Automated DeFi yield optimization strategies
The ability to have a sequencer check was added to the price router to be used for cellars on layer 2 chains, preventing pricing when the sequencer is down.
A synthetic perpetuals trading platform
Audit of Zap, a contract that allows the feeless exchange of USDC to sUSD and vice versa via SynthetixV3 spot markets.
A synthetic perpetuals trading platform
Kwenta V3 smart margin contract was made upgradeable and implemented Zap functionality to exchange USDC to uUSD and back. The ability for USDC to be converted to sUSD and used as collateral, or have collateral be withdrawn and converted to USDC was added.
On-chain, fee-sharing, Pulsechain NFT app
Audit of Mintra’s marketplace contract, a fork of Thirdweb's direct listing marketplace, with changes being made to permissions, royalty logic, and support for bulk buy.
A decentralized and transparent stable value asset protocol (including stablecoins) on the Celo blockchain
Audited Mento's new governance contracts using vote escrowed mento tokens to vote, as well as a immutable factory to deploy and setup relevant contracts.
Automated DeFi yield optimization strategies
Audit of the following additions by Sommelier: A Curve adaptor and Convex curve adaptor allowing cellars to have a curve pool and Convex Curve positions. A pricing extension to price curve 2 pools. A slippage router to allow for deposits and withdrawals with specified slippage. A withdrawal queue, allowing users to specify withdrawal conditions and for a solver to bundle and execute withdrawal orders on their behalf.
An institutional capital network that provides the infrastructure for credit experts to run on-chain lending businesses and connects institutional lenders and borrowers.
An audit of incremental updates to Maple V2 contracts packaged into the Q4 release. These included a new FIFO queue-based withdrawal manager submodule, a new pool permission manager submodule, and additional smaller changes and improvements for the rest of the system.
Github Organization - Private Repo
A synthetic perpetuals trading platform
Kwenta made conditional orders payable with ETH, allowing deposits and withdraws of ETH used for payment. Integration with EIP7412 was also added to allow price oracles to be updated when needed via off-chain verification.
A protocol for decentralized social apps
Audit of Farcaster v3.1 contracts. Updates implement new manager pattern to simplify future migrations, and adding additional mitigations to event spamming vectors
Automated DeFi yield optimization strategies
Audited the new Aura position adaptor, Curve and Redstone pricing extensions, and small updates to the Frax adaptors.
A modular interoperability protocol
Audited upgrades to support an optimistic system on Spoke Connectors.
Web3 developer tooling
Audited BurnToClaimERC721 as well as changes made to MarketplaceV3 since the previous audit.
Carbon removal marketplace
Finished the second part of auditing core Nori contracts such as Market, Certificate, Removal, RestrictedNORI, and library helpers
A synthetic perpetuals trading platform
Small audit to review addition of a command that allows callers to update Synthetix keeper fee.
Supercharge tokens, contracts, and addresses by layering rich blocks of interoperable, interconnected, interactive data on top of any onchain entity.
Patchwork protocol enables new onchain use cases by defining and utilising new composition capabilities for ERC721 and ERC1155 tokens. We have reviewed a contract which enforces compliance and manages token transfers with these extra capabilities, including additional access controlled functionality for enabling cross token associations. In addition we have performed review of a set of abstract contracts that are meant to be inherited and reused for implementing specific token composition behaviors in a Patchwork compliant way.
A grantmaking foundation supporting every kind of giving, built entirely onchain.
Audited an update to the Aave, Yearn, and Compound portfolios to inherit from the updated Portfolio contract.
A decentralized prize savings protocol
Audited V5 Prize Pool and V5 TWAB Controller contracts.
A synthetic perpetuals trading platform
Audit of Kwenta's Smart Margin v3 contract, which leverages Synthetix v3's account-based architecture and offers improved tools for trading Synthetix derivatives.
A synthetic perpetuals trading platform
Audit of the V2 version of Kwenta's staking rewards and rewards escrow contracts, as well as V1 -> V2 escrow migrator contract.
Automated DeFi yield optimization strategies
Audited the addition of Frax collateral and debt adaptors, and changes to the AxelarProxy contract.
A protocol for decentralized social apps
Audit of two new features in the KeyRegistry
and IdRegistry
contracts.
Web3 developer tooling
Audited the EvolvingNFT and LoyaltyPoints contracts, as well as changes to the smart contract wallet account contracts and their factories.
A protocol for decentralized social apps
Audit of Farcaster's core L1 and L2 contracts.
A decentralized and transparent stable value asset protocol (including stablecoins) on the Celo blockchain
Audited multiple contracts for the v2.2 Mento protocol release. Adding Oracle circuit breakers and updating the constant sum pricing module, pool manager, and a new and simpler ERC20 token implementation for stable tokens.
Automated DeFi yield optimization strategies
The CellarAdaptor was audited again with the added scope of using SavingsDai ERC4626 vault as a position, and no issues were found.
Automated DeFi yield optimization strategies
Audited the addition of the SharePriceOracle contract that uses Chainlink automation to update the share price of a cellar in order to reduce gas costs and lower share price volatility, as well as cellars that integrate this oracle.
A synthetic perpetuals trading platform
Audit of smart-margin V2.10 on the code changes from the prior audit of smart-margin V2.02, including a command that allows whitelisted token swaps to and from sUSD.
DEX with leverage and gas-free trading
We audited the core smart contracts, including their exchange and governance protocols.
A modular interoperability protocol
Audit scope included, among other things, new connectors to support additional chains, templatized IXReceiver
contracts, updates to the Optimism connector to support Bedrock, and adding initial implementation of Optimistic roots to avoid the direct use of AMBs to propagate messages to the RootManage.
A modular interoperability protocol
Audit of Wormhole hub and spoke connectors.
ERC20 token for the Coneheads community
We audited Bitcone's ERC20 token contract deployed on the Polygon blockchain.
Web3 developer tooling
We audited two new contracts being deployed by thirdWeb: Dynamic Drops and Loyalty Cards.
Automated DeFi yield optimization strategies
Audited the updated PriceRouter to include pricing extensions as well as the corresponding price extensions for balancer pools and lido wsETH. Added Frax and Morpho position adapters, as well as using Axelar to bridge transaction from the sommelier chain.
A fully on-chain game
We audited minor refactors, a new auth strategy for delegatecash, and improved events among other things
GitHub Organization - Private Repo
A synthetic perpetuals trading platform
Re-audited Kwenta's accounts and events functionality.
A cross-chain money market aggregator optimizing lending and borrowing positions
We reviewed Fuji's full platform, including their lending, cross-chain, and permits functionality.
3D role-playing GameFi project
We audited their staking and bridge contracts that are used to manage staking and rewards logic.
Web3 developer tooling
Audit of two separate features, the Smart Accounts and Open Edition ERC-721 Accounts.
A stablecoin supported by the Glo Foundation.
We reviewed the token contract, including access controls and core ERC-20 functionality.
A synthetic perpetuals trading platform
We audited the Kwenta smart margin accounts functionality and related contracts.
Web3 developer tooling
We audited two separate features for thirdWeb, including PackVFR and the Extension Registry contracts.
Automated DeFi yield optimization strategies
The Cellar, Registry, CellarFactory, PriceRouter, and SwapRouter contracts were audited, as well as position adaptors integrating Aave, compound, uniswapV3, one inch and 0x.
No-code NFT generation and deployment
Audit of Bueno.art's deployed 1155Drop contract deployed on Ethereum, as well as the clone factory contract used to deploy the 1155Drop contract.
No-code NFT generation and deployment
We audited Bueno.art's deployed 1155Drop contract, specifically looking at the differences between solidity contracts and the deployed version on Ethereum mainnet referenced in the previous Bueno.art audit.
Web3 developer tooling
Audit of thirdWeb's Airdrop and Multichain Registry functionality.
DeFi liquidity layer
Macro audited three separate parts of the Synthetix V3 infrastructure: ERC standard tokens (20 and 721), Hardhat Router and Hardhat Storage
DeFi liquidity layer
We audited the Synthetix V3 contracts, specifically focusing on the core functionaltiy of the Synthetix V3 protocol.
DeFi liquidity layer
Re-audit of the Synthetix V3 contracts, specifically focusing on the core functionaltiy of the Synthetix V3 protocol. This was a second audit of similar functionality that was reviewed in the Synthetix-2 audit.
Web3 developer tooling
We audited a collection of token extensions related to ERC721 tokens. This included functionality for ownership, permissions, sales, royalties, and more. We also reviewed the routing functionality for the contract.
Blockchain indexing and query protocol.
Audit of The Graph's subscription contract, which allows users to pay for their service with ETH for their services
Automated DeFi yield optimization strategies
Audited their Euler Debt and E token adapters.
Carbon removal marketplace
We re-audited Nori's core contracts, which are used to manage their carbon offsetting platform.
A Connext project allowing NGOs to fundraise via on-chain cryptocurrency donations
Audit of the xDonations donation contract.
P2P Loan Protocol for NFTs
Our review included their core protocol and market contracts.
A modular interoperability protocol
We audited Connext's messaging layer contracts, responsible for coordinating state updates between various Connext modules.
Web3 developer tooling
Audit of their wallet accounts and signature drop 1155 contracts.
A DeFi primitive for AMM liquidity providing
Audited Double core vaults, reward distribution, and UniswapV2 liquidity provider and migratory contracts
GitHub Organization - Private Repo
Stablecoin yield aggregator
Audit of mStable's MetaVaults, which are based on EIP-4626 vaults. We reviewed the underlying logic that allows users to deposit and withdraw assets from these vaults.
Automated DeFi yield optimization strategies
Audited the core Sommelier contracts, including the contract factory, router, staking, and 3rd party integrations.
Decentralized stablecoin and lending protocol
Audit of MakerDAO's dss-kiln module, which is used to manage liquidations. We reviewed its core functionality, including the mathematical logic underlying the liquidations functions.
Carbon removal marketplace
We audited Nori's core contracts, which are used to manage their carbon offsetting platform. This included access controls, bridging functionality and certificate minting functions.
No-code NFT generation and deployment
Audit of Bueno.art's deployed 721Drop contract on Polygon, including their contract proxy and administrative functions.
Web3 developer tooling
We audited three new staking contracts for thirdweb: TokenStake, a contract for staking ERC20 tokens; NFTStake, a contract for staking ERC721 NFTs; and EditionStake, a contract for staking ERC1155 tokens. Each contract supports configurable staking rewards.
A fully on-chain game
We audited their main contracts, ZK ConstructionBay contract and Deployment scripts.
GitHub Organization - Private Repo
Web3 developer tooling
Audit of Marketplace and TieredDrop contracts.
Web3 developer tooling
Audit of their ERC20, ERC721 and ERC1155 drop contracts.
Multiplayer crypto software
Audit of PartDAO's core contracts, which are used to manage their governance and treasury.
A synthetic perpetuals trading platform
Audit of the smart margin contracts, including the future's market and interfaces.
Automated DeFi yield optimization strategies
Macro is excited to continue its ongoing engagement with Sommelier Finance as they realize their vision of algorithmic, automated DeFi yield optimization strategies. Cellars support dynamic management and balancing across multiple asset types: ERC20s, other ERC4626s, and other Cellars – which are themselves ERC4626 vaults. They utilize governance and control mechanisms for management; Uniswap V2/V3 for asset rebalancing; and Chainlink price oracles for asset valuation.
Web3 developer tooling
Audit of their ERC20, ERC721 and ERC1155 token contracts.
Web3 developer tooling
We audited thirdWeb's Pack functionality and subsequent extensions and interfaces for the contract.
A synthetic perpetuals trading platform
We reviewed upcoming Kwenta feature designs to give their team confidence in the direction they were going.
Web3 developer tooling
We audited three new exciting features for thirdweb: Multiwrap, a contract that allows transferring and trading of multiple assets as a single unit; DropERC1155, a contract that allows users to easily mint multiple sets of NFTs with no redeployment; and SignatureDrop, a contract that allows facilitating both drops and mints via signatures.
Useful resources for developing on Solidity, Ethereum, and the EVM.