Skip to content

[Feature] Allow for hard coded values for Declarative calls #5401

Closed

Description

@Data-Nexus

Description

There are instances where subgraphs have hard coded values that get referenced (such as stablecoin contract addresses or factory a address) which are not obtainable through the event.params.

It would be nice to be able to input a static string for Declarative calls inside the manifest as released in #5264

e.g.

          calls:
            Oracle.getPrice: Oracle[event.address].getPrice('0x04068da6c83afcfa0e13ba15a6696662335d5b75') #USDC 

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out

  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

Activity

  1. assigned and unassigned on Oct 3, 2024
  2. encalypto commented on Oct 7, 2024

    @encalypto
    Contributor

    This was added in PR #5498, closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions