Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3cc767b
feat: added basic delegation pool management
juanmardefago Feb 18, 2025
05b4935
feat: added provision delegated fields
juanmardefago Feb 19, 2025
5a92bd3
feat: removed advanced metrics for indexer on horizon since it makes …
juanmardefago Feb 19, 2025
7f9ed24
feat: prepared configs, placeholder mapping file
juanmardefago Feb 19, 2025
de3b870
feat: added basic service registry for Horizon
juanmardefago Feb 20, 2025
3dded97
fix: abi.decode potential decoding failure
juanmardefago Feb 24, 2025
91ca32d
chore: placeholder event handlers
juanmardefago Feb 20, 2025
beb33bc
chore: updated ABIs
juanmardefago Feb 24, 2025
6f50674
feat: implemented AllocationCreated, Closed and Resized
juanmardefago Feb 24, 2025
87e0875
fix: build issues
juanmardefago Feb 24, 2025
4108c01
chore: placeholder handler definition
juanmardefago Feb 24, 2025
ec51ca9
feat: added indexing rewards collection handler
juanmardefago Feb 25, 2025
c740958
feat: add QueryFeesCollected support
juanmardefago Feb 26, 2025
f22fbbb
feat: added QueryFeesCollected handler with latest contract changes
juanmardefago Feb 27, 2025
682e7e0
feat: add GraphPayments abi
juanmardefago Feb 27, 2025
354ebd9
feat: add tax tracking for Horizon through GraphPayments
juanmardefago Feb 27, 2025
dc0dc12
feat: placeholders and manifest changes for delegation
juanmardefago Feb 27, 2025
026509c
feat: added horizon delegation events support
juanmardefago Mar 3, 2025
2f059a1
fix: missing inits
juanmardefago Mar 6, 2025
460b4e1
fix: address gh pr feedback
juanmardefago Mar 30, 2025
de79068
fix: build issues and feedback from PaymentCollection PR
juanmardefago Mar 30, 2025
c0fa6da
fix: addressed AllocationManagement pr feedback
juanmardefago Mar 30, 2025
8e5377e
fix: address feedback from Subgraph Indexing Registration PR
juanmardefago Mar 31, 2025
f74024b
fix: address feedback from Delegation Pool pr
juanmardefago Mar 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
317 changes: 317 additions & 0 deletions abis/GraphPayments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,317 @@
[
{
"type": "constructor",
"inputs": [
{
"name": "controller",
"type": "address",
"internalType": "address"
},
{
"name": "protocolPaymentCut",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "PROTOCOL_PAYMENT_CUT",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "collect",
"inputs": [
{
"name": "paymentType",
"type": "uint8",
"internalType": "enum IGraphPayments.PaymentTypes"
},
{
"name": "receiver",
"type": "address",
"internalType": "address"
},
{
"name": "tokens",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "dataService",
"type": "address",
"internalType": "address"
},
{
"name": "dataServiceCut",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "initialize",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "multicall",
"inputs": [
{
"name": "data",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"outputs": [
{
"name": "results",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "GraphDirectoryInitialized",
"inputs": [
{
"name": "graphToken",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "graphStaking",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "graphPayments",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "graphEscrow",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "graphController",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "graphEpochManager",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "graphRewardsManager",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "graphTokenGateway",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "graphProxyAdmin",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "graphCuration",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "GraphPaymentCollected",
"inputs": [
{
"name": "paymentType",
"type": "uint8",
"indexed": true,
"internalType": "enum IGraphPayments.PaymentTypes"
},
{
"name": "payer",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "receiver",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "dataService",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokens",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "tokensProtocol",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "tokensDataService",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "tokensDelegationPool",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "tokensReceiver",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Initialized",
"inputs": [
{
"name": "version",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
}
],
"anonymous": false
},
{
"type": "error",
"name": "AddressEmptyCode",
"inputs": [
{
"name": "target",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "FailedInnerCall",
"inputs": []
},
{
"type": "error",
"name": "GraphDirectoryInvalidZeroAddress",
"inputs": [
{
"name": "contractName",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"type": "error",
"name": "GraphPaymentsInvalidCut",
"inputs": [
{
"name": "cut",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "GraphPaymentsInvalidProtocolPaymentCut",
"inputs": [
{
"name": "protocolPaymentCut",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "InvalidInitialization",
"inputs": []
},
{
"type": "error",
"name": "NotInitializing",
"inputs": []
},
{
"type": "error",
"name": "PPMMathInvalidMulPPM",
"inputs": [
{
"name": "a",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "b",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "PPMMathInvalidPPM",
"inputs": [
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
}
]
}
]
Loading