Git Product home page Git Product logo

Comments (6)

medvedev1088 avatar medvedev1088 commented on July 17, 2024 1

@askeluv There is an example here for converting event signature e.g. Transfer(address,address,uint256) to it's hash: https://github.com/blockchain-etl/ethereum-etl/blob/develop/ethereumetl/cli/get_keccak_hash.py. It uses the keccak function from eth_utils lib.

I've also found these 2 functions in eth_utils/abi.py:

def event_signature_to_log_topic(event_signature: str) -> bytes:
    return keccak(text=event_signature.replace(" ", ""))


def event_abi_to_log_topic(event_abi: Dict[str, Any]) -> bytes:
    event_signature = _abi_to_signature(event_abi)
    return event_signature_to_log_topic(event_signature)

from ethereum-etl-airflow.

gitcoinbot avatar gitcoinbot commented on July 17, 2024

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to it.

from ethereum-etl-airflow.

gitcoinbot avatar gitcoinbot commented on July 17, 2024

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 2 weeks from now.
Please review their action plans below:

1) igetgames has applied to start work (Funders only: approve worker | reject worker).

I will implement the DAG builder according to ethereum-etl-airflow/issues#17 and the README.
2) askeluv has started work.

Create an Airflow DAG builder which can later be used to parse Ethereum logs given an ABI. For example 0x transactions and ENS events.

Learn more on the Gitcoin Issue Details page.

from ethereum-etl-airflow.

askeluv avatar askeluv commented on July 17, 2024

Should we also add a field event_topic inside the parser object, so we can filter out the right log rows? Or is there perhaps some easy way to convert from the event name to the topic / signature?

E.g. Fill events for 0x should be topic 0x0bcc4c97732e47d9946f229edb95f5b6323f601300e4690de719993f3c371129

from ethereum-etl-airflow.

gitcoinbot avatar gitcoinbot commented on July 17, 2024

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 500.0 DAI (500.0 USD @ $1.0/DAI) has been submitted by:

  1. @askeluv

@ceresstation please take a look at the submitted work:


from ethereum-etl-airflow.

gitcoinbot avatar gitcoinbot commented on July 17, 2024

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @askeluv.

from ethereum-etl-airflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.