solmd
solmd copied to clipboard
Prevent duplicated functions from inheritance tree.
Tnx for this useful tool!
I was wondering, is there a way to prevent it from going up and documenting the entire inheritance tree?
For example for StandardToken.sol, I am getting the output:
- SafeMath
-
BasicToken
- totalSupply
- balanceOf
- transfer
- Transfer
-
ERC20
- approve
- totalSupply
- transferFrom
- balanceOf
- transfer
- allowance
- Approval
- Transfer
-
ERC20Basic
- totalSupply
- balanceOf
- transfer
- Transfer
-
StandardToken
- approve
- totalSupply
- transferFrom
- decreaseApproval
- balanceOf
- transfer
- increaseApproval
- allowance
- Approval
- Transfer
But i would expect
-
StandardToken
- approve
- totalSupply
- transferFrom
- decreaseApproval
- balanceOf
- transfer
- increaseApproval
- allowance
- Approval
- Transfer
(only StandardToken)
OR
- SafeMath
-
BasicToken
- totalSupply
- balanceOf
- transfer
- Transfer
-
ERC20
- approve
- transferFrom
- allowance
- Approval
-
ERC20Basic
- totalSupply
- balanceOf
- transfer
- Transfer
-
StandardToken
- transferFrom
- decreaseApproval
- increaseApproval
(No duplicated functions among members)
Is there any way to achieve this?
Off the top of my head I can't think of a way, but I'll look into it further.