LEVERJ
GLUON PLASMA
BHARATH RAO
PLASMA
PLASMA VARIANT: PLASMA MVP
PLASMA VARIANT: PLASMA MVP
1 Frequent/Large traders are likely to have millions of tiny UTXOs
2 Need to regularly check if chain is still OK
PLASMA VARIANT: PLASMA CASH
Not suitable for order book/price time priority trading.
PLASMA VARIANT: PLASMA CASH
Not suitable for order book/price time priority trading.
1 Frequent UTXO transfers could result in proofs that exceed gas limit
2 Need to regularly check if your coins are hijacked by operator
Incentive imbalanced
Any actor who has incentive to be safe has to bear the burden of watching chain
Only victim/counterparty can prove fraud
PLASMA VARIANT: GLUON PLASMA
Suitable for Low-Latency Trading
Gluon Plasma: Highly usable
Incentive Balanced
Any actor who has incentive to cheat has to post a bond
Any one (not necessarily operator/counterparty) can prove fraud and claim bounty
Every griefing attack has a mitigating exit
Incentive Balanced
Deposit: | Actor | Operator | Challenger |
Account A sends P amount of asset Q to Plasma contract C | | | |
C creates a hash H of the deposit transaction and stores it | | | |
Exchange X broadcasts a Deposit ledger entry L_D crediting P amount of Q to A | | | |
A can trade once L_D is in a confirmed block | | | |
If L_D is not committed in K blocks | | | |
A requests deposit reversal request DRR to C with H and bond | | | |
If H.block is older than K blocks, its rejected by C | | | |
Within T blocks challengers can submit proof-of-existence | | | |
L_D, Merkle proof of L_D | | | |
If challenge is sustained, then the bond is slashed and awarded to challenger | | | |
Else After T blocks A can withdraw deposited amount + bond | | | |
Provably secure*
FOUR CONSTRAINTS KEEP GLUON PLASMA SECURE
*Mathematical Proof pending
Plasma MVP UTXO Model
U1 ETH UTXO: 3
U1 ETH UTXO: 4
U2 LEV UTXO: 3000
U1 ETH UTXO: 2
U1 LEV UTXO: 2000
U2 ETH UTXO: 5
U2 LEV UTXO: 1000
BUY 2000 LEV
FOR 5 ETH
SELL 2000 LEV
FOR 5 ETH
U2 LEV UTXO: 0
SHREDDING: Small QTY in orders results in huge number of tiny UTXOs
Plasma Order matching: Knapsack problem
U1 ETH UTXO: eth1
U1 ETH UTXO: eth2
U2 LEV UTXO: lev2
U1 ETH UTXO:
U1 LEV UTXO:
U2 ETH UTXO: ?
U2 LEV UTXO: ?
2000 ETH UTXO TO BUY LEV
FOR TOTAL 5 ETH
50000 LEV UTXO TO SELL 2000 LEV
U2 LEV UTXO: lev1
Find best fit of millions of source UTXOs to match the best fit of thousands of orders to give the best fit of resulting UTXOs: np-complete
Gluon Accounts: From UTXO to Account
U1 ETH UTXO: 7
U1 LEV UTXO: 0
U2 ETH UTXO: 0
U2 LEV UTXO: 3000
U1 ETH UTXO: 2
U1 LEV UTXO: 2000
U2 ETH UTXO: 5
U2 LEV UTXO: 1000
BUY 2000 LEV
FOR 5 ETH
SELL 2000 LEV
FOR 5 ETH
Gluon Accounts: One balance per asset type
U1 ETH UTXO: 7
U1 LEV UTXO: 0
U2 ETH UTXO: 0
U2 LEV UTXO: 3000
U1 ETH UTXO: 2
U1 LEV UTXO: 2000
U2 ETH UTXO: 5
U2 LEV UTXO: 1000
BUY 2000 LEV
FOR 5 ETH
SELL 2000 LEV
FOR 5 ETH
0xU1#ETH
0xU1#LEV
0xU2#ETH
0xU2#LEV
Gluon Ledger
U1 ETH UTXO: 7
U1 LEV UTXO: 0
U2 ETH UTXO: 0
U2 LEV UTXO: 3000
U1 ETH UTXO: 2
U1 LEV UTXO: 2000
U2 ETH UTXO: 5
U2 LEV UTXO: 1000
BUY 2000 LEV
FOR 5 ETH
SELL 2000 LEV
FOR 5 ETH
0xU1#ETH
0xU1#LEV
0xU2#ETH
0xU2#LEV
LEDGER ENTRIES
Gluon Fraud Proofs
U1 ETH UTXO: 7
U1 LEV UTXO: 0
U2 ETH UTXO: 0
U2 LEV UTXO: 3000
U1 ETH UTXO: 2
U1 LEV UTXO: 2000
U2 ETH UTXO: 5
U2 LEV UTXO: 1000
BUY 2000 LEV
FOR 5 ETH
SELL 2000 LEV
FOR 5 ETH
U2 SIGNED ORDER
U1 SIGNED ORDER
7 - 5 = 2
0 + 2000 = 2000
2000 fill <= 2000 qty
buy.sign(U1) = T
sell.sign(U2) = T
Halting the Gluon Plasma Chain
Contact