contracts icon indicating copy to clipboard operation
contracts copied to clipboard

Contracts repository for The Graph protocol

Results 96 contracts issues
Sort by recently updated
recently updated
newest added

This is a work in progress and serves as an experiment / exploration first and foremost. If successful, feel free to (but by no means obliged to) consider this for...

### Summary The current function signature for closing an allocation is `closeAllocation(address _allocationID, bytes32 _poi)`. This doesn't allow an Indexer to specify the block for which they are providing a...

pending review
discussion
audited
GIP

### Summary When a delegator undelegates some tokens a `delegationUnbondingPeriod` is used to calculate the epoch when the tokens will be unlocked. On each new undelegation the period is reset...

audited
GIP

### Summary Saves an SSTORE of the reserve ratio in the namePool struct and avoids doing an external call to calculate shares conversion.

discussion
audited

Make the protocol open to receive funds from anyone. Remove asset holder validation for receiving funds into the Staking contract.

discussion

### Motivation Each hardhat task that we add that uses GRE requires setting up the same parameters. This PR introduces a convenience method `graphTask` which is a drop in replacement...

Deployment commands in the CLI are also updated to include an L2 deployment. Configuration and address book entries for Arbitrum are added as well. This is a rebase of #552...

protocol change
L2

This PR adds e2e tests to the bridge contracts (cross checks addresses configured in `L1GraphTokenGateway`, `L2GraphTokenGateway`, `L1GraphToken`, `L2GraphToken` and `BridgeEscrow` match the deployed contract addresses).

merge-after-audit

### Motivation Previously the e2e testing framework would allow running tests on either an L1 or L2 deployment, with cross-chain messages not being a possibility. This PR updates the e2e...

merge-after-audit

This ensures we have clean dependencies when switching branches. Signed-off-by: Tomás Migone