The IRON stablecoin provides strong integration with Iron Finance - a multi-chain, decentralized, non-custodial ecosystem of DeFi products, protocols, and use cases. Iron Finance is currently live on Polygon, Avalanche, & Fantom.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is semi-renounced (passed to a contract)
Dollar.setTreasuryAddress(address) (src/Dollar.sol#69-71) should emit an event for:
- treasury = _treasury (src/Dollar.sol#70)
Share.setTreasuryAddress(address) (src/Share.sol#88-90) should emit an event for:
- treasury = _treasury (src/Share.sol#89)
Emit an event for critical parameter changes.
Additional information: link
Share.initialize(address,address,uint256) (src/Share.sol#61-74) should emit an event for:
- endTime = _startTime + VESTING_DURATION (src/Share.sol#72)
- devFundLastClaimed = _startTime (src/Share.sol#73)
Emit an event for critical parameter changes.
Additional information: link
Dollar.constructor(string,string,address)._treasury (src/Dollar.sol#42) lacks a zero-check on :
- treasury = _treasury (src/Dollar.sol#46)
Dollar.setTreasuryAddress(address)._treasury (src/Dollar.sol#69) lacks a zero-check on :
- treasury = _treasury (src/Dollar.sol#70)
Share.constructor(string,string,address)._treasury (src/Share.sol#54) lacks a zero-check on :
- treasury = _treasury (src/Share.sol#58)
Share.initialize(address,address,uint256)._devFund (src/Share.sol#62) lacks a zero-check on :
- devFund = _devFund (src/Share.sol#69)
Share.setTreasuryAddress(address)._treasury (src/Share.sol#88) lacks a zero-check on :
- treasury = _treasury (src/Share.sol#89)
Check that the address is not zero.
Additional information: link
Share.unclaimedDevFund() (src/Share.sol#110-115) uses timestamp for comparisons
Dangerous comparisons:
- _now > endTime (src/Share.sol#112)
- devFundLastClaimed >= _now (src/Share.sol#113)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (@openzeppelin/contracts/utils/Address.sol#26-35) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#33)
Address._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#147-164) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#156-159)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.11', '>=0.6.0<0.8.0', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (@openzeppelin/contracts/GSN/Context.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- >=0.6.2<0.8.0 (@openzeppelin/contracts/utils/Address.sol#3)
- 0.6.11 (src/Dollar.sol#3)
- ABIEncoderV2 (src/Dollar.sol#4)
- 0.6.11 (src/ERC20/ERC20Custom.sol#3)
- 0.6.11 (src/Operator.sol#3)
- 0.6.11 (src/Share.sol#3)
- ABIEncoderV2 (src/Share.sol#4)
- 0.6.11 (src/interfaces/IDollar.sol#3)
- ABIEncoderV2 (src/interfaces/IDollar.sol#4)
- 0.6.11 (src/interfaces/ITreasury.sol#3)
- ABIEncoderV2 (src/interfaces/ITreasury.sol#4)
Use one Solidity version.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#147-164) is never used and should be removed
Address.functionCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#79-81) is never used and should be removed
Address.functionCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#89-91) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (@openzeppelin/contracts/utils/Address.sol#104-106) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts/utils/Address.sol#114-121) is never used and should be removed
Address.functionStaticCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#129-131) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#139-145) is never used and should be removed
Address.isContract(address) (@openzeppelin/contracts/utils/Address.sol#26-35) is never used and should be removed
Address.sendValue(address,uint256) (@openzeppelin/contracts/utils/Address.sol#53-59) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/GSN/Context.sol#20-23) is never used and should be removed
SafeMath.div(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#103-105) is never used and should be removed
SafeMath.div(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#119-125) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#139-141) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#155-158) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/GSN/Context.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/math/SafeMath.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3) is too complex
Pragma version>=0.6.2<0.8.0 (@openzeppelin/contracts/utils/Address.sol#3) is too complex
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (@openzeppelin/contracts/utils/Address.sol#53-59):
- (success) = recipient.call{value: amount}() (@openzeppelin/contracts/utils/Address.sol#57)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts/utils/Address.sol#114-121):
- (success,returndata) = target.call{value: value}(data) (@openzeppelin/contracts/utils/Address.sol#119)
Low level call in Address.functionStaticCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#139-145):
- (success,returndata) = target.staticcall(data) (@openzeppelin/contracts/utils/Address.sol#143)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Share (src/Share.sol#14-132) should inherit from IDollar (src/interfaces/IDollar.sol#6-10)
Inherit from the missing interface or contract.
Additional information: link
Parameter Dollar.poolBurnFrom(address,uint256)._address (src/Dollar.sol#58) is not in mixedCase
Parameter Dollar.poolBurnFrom(address,uint256)._amount (src/Dollar.sol#58) is not in mixedCase
Parameter Dollar.poolMint(address,uint256)._address (src/Dollar.sol#64) is not in mixedCase
Parameter Dollar.poolMint(address,uint256)._amount (src/Dollar.sol#64) is not in mixedCase
Parameter Dollar.setTreasuryAddress(address)._treasury (src/Dollar.sol#69) is not in mixedCase
Constant Dollar.genesis_supply (src/Dollar.sol#22) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ERC20Custom._balances (src/ERC20/ERC20Custom.sol#40) is not in mixedCase
Variable ERC20Custom._allowances (src/ERC20/ERC20Custom.sol#42) is not in mixedCase
Parameter Share.initialize(address,address,uint256)._devFund (src/Share.sol#62) is not in mixedCase
Parameter Share.initialize(address,address,uint256)._rewardController (src/Share.sol#63) is not in mixedCase
Parameter Share.initialize(address,address,uint256)._startTime (src/Share.sol#64) is not in mixedCase
Parameter Share.setTreasuryAddress(address)._treasury (src/Share.sol#88) is not in mixedCase
Parameter Share.setDevFund(address)._devFund (src/Share.sol#92) is not in mixedCase
Parameter Share.poolMint(address,uint256).m_address (src/Share.sol#99) is not in mixedCase
Parameter Share.poolMint(address,uint256).m_amount (src/Share.sol#99) is not in mixedCase
Parameter Share.poolBurnFrom(address,uint256).b_address (src/Share.sol#105) is not in mixedCase
Parameter Share.poolBurnFrom(address,uint256).b_amount (src/Share.sol#105) is not in mixedCase
Parameter IDollar.poolMint(address,uint256).m_amount (src/interfaces/IDollar.sol#9) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (@openzeppelin/contracts/GSN/Context.sol#21)" inContext (@openzeppelin/contracts/GSN/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Share.slitherConstructorConstantVariables() (src/Share.sol#14-132) uses literals with too many digits:
- COMMUNITY_REWARD_ALLOCATION = 80000000000000000000000000 (src/Share.sol#31)
Share.slitherConstructorConstantVariables() (src/Share.sol#14-132) uses literals with too many digits:
- DEV_FUND_ALLOCATION = 20000000000000000000000000 (src/Share.sol#32)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Share.devFundEmissionRate (src/Share.sol#39) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-57)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#63-67)
setTreasuryAddress(address) should be declared external:
- Dollar.setTreasuryAddress(address) (src/Dollar.sol#69-71)
totalSupply() should be declared external:
- ERC20Custom.totalSupply() (src/ERC20/ERC20Custom.sol#49-51)
balanceOf(address) should be declared external:
- ERC20Custom.balanceOf(address) (src/ERC20/ERC20Custom.sol#56-58)
transfer(address,uint256) should be declared external:
- ERC20Custom.transfer(address,uint256) (src/ERC20/ERC20Custom.sol#68-71)
approve(address,uint256) should be declared external:
- ERC20Custom.approve(address,uint256) (src/ERC20/ERC20Custom.sol#87-90)
transferFrom(address,address,uint256) should be declared external:
- ERC20Custom.transferFrom(address,address,uint256) (src/ERC20/ERC20Custom.sol#104-108)
increaseAllowance(address,uint256) should be declared external:
- ERC20Custom.increaseAllowance(address,uint256) (src/ERC20/ERC20Custom.sol#122-125)
decreaseAllowance(address,uint256) should be declared external:
- ERC20Custom.decreaseAllowance(address,uint256) (src/ERC20/ERC20Custom.sol#141-144)
burn(uint256) should be declared external:
- ERC20Custom.burn(uint256) (src/ERC20/ERC20Custom.sol#195-197)
burnFrom(address,uint256) should be declared external:
- ERC20Custom.burnFrom(address,uint256) (src/ERC20/ERC20Custom.sol#210-215)
operator() should be declared external:
- Operator.operator() (src/Operator.sol#18-20)
isOperator() should be declared external:
- Operator.isOperator() (src/Operator.sol#27-29)
transferOperator(address) should be declared external:
- Operator.transferOperator(address) (src/Operator.sol#31-33)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account