chainlink-common
chainlink-common copied to clipboard
DO NOT MERGE: Proposal for multiple read addresses
ContractReader needs the ability to read events and methods from the same contract configuration at multiple addresses.
Restrictions
Bindis required due to needing a contract address for event processing beforeGetLatestValueorQueryKeyis called
Other Considerations
- A request has been made to simplify
contractandmethodinto a single identifier - Supplying an address for a binding makes it unique and not able to be 'overridden'.
Unbindis necessary to remove a binding. - Concatenating multiple values into a single 'key' might convolute the key. This might not be the optimal solution, favoring a UUID or other key generation method instead.