PROOF
Smart Contract Audit Report
Audit Summary
PROOF is building a new platform where users can launch their own tokens.
For this audit, we reviewed the ProofFactory, ProofFactoryTokenCutter, DividendDistributor, proofReflectionTokenFactory, ProofReflectionTokenCutter, proofNonReflectionTokenFactory, and ProofNonReflectionTokenCutter contracts provided to us by the project team.
Audit Findings
Informational findings were identified and the team may want to review them. In addition, some centralized aspects are present.
Date: November 2nd, 2022.
Updated: November 11th, 2022 to reflect updates made to the contracts by the project team.Finding #1 - PROOF - Informational (Resolved)
Description: The following logic in each of the TokenCutter contracts set thesent
orsent1
local variables to true rather than enforcing their value in a require statement after sending ETH.
Recommendation: These local variables should be enforced in a require statement to ensure that the ETH transfer has successfully occurred.(bool sent,)=devWallet.call{value:devBalance}(""); sent=true; (bool sent1,)=mainWallet.call{value:amountEthMain}(""); sent1=true; ... (bool sent,)=devWallet.call{value:devBalance}(""); sent=true; ... (bool sent,)=devWallet.call{value:devBalance}(""); sent=true;
Resolution: The team has implemented the above recommendation.
Finding #2 - PROOF - Informational (Resolved)
Description: Although the SafeMath library is utilized, the contracts are implemented with Solidity v0.8.x which has built-in overflow checks.
Recommendation: SafeMath could be safely removed to reduce contract size and deployment costs.
Resolution: The team has implemented the above recommendation.
Finding #3 - Reflections TokenCutter - Informational (Resolved)
Description: The_noTaxMode
state variable is used in the following if-statement in the _transfer() function but will always be false.
Recommendation: This state variable should either be removed or utilized in a way that fits the project team's intended functionality.if(isFeeExempt[sender] || isFeeExempt[recipient] || _noTaxMode){
Resolution: The team has removed the above state variable.
Finding #4 - Reflections TokenCutter - Informational (Partially Resolved)
Description: TheUser
struct,swapAndLiquifyEnabled
,_proofETHpercent
,_devETHpercent
state variables, andchangeSwapBackSettings
function are redundant in the contract.
Recommendation: These should either be removed from the contract or utilized in a way that fits the project team's intended functionality.
Resolution: The team has removed the above code besides thechangeSwapBackSettings
function andswapAndLiquifyEnabled
state variable.
Contracts Overview
ProofFactory Contract:
- As the contracts are implemented with Solidity v0.8.x, they are safe from any possible overflows/underflows.
ProofFactoryTokenCutter and DividendDistributor Contracts:
- Any user can use this contract to generate their own token by specifying the token name, symbol, total supply, fee percentages, Reward token address, and an LP token unlock time greater than 30 days.
- Users must also provide at least 1 ETH which will automatically be paired with the contract balance of the token and added as liquidity.
- After the token is created, it can be finalized by the owner at any time.
- Upon finalizing, the contract makes a call into an external token locking contract to lock the LP tokens for the duration specified by the owner, and trading will be enabled. The external token locking contract was out of scope for this audit.
- Before a token is finalized, it can be canceled by the owner at any time. The initial liquidity will be removed and the returned tokens and ETH will be transferred to the owner.
- Any user can transfer the ETH in the contract between the Revenue address and Reward Pool address at any time.
- The owner can update the Router address, Locker address, Revenue address, and Reward Pool address to any addresses at any time.
- The owner can update the Proof Admin address at any time.
proofReflectionTokenFactory Contract:
- The total supply of each token will be set by the creator upon deployment.
- A percentage of the total supply (specified by the creator) is minted to the Factory contract to be used for liquidity and the remaining tokens are minted to the owner.
- No mint or burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address if desired.
- The contract enforces a maximum transaction amount (determined by the owner) which imposes a limit to the number of tokens that can be transferred in a single transaction.
- The contract enforces a maximum wallet amount that prevents a transfer from occurring if the recipient's token balance will exceed the limit number of tokens (determined by the owner) after the transfer occurs.
- Blacklisted accounts (set by the PROOF team) are prohibited from participating in transfers.
- There is a Reflections fee, Liquidity fee, Dev fee, and Revenue fee on all transfers where neither the sender nor the recipient is excluded from fees. A separate fee structure can be set by the team to apply different fee percentages when the user is selling tokens via Uniswap.
- The tokens collected from fees are stored in the contract address. The tokens are swapped for ETH for the purpose of funding Uniswap liquidity when the following conditions are met:
- The automatic liquidity add functionality is enabled by the team.
- The threshold number of tokens in the contract address (determined by the owner) has been reached.
- The contract is not currently performing an automatic liquidity add.
- The caller is not initiating a buy transaction via Uniswap.
- Liquidity-adds are automatically performed by selling the tokens collected as fees, pairing the received ETH with the token, and adding it as liquidity to the ETH pair.
- The LP tokens received through this process are sent to the 0x..dead address.
- The tokens collected through the Dev Fee are swapped for ETH and sent to the team's Dev wallet.
- The tokens collected through the Revenue fee are swapped for ETH and split between the Revenue address and Reward Pool address set in the Factory contract.
- The tokens collected from the Reflections Fee are swapped for ETH and sent to the DividendDistributor contract where it is swapped for the Reward token set by the team and distributed as rewards.
- Any user that holds any number of tokens is eligible to claim dividends once the amount of dividends they are due reaches the minimum threshold value determined by the team.
- Once dividends are distributed, they will need to be claimed; claiming happens automatically on each transfer.
- Alternatively, a user can manually claim dividends as an individual.
- There is a wait-time (determined by the owner) between claiming dividend rewards.
- Claimed dividends are sent to the user's wallet address.
- The PROOF Admin can manually add/remove accounts from the transfer blacklist at any time.
- The PROOF Admin can transfer their role to another address at any time.
- The owner can set the Reflections fee, Liquidity fee, and Dev fee to any values as long as the total fee percentage combined does not exceed 17% on sell transactions and 12% on all other token transfers. The Revenue fee is set to 2% upon deployment.
- The owner can reduce the Revenue fee to 1% at any time after 72 hours have passed since launch.
- The PROOF Admin can set the Revenue fee to 0 at any time after 72 hours have passed since launch.
- The owner can exclude/include accounts from transfer fees at any time.
- The owner can set the maximum transaction and maximum wallet amounts to any values after 24 hours have passed since launch.
- The owner can exclude/include accounts from the maximum wallet and maximum transaction restrictions at any time after 24 hours have passed since launch.
- The owner can enable/disable the maximum wallet restriction any time after 24 hours have passed since launch.
- The owner can remove accounts from the transfer blacklist at any time.
- The owner can enable/disable automatic liquidity adds at any time.
- The owner can update the threshold number of tokens needed to trigger an automatic liquidity add to any value at any time.
- The owner can update the minimum threshold of dividends a user must be due in order to claim rewards to any value at any time.
- The owner can update the wait time between claiming rewards to any value at any time.
- The owner can update the amount of gas used for processing to any value at any time.
- The owner can set the team's Dev wallet to any address at any time.
ProofReflectionTokenCutter Contract:
- Any user can use this contract to generate their own token by specifying the token name, symbol, total supply, fee percentages, and an LP token unlock time greater than 30 days.
- Users must also provide at least 1 ETH which will automatically be paired with the contract balance of the token and added as liquidity.
- After the token is created, it can be finalized by the owner at any time.
- Upon finalizing, the contract makes a call into an external token locking contract to lock the LP tokens for the duration specified by the owner, and trading will be enabled. The external token locking contract was out of scope for this audit.
- Before a token is finalized, it can be canceled by the owner at any time. The initial liquidity will be removed and the returned tokens and ETH will be transferred to the owner.
- Any user can transfer the ETH in the contract between the Revenue address and Reward Pool address at any time.
- The owner can update the Router address, Locker address, Revenue address, and Reward Pool address to any addresses at any time.
- The owner can update the Proof Admin address at any time.
proofNonReflectionTokenFactory Contract:
- The total supply of each token will be set by the creator upon deployment.
- A percentage of the total supply (specified by the creator) is minted to the Factory contract to be used for liquidity and the remaining tokens are minted to the owner.
- No mint or burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address if desired.
- The contract enforces a maximum transaction amount (determined by the owner) which imposes a limit to the number of tokens that can be transferred in a single transaction.
- Blacklisted accounts (set by the PROOF team) are prohibited from participating in transfers.
- There is a Tax fee, LP fee, Dev fee, and Revenue fee on all transfers via Uniswap where neither the sender nor the recipient is excluded from fees. A separate fee structure can be set by the team to apply different fee percentages when the user is selling tokens via Uniswap.
- The tokens collected through the Tax fee are removed from the circulating supply; This serves as a frictionless fee redistribution that automatically benefits all token holders at the time of each transaction.
- The tokens collected from fees are stored in the contract address. The tokens are swapped for ETH for the purpose of funding Uniswap liquidity when the following conditions are met:
- The contract holds at least 1 token.
- The contract is not currently performing an automatic liquidity add.
- The caller is not initiating a buy transaction via Uniswap.
- Trading is currently enabled.
- The number of tokens used for swapping cannot exceed 5% of the current token balance of the Pair address.
- Liquidity-adds are automatically performed by selling the tokens collected as fees, pairing the received ETH with the token, and adding it as liquidity to the ETH pair.
- The LP tokens received through this process are sent to the 0x..dead address.
- The tokens collected through the Dev Fee are swapped for ETH and sent to the team's Dev wallet.
- The tokens collected through the Revenue fee are swapped for ETH and split between the Revenue address and Reward Pool address set in the Factory contract.
- The PROOF Admin can manually add/remove accounts from the transfer blacklist at any time.
- The PROOF Admin can transfer their role to another address at any time.
- The owner can set the Tax fee, LP fee, and Dev fee to any values as long as the total fee percentage combined does not exceed 17% on sells and 12% on buys. The Revenue fee is set to 2% upon deployment.
- The owner can reduce the Revenue fee to 1% at any time after 72 hours have passed since launch.
- The PROOF Admin can set the Revenue fee to 0 at any time after 72 hours have passed since launch.
- The owner can exclude/include accounts from transfer fees at any time.
- The owner can set the maximum transaction amount to any value after 24 hours have passed since launch.
- The owner can exclude/include accounts from the maximum transaction amount at any time after 24 hours have passed since launch.
- The owner can remove accounts from the transfer blacklist at any time.
- The owner can set the team's Dev wallet to any address at any time.
ProofNonReflectionTokenCutter Contract:
- Any user can use this contract to generate their own token by specifying the token name, symbol, total supply, fee percentages, and an LP token unlock time greater than 30 days.
- Users must also provide at least 1 ETH which will automatically be paired with the contract balance of the token and added as liquidity.
- After the token is created, it can be finalized by the owner at any time.
- Upon finalizing, the contract makes a call into an external token locking contract to lock the LP tokens for the duration specified by the owner, and trading will be enabled. The external token locking contract was out of scope for this audit.
- Before a token is finalized, it can be canceled by the owner at any time. The initial liquidity will be removed and the returned tokens and ETH will be transferred to the owner.
- Any user can transfer the ETH in the contract between the Revenue address and Reward Pool address at any time.
- The owner can update the Router address, Locker address, Revenue address, and Reward Pool address to any addresses at any time.
- The owner can update the Proof Admin address at any time.
- The total supply of each token will be set by the creator upon deployment.
- A percentage of the total supply (specified by the creator) is minted to the Factory contract to be used for liquidity and the remaining tokens are minted to the owner.
- No mint or burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address if desired.
- The contract enforces a maximum transaction amount (determined by the owner) which imposes a limit to the number of tokens that can be transferred in a single transaction.
- The contract enforces a maximum wallet amount that prevents a transfer from occurring if the recipient's token balance will exceed the limit number of tokens (determined by the owner) after the transfer occurs.
- Blacklisted accounts (set by the PROOF team) are prohibited from participating in transfers.
- There is a Tax fee, LP fee, Dev fee, and Proof fee on all transfers via Uniswap where neither the sender nor the recipient is excluded from fees. A separate fee structure can be set by the team to apply different fee percentages when the user is selling tokens via Uniswap.
- The tokens collected from fees are stored in the contract address. The tokens are swapped for ETH for the purpose of funding Uniswap liquidity when the following conditions are met:
- The automatic liquidity add functionality is enabled by the team.
- The threshold number of tokens in the contract address (determined by the owner) has been reached.
- The contract is not currently performing an automatic liquidity add.
- The caller is not initiating a buy transaction via Uniswap.
- Liquidity-adds are automatically performed by selling the tokens collected as fees, pairing the received ETH with the token, and adding it as liquidity to the ETH pair.
- The LP tokens received through this process are sent to the 0x..dead address.
- The tokens collected through the Dev Fee are swapped for ETH and sent to the team's Dev wallet.
- The tokens collected through the Proof fee are swapped for ETH and split between the Revenue address and Reward Pool address set in the Factory contract.
- The remaining ETH in the contract is sent to the team's Main wallet.
- The PROOF Admin can manually add/remove accounts from the transfer blacklist at any time.
- The PROOF Admin can transfer their role to another address at any time.
- The owner can set the Tax fee, LP fee, and Dev fee to any values as long as the total fee percentage combined does not exceed 17% on sells and 12% on buys. The Proof fee is set to 2% upon deployment.
- The owner can reduce the Proof fee to 1% at any time after 72 hours have passed since launch.
- The PROOF Admin can set the Proof fee to 0 at any time after 72 hours have passed since launch.
- The owner can exclude/include accounts from transfer fees at any time.
- The owner can set the maximum transaction amount and maximum wallet amount to any values after 24 hours have passed since launch.
- The owner can enable/disable the maximum wallet restriction at any time after 24 hours have passed since launch.
- The owner can remove accounts from the transfer blacklist at any time.
- The owner can enable/disable automatic liquidity adds at any time.
- The owner can update the threshold number of tokens needed to trigger an automatic liquidity add to any value at any time.
- The owner can exclude/include accounts from the maximum transaction and maximum wallet restrictions at any time after 24 hours have passed since launch.
- The owner can set the team's Dev wallet and Main wallet to any addresses at any time.
Audit Results
Vulnerability Category | Notes | Result |
---|---|---|
Arbitrary Jump/Storage Write | N/A | PASS |
Centralization of Control | The PROOF team can blacklist accounts from token transfers. | WARNING |
Compiler Issues | N/A | PASS |
Delegate Call to Untrusted Contract | N/A | PASS |
Dependence on Predictable Variables | N/A | PASS |
Ether/Token Theft | N/A | PASS |
Flash Loans | N/A | PASS |
Front Running | N/A | PASS |
Improper Events | N/A | PASS |
Improper Authorization Scheme | N/A | PASS |
Integer Over/Underflow | N/A | PASS |
Logical Issues | N/A | PASS |
Oracle Issues | N/A | PASS |
Outdated Compiler Version | N/A | PASS |
Race Conditions | N/A | PASS |
Reentrancy | N/A | PASS |
Signature Issues | N/A | PASS |
Unbounded Loops | N/A | PASS |
Unused Code | N/A | PASS |
Overall Contract Safety | PASS |
ProofFactory, ProofFactoryTokenCutter, and DividendDistributor Contracts
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Int] IERC20Metadata (IERC20)
- [Ext] name
- [Ext] symbol
- [Ext] decimals
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Pub] #
- [Pub] owner
- [Int] _checkOwner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
- [Int] _transferOwnership #
+ [Lib] ProofFactoryFees
+ [Int] IDividendDistributor
- [Ext] setDistributionCriteria #
- [Ext] setShare #
- [Ext] deposit ($)
- [Ext] process #
+ [Int] ITeamFinanceLocker
- [Ext] lockToken ($)
+ [Int] ITokenCutter
- [Ext] swapTradingStatus #
- [Ext] setLaunchedAt #
- [Ext] cancelToken #
+ [Int] IFACTORY
- [Ext] factoryRevenue ($)
+ [Int] IUniswapV2Router02
- [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #
- [Ext] swapExactETHForTokensSupportingFeeOnTransferTokens ($)
- [Ext] factory
- [Ext] WETH
- [Ext] addLiquidityETH ($)
- [Ext] removeLiquidityETH #
+ [Int] IUniswapV2Factory
- [Ext] createPair #
+ DividendDistributor (IDividendDistributor)
- [Pub] #
- [Ext] setDistributionCriteria #
- modifiers: onlyToken
- [Ext] setShare #
- modifiers: onlyToken
- [Ext] deposit ($)
- modifiers: onlyToken
- [Ext] process #
- modifiers: onlyToken
- [Int] shouldDistribute
- [Int] distributeDividend #
- [Ext] claimDividend #
- [Pub] getUnpaidEarnings
- [Int] getCumulativeDividends
- [Int] addShareholder #
- [Int] removeShareholder #
+ ProofFactoryTokenCutter (Context, IERC20, IERC20Metadata)
- [Pub] #
- [Ext] updateProofAdmin #
- modifiers: onlyProofAdmin
- [Ext] setBots #
- modifiers: onlyProofAdmin
- [Ext] swapTradingStatus #
- modifiers: onlyFactory
- [Ext] setLaunchedAt #
- modifiers: onlyFactory
- [Ext] cancelToken #
- modifiers: onlyFactory
- [Ext] changeFees #
- modifiers: onlyOwner
- [Ext] changeTxLimit #
- modifiers: onlyOwner
- [Ext] changeWalletLimit #
- modifiers: onlyOwner
- [Ext] changeRestrictWhales #
- modifiers: onlyOwner
- [Ext] changeIsFeeExempt #
- modifiers: onlyOwner
- [Ext] changeIsTxLimitExempt #
- modifiers: onlyOwner
- [Ext] changeDistributorGas #
- modifiers: onlyOwner
- [Ext] reduceProofFee #
- modifiers: onlyOwner
- [Ext] formatProofFee #
- modifiers: onlyProofAdmin
- [Ext] setDevWallet #
- modifiers: onlyOwner
- [Ext] setOwnerWallet #
- modifiers: onlyOwner
- [Ext] changeSwapBackSettings #
- modifiers: onlyOwner
- [Ext] setDistributionCriteria #
- modifiers: onlyOwner
- [Ext] delBot #
- [Ext] getCirculatingSupply
- [Ext] name
- [Ext] symbol
- [Ext] decimals
- [Ext] totalSupply
- [Pub] balanceOf
- [Ext] transfer #
- [Pub] allowance
- [Ext] approve #
- [Ext] transferFrom #
- [Ext] increaseAllowance #
- [Ext] decreaseAllowance #
- [Int] _transfer #
- [Int] _basicTransfer #
- [Int] _approve #
- [Int] _spendAllowance #
- [Int] takeFee #
- [Int] swapBack #
- modifiers: lockTheSwap
- [Ext] ($)
+ ProofFactory (Ownable)
- [Pub] #
- [Ext] createToken ($)
- [Ext] finalizeToken ($)
- [Ext] cancelToken #
- [Ext] factoryRevenue ($)
- [Ext] setProofAdmin #
- modifiers: onlyOwner
- [Ext] setLockerAddress #
- modifiers: onlyOwner
- [Ext] setRouterAddress #
- modifiers: onlyOwner
- [Ext] setRevenueAddress #
- modifiers: onlyOwner
- [Ext] setRewardPoolAddress #
- modifiers: onlyOwner
- [Ext] ($)
proofReflectionTokenFactory and ProofReflectionTokenCutter Contracts
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Int] IERC20Metadata (IERC20)
- [Ext] name
- [Ext] symbol
- [Ext] decimals
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Pub] #
- [Pub] owner
- [Int] _checkOwner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
- [Int] _transferOwnership #
+ [Lib] ProofReflectionFactoryFees
+ [Int] IDividendDistributor
- [Ext] setDistributionCriteria #
- [Ext] setShare #
- [Ext] deposit ($)
- [Ext] process #
+ [Int] ITeamFinanceLocker
- [Ext] lockToken ($)
+ [Int] ITokenCutter
- [Ext] swapTradingStatus #
- [Ext] setLaunchedAt #
- [Ext] cancelToken #
+ [Int] IFACTORY
- [Ext] factoryRevenue ($)
+ [Int] IUniswapV2Router02
- [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #
- [Ext] swapExactETHForTokensSupportingFeeOnTransferTokens ($)
- [Ext] factory
- [Ext] WETH
- [Ext] addLiquidityETH ($)
- [Ext] removeLiquidityETH #
+ [Int] IUniswapV2Factory
- [Ext] createPair #
+ ProofReflectionTokenCutter (Context, IERC20, IERC20Metadata)
- [Pub] #
- [Pub] updateProofAdmin #
- modifiers: onlyProofAdmin
- [Ext] setBots #
- modifiers: onlyProofAdmin
- [Pub] swapTradingStatus #
- modifiers: onlyFactory
- [Pub] setLaunchedAt #
- modifiers: onlyFactory
- [Pub] cancelToken #
- modifiers: onlyFactory
- [Ext] changeFees #
- modifiers: onlyOwner
- [Ext] reduceProofFee #
- modifiers: onlyOwner
- [Ext] formatProofFee #
- modifiers: onlyProofAdmin
- [Ext] changeTxLimit #
- modifiers: onlyOwner
- [Ext] changeIsFeeExempt #
- modifiers: onlyOwner
- [Ext] changeIsTxLimitExempt #
- modifiers: onlyOwner
- [Ext] setDevWallet #
- modifiers: onlyOwner
- [Ext] changeSwapBackSettings #
- modifiers: onlyOwner
- [Ext] delBot #
- [Pub] name
- [Pub] symbol
- [Pub] decimals
- [Pub] approve #
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- [Pub] allowance
- [Prv] tokenFromReflection
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Prv] _transfer #
- [Prv] _approve #
- [Prv] _takeDev #
- [Prv] _reflectFee #
- [Prv] _transferStandard #
- [Prv] _getValues
- [Prv] _getTValues
- [Prv] _getRate
- [Prv] _getCurrentSupply
- [Prv] _getRValues
- [Prv] swapTokensForEth #
- modifiers: lockTheSwap
- [Ext] ($)
+ ProofReflectionFactory (Ownable)
- [Pub] #
- [Ext] createToken ($)
- [Pub] finalizeToken ($)
- [Pub] cancelToken #
- [Ext] factoryRevenue ($)
- [Ext] setLockerAddress #
- modifiers: onlyOwner
- [Ext] setRouterAddress #
- modifiers: onlyOwner
- [Ext] setProofAdmin #
- modifiers: onlyOwner
- [Ext] setRevenueAddress #
- modifiers: onlyOwner
- [Ext] setRewardPoolAddress #
- modifiers: onlyOwner
- [Ext] ($)
proofNonReflectionTokenFactory and ProofNonReflectionTokenCutter Contracts
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Int] IERC20Metadata (IERC20)
- [Ext] name
- [Ext] symbol
- [Ext] decimals
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Pub] #
- [Pub] owner
- [Int] _checkOwner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
- [Int] _transferOwnership #
+ [Lib] ProofNonReflectionTokenFees
+ [Int] IDividendDistributor
- [Ext] setDistributionCriteria #
- [Ext] setShare #
- [Ext] deposit ($)
- [Ext] process #
+ [Int] ITeamFinanceLocker
- [Ext] lockToken ($)
+ [Int] ITokenCutter
- [Ext] swapTradingStatus #
- [Ext] setLaunchedAt #
- [Ext] cancelToken #
+ [Int] IFACTORY
- [Ext] factoryRevenue ($)
+ [Int] IUniswapV2Router02
- [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #
- [Ext] swapExactETHForTokensSupportingFeeOnTransferTokens ($)
- [Ext] factory
- [Ext] WETH
- [Ext] addLiquidityETH ($)
- [Ext] removeLiquidityETH #
+ [Int] IUniswapV2Factory
- [Ext] createPair #
+ ProofNonReflectionTokenCutter (Context, IERC20, IERC20Metadata)
- [Pub] #
- [Ext] updateProofAdmin #
- modifiers: onlyProofAdmin
- [Ext] updateProofBurnerAddress #
- modifiers: onlyProofAdmin
- [Ext] setBots #
- modifiers: onlyProofAdmin
- [Ext] swapTradingStatus #
- modifiers: onlyFactory
- [Ext] setLaunchedAt #
- modifiers: onlyFactory
- [Ext] cancelToken #
- modifiers: onlyFactory
- [Ext] changeFees #
- modifiers: onlyOwner
- [Ext] changeTxLimit #
- modifiers: onlyOwner
- [Ext] changeWalletLimit #
- modifiers: onlyOwner
- [Ext] changeRestrictWhales #
- modifiers: onlyOwner
- [Ext] changeIsFeeExempt #
- modifiers: onlyOwner
- [Ext] changeIsTxLimitExempt #
- modifiers: onlyOwner
- [Ext] reduceProofFee #
- modifiers: onlyOwner
- [Ext] formatProofFee #
- modifiers: onlyProofAdmin
- [Ext] setDevWallet #
- modifiers: onlyOwner
- [Ext] setMainWallet #
- modifiers: onlyOwner
- [Ext] setOwnerWallet #
- modifiers: onlyOwner
- [Ext] changeSwapBackSettings #
- modifiers: onlyOwner
- [Ext] delBot #
- [Ext] getCirculatingSupply
- [Ext] name
- [Ext] symbol
- [Ext] decimals
- [Ext] totalSupply
- [Pub] balanceOf
- [Ext] transfer #
- [Pub] allowance
- [Ext] approve #
- [Ext] transferFrom #
- [Ext] increaseAllowance #
- [Ext] decreaseAllowance #
- [Int] _transfer #
- [Int] _basicTransfer #
- [Int] _approve #
- [Int] _spendAllowance #
- [Int] takeFee #
- [Int] swapBack #
- modifiers: lockTheSwap
- [Ext] ($)
+ ProofNonReflectionTokenFactory (Ownable)
- [Pub] #
- [Ext] createToken ($)
- [Ext] finalizeToken ($)
- [Ext] cancelToken #
- [Ext] setLockerAddress #
- modifiers: onlyOwner
- [Ext] setRouterAddress #
- modifiers: onlyOwner
- [Ext] factoryRevenue ($)
- [Ext] setProofAdmin #
- modifiers: onlyOwner
- [Ext] setRevenueAddress #
- modifiers: onlyOwner
- [Ext] setRewardPoolAddress #
- modifiers: onlyOwner
- [Ext] ($)
About SourceHat
SourceHat has quickly grown to have one of the most experienced and well-equipped smart contract auditing teams in the industry. Our team has conducted 1300+ solidity smart contract audits covering all major project types and protocols, securing a total of over $50 billion U.S. dollars in on-chain value across 1500 projects!.
Our firm is well-reputed in the community and is trusted as a top smart contract auditing company for the review of solidity code, no matter how complex. Our team of experienced solidity smart contract auditors performs audits for tokens, NFTs, crowdsales, marketplaces, gambling games, financial protocols, and more!
Contact us today to get a free quote for a smart contract audit of your project!
What is a SourceHat Audit?
Typically, a smart contract audit is a comprehensive review process designed to discover logical errors, security vulnerabilities, and optimization opportunities within code. A SourceHat Audit takes this a step further by verifying economic logic to ensure the stability of smart contracts and highlighting privileged functionality to create a report that is easy to understand for developers and community members alike.
How Do I Interpret the Findings?
Each of our Findings will be labeled with a Severity level. We always recommend the team resolve High, Medium, and Low severity findings prior to deploying the code to the mainnet. Here is a breakdown on what each Severity level means for the project:
- High severity indicates that the issue puts a large number of users' funds at risk and has a high probability of exploitation, or the smart contract contains serious logical issues which can prevent the code from operating as intended.
- Medium severity issues are those which place at least some users' funds at risk and has a medium to high probability of exploitation.
- Low severity issues have a relatively minor risk association; these issues have a low probability of occurring or may have a minimal impact.
- Informational issues pose no immediate risk, but inform the project team of opportunities for gas optimizations and following smart contract security best practices.