Skip to content

Commit

Permalink
Doc-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mertwole committed Oct 29, 2024
1 parent 0143c05 commit 2d746ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ethereum/src/ProxyUpdater.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ contract ProxyUpdater is IMessageQueueReceiver {
MESSAGE_QUEUE_ADDRESS = message_queue;
}

/** @dev Accept request from MessageQueue. Based on the first byte of the payload
* make the decision what to do.
*
* If first byte = `0x00` then update implementation of underlying proxy.
* If first byte = `0x01` then change admin of the underlying proxy.
* If first byte = `0x02` then change governance.
*
* @param sender sender of message on the gear side.
* @param payload payload of the message.
*/
function processVaraMessage(
bytes32 sender,
bytes calldata payload
Expand Down

0 comments on commit 2d746ed

Please sign in to comment.