Wepiggy
UpdatedWePiggy is an open-source, non-custodial crypto lending protocol. Its markets let users deposit assets to earn interest or borrow assets against collateral and pay interest. Deployments across multiple blockchains give the protocol a multichain footprint, with lending conditions and liquidity tied to individual markets.
Deposits, pTokens and interest
The published WePiggy contract code uses pTokens to record a depositor's claim on a market's underlying asset. Supplying assets mints pTokens, and an exchange rate converts the pToken balance into underlying units. Interest accrual feeds into this accounting.
In the published jump-rate model, borrowing rates depend on market utilization, with a different rate slope above a configured threshold called the kink. The supply rate also depends on utilization and the reserve factor, which determines the share of borrowing interest added to reserves. Numerical settings belong to the market configuration.
How much underlying asset do pTokens represent?
A hypothetical position has 173 pTokens and a hypothetical exchange rate of 0.024 underlying units per pToken, with token decimals already accounted for. The conversion is
173 * 0.024 = 4.152
, so the position represents 4.152 underlying units at that rate.
Changing either input changes the represented amount. Redemption also depends on the underlying assets available in that market and the applicable collateral checks.
Collateral and available borrowing
In the published Comptroller implementation, the markets that an account has entered determine which balances are included in its collateral calculation. Oracle prices value the assets, and each market's collateral factor determines its contribution to borrowing capacity.
A proposed borrow must leave the account without a collateral shortfall. Market listing, pause rules and any configured borrow cap also apply, and the market needs enough of the requested asset to fund the loan. Redeeming assets from an entered market is blocked if that redemption would leave the account with a shortfall. An existing shortfall can make a position subject to liquidation, where debt is repaid and collateral is seized under the contract's limits.
Networks and protocol-wide metrics
DefiLlama's 2 November 2026 snapshot records nonzero WePiggy TVL on Ethereum, Arbitrum, OP Mainnet, BSC, Polygon, Aurora and Oasis Emerald. It also includes Heco, Moonriver, Harmony, Moonbeam and OKTChain with zero reported TVL. These are dated balance observations; a zero value alone does not establish that a market has closed.
- Total value locked (TVL)
- The WePiggy TVL methodology used by DefiLlama excludes borrowed tokens.
- Active loans
- The value of outstanding borrowing, reported separately from default TVL.
- Treasury
- The value of tokens owned by the protocol.
Protocol-wide totals combine activity across markets. The underlying assets available in the relevant market determine whether it has enough liquidity for a particular loan or redemption.
Price feeds and application access
The Chainlink community's weekly roundup published on 7 February 2021 reported that WePiggy had integrated the YFII/ETH Price Feed on Ethereum mainnet for loan pricing and liquidation.
In its 31 December 2021 partnership announcement , 4EVERLAND described a Lite version of WePiggy and IPFS-based frontend hosting intended to maintain application access. That arrangement concerned the interface through which users reach the lending markets, while the contracts enforce the lending rules.