You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, that would make the most sense. Maybe we can add them there and since they won't make the 0.1.1 version we're upgrading to soon, also patch block with them in this repo?
The problem
Indexer functions would be easier to read if there were helper functions to extract common data.
Near-primitives solution
Full Example Indexer
Original
Proposed Solution
Add the following context methods:
base64Decode
Every indexer currently defines it (though with a lower case d).
getFunctionCalls(contract, method)
getSocialOperations(operation)
Decide whether to pass
block
in method signature.Full Example Indexer
Proposed code blocks
base64Decode(encodedValue)
getFunctionCalls(contract, method)
getSocialOperations(operation)
Test Indexer
The text was updated successfully, but these errors were encountered: