0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03setDelegationFeeCut(address serviceProvider, address verifier, uint8 paymentType, uint256 feeCut)
serviceProvider is the indexer’s addressverifier is the address of the SubgraphService contract: 0xb2Bb92d0DE618878E438b55D5846cfecD9301105paymentType is:
feeCut is the percentage of query fees/indexing rewards to be distributed to delegators (NOT INDEXERS), expressed in PPM (parts per million). For example:
feeCut = 1000000 represents a cut of 100% will go towards DELEGATORSfeeCut = 500000 represents a cut of 50% will go towards DELEGATORSfeeCut = 0 represents a cut of 0% will go towards DELEGATORS<aside>
⚠️ Note that before Horizon the cut represented the indexer’s share, not delegator’s. Since this can be confusing in Graph Explorer we inverted the percentage to keep pre and post horizon consistent to the end user. So setting a 100% cut through Graph Explorer equals a 100% cut for indexers and 0% for delegators, this conversion is handled by the Explorer. When interacting with the contracts this UX trick is obviously not possible so cuts refer to delegator’s share.
</aside>
We recommend using ABI Ninja to execute the transactions, follow this link: https://abi.ninja/0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03/42161?methods=setDelegationFeeCut
