Create a new GardenConnector instance.z
The connector configuration object.
Fetch the arbitrator fee of a proposal of the garden.
The identifier of the arbitrator fee.
A promise that resolves to the arbitrator fee of a proposal.
Fetch the collateral requirement of a proposal of the garden.
The identifier of the proposal.
A promise that resolves to the collateral requirement of a proposal.
Fetch the configuration of the garden.
The address of the garden to fetch.
A promise that resolves to the configuratio of the garden.
Close the connection.
Subscribe to updates in the arbitrator fee of a proposal of the garden.
The identifier of the arbitrator fee.
A function callback to postprocess the result.
A GraphQL subsription to the arbitrator fee of a proposal.
Subscribe to updates in the collateral requirement of a proposal of the garden.
The identifier of the proposal.
A function callback to postprocess the result.
A GraphQL subsription to the collateral requirement of a proposal.
Subscribe to updates in the configuration of the garden.
The address of the garden to subscribe.
A function callback to postprocess the result.
A GraphQL subsription to the configuratio of the garden.
Subscribe to updates in a proposal of the garden.
The identifier of the proposal to subscribe.
A function callback to postprocess the result.
A GraphQL subsription to a proposal of the garden.
Subscribe to updates of a list of proposals of the garden.
The address of the garden to subscribe.
Number of entities to return.
Number of entities to skip.
Filter to order the results.
Direction to order the results.
Filter by proposal types.
Filter by proposal statuses.
Filter by proposal name.
A GraphQL subsription to a list of proposals of the garden.
Subscribe to updates in a supporter of the garden.
The identifier of the supporter to fetch.
A function callback to postprocess the result.
A GraphQL subsription to a supporter of the garden.
Fetch a proposal of the garden.
The identifier of the proposal to fetch.
A promise that resolves to a proposal of the garden.
Fetch a list of proposals of the garden.
The address of the garden to fetch.
Number of entities to return.
Number of entities to skip.
Filter to order the results.
Direction to order the results.
Filter by proposal type.
Filter by proposal status.
Filter by proposal name.
A promise that resolves to a list of proposals of the garden.
Fetch a supporter of the garden.
The identifier of the supporter to fetch.
A promise that resolves to a supporter of the garden.
Generated using TypeDoc
Connector that expose functionalities to fetch garden data from subgraphs.