Operations performed by owners of the MultiSig wallet
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:
the ETH Mainnet: 0xff1a8EDA5eAcdB6aAf729905492bdc6376DBe2dd, ABI, Etherscan
the xDai chain: 0x0d3726e5a9f37234d6b55216fc971d30f150a60f, ABI, Blockscout
Example action flow:
One of the multisig wallet owner encodes the method call 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 executeTransaction.
The particular action flow will vary for different management operations.