chainlink-common icon indicating copy to clipboard operation
chainlink-common copied to clipboard

DO NOT MERGE: Proposal for multiple read addresses

Open EasterTheBunny opened this issue 1 year ago • 0 comments

ContractReader needs the ability to read events and methods from the same contract configuration at multiple addresses.

Restrictions

  • Bind is required due to needing a contract address for event processing before GetLatestValue or QueryKey is called

Other Considerations

  • A request has been made to simplify contract and method into a single identifier
  • Supplying an address for a binding makes it unique and not able to be 'overridden'. Unbind is 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.

EasterTheBunny avatar Jun 19 '24 21:06 EasterTheBunny