Juice DEX mechanism
Juice DEX is a built-in decentralized peer-to-peer exchange that eliminates trust points, transaction fees, and commissions. No third party exercises custodial control and no one can escape the trust funds, appropriate them or lose them due to poor business practices.
Juice DEX is useful for exchanging digital assets like coins (FRTS, BTC, ETH) and tokens (AP, GT, BA, etc) . In addition, the FRUITS blockchain is immutable and transparent. These strengths make it a reliable transaction record.
There is 2 types of Juice DEX in FRUITS blockchain network:
Type 1: Juice DEX with FRTS and tokens (AP, GT, BA, etc) ・Case 1: Swap registrations are made in the following order: >User A registers to swap 100 FRTS for 100 AP tokens. >User B registers to swap 100 AP tokens for 100 FRTS. → Result: User A will receive 100 AP tokens and user B will receive 100 FRTS.
・Case 2: Swap registrations are made in the following order: >User A registers to swap 100 FRTS for 100 AP tokens. >User B registers to swap 50 AP tokens for 50 FRTS. → Result: User A will receive 50 AP tokens and user B will receive 50 FRTS. User A is still locked for 50 FRTS, so user A cannot use this amount to send to another account or swap for other assets.
・Case 3: Swap registrations are made in the following order: >User A registers to swap 100 FRTS for 100 AP tokens. >User B registers to swap 50 AP tokens for 50 FRTS. >User C registers to swap 70 AP tokens for 70 FRTS. → Result: User A will receive 100 AP tokens; user B will receive 50 FRTS and user C will receive 50 FRTS. User C is still locked for 20 AP tokens, so user A cannot use this amount to send to another account or swap for other assets.
Type 2: Juice DEX with FRTS - BTC and FRTS - ETH
When user A registers to swap 100 FRTS for 1 BTC (hypothetical rate), user A will transfer 100 FRTS + swap fee to the liquidity pool. System will check if there is enough 1 BTC in the pool to return it to user A. If enough, the system will pay 1 BTC to user A. If not enough, the order will be kept in the system for some days, if there is still not enough BTC in the pool, 100 FRT will be returned to user A.
Last updated