LooksRare Aggregator Overview
The LooksRare aggregator is a decentralized system that streamlines the process of executing multiple orders from different sources in a gas-efficient manner within a single transaction. This system is built upon a set of Solidity smart contracts, with the main contract being the
One of the primary goals of the LooksRare aggregator is to minimize the gas consumption associated with executing multiple orders. To achieve this, the system takes an array of orders and delegates the execution to the source-specific proxy. This modular design also enables easy updates and improvements while maintaining the system's security and integrity.
This aggregation allows users to access a wide range of orders in a single platform enabling batch orders and partial fills in a gas effective manner, streamlining the trading experience and reducing the need to interact with multiple platforms individually.
As a decentralized system built on smart contracts, the LooksRare aggregator prioritizes security and transparency. The smart contracts are verified and have been audited, and adhere to the highest security standards. For more details on the contracts and audits see the sections below.
What is the core architecture?
The LooksRare aggregator consists of the
LooksRareAggregator contract and a set of source-specific proxy contracts which delegate the execution to the relevant protocol. Alongside the
ERC20EnabledLooksRareAggregator, which transfers the ERC20 tokens in the defined amount to the aggregator contract for orders that use ERC20 tokens instead of ETH as the currency.
The aggregator's core architecture consists of:
- LooksRare Aggregator (
LooksRareAggregator) — an NFT liquidity aggregator that allows anyone to buy ERC721/ERC1155 tokens from multiple marketplaces in a single transaction. Users can only execute trades through proxies that have been whitelisted by the contract owner.
- ERC20 LooksRare Aggregator (
ERC20EnabledLooksRareAggregator) — the entrypoint for purchases that are denominated in ERC20 tokens instead of native ETH. It still executes trades through
LooksRareAggregator. The purpose of having an extra aggregator is to prevent malicious proxies from stealing users' ERC20 tokens in case LooksRareAggregator's ownership is compromised.
- Proxies (
SeaportProxy) — the contracts which delegate the execution to the relevant protocol and handle partial filling, for non-atomic orders.
Mainnet: 📃 0x00000000005228B791a99a61f36A130d50600106
Goerli: 📃 0x00000000005228B791a99a61f36A130d50600106
Mainnet: 📃 0x0000000000a35231D7706BD1eE827d43245655aB
Goerli: 📃 0x0000000000a35231D7706BD1eE827d43245655aB
Mainnet: 📃 0x0000000000DA151039Ed034d1C5BACb47C284Ed1
Goerli: 📃 0xd23F81a978E8F88F1c289C69D87fFC7D0b56b3c0
Mainnet: 📃 0x000000000074f2e99d7602fCA3cf0ffdCa906495
Goerli: 📃 0x5AAf7A47A96f4695b4c5F4d4706C04ae606FA59f
Mainnet: 📃 0x0000000000aD2C5a35209EeAb701B2CD49BA3A0D
Goerli: 📃 0x0000000000aD2C5a35209EeAb701B2CD49BA3A0D
Audit Reports and Security Assurance
At LooksRare security is a top priority. The smart contracts have been rigorously audited by reputable third-party auditors to ensure the highest level of safety and reliability. These audits assess the contracts for potential vulnerabilities, and compliance with best practices in the blockchain industry.
We are committed to maintaining the highest security standards and to continuously improve our smart contract infrastructure responsibly. Below the audits reports for the LooksRare aggregator.
Audit Report: https://code4rena.com/reports/2022-11-looksrare
Audit Report: https://github.com/peckshield/publications/blob/master/audit_reports/PeckShield-Audit-Report-LooksRare-Aggregator-v1.0.pdf
We made available an SDK to easily interact with the aggregator. The LooksRare Aggregator SDK is public and available on GitHub and as an NPM Package.