For this audit, we reviewed LiftKitchen's Seigniorage contracts at the addresses below on the Ethereum Mainnet:
Function Graph
![Smart Contract Graph](lfBTCLIFTLPTokenSharePool.sol-graph.png)
Inheritence Chart
![Smart Contract Inheritance](lfBTCLIFTLPTokenSharePool.sol-inherit.png)
Functions Overview
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Lib] Math
- [Int] max
- [Int] min
- [Int] average
+ [Lib] SafeMath
- [Int] tryAdd
- [Int] trySub
- [Int] tryMul
- [Int] tryDiv
- [Int] tryMod
- [Int] add
- [Int] sub
- [Int] mul
- [Int] div
- [Int] mod
- [Int] sub
- [Int] div
- [Int] mod
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Lib] Address
- [Int] isContract
- [Int] sendValue #
- [Int] functionCall #
- [Int] functionCall #
- [Int] functionCallWithValue #
- [Int] functionCallWithValue #
- [Int] functionStaticCall
- [Int] functionStaticCall
- [Int] functionDelegateCall #
- [Int] functionDelegateCall #
- [Prv] _verifyCallResult
+ [Lib] SafeERC20
- [Int] safeTransfer #
- [Int] safeTransferFrom #
- [Int] safeApprove #
- [Int] safeIncreaseAllowance #
- [Int] safeDecreaseAllowance #
- [Prv] _callOptionalReturn #
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Int] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ IRewardDistributionRecipient (Ownable)
- [Ext] notifyRewardAmount #
- [Ext] setRewardDistribution #
- modifiers: onlyOwner
+ [Int] IBoardroom
- [Ext] allocateSeigniorage #
- [Ext] stakeShareForThirdParty #
- [Ext] stakeControlForThirdParty #
+ [Int] IBasisAsset
- [Ext] mint #
- [Ext] burn #
- [Ext] burnFrom #
- [Ext] isOperator #
- [Ext] operator
+ Operator (Context, Ownable)
- [Pub] #
- [Pub] operator
- [Pub] isOperator
- [Pub] transferOperator #
- modifiers: onlyOwner
- [Int] _transferOperator #
+ LPTokenWrapper
- [Pub] totalSupply
- [Pub] balanceOf
- [Int] stake #
- [Pub] withdraw #
+ lfBTCLIFTLPTokenSharePool (LPTokenWrapper, IRewardDistributionRecipient, Operator)
- [Pub] #
- [Pub] lastTimeRewardApplicable
- [Ext] daysElapsed
- [Pub] rewardPerToken
- [Pub] earned
- [Pub] stake #
- modifiers: updateReward
- [Ext] stakeLP #
- modifiers: updateReward
- [Pub] withdraw #
- modifiers: updateReward
- [Ext] exit #
- [Pub] stakeInBoardroom #
- modifiers: updateReward
- [Ext] notifyRewardAmount #
- modifiers: onlyRewardDistribution,updateReward
- [Ext] burnRewards #
- modifiers: onlyOwner
- [Ext] updateBoardroom #
- modifiers: onlyOwner
- [Pub] cleanUpDust #
- modifiers: onlyOperator
- [Pub] updateStakingToken #
- modifiers: onlyOperator
Function Graph
![Smart Contract Graph](wBTClfBTCLPTokenSharePool.sol-graph.png)
Inheritence Chart
![Smart Contract Inheritance](wBTClfBTCLPTokenSharePool.sol-inherit.png)
Functions Overview
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Lib] Math
- [Int] max
- [Int] min
- [Int] average
+ [Lib] SafeMath
- [Int] tryAdd
- [Int] trySub
- [Int] tryMul
- [Int] tryDiv
- [Int] tryMod
- [Int] add
- [Int] sub
- [Int] mul
- [Int] div
- [Int] mod
- [Int] sub
- [Int] div
- [Int] mod
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Lib] Address
- [Int] isContract
- [Int] sendValue #
- [Int] functionCall #
- [Int] functionCall #
- [Int] functionCallWithValue #
- [Int] functionCallWithValue #
- [Int] functionStaticCall
- [Int] functionStaticCall
- [Int] functionDelegateCall #
- [Int] functionDelegateCall #
- [Prv] _verifyCallResult
+ [Lib] SafeERC20
- [Int] safeTransfer #
- [Int] safeTransferFrom #
- [Int] safeApprove #
- [Int] safeIncreaseAllowance #
- [Int] safeDecreaseAllowance #
- [Prv] _callOptionalReturn #
+ Context
- [Int] _msgSender
- [Int] _msgData
+ Ownable (Context)
- [Int] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ IRewardDistributionRecipient (Ownable)
- [Ext] notifyRewardAmount #
- [Ext] setRewardDistribution #
- modifiers: onlyOwner
+ [Int] IBoardroom
- [Ext] allocateSeigniorage #
- [Ext] stakeShareForThirdParty #
- [Ext] stakeControlForThirdParty #
+ [Int] IBasisAsset
- [Ext] mint #
- [Ext] burn #
- [Ext] burnFrom #
- [Ext] isOperator #
- [Ext] operator
+ LPTokenWrapper
- [Pub] totalSupply
- [Pub] balanceOf
- [Int] stake #
- [Pub] withdraw #
+ Operator (Context, Ownable)
- [Pub] #
- [Pub] operator
- [Pub] isOperator
- [Pub] transferOperator #
- modifiers: onlyOwner
- [Int] _transferOperator #
+ wBTClfBTCLPTokenSharePool (LPTokenWrapper, IRewardDistributionRecipient, Operator)
- [Pub] #
- [Pub] lastTimeRewardApplicable
- [Ext] daysElapsed
- [Pub] rewardPerToken
- [Pub] earned
- [Pub] stake #
- modifiers: updateReward
- [Ext] stakeLP #
- modifiers: updateReward
- [Pub] withdraw #
- modifiers: updateReward
- [Ext] exit #
- [Pub] stakeInBoardroom #
- modifiers: updateReward
- [Ext] notifyRewardAmount #
- modifiers: onlyRewardDistribution,updateReward
- [Ext] burnRewards #
- modifiers: onlyOwner
- [Ext] updateBoardroom #
- modifiers: onlyOwner
- [Pub] cleanUpDust #
- modifiers: onlyOperator
- [Pub] updateStakingToken #
- modifiers: onlyOperator