contracts
contracts copied to clipboard
Contracts repository for The Graph protocol
``` function setupNetworkProviders(hardhatConfig) { for (const netConfig of networkConfigs) { hardhatConfig.networks[netConfig.network] = { chainId: netConfig.chainId, url: netConfig.url ? netConfig.url : getDefaultProviderURL(netConfig.network), gas: netConfig.gas || 'auto', gasPrice: netConfig.gasPrice || 'auto', accounts:...
As reported by @fordN > Looks like the hardhat.config has them now configured to go to /build/abis and build/types, but the node package config doesn't include that dir > ```...
Mint signal command required an update to work with NFT subgraphs.
### Motivation This change to the Dispute Manager is intended to allow multiple query attestation formats that involve different query versions as described in this GIP https://forum.thegraph.com/t/gip-0024-query-versioning/3145 ### Changes -...
Could this be `pool.exists()`? Or, should the definition of `pool.exists` change? (I noticed now it's possible that a pool went through `pool.init` but its effective allocated state is still zero,...
We have on `Controller`: ``` address public governor; ``` and ``` /** * @notice Getter to access governor */ function getGovernor() external override view returns (address) { return governor; }...
`closeAllocation()` is the function that allows unallocating tokens assigned to a particular subgraph and eventually collecting all funds from state channels. To avoid an indexer never closing an allocation and...