Skip to content

dComp wrapper#1

Merged
matejfalat merged 5 commits intomainfrom
add-humpy-comp
Feb 24, 2026
Merged

dComp wrapper#1
matejfalat merged 5 commits intomainfrom
add-humpy-comp

Conversation

@matejfalat
Copy link
Collaborator

@matejfalat matejfalat commented Feb 20, 2026

Related https://github.com/api3dao/oev-searcher/issues/3032

Moved from api3dao/contracts#741, updated the deployment script to use hardhat-deploy tags.

Copy link

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM.

Ugur told me we should not call it HumpyCOMP, so I'll reach out why.

Copy link

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename the contract.

/// @title Humpy COMP
/// @author API3 DAO
/// @notice 1:1 wrapper token for COMP built on OpenZeppelin ERC20Wrapper
contract HumpyComp is ERC20Wrapper, Ownable2Step {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call it dComp instead (name and symbol can be the same)

@matejfalat matejfalat changed the title HumpyComp wrapper dComp wrapper Feb 24, 2026
Copy link

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

/// @title dCOMP
/// @author API3 DAO
/// @notice 1:1 wrapper token for COMP built on OpenZeppelin ERC20Wrapper
contract DComp is ERC20Wrapper, Ownable2Step {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw. there is _recover in the ERC20Wrapper, but I agree with non exposing it. Any tokens sent directly are inevitably lost.

@matejfalat matejfalat merged commit ca1e78c into main Feb 24, 2026
2 checks passed
@matejfalat matejfalat deleted the add-humpy-comp branch February 24, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants