Skip to content

Bridge Operation

The following two schematics demonstrate both the flows of bridge operation. For transactions originating in the Ethereum end, like staking operation, the Middle Layer Logic (MLL) will read the smart contract transaction and programmatically create a DELEGATE transaction at the cosmos end. This transaction is collectively signed by the pBridge validators. Satisfying threshold number of approvals leads to successfully signing and dispatching of the cosmos transaction, which performs staking at the protocol level. All this happens automatedly, in the background.

Wrapping

Home Page

Figure 1: Wrapping Operation

For transactions originating in the Cosmos end, like wrapping operation, the MLL will parse the ATOM deposit operation in the pSTAKE MPC account, and programmatically create a transaction which calls the deposit function of smart contract at the Ethereum end. This transaction is collectively signed by the pBridge validators. Satisfying threshold number of approvals leads to successfully signing and dispatching of the Ethereum transaction, which issues pTOKENS to the Ethereum address of the user. All this happens automatedly, in the background.

Staking

Home Page

Figure 2: Staking Operation