# Development Resources

- [Protocol](https://peri-finance.gitbook.io/perifinance/development-resources/protocol.md)
- [VALUE RECEPIENTS](https://peri-finance.gitbook.io/perifinance/development-resources/protocol/value-recepients.md)
- [PERI STAKING REWARDS](https://peri-finance.gitbook.io/perifinance/development-resources/protocol/incentives.md)
- [PROTOCOL CORE EQUATIONS](https://peri-finance.gitbook.io/perifinance/development-resources/protocol/protocol-core-equations.md)
- [Deployed Contract](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract.md)
- [MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet.md): Last Update 2024.05.16  (BASE, MOONBEAM/RIVER)
- [BASE MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet/base-mainnet.md)
- [ETHEREUM MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet/ethereum-mainnet.md)
- [BSC MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet/bsc-mainnet.md)
- [POLYGON MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet/polygon-mainnet.md)
- [MOONBEAM MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet/moonbeam-mainnet.md)
- [MOONRIVER MAINNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/mainnet/moonriver-mainnet.md)
- [TESTNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/testnet.md)
- [ETHEREUM KOVAN TESTNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/testnet/ethereum-kovan-testnet.md)
- [POLYGON TESTNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/testnet/polygon-testnet.md)
- [BSC TESTNET](https://peri-finance.gitbook.io/perifinance/development-resources/deployed-contract/testnet/bsc-testnet.md)
- [Protocol Integrations](https://peri-finance.gitbook.io/perifinance/development-resources/integrations.md)
- [INTEGRATED PROJECT](https://peri-finance.gitbook.io/perifinance/development-resources/integrations/current-integrations.md)
- [PERI FINANCE HISTORICAL DATA](https://peri-finance.gitbook.io/perifinance/development-resources/integrations/data.md)
- [PERI FINANCE STAKING](https://peri-finance.gitbook.io/perifinance/development-resources/integrations/staking.md): Peri finance provides below  method to handle staking
- [STAKING PERI](https://peri-finance.gitbook.io/perifinance/development-resources/integrations/staking/staking-peri.md)
- [Smart Contract Architecture](https://peri-finance.gitbook.io/perifinance/development-resources/smart-contract-architecture.md)
- [Deployment Procedure](https://peri-finance.gitbook.io/perifinance/development-resources/deployment-procedure.md)
- [Common Transactions](https://peri-finance.gitbook.io/perifinance/development-resources/common-transactions.md): This is a list of the most common user-facing transactions possible in the PERI Finance ecosystem, and the events they emit on success.
- [Source Code Description](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description.md)
- [SOLIDITY CONTRACT](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts.md)
- [AddressResolver](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/addressresolver.md)
- [BaseDebtCache](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/basedebtcache.md)
- [BasePeriFinance](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/baseperifinance.md)
- [BaseRewardEscrowV2](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/baserewardescrowv2.md)
- [BinaryOption](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/binaryoption.md)
- [BinaryOptionMarket](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/binaryoptionmarket.md)
- [BinaryOptionMarketData](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/binaryoptionmarketdata.md)
- [BinaryOptionMarketFactory](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/binaryoptionmarketfactory.md)
- [BinaryOptionMarketManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/binaryoptionmarketmanager.md)
- [BlacklistManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/blacklistmanager.md)
- [BridgeState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/bridgestate.md)
- [Collateral](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateral.md)
- [CollateralErc20](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateralerc20.md)
- [CollateralEth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateraleth.md)
- [CollateralManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateralmanager.md)
- [CollateralManagerState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateralmanagerstate.md)
- [CollateralShort](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateralshort.md)
- [CollateralState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/collateralstate.md)
- [ContractStorage](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/contractstorage.md)
- [DappMaintenance](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/dappmaintenance.md)
- [DebtCache](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/debtcache.md)
- [DelegateApprovals](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/delegateapprovals.md)
- [Depot](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/depot.md)
- [EmptyCollateralManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/emptycollateralmanager.md)
- [EmptyEtherCollateral](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/emptyethercollateral.md)
- [EscrowChecker](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/escrowchecker.md)
- [EternalStorage](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/eternalstorage.md)
- [EtherCollateral](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/ethercollateral.md)
- [EtherCollateralpUSD](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/ethercollateralpusd.md)
- [ExchangeRates](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/exchangerates.md)
- [ExchangeRatesWithoutInvPricing](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/exchangerateswithoutinvpricing.md)
- [ExchangeState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/exchangestate.md)
- [Exchanger](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/exchanger.md)
- [ExchangerWithVirtualPynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/exchangerwithvirtualpynth.md)
- [ExternStateToken](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/externstatetoken.md)
- [ExternalRateAggregator](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/externalrateaggregator.md)
- [ExternalTokenStakeManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/externaltokenstakemanager.md)
- [FeePool](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/feepool.md)
- [FeePoolEternalStorage](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/feepooleternalstorage.md)
- [FeePoolState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/feepoolstate.md)
- [FlexibleStorage](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/flexiblestorage.md)
- [ImportableRewardEscrowV2](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/importablerewardescrowv2.md)
- [Issuer](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/issuer.md)
- [IssuerWithoutLiquidations](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/issuerwithoutliquidations.md)
- [LimitedSetup](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/limitedsetup.md)
- [Liquidations](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/liquidations.md)
- [Math](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/math.md)
- [MintablePeriFinance](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/mintableperifinance.md)
- [MixinResolver](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/mixinresolver.md)
- [MixinSystemSettings](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/mixinsystemsettings.md)
- [MultiCollateralPynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/multicollateralpynth.md)
- [Owned](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/owned.md)
- [Pausable](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/pausable.md)
- [PeriFinance](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/perifinance.md)
- [PeriFinanceBridgeToBase](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-12.md)
- [PeriFinanceBridgeToOptimism](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-13.md)
- [PeriFinanceEscrow](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-14.md)
- [PeriFinanceState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-15.md)
- [PeriFinanceStateWithLimitedSetup](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-16.md)
- [PeriFinanceToBSC](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-17.md)
- [PeriFinanceToEthereum](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-18.md)
- [PeriFinanceToPolygon](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-19.md)
- [Proxy](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-20.md)
- [ProxyERC20](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-21.md)
- [Proxyable](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-22.md)
- [PurgeablePynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-23.md)
- [Pynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-24.md)
- [PynthUtil](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-25.md)
- [ReadProxy](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-26.md)
- [RealtimeDebtCache](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-27.md)
- [RewardEscrow](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-28.md)
- [RewardEscrowV2](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-29.md)
- [RewardsDistribution](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-30.md)
- [RewardsDistributionRecipient](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-31.md)
- [SafeDecimalMath](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-32.md)
- [ShortingRewards](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-33.md)
- [StakingRewards](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-34.md)
- [StakingState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-35.md)
- [StakingStateUSDC](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-36.md)
- [State](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-37.md)
- [SupplySchedule](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-38.md)
- [SystemSettings](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/untitled-39.md)
- [SystemStatus](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/systemstatus.md)
- [TokenState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/tokenstate.md)
- [TradingRewards](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/tradingrewards.md)
- [VirtualPynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/contracts/virtualpynth.md)
- [SOLIDITY INTERFACES](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces.md)
- [IAddressResolver](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/iaddressresolver.md)
- [IBinaryOption](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/ibinaryoption.md)
- [IBinaryOptionMarket](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/ibinaryoptionmarket.md)
- [IBinaryOptionMarketManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/ibinaryoptionmarketmanager.md)
- [IBridgeState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/ibridgestate.md)
- [ICollateralErc20](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/icollateralerc20.md)
- [ICollateralEth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/icollateraleth.md)
- [ICollateralLoan](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/icollateralloan.md)
- [ICollateralManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/icollateralmanager.md)
- [IDebtCache](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/idebtcache.md)
- [IDelegateApprovals](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/idelegateapprovals.md)
- [IDepot](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/idepot.md)
- [IERC20](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/ierc20.md)
- [IEtherCollateral](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-85.md)
- [IEtherCollateralpUSD](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-84.md)
- [IExchangeRates](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-83.md)
- [IExchangeState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-82.md)
- [IExchanger](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-81.md)
- [IExternalTokenStakeManager](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-80.md)
- [IFeePool](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-79.md)
- [IFlexibleStorage](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-78.md)
- [IHasBalance](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-77.md)
- [IIssuer](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-76.md)
- [ILiquidations](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-75.md)
- [IPeriFinance](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-74.md)
- [IPeriFinanceBridgeToBase](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-73.md)
- [IPeriFinanceBridgeToOptimism](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-72.md)
- [IPeriFinanceState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-71.md)
- [IPynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-70.md)
- [IRewardEscrow](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-69.md)
- [IRewardEscrowV2](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-68.md)
- [IRewardsDistribution](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-67.md)
- [IShortingRewards](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-66.md)
- [IStakingRewards](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-65.md)
- [IStakingState](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-64.md)
- [IStakingStateUSDC](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-63.md)
- [ISupplySchedule](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-62.md)
- [ISystemSettings](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-61.md)
- [ISystemStatus](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-60.md)
- [ITradingRewards](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-59.md)
- [IVirtualPynth](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/interfaces/untitled-58.md)
- [SOLIDITY LIBRARIES](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/libraries.md)
- [AddressSetLib](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/libraries/addresssetlib.md)
- [Bytes32SetLib](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/libraries/bytes32setlib.md)
- [Math](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/libraries/untitled-3.md)
- [SafeDecimalMath](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/libraries/untitled-2.md)
- [SafeMath](https://peri-finance.gitbook.io/perifinance/development-resources/source-code-description/libraries/untitled-1.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://peri-finance.gitbook.io/perifinance/development-resources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
