Skip to content

Paxeer Network

RewardFacet API Reference ​

The RewardFacet manages LP loyalty rewards and trader epoch-based rebates.

Functions ​

getLPMultiplier ​

Calculate the current loyalty multiplier for an LP position.

solidity
function getLPMultiplier(uint256 positionId) external view returns (uint256 multiplier)

Returns Q128.128 multiplier. A value of 2^128 = 1.0x, 2^129 = 2.0x, etc.

getLPRewardInfo ​

Get full reward info for an LP position.

solidity
function getLPRewardInfo(uint256 positionId) external view returns (LPRewardInfo memory)

Returns (LPRewardInfo):

FieldTypeDescription
loyaltyMultiplieruint256Current multiplier (Q128.128)
accumulatedFees0uint256Total fees earned (token0)
accumulatedFees1uint256Total fees earned (token1)
depositTimestampuint256Position creation time
cumulativeVolumeuint256Volume attributed to position

getTraderRewardInfo ​

Get reward info for a trader.

solidity
function getTraderRewardInfo(address trader) external view returns (TraderRewardInfo memory)

Returns (TraderRewardInfo):

FieldTypeDescription
currentEpochuint256Current epoch number
epochSwapCountuint256Swaps in current epoch
epochVolumeuint256Volume in current epoch
pendingRebate0uint256Claimable rebate (token0)
pendingRebate1uint256Claimable rebate (token1)

claimTraderRebate ​

Claim pending trader rebates.

solidity
function claimTraderRebate(address recipient) external returns (uint256 amount0, uint256 amount1)

advanceEpoch ​

Advance to the next epoch. Callable by anyone.

solidity
function advanceEpoch() external

setEpochConfig ​

Set epoch configuration (owner only).

solidity
function setEpochConfig(EpochConfig calldata config) external

getCurrentEpoch ​

Get current epoch info.

solidity
function getCurrentEpoch() external view returns (uint256 epoch, uint256 startTime, uint256 endTime)

License ​

Licensed under the GNU General Public License v3.0--see LICENSE for terms.

Copyright (C) 2026 PaxLabs Inc.
SPDX-License-Identifier: GPL-3.0-only

Contact & Resources ​

ResourceLink
Protocol Documentationdocs.hyperpaxeer.com
Block Explorerpaxscan.paxeer.app
Sidiora Exchangeapp.hyperpaxeer.com
Websitepaxeer.app
Twitter/X@paxeer_app
General Inquiriesinfopaxeer@paxeer.app
Security Reportssecurity@paxeer.app

Released under the GPL-3.0 License.