Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Render plz
Browse files Browse the repository at this point in the history
  • Loading branch information
mhluongo committed Sep 25, 2019
1 parent 791a100 commit c065b40
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/img-src/initiate-deposit.tikz
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
\node[nested state,on chain=tbtc] (signing group request) at ($(tbtc label)-(0,2.5cm)$) {create signing group};
\node[state,on chain=depositor] (deposit send) {send deposit to signing group};
\node[state,on chain=depositor,text width=2.8cm] (deposit proof) at ($(deposit send)+(0,1cm)$) {prove deposit transaction block};
\node[state,on chain=tbtc] (assign deposit token) at ($(signing group request)-(0,2.5cm)$) {assign non-fungible deposit owner token};

\node[state,on chain=depositor] (tbtc request) at ($(deposit proof)-(0,1cm)$) {exchange the deposit owner token};
\node[state,on chain=tbtc] (tbtc minting) {mint and assign TBTC};
\node[state,on chain=tbtc] (assign deposit token) at ($(signing group request)-(0,2.5cm)$) {assign deposit owner NFT};
\node[state,on chain=depositor,text width=2.8cm] (additional deposit proof) {prove additional confirmations};
\node[state,on chain=depositor] (tbtc request) at ($(additional deposit proof)+(0,1cm)$) {exchange the deposit owner token};
\node[state,on chain=tbtc] (tbtc minting) {mint and assign TBTC};


\path [->] (deposit request) edge [out=10,in=135] (ethereum block 1)
Expand All @@ -49,7 +49,9 @@
(deposit send) edge [bend right=15] (bitcoin block 2)
(bitcoin block 2) edge [bend right=15,dashed] (deposit proof)
(deposit proof) edge [out=10,in=140] (ethereum block 3)
(additional deposit proof) edge [out=10,in=140] (ethereum block 4)
(ethereum block 3) edge [out=210,in=0,dashed] (assign deposit token)
(tbtc request) edge (ethereum block 4)
(ethereum block 4) edge [bend left=15] (tbtc minting);
(bitcoin block 3) edge [bend right=15,dashed] (additional deposit proof)
(tbtc request) edge [bend right=15] (ethereum block 5)
(ethereum block 5) edge [bend left=15, dashed] (tbtc minting);
}

0 comments on commit c065b40

Please sign in to comment.