Last active
December 20, 2017 02:29
-
-
Save devonwesley/878bc7f1950d0093a37f8cbe521a626a to your computer and use it in GitHub Desktop.
This is the information about the contract and transaction that we don't want.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function filterProps(prop) { | |
const excludes = { | |
'_eth': '_eth', | |
'abi': 'abi', | |
'allEvents': 'allEvents', | |
'to': 'to', | |
'value': 'value', | |
'blockNumber': 'blockNumber', | |
'address': 'address', | |
'transactionHash': 'transactionHash', | |
} | |
return excludes[prop] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment