Verified contractPartialLicenseRef-BUSL
AaveV4ConfigEngine
Address0xba3e4f06c9d5a40ca781e94e83a5116d09badfaa
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.8.28
- Same code
1 more contract
Details
- Compiler
- solc 0.8.28+commit.7893614a
- Language
- solidity
- Optimization
- Yes, 44,444,444 runs
- EVM version
- cancun
- License
- LicenseRef-BUSL
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,191,724
- Creation transaction
- 0x77d05a126f…557545accf
- Libraries
- src/spoke/libraries/LiquidationLogic.sol:LiquidationLogic0x88df…deb8dbsrc/config-engine/libraries/HubEngine.sol:HubEngine0xc350…587465src/config-engine/libraries/SpokeEngine.sol:SpokeEngine0x8a12…ad79f2src/config-engine/libraries/AccessManagerEngine.sol:AccessManagerEngine0x060b…445031src/config-engine/libraries/PositionManagerEngine.sol:PositionManagerEngine0x9ff7…87d88esrc/config-engine/libraries/TokenizationSpokeDeployer.sol:TokenizationSpokeDeployer0x38a9…2b1b66
65 files
The source code is large: one file is shown at a time. Choose a file in the list.
- src/config-engine/AaveV4ConfigEngine.solmain4.93 KB
- src/config-engine/interfaces/IAaveV4ConfigEngine.sol18.91 KB
- src/config-engine/libraries/AccessManagerEngine.sol3.35 KB
- src/config-engine/libraries/EngineFlags.sol2.34 KB
- src/config-engine/libraries/HubEngine.sol13.59 KB
- src/config-engine/libraries/PositionManagerEngine.sol1.46 KB
- src/config-engine/libraries/SpokeEngine.sol8.15 KB
- src/config-engine/libraries/TokenizationSpokeDeployer.sol5.01 KB
- src/dependencies/openzeppelin-upgradeable/ContextUpgradeable.sol1.18 KB
- src/dependencies/openzeppelin-upgradeable/ERC20Upgradeable.sol11.26 KB
- src/dependencies/openzeppelin-upgradeable/Initializable.sol8.81 KB
- src/dependencies/openzeppelin/Address.sol6.37 KB
- src/dependencies/openzeppelin/Bytes.sol10.67 KB
- src/dependencies/openzeppelin/Context.sol939 B
- src/dependencies/openzeppelin/ECDSA.sol11.2 KB
- src/dependencies/openzeppelin/ERC1967Proxy.sol1.67 KB
- src/dependencies/openzeppelin/ERC1967Utils.sol5.83 KB
- src/dependencies/openzeppelin/Errors.sol864 B
- src/dependencies/openzeppelin/IAccessManaged.sol1.07 KB
- src/dependencies/openzeppelin/IAccessManager.sol15.67 KB
- src/dependencies/openzeppelin/IBeacon.sol461 B
- src/dependencies/openzeppelin/IERC1271.sol656 B
- src/dependencies/openzeppelin/IERC1363.sol4.36 KB
- src/dependencies/openzeppelin/IERC165.sol853 B
- src/dependencies/openzeppelin/IERC1967.sol613 B
- src/dependencies/openzeppelin/IERC20.sol2.66 KB
- src/dependencies/openzeppelin/IERC20Metadata.sol659 B
- src/dependencies/openzeppelin/IERC20Permit.sol3.7 KB
- src/dependencies/openzeppelin/IERC2612.sol221 B
- src/dependencies/openzeppelin/IERC4626.sol11.8 KB
- src/dependencies/openzeppelin/IERC7913.sol674 B
- src/dependencies/openzeppelin/LowLevelCall.sol5.18 KB
- src/dependencies/openzeppelin/Math.sol29.52 KB
- src/dependencies/openzeppelin/Ownable.sol2.92 KB
- src/dependencies/openzeppelin/Panic.sol1.9 KB
- src/dependencies/openzeppelin/Proxy.sol2.53 KB
- src/dependencies/openzeppelin/ProxyAdmin.sol1.89 KB
- src/dependencies/openzeppelin/SafeCast.sol32.15 KB
- src/dependencies/openzeppelin/SafeERC20.sol12.5 KB
- src/dependencies/openzeppelin/SignatureChecker.sol6.62 KB
- src/dependencies/openzeppelin/StorageSlot.sol3.91 KB
- src/dependencies/openzeppelin/TransparentUpgradeableProxy.sol6.38 KB
- src/dependencies/openzeppelin/draft-IERC6093.sol6.32 KB
- src/dependencies/solady/EIP712.sol8.65 KB
- src/deployments/utils/libraries/Create2Utils.sol3.29 KB
- src/hub/interfaces/IAssetInterestRateStrategy.sol4.68 KB
- src/hub/interfaces/IBasicInterestRateStrategy.sol1.35 KB
- src/hub/interfaces/IHub.sol19.89 KB
- src/hub/interfaces/IHubBase.sol17.13 KB
- src/hub/interfaces/IHubConfigurator.sol9.25 KB
- src/interfaces/IExtSload.sol694 B
- src/interfaces/IIntentConsumer.sol475 B
- src/interfaces/IMulticall.sol544 B
- src/interfaces/INoncesKeyed.sol1 KB
- src/interfaces/IRescuable.sol979 B
- src/libraries/math/MathUtils.sol4.33 KB
- src/position-manager/interfaces/IPositionManagerBase.sol3.69 KB
- src/spoke/TokenizationSpoke.sol14.26 KB
- src/spoke/instances/TokenizationSpokeInstance.sol1.08 KB
- src/spoke/interfaces/ISpoke.sol38.72 KB
- src/spoke/interfaces/ISpokeConfigurator.sol9.03 KB
- src/spoke/interfaces/ITokenizationSpoke.sol7.91 KB
- src/spoke/libraries/EIP712Hash.sol4.56 KB
- src/utils/IntentConsumer.sol1.72 KB
- src/utils/NoncesKeyed.sol2.94 KB
src/config-engine/AaveV4ConfigEngine.sol
// SPDX-License-Identifier: LicenseRef-BUSL
pragma solidity ^0.8.0;
import {HubEngine} from 'src/config-engine/libraries/HubEngine.sol';
import {SpokeEngine} from 'src/config-engine/libraries/SpokeEngine.sol';
import {AccessManagerEngine} from 'src/config-engine/libraries/AccessManagerEngine.sol';
import {PositionManagerEngine} from 'src/config-engine/libraries/PositionManagerEngine.sol';
import {IAaveV4ConfigEngine} from 'src/config-engine/interfaces/IAaveV4ConfigEngine.sol';
/// @title AaveV4ConfigEngine
/// @author Aave Labs
/// @notice Implementation of IAaveV4ConfigEngine. Delegates to external library contracts for
/// each action category. Invoked via delegatecall from payload contracts.
contract AaveV4ConfigEngine is IAaveV4ConfigEngine {
/// @inheritdoc IAaveV4ConfigEngine
function executeHubAssetListings(AssetListing[] calldata listings) external {
HubEngine.executeHubAssetListings(listings);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubAssetConfigUpdates(AssetConfigUpdate[] calldata updates) external {
HubEngine.executeHubAssetConfigUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubSpokeToAssetsAdditions(SpokeToAssetsAddition[] calldata additions) external {
HubEngine.executeHubSpokeToAssetsAdditions(additions);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubSpokeConfigUpdates(SpokeConfigUpdate[] calldata updates) external {
HubEngine.executeHubSpokeConfigUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubAssetHalts(AssetHalt[] calldata halts) external {
HubEngine.executeHubAssetHalts(halts);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubAssetDeactivations(AssetDeactivation[] calldata deactivations) external {
HubEngine.executeHubAssetDeactivations(deactivations);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubAssetCapsResets(AssetCapsReset[] calldata resets) external {
HubEngine.executeHubAssetCapsResets(resets);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubSpokeDeactivations(SpokeDeactivation[] calldata deactivations) external {
HubEngine.executeHubSpokeDeactivations(deactivations);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeHubSpokeCapsResets(SpokeCapsReset[] calldata resets) external {
HubEngine.executeHubSpokeCapsResets(resets);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeSpokeReserveListings(ReserveListing[] calldata listings) external {
SpokeEngine.executeSpokeReserveListings(listings);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeSpokeReserveConfigUpdates(ReserveConfigUpdate[] calldata updates) external {
SpokeEngine.executeSpokeReserveConfigUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeSpokeLiquidationConfigUpdates(
LiquidationConfigUpdate[] calldata updates
) external {
SpokeEngine.executeSpokeLiquidationConfigUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeSpokeDynamicReserveConfigAdditions(
DynamicReserveConfigAddition[] calldata additions
) external {
SpokeEngine.executeSpokeDynamicReserveConfigAdditions(additions);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeSpokeDynamicReserveConfigUpdates(
DynamicReserveConfigUpdate[] calldata updates
) external {
SpokeEngine.executeSpokeDynamicReserveConfigUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeSpokePositionManagerUpdates(PositionManagerUpdate[] calldata updates) external {
SpokeEngine.executeSpokePositionManagerUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executePositionManagerSpokeRegistrations(
SpokeRegistration[] calldata registrations
) external {
PositionManagerEngine.executePositionManagerSpokeRegistrations(registrations);
}
/// @inheritdoc IAaveV4ConfigEngine
function executePositionManagerRoleRenouncements(
PositionManagerRoleRenouncement[] calldata renouncements
) external {
PositionManagerEngine.executePositionManagerRoleRenouncements(renouncements);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeRoleMemberships(RoleMembership[] calldata memberships) external {
AccessManagerEngine.executeRoleMemberships(memberships);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeRoleUpdates(RoleUpdate[] calldata updates) external {
AccessManagerEngine.executeRoleUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeTargetFunctionRoleUpdates(TargetFunctionRoleUpdate[] calldata updates) external {
AccessManagerEngine.executeTargetFunctionRoleUpdates(updates);
}
/// @inheritdoc IAaveV4ConfigEngine
function executeTargetAdminDelayUpdates(TargetAdminDelayUpdate[] calldata updates) external {
AccessManagerEngine.executeTargetAdminDelayUpdates(updates);
}
}
Compiler settingsShow
{
"viaIR": false,
"metadata": {
"appendCBOR": true,
"bytecodeHash": "none",
"useLiteralContent": false
},
"libraries": {
"src/spoke/libraries/LiquidationLogic.sol": {
"LiquidationLogic": "0x88dF535473C5adf1f57789734A05E555F7Deb8DB"
},
"src/config-engine/libraries/HubEngine.sol": {
"HubEngine": "0xc350fA6A315E783aB15D8F8bf6ECc49796587465"
},
"src/config-engine/libraries/SpokeEngine.sol": {
"SpokeEngine": "0x8a121c22D558c91fc6819fEf1c738bb457Ad79F2"
},
"src/config-engine/libraries/AccessManagerEngine.sol": {
"AccessManagerEngine": "0x060b87b8481eEa9AeE246289AA774CE977445031"
},
"src/config-engine/libraries/PositionManagerEngine.sol": {
"PositionManagerEngine": "0x9fF7CCe79F0599D6Dd2620bc28763F7cE287D88e"
},
"src/config-engine/libraries/TokenizationSpokeDeployer.sol": {
"TokenizationSpokeDeployer": "0x38a979fa226e075f31C056CaE7C922Af782B1b66"
}
},
"optimizer": {
"runs": 44444444,
"enabled": true
},
"evmVersion": "cancun",
"remappings": [
"erc4626-tests/=lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.