Bridge administrators can perform 4 groups of operations with the xDai bridge. All operations are performed by owners of the Multisignature Wallet which requires several accounts to confirm the operation transaction.
Multisignature Wallet Addresses:
Example action flow:
One of the multisig wallet owner encodes the call of a method with a set of parameters (if any). For example, this can be done with the ABI Encoding Service.
The encoded sequence of bytes is used to create a transaction for the multisig wallet contract. This is done with the
submitTransaction method of the multisig wallet contract. The method raises the event
Submission containing the index of the registered transaction. The index is shared with the other owners of the wallet.
The rest of the owners confirm the transaction by invoking
confirmTransaction from the multisig wallet contract. As soon as enough confirmations are received, the method encoded in step 1 is invoked automatically. This is important because adequate gas limits must be set for that transaction and set of confirmations sent by the wallet owner finalizing the operation.
If the method is not invoked because the gas limit is exceeded, the owners can execute the confirmed transaction manually by sending
The particular action flow will vary for different management operations.