contracts icon indicating copy to clipboard operation
contracts copied to clipboard

Contracts repository for The Graph protocol

Results 108 contracts issues
Sort by recently updated
recently updated
newest added
trafficstars

The bonding curve formula is implemented using an approximation that imposes a limit on the precision we can use for shares. In certain cases when selling from the curve a...

discussion

Will work on reproducing the issue, in the meantime here are logs from a recent failed PR check: ``` 1) GNS NFT descriptor without token descriptor: AssertionError: expected '0x00fae00cac62e26a062ca75eb35392df730f5e6c84aa36aa7d199b4bd713f73a' to...

### Motivation Ensure that the indexing rewards subsidy covers the full allocation lifecycle as described in GIP https://forum.thegraph.com/t/gip-0028-subsidized-query-settlement/3239 to align incentives around both indexing subgraphs and collecting query fees. ###...

protocol change
discussion
GIP

This is a rebased version of https://github.com/graphprotocol/contracts/pull/544 Keeping the original branch for the audited commit hash as reference.

protocol change

### Motivation The tokenURI being reported by SubgraphNFT contract using the `tokenURI` function is incorrect when the subgraph metadata hash contains leading zeroes. #576 describes the problem in detail. ###...

bug
protocol change

### Summary New delegations and undelegations dramatically change the staking income for indexers and validators unless the cut rate is regularly adjusted. Why is this happening? Staking income for the...

discussion
audited
GIP

This PR is built on top of rebased changes from https://github.com/graphprotocol/contracts/pull/475

audited