Skip to content

adapter#34

Open
AbigailTCameron wants to merge 1 commit into
mainfrom
savvy
Open

adapter#34
AbigailTCameron wants to merge 1 commit into
mainfrom
savvy

Conversation

@AbigailTCameron

Copy link
Copy Markdown
Contributor

No description provided.

import "../../base/Errors.sol";


contract ContraxSavvyAdapter is ITokenAdapter, Initializable, Ownable2StepUpgradeable {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Contract is missing the price function

import "../../base/Errors.sol";


contract ContraxSavvyAdapter is ITokenAdapter, Initializable, Ownable2StepUpgradeable {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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


function _deposit(uint256 amount, address recipient) internal returns (uint256) {
uint256 balanceBefore = IERC20(token).balanceOf(address(this));
IVault(token).deposit(amount);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Are these tokens rebasing or nonrebasing?

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