Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
83303d3
feat: prepared configs, placeholder mapping file
juanmardefago Feb 19, 2025
dfa15dd
feat: added basic service registry for Horizon
juanmardefago Feb 20, 2025
3c5144b
fix: abi.decode potential decoding failure
juanmardefago Feb 24, 2025
dc3485a
chore: placeholder event handlers
juanmardefago Feb 20, 2025
c53dafc
chore: updated ABIs
juanmardefago Feb 24, 2025
9b7848f
feat: implemented AllocationCreated, Closed and Resized
juanmardefago Feb 24, 2025
ec7b808
fix: build issues
juanmardefago Feb 24, 2025
e294b7d
chore: placeholder handler definition
juanmardefago Feb 24, 2025
c6cfb8f
feat: added indexing rewards collection handler
juanmardefago Feb 25, 2025
e369281
feat: add QueryFeesCollected support
juanmardefago Feb 26, 2025
6e10a77
feat: added QueryFeesCollected handler with latest contract changes
juanmardefago Feb 27, 2025
100cc4d
feat: add GraphPayments abi
juanmardefago Feb 27, 2025
c1591c0
feat: add tax tracking for Horizon through GraphPayments
juanmardefago Feb 27, 2025
a39e714
feat: placeholders and manifest changes for delegation
juanmardefago Feb 27, 2025
82e1367
feat: added horizon delegation events support
juanmardefago Mar 3, 2025
2134b1b
fix: missing inits
juanmardefago Mar 6, 2025
77e8285
fix: address gh pr feedback
juanmardefago Mar 30, 2025
acaa649
fix: build issues and feedback from PaymentCollection PR
juanmardefago Mar 30, 2025
de56491
fix: addressed AllocationManagement pr feedback
juanmardefago Mar 30, 2025
272e9f1
fix: address feedback from Subgraph Indexing Registration 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