Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Cross-chain Oracle L2 Governor Spoke
copy icon
UMA
• version 1.0.0
Governor
Cross-Chain
Spoke
Oracle
Audited

Cross-chain Oracle L2 Governor Spoke

Audited

Governor contract deployed on L2 that receives governance actions from Ethereum.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

UMA

Last Publish

11/5/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
processMessageFromParent() :
This function is an override of the processMessageFromParent() function in the Messenger contract. It is used to process messages sent from the parent contract. It takes in a byte array of data and decodes it into an array of calls. It then iterates through the array and executes each call, emitting an ExecutedGovernanceTransaction event for each call. (autogenerated documentation)
_executeCall(address) :
This function is a private function that is used to execute a call to a given address with a given data payload. It takes two parameters, an address to call and a bytes memory data payload. It then uses assembly code to add the data payload to the input data, and then calls the given address with the input data size and gas. It returns a boolean value indicating whether the call was successful or not. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i uma-governor-spoke
copy icon

Last Publish

11/5/2022

Version

1.0.0

Creator

UMA

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.