Gnosis Bridge: How Do Ethereum and Gnosis Transfers Settle?

Gnosis Bridge: How Do Ethereum and Gnosis Transfers Settle?


A two-way settlement check starts with this split: Gnosis Bridge executes Ethereum-origin transfers on Gnosis Chain through validator affirmation, while Gnosis-origin withdrawals require collected signatures and execution on Ethereum. For moving tokens or contract messages between the chains, Gnosis Bridge provides the cross-chain transfer. The relay path changes the evidence: a source receipt shows initiation, while destination execution and the resulting asset balance establish completion.

How Does an Ethereum Deposit Settle?

An Ethereum-origin ERC-20 transfer settles on Gnosis Chain when the destination Omnibridge mediator mints its representation after the Arbitrary Message Bridge (AMB) executes validator affirmation. Say you deposit an ERC-20 token: after any needed approval, relayTokens locks the token on Ethereum and asks the AMB to pass a message. The Ethereum transaction emits UserRequestForAffirmation and TokensBridgingInitiated, linking the deposit to a message ID.

Bridge validators observe the request after the required source confirmations and relay it through executeAffirmation on Gnosis Chain. The AMB calls the Gnosis mediator, which mints the bridged token to the recipient. Match the message ID and amount across receipts, then verify the mint and recipient balance. An Ethereum lock establishes the source leg; spending the representation depends on destination execution.

How Does a Gnosis Withdrawal Settle?

A Gnosis-origin withdrawal settles on Ethereum when executeSignatures accepts the validator proof and the Ethereum mediator releases the backing ERC-20 tokens. For the return, the holder sends the bridged ERC-677 token to Omnibridge using transferAndCall. The Gnosis mediator burns the representation and requests an AMB message, producing UserRequestForSignature.

Bridge validators submit signatures on Gnosis Chain; CollectedSignatures marks the proof ready for Ethereum execution. Anyone can submit the message and signatures to executeSignatures on Ethereum. A successful call invokes handleBridgedTokens and releases the locked token. Treating the burn or CollectedSignatures as final settlement risks using an Ethereum balance that has yet to arrive. The Ethereum execution receipt and recipient token balance settle that question.

What Proves Completion, Time and Cost?

Gnosis token bridge settlement is proved by destination execution and the resulting balance; source confirmation policy, relay progress and destination block inclusion determine the wait. For each transaction, calculate gas cost as gas used multiplied by effective gas price. An Ethereum approval, when needed, and deposit cost ETH; the Gnosis burn costs xDai; submitting executeSignatures costs ETH to its caller. Count transactions the user submits for their wallet cost, and relay receipts separately for total execution cost.

  • ERC-20 deposit: Pair Ethereum initiation with Gnosis executeAffirmation, the bridged token mint log and the recipient’s token balance.
  • ERC-20 return: Pair the Gnosis burn and CollectedSignatures with Ethereum executeSignatures, the release transfer log and the recipient’s balance.
  • Native xDai: An Ethereum-side deposit through the xDai Bridge leads to minting through Gnosis Chain’s block reward contract. Its AddedReceiver event identifies the receiver, amount and bridge. Match those fields to the deposit, then compare eth_getBalance at the event block with the preceding block, accounting for other balance activity. Native xDai arrives through block reward accounting, so looking only for an ERC-20 Transfer log misses the receipt.

Report Page