Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AetheriumX DCIP Core

AetheriumX DCIP Core is a smart contract module for supported asset settlement and voucher-based redemption flows within the AetheriumX ecosystem.

The contract integrates with Aave-compatible pool interfaces as one supported on-chain settlement route. Supported underlying assets can be supplied into the configured pool, while mapped XTokens are used as voucher-style redemption credentials for the corresponding underlying assets.

Note: This repository contains smart contract source code. Deployed contract configurations, supported assets, XToken mappings, ownership status, and audit references should always be verified through official explorer links and the CertiK Skynet profile.


Features

  • Aave Pool Integration: Supports supplying eligible ERC-20 assets to the configured Aave-compatible pool.

  • XToken Voucher Mapping: Maps each supported underlying asset to a dedicated XToken used for voucher-style redemption.

  • Voucher-Based Redemption: Users redeem supported underlying assets by burning the corresponding XToken voucher.

  • Redemption Fee Logic: Applies a fixed 6% redemption fee at contract level. Users receive the net redeemed amount after the fee.

  • Add-Only Asset Mapping: Supported asset-to-XToken mappings are configured without overwriting existing mappings.

  • OpenZeppelin Security Primitives: Uses ReentrancyGuard, SafeERC20, and Ownable.

  • Unsupported Token Recovery: Includes a restricted recovery function for unsupported tokens accidentally sent to the contract, intended only for pre-renounce or authorized maintenance scenarios.

  • Ownership Renouncement: Production deployments may complete ownership renouncement after final configuration. The actual ownership status should always be verified through official explorer records.


Audit

AetheriumX has a CertiK Skynet profile and audit reference:

https://skynet.certik.com/projects/aetheriumx

Audit information, deployed contract references, and related verification materials are continuously updated through official channels.


Tech Stack

  • Solidity ^0.8.20
  • Hardhat
  • OpenZeppelin Contracts
  • Aave-compatible Pool interface

Important Notes

  • XTokens must be approved for the core contract before redemption when using burnFrom-based redemption.

  • The core contract does not automatically mint XTokens during supply().

  • XToken issuance and distribution follow the project’s official voucher process.

  • Supported assets, deployed addresses, XToken mappings, and ownership status should always be verified on-chain.

  • Aave is used as one supported on-chain settlement route and should not be interpreted as representing the entire AetheriumX asset system.

  • For contracts where ownership has been renounced, owner-only functions such as minting, asset mapping updates, or unsupported token recovery are no longer callable.


Disclaimer

This repository is provided for transparency and technical reference only. It does not constitute financial advice, investment advice, or a guarantee of asset returns. Users should always verify deployed contracts, supported assets, audit references, and official announcements before interacting with any contract.


Installation

git clone https://github.com/AetheriumX-DCIP/core.git
cd core
npm install
cp .env.example .env

Compile

npx hardhat compile

Tests

If test cases are included in the repository, they can be executed with:

npx hardhat test

Test coverage depends on the test cases included in this repository.


Smart Contracts Overview

AetheriumXDCIP.sol

Core settlement contract responsible for:

  • Supported asset mapping
  • Aave-compatible supply logic
  • XToken-based redemption
  • Redemption fee calculation
  • Restricted unsupported token recovery

XToken.sol

ERC-20 compatible voucher token responsible for:

  • Voucher-style token representation
  • Configurable decimals
  • Burn support
  • Owner-controlled minting before ownership renouncement

License

This project is licensed under the MIT License.

About

A robust smart contract system designed to seamlessly integrate with AAVE pools.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages