Smart Contracts
Explore the top verified smart contracts on Ethereum by transaction volume to help you build your dapps.
Explore the top smart contracts
Browse Popular Projects
Browse More Categories
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
DEFAULT Results filtered by descending transaction volume
ACLManager
The following smart contract is an Access Control List (ACL) manager that defines roles and permissions for different users in a decentralized application. It imports the AccessControl contract from OpenZeppelin and implements the IACLManager interface. The contract defines several roles such as POOL_ADMIN, EMERGENCY_ADMIN, RISK_ADMIN, FLASH_BORROWER, BRIDGE, and ASSET_LISTING_ADMIN, and provides functions to add or remove users from these roles. The contract also sets up an ACL admin and allows the admin to set the role admin for each role.
No items found.
UiIncentiveDataProviderV3
The following smart contract, `UiIncentiveDataProviderV3`, provides functions to retrieve incentive data for Aave protocol reserves and user reserves. It uses other contracts and interfaces to fetch data related to rewards, tokens, and prices. The contract returns aggregated and user-specific data for Aave protocol reserves.
No items found.
ParaSwapRepayAdapter
The following smart contract is a Solidity implementation of a ParaSwapRepayAdapter, which allows users to repay their debts on Aave using ParaSwap. The contract uses the BaseParaSwapBuyAdapter as a base and implements the executeOperation and swapAndRepay functions. The contract also includes a getDebtRepayAmount function to calculate the amount of debt to be repaid. The contract is designed to be non-reentrant and uses SafeMath for arithmetic operations.
No items found.
AaveProtocolDataProvider
The following smart contract, AaveProtocolDataProvider, is an implementation of the IPoolDataProvider interface. It provides data on Aave protocol reserves, including reserve tokens, aTokens, configuration data, reserve data, user reserve data, and more. It uses various libraries and interfaces, including ReserveConfiguration, UserConfiguration, DataTypes, WadRayMath, IPoolAddressesProvider, IStableDebtToken, IVariableDebtToken, IPool, and IERC20Detailed. The contract is designed to be used by other contracts or applications that require access to Aave protocol data.
No items found.
WalletBalanceProvider
The following smart contract, `WalletBalanceProvider`, is used to retrieve the wallet balances of a user for a given set of tokens. It uses the Aave protocol's `IPool` and `IPoolAddressesProvider` interfaces to get the list of reserves and their configurations. The contract also includes a `batchBalanceOf` function to retrieve balances for multiple users and tokens at once. The contract supports both ERC20 tokens and ETH, which is represented by a mock ETH address.
No items found.
ParaSwapLiquiditySwapAdapter
The following smart contract is a Solidity implementation of a ParaSwap liquidity swap adapter. It allows users to swap liquidity between two assets using ParaSwap's Augustus aggregator. The contract uses Aave's flash loan feature to provide liquidity for the swap and also supports permit signatures for ERC20 tokens. The contract is non-reentrant and uses SafeMath for arithmetic operations.
No items found.
AaveEcosystemReserveController
The following smart contract is the AaveEcosystemReserveController, which is used to manage the reserve funds of the Aave protocol. It allows the owner to approve, transfer, create, withdraw, and cancel streams of ERC20 tokens from the reserve. The contract inherits from Ownable and IAaveEcosystemReserveController interfaces. The constructor sets the owner to the Aave governance short timelock contract.
No items found.
PoolAddressesProviderRegistry
The following smart contract is a registry for addresses providers used in a pool. It allows registering and unregistering addresses providers, and provides functions to retrieve the list of registered providers and their IDs. The contract is owned by an address that can only be set during deployment. The contract uses OpenZeppelin's Ownable contract and an external interface IPoolAddressesProviderRegistry.
No items found.
No items found.
WrappedTokenGatewayV3
The following smart contract is the WrappedTokenGatewayV3 contract, which allows users to deposit, withdraw, repay, and borrow ETH using Aave's lending protocol. It uses the WETH token as a wrapper for ETH and interacts with Aave's IPool contract to execute these actions. The contract also includes functions for emergency token and ether transfers and returns the WETH address.
No items found.
Permit2
The following smart contract defines a contract named Permit2 that imports two other contracts named SignatureTransfer and AllowanceTransfer. Permit2 contract inherits the functionalities of both imported contracts. The purpose of this contract is to allow for signature-based transfers and transfers with an allowance mechanism.
No items found.
MigrationHelperMainnet
The following smart contract is a MigrationHelperMainnet contract that facilitates the migration of assets from Aave V2 to Aave V3. It uses the Aave V2 and V3 Ethereum address books and the WstETH and IERC20WithPermit interfaces. The contract converts STETH to WstETH and approves the necessary tokens for the migration. It also provides functions to get the migration supply and pre-supply.
No items found.
UiPoolDataProviderV3
The following smart contract is the UiPoolDataProviderV3 contract, which provides data on Aave protocol reserves and user data. It uses various interfaces and libraries to retrieve and aggregate data on reserves, including interest rate strategies, debt tokens, and collateral usage. It also retrieves data on the market reference currency and network base token prices. The contract is designed to be used by front-end applications to display information to users.
No items found.
AaveOracle
The following smart contract is an implementation of the IAaveOracle interface. It provides a way to get the price of assets by using Chainlink or fallback oracle. It also allows asset listing or pool admins to set the sources of assets and fallback oracle. The contract is initialized with a base currency and its unit. The contract is designed to be used in the Aave protocol.
No items found.
Start building on Alchemy
Get Started for Free
Build blockchain magic with Alchemy
Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.
