$LPY Internals
Multi-chain reserve currency
๊ธฐ์กด ์ฝ์ธ์ ๊ฒ์์ด๋ก ๋ฑ ๊ฐ์น ์ ์ง๋ฅผ ์ํด ์ ๋์ฑ์ ์ ํํ๋ ค๊ณ ํ์์ต๋๋ค. ํ์ง๋ง ๊ทธ ๋๋ถ์ Reserve Currency๋ฅผ ์งํฅํ์ง๋ง ์ฌ์ฉํ์ง ๋ชปํ๋ Reserve Currency๊ฐ ๋์ด ๋ฒ๋ ธ์ต๋๋ค. ์ฆ ์ฌ์ฉ์ ๋ชปํ๊ณ ํฌ์์๋ง ์ง์ค ๋์ด ์์์ต๋๋ค. ์ค์ง์ ์ผ๋ก ์ฌ์ฉ ํ ์ ์๋ ๊ณณ์ด ์๋ ํฌ์ ๋ชฉ์ ์ฝ์ธ์ด ๋์ด ๋ฒ๋ฆฐ ๊ฒ์ด์ฃ ์ด๋ฌํ ํ๊ณ ๋์ด LPY๋ ์ค์ ๋ก ์ฌ์ฉ ๊ฐ๋ฅํ๋๋ก ๋ง๋ค์ด์ก์ต๋๋ค. NFT๋ฅผ ์ฌ๊ณ ํ๋ ํ์, Cross Chain Swap ๋ฑ LPY๋ ๊ฐ ์ฒด์ธ ๋ณ๋ก ์กด์ฌํฉ๋๋ค.
Multi-chain asset collaterals

๊ธฐ์กด Cross Chain Swap์ ์์ ๋ค์ด ๋ฐํ ํ ์ ์๋ ํ ํฐ์ ๋๊ณ lock / mint๋ฅผ ํตํด ๋ณต์ฌ๋ณธ์ ๊ฐ ์ฒด์ธ๋ง๋ค ํผ๋จ๋ฆฌ๋ ํํ์์ต๋๋ค. ํ์ง๋ง ์ด๋ฌํ ๋ฐฉ์์ ํด๋น wrapping๋ ์ฝ์ธ์ผ๋ก ๋ฐ ๋ฟ๋ง ์๋๋ผ ๋ด๋ณด์ ๋ํ ๊ณ์์ ์ ๋ขฐ๊ฐ ํ์ ํ์ต๋๋ค. ํ์ง๋ง LPY๋ ์ฑ๊ถ ํ๋งค๋ฅผ ํตํด ๊ฐ ์ฒด์ธ์์ ์์ฒด์ ์ผ๋ก ๋ฐํ์ด ๋๋ฏ๋ก ๋ด๋ณด๋ ์ธ๋ถ ๋งค๊ฐ์ฒด ์์ด ์์ ํ ์์ฐ ์ด๋์ด ๊ฐ๋ฅ์ผ ํ์์ต๋๋ค.
Cross omni liquidity pool
1. Collaterals as swap liquidity
๊ธฐ์กด์๋ ํ ํฐ ๋ฐํ๊ณผ๋ ๋น๋กํ์ง ์๋ ๊ฐ์น ์ง์ง ๋ชจ๋ธ์ด์์ต๋๋ค. ์ฆ, ํ ํฐ์ ๋ฐํ ํ ๋ฏธ๋ ์์ต์ ์ค์ ์์๋ฃ ๋ถ๋ฐฐ ๋ฑ์ผ๋ก ๊ฐ์น ์ ์ง๋ฅผ ์ฝ์ ํ ๊ฒ ์ ๋๋ค. ํ์ง๋ง LPY๋ ์ฑ๊ถ์ ํ๋งค ํ๋ฉด์ ๋ฐํ ํ๊ธฐ์, ํ๋งค์ ๋น๋กํ ๋งํผ ์ ๋์ฑ์ด ์์ด๊ฒ ๋ฉ๋๋ค. ์ด๋ ๊ฒ ๋ ๊ฒฝ์ฐ ์ํ๊ณ๊ฐ ์ปค์ง์ ๋ฐ๋ผ ์์ฐ์ค๋ฝ๊ฒ swap pool์ด ๊ฐํ ๋๋ฉด์ LPY์ ๊ฐ์น๋ ์์ฐ์ค๋ ๊ตณ๊ฑดํด์ง๋๋ค.

2. Cross-chain liquidity bridging tool
์ด๋ ๊ฒ ์ฒด์ธ๋ง๋ค ํ์ฑ๋ pool์ ๊ฐ๊ฐ์ ์ฒด์ธ ๋ณ ๋ ๋ฆฝ๋์ด ์์ง๋ง, ๋์์ LPY๋ฅผ ํตํด ์ฐ๊ฒฐ๋์ด ์ค์ง์ ์ผ๋ก ๋ฒ ์ฒด์ธ์ ์ธ ๊ฑฐ๋ํ pool์ ํ์ฑํ๊ฒ ๋ฉ๋๋ค.

3. How do we validate Omnipool : Proof of Asset (PoA)
์ฒด์ธ์์์ ์ง์ ๊ด์ธก ๊ฐ๋ฅํ ๋ณ์๋
์ด๋ ๊ฒํ๊ธฐํฉ๋๋ค.๋ชฉํ : ์ฒด์ธ์์์ ๊ด์ธก ๊ฐ๋ฅํ raw level ๋ณ์๋ค๋ก๋ถํฐ ์ง๊ด์ ์ธ ๋ ๋ฒจ์์ ์๋ฏธ๋ฅผ ๋ด์ ์ ์๋๋ก ์ฌ๋ผ๊ฐ
Variables
ObservedSupply: Observed mint quantity of LPY ( =totalSupply() )ObservedBalance: Observed LPY balance of Omnipool ( =LPY.balanceOf(Omnipool) )BridgeSurplus : Surplus LPY of Omnipool by Brdige (
BridgeOutput-BridgeInput)BridgeDebt: Debt of Omnipool in a chain by Bridge (BridgeOutput < Input)differenceBySwap: LPY Difference of Omnipool by Swap (LPYInputBySwap - LPYOutputBySwap)
from a single point of view (of LPY)
let IdealSupply =
BondSold* 3then ObservedSupply should be equal to IdealSupply +
BridgeDebtโ ํ ํฐ์ ์ํ๋ผ์ด ์ ์ ํจ
from a local point of view (of a chain)
let IdealBalance =
BondSold+differenceBySwap, totalAllocatedLPYinPool = Sum(Allocated LPY for a pool)then IdealBalance should be equal to totalAllocatedLPYinPool โ ๊ฐ๋ณ ํ์ ๋ถ๋ฐฐ๋ LPY๊ฐ ์ ์ ํจ && ObservedBalance sholud be equal to IdealBalance + BridgeSurplus +
BridgeDebtโ ์ด๋ํ์ Balance๊ฐ ์ ์ ํจ
from a global point of view (of multiple chains)
Sum(BridgeSurplus) of all chain should be equal to 0 โ ๋ธ๋ฆฟ์ง ํต๊ณ (์ธ/์์ํ) ์ ์ ํจ && Sum(
BridgeDebt) of all chain should be equal to Sum(ObservedBalance- IdealBalance) โ ๋ธ๋ฆฟ์ง๋ก ์ธํ ๋ถ์ฑ๊ฐ ์ ์ ํจ
์๊ธฐ ๋ด์ฉ ๋ฐ ์ํ๋ค์ ์ธ์ ๋ ์ง poaํ์ด์ง์์ ์์ฝ๊ฒ ํ์ธ์ด ๊ฐ๋ฅ
poa ํ์ด์ง http://poc-front.loopyfold.net/index.html
poc ํ์ด์ง http://poc-front.loopyfold.net/views/poc.html

Protocol owned DEX (LoopySwap)
๊ธฐ์กด swap์ ์ ๋์ฑ์ ์ธ๋ถ LP์ ์์กด ํด์ผ ํ์ต๋๋ค. ๊ทธ๋ ๊ธฐ ๋๋ฌธ์ LP๋ฅผ ๋ง์กฑ ์ํค์ง ๋ชปํ๋ค๋ฉด ์๋น์ค๊ฐ ๋ถ์์ ํด ์ ธ๋ฒ๋ฆฌ๋ risk๊ฐ ์กด์ฌ ํ์์ต๋๋ค. ๊ทธ๋์ ๊ฑฐ๋์๋ค์ LP์ swap user ์์ธก ๋ชจ๋์ Needs๋ฅผ ์ถฉ์กฑ ์ํค๊ธฐ ์ํด ์์ฒด ๋ฐํ ํ ํฐ์ ๋๋ ์ฃผ๋ ๊ฒ์ผ๋ก ๋์ฒด ํ์์ต๋๋ค. ํ์ง๋ง LoopySwap์ ์์ฒด์ ์ธ ์ ๋์ฑ์ ์์ ํจ์ผ๋ก์จ ํญ์ ์์ ์ ์ธ ์ ๋์ฑ ์ ๊ณต์ด ๊ฐ๋ฅํ๋ฉฐ, ๋ชจ๋ ์์ต์ ํ๋กํ ์ฝ ์ ์ง๋ฅผ ์ํด ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค. ์๋น์ค ํ์ฑํ๋ฅผ ์ํด ์์ต์ ๋ฎ์ถ๊ณ ์ฌ์ฉ์์ ์ด์ต์ ์ถ๊ตฌํ๋ ๊ฒ๋ ๊ฐ๋ฅํฉ๋๋ค.
Protocol owned LPY liquidity
LPY์ ์ ๋์ฑ์ ํ๋กํ ์ฝ์ด ์์ ํ์ฌ ์ต์ํ์ ๊ฐ์น๊ฐ ์ง์ง ๋ฉ๋๋ค. ์ด๋ ์ธ๋ถ ์์ฅ ๋ ผ๋ฆฌ์ ๋ชจ๋ ๊ฒ์ ๋งก๊ฒจ ๊ธ๊ฒฉํ ์์ธ ๋ณ๋์ ๊ฒช์ง ์๊ฒ ํ๋ ๊ฒ์ ๋๋ค. ๋, ์ผ๋ถ ์์ฐ์ ๋ฌธ์ ๊ฐ ์๊ฒผ์ ๋ ์ํฅ์ ์ต์ํ ํ ์ ์๋๋ก ์ค๊ณ ๋์ด ๋์ฒ๊ฐ ๊ฐ๋ฅํฉ๋๋ค. ์์ปจ๋ ์ํท ๋ธ๋ ์ดํฌ ๋ฑ, ํจ๋ ์ ๋ฐฉ์ด๋ฅผ ์๋ก ๋ค ์ ์์ต๋๋ค.
Last updated