Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
bda7304
feat: add basic handlers for stake management in Horizon, and update …
juanmardefago Feb 10, 2025
fe09148
fix: potential issue for Stage 2
juanmardefago Feb 10, 2025
402a572
fix: comments from latest round of reviews
juanmardefago Feb 13, 2025
fa4fcfe
fix: more fixes from reviews, and fixed addresses import preventing b…
juanmardefago Feb 13, 2025
f7f0b7a
feat: add initial provision management, without thawing tracking
juanmardefago Feb 11, 2025
f194d7c
feat: basic implementation for ThawRequests
juanmardefago Feb 12, 2025
deef219
fix: schema
juanmardefago Feb 13, 2025
ebf9e29
fix: maxVerifierCut/Pending wrong types, schema issues and more
juanmardefago Feb 13, 2025
64f134c
feat: added ProvisionSlashed support
juanmardefago Feb 13, 2025
66ab26d
feat: add ParametersSet and Staged support for provisions
juanmardefago Feb 12, 2025
296068d
chore: placeholder for SetOperator and DelegationFeeCutSet
juanmardefago Feb 13, 2025
c1a9979
feat: added new OperatorSet and DelegationFeeCutSet event support
juanmardefago Feb 18, 2025
0ec46b7
fix: provisionedOperators missing init
juanmardefago Feb 18, 2025
6aca440
feat: added basic delegation pool management
juanmardefago Feb 18, 2025
813637d
feat: added provision delegated fields
juanmardefago Feb 19, 2025
e18db86
feat: removed advanced metrics for indexer on horizon since it makes …
juanmardefago Feb 19, 2025
fc6f7ce
feat: prepared configs, placeholder mapping file
juanmardefago Feb 19, 2025
c660b8a
feat: added basic service registry for Horizon
juanmardefago Feb 20, 2025
3fd572d
fix: abi.decode potential decoding failure
juanmardefago Feb 24, 2025
b69288b
chore: placeholder event handlers
juanmardefago Feb 20, 2025
46e8665
chore: updated ABIs
juanmardefago Feb 24, 2025
1875a90
feat: implemented AllocationCreated, Closed and Resized
juanmardefago Feb 24, 2025
371208d
fix: build issues
juanmardefago Feb 24, 2025
c32f56c
chore: placeholder handler definition
juanmardefago Feb 24, 2025
79f5e7a
feat: added indexing rewards collection handler
juanmardefago Feb 25, 2025
1c4873a
feat: add QueryFeesCollected support
juanmardefago Feb 26, 2025
c62626f
feat: added QueryFeesCollected handler with latest contract changes
juanmardefago Feb 27, 2025
d153788
feat: add GraphPayments abi
juanmardefago Feb 27, 2025
3b506bb
feat: add tax tracking for Horizon through GraphPayments
juanmardefago Feb 27, 2025
ae10be7
feat: placeholders and manifest changes for delegation
juanmardefago Feb 27, 2025
9d13be9
feat: added horizon delegation events support
juanmardefago Mar 3, 2025
a2c134b
fix: missing inits
juanmardefago Mar 6, 2025
21d9616
fix: address gh pr feedback
juanmardefago Mar 30, 2025
9fa408d
fix: build issues and feedback from PaymentCollection PR
juanmardefago Mar 30, 2025
ace4a56
fix: addressed AllocationManagement pr feedback
juanmardefago Mar 30, 2025
0cb688e
fix: address feedback from Subgraph Indexing Registration PR
juanmardefago Mar 31, 2025
a08bbe3
fix: address feedback from Delegation Pool pr
juanmardefago Mar 31, 2025
55f3ef5
fix: addressed provision config PR feedback
juanmardefago Mar 31, 2025
8f6a3b4
fix: most of the feedback from ProvisionManagement 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