Pacfinance paired pooled lending with a peer-to-peer design on Blast
Last updated -
Pacfinance was a Blast lending protocol designed around shared liquidity pools and loans with individually agreed terms. Its lending core forked Aave V3, with additional contracts for yield distribution and leverage. The protocol later became deprecated, and its original application became unavailable, leaving legacy positions with separate withdrawal constraints.
Shared reserves connected suppliers and borrowers
Supplying assets meant adding liquidity to a reserve borrowers could draw from against eligible collateral. Suppliers earned lending interest, while borrowers carried an interest-bearing obligation. The shared pool connected these participants without requiring every supplier to negotiate with a particular borrower. Its rules governed access to the reserve and the collateral supporting each loan.
Lending balances tracked claims and obligations, while available underlying assets determined how much liquidity could leave. Once borrowers used part of that liquidity, total supplied assets and immediately available assets could differ. A displayed supply balance therefore did not describe an unrestricted cash balance.
The protocol represented supplied positions through aTokens, receipt tokens linked to the underlying reserve. These tokens mattered for withdrawals because redemption exchanged the supply claim for underlying assets. Borrowing created a separate debt balance, which repayment reduced; withdrawing supplied assets reduced the deposit claim and could reduce the collateral backing an outstanding loan.
An Aave V3 foundation with additional contracts
Pacfinance’s original lending core forked Aave V3. Its repository also contained PacPoolWrapper for access around the lending pool, NativeYieldDistribute for yield distribution and GasRefund for gas refunds. The wrapper exposed ETH and ERC-20 supply, borrowing, repayment and withdrawal methods, with each operation subject to its reserve’s settings and collateral requirements.
What did the peer-to-peer model change?
The peer-to-peer design allowed lenders and borrowers to set terms directly, while the pooled model used shared reserves. Both arrangements connected supplied capital with borrowing demand.
Individually agreed terms allowed a loan to fit requirements beyond the pooled model, provided both participants accepted the arrangement. The design also aimed to broaden the range of assets available for lending and collateral.
Native yield used separate distribution rounds
NativeYieldDistribute handled yield separately from ordinary pool lending balances. It tracked each holder’s scaled aToken balance and elapsed time to allocate participation across distribution rounds. This accounting connected a supplied position with its share of a funded distribution.
An owner-funded distribution closed a round and established yield per accounting point. The claim function calculated payouts from completed, unclaimed distribution rounds. It required the contract to remain unpaused.
These internal accounting points measured participation in yield rounds without representing a separate reward token.
Time passing could increase recorded participation, while a payable distribution required settlement and funding. The implementation therefore separated accruing entitlement from assets actually transferred to a wallet.
Did claiming yield repay the loan?
The NativeYieldDistribute claim function transferred yield to its caller without repaying pool debt. Self-repaying loans appeared among the protocol’s announced feature plans. A successful yield claim therefore left the loan obligation in place unless another repayment mechanism reduced it.
Leverage and lending loops extended the deposit model
Leverage used borrowed capital to increase exposure beyond the user’s own contribution. PacPoolWrapper included a leverageDeposit method with separate cash and borrow amounts. Those inputs distinguished committed capital from additional borrowing. The broader product plans also included one-click leverage trading and instant lending loops, extending the proposed uses beyond an ordinary supply position.
Resupplying borrowed capital enlarged the recorded supply and outstanding debt together, making the gross supply balance different from the user’s own contributed capital. Support for any particular leverage configuration depended on the applicable contracts, market settings and enabled components.
Borrowing limits and liquidations served different purposes
Loan-to-value limited borrowing against eligible collateral. The liquidation threshold helped determine when that collateral no longer supported existing debt under the pool’s rules. These settings addressed different questions: permission to increase borrowing and eligibility for liquidation. Liquidation could use collateral to settle debt, reducing the borrower’s remaining collateral position.
Asset prices, accrued interest and configuration changes could affect that relationship. Removing collateral could also weaken the backing for an outstanding loan. The relevant settings belonged to the particular assets and market, so a threshold from another lending deployment did not establish the same allowance here.
Gas refunds and developer prizes had different roles
Gas refunds concerned transaction spending, while developer prizes belonged to the project’s incentive plans. PacPoolWrapper exposed a dedicated gas-refund claim method alongside its lending methods. Historical lending transactions still incurred network fees. A refund entitlement and a completed refund payment represented different states, separate from the interest recorded on a supplied balance.
The project’s early incentive promise earmarked all Blast developer prizes awarded to the project for early adopters. It did not establish an interest rate on user deposits or confirm an individual reward payment.
What remains possible for legacy Pacfinance positions?
Legacy Pacfinance positions on Blast may support contract-level withdrawals when the position, reserve liquidity and selected route allow them. Existing aTokens could remain in a wallet after the original interface became unavailable.
An aToken balance represents a reserve claim, while available underlying cash sets a separate limit on immediate withdrawals.
- Match the wallet’s aTokens to the original Blast reserve.
- Check the reserve’s available underlying liquidity.
- Account for debt before removing collateral backing.
- Proceed only if a fresh simulation of the selected route’s complete exit transaction succeeds.
- Read any router service fee before authorizing token movement.
DeFiReclaim supports selected legacy Pacfinance lending positions on Blast. Its checks cover the complete router transaction; a direct withdrawal test alone does not establish support.
When liquidity cannot cover a supported full exit, the service can propose a partial withdrawal. Unused aTokens remain in the wallet, and subsequent liquidity changes can alter the executable amount.
Pacfinance FAQ
Did Pacfinance offer stable-rate borrowing in its reviewed code?
The April 1, 2024 Salus audit recorded a fix disabling new stable-debt minting in the reviewed implementation. Earlier code contained stable and variable debt modes. The correction concerned new stable borrowing in that code version, so its historical debt-mode menu did not establish continued access to stable-rate borrowing.
Why could the historical wrapper fail on a full withdrawal?
The reviewed PacPoolWrapper could receive slightly fewer aTokens than a full withdrawal requested because of rounding. The pool call then asked to redeem the larger amount. Salus marked this wrapper-accounting finding acknowledged in its April 1, 2024 audit.
Were native-yield payouts always denominated in ETH?
NativeYieldDistribute supported ETH or a configured ERC-20 payout token. A zero-address yield-token setting selected ETH; a token address selected that token. The claim amount belonged to the configured payout asset, and the function required the contract to remain unpaused.
How is DeFiReclaim’s Pacfinance service fee calculated?
DeFiReclaim’s Pacfinance router route splits the withdrawn underlying assets: 90% goes to the user’s wallet and 10% goes to the service treasury. The fee applies to the amount withdrawn through that route, including a partial exit. It is separate from network transaction fees.
Does the Salus audit show every finding as resolved?
Salus did not mark every finding resolved in its April 1, 2024 audit. The report classified some findings as resolved, the centralization issue as mitigated and other findings as acknowledged. Those classifications described different remediation outcomes for the reviewed version.