FEI and TRIBE Redemption contest - cryptonue's results

A new DeFi primitive that allows any token to become productive and provide FEI liquidity at no cost to the markets that need it most.

General Information

Platform: Code4rena

Start Date: 09/09/2022

Pot Size: $42,000 USDC

Total HM: 2

Participants: 101

Period: 3 days

Judge: hickuphh3

Total Solo HM: 2

Id: 161

League: ETH

Tribe

Findings Distribution

Researcher Performance

Rank: 78/101

Findings: 1

Award: $33.58

🌟 Selected for report: 0

🚀 Solo Findings: 0

Unnecessary code

https://github.com/code-423n4/2022-09-tribe/blob/main/contracts/peg/SimpleFeiDaiPSM.sol#L60-L68

/// @notice calculate the amount of FEI out for a given `amountIn` of underlying function getMintAmountOut(uint256 amountIn) external pure returns (uint256) { return amountIn; } /// @notice calculate the amount of underlying out for a given `amountFeiIn` of FEI function getRedeemAmountOut(uint256 amountIn) external pure returns (uint256) { return amountIn; }

Not sure why this part of code being written in the contract, because the function just returns the parameter. The contract is also not a derived contract.

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter