2023-10-25 21:59:30 +00:00
|
|
|
query DiscountPrograms {
|
|
|
|
currentReferralProgram {
|
|
|
|
benefitTiers {
|
|
|
|
minimumEpochs
|
|
|
|
minimumRunningNotionalTakerVolume
|
|
|
|
referralDiscountFactor
|
|
|
|
}
|
|
|
|
windowLength
|
|
|
|
}
|
|
|
|
currentVolumeDiscountProgram {
|
|
|
|
benefitTiers {
|
|
|
|
minimumRunningNotionalTakerVolume
|
|
|
|
volumeDiscountFactor
|
|
|
|
}
|
|
|
|
windowLength
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-01 17:03:41 +00:00
|
|
|
query Fees($partyId: ID!) {
|
2023-10-25 21:59:30 +00:00
|
|
|
epoch {
|
|
|
|
id
|
|
|
|
}
|
2023-12-01 17:03:41 +00:00
|
|
|
volumeDiscountStats(partyId: $partyId, pagination: { last: 1 }) {
|
2023-10-25 21:59:30 +00:00
|
|
|
edges {
|
|
|
|
node {
|
|
|
|
atEpoch
|
|
|
|
discountFactor
|
|
|
|
runningVolume
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-11-09 15:50:50 +00:00
|
|
|
referrer: referralSets(referrer: $partyId) {
|
|
|
|
edges {
|
|
|
|
node {
|
|
|
|
id
|
|
|
|
referrer
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
referee: referralSets(referee: $partyId) {
|
|
|
|
edges {
|
|
|
|
node {
|
|
|
|
id
|
|
|
|
referrer
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-10-25 21:59:30 +00:00
|
|
|
referralSetReferees(referee: $partyId) {
|
|
|
|
edges {
|
|
|
|
node {
|
|
|
|
atEpoch
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-01 17:03:41 +00:00
|
|
|
referralSetStats(partyId: $partyId, pagination: { last: 1 }) {
|
2023-10-25 21:59:30 +00:00
|
|
|
edges {
|
|
|
|
node {
|
|
|
|
atEpoch
|
|
|
|
discountFactor
|
|
|
|
referralSetRunningNotionalTakerVolume
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|