Configuring oSnap with Snapshot
If you do not have a Snapshot space created, follow these instructions to get started. Otherwise, click the 'Settings' option on the sidebar for the Snapshot space you want to add your oSnap module to.
Click 'Advanced' on the sidebar. Then in the Plugins container, click 'Add plugin'. In the modal that opens, click the 'Gnosis SafeSnap' option.
Another modal will open that is used to configure the SafeSnap plugin that matches the below:
To configure an oSnap module, you need to update the
umaAddress, input your oSnap module contract address as
networkparameter is the chain ID that your Safe and oSnap module contract are deployed on. You can use the table below to find the chain ID or use https://chainlist.org/.
This configuration uses the oSnap module contract
After clicking the 'Add' button, your changes will not be made until you click 'Save' and sign the transaction.
Adding Transaction Data to Proposal
Now that the oSnap module has been configured with Snapshot, you can use the transaction builder when creating a Snapshot proposal. The example proposal below includes an ETH transfer of 0.000005.
After the voting period has ended, if the proposal passes and meets the criteria set in the rules of the oSnap module, the 0.000005 ETH transfer can be proposed. Anyone can propose the transactions by clicking the 'Request execution' button.
After transactions have been proposed, a bond is taken from the Proposer and a challenge period starts where anyone can dispute a proposal. The Snapshot proposal will alert the users when the liveness period is complete which is when the transaction can be executed and the bond will be returned to the Proposer.
After the challenge period has been completed, the Snapshot proposal gives the user the option to 'Execute transaction batch'. Signing this transaction will execute the proposal and return the bond to the proposer.
After executing our example proposal, the below shows the 0.000005 ETH transfer being executed.