Garden: https://gardens-staging.1hive.org/#/xdai/garden/0x90a6a5006137177bbf020ad048bd3469f758db2a/

Fluid proposal (proxy): 0xdCCb0a65d6e5966e4951B73B82718EBD966bE4CC

Fluid proposal (implementation): 0x27D9d893F1A0aC5050249326E752C86Ae931CC8b

Conviction Voting: 0x16c87b344199c51119ec7df2364391c35895a7a4

Super FTP: 0x614C10E0d6a4435397Dd45530e9504ee9aA219c2

Version 2.0

Publish Superfluid Aragon App with wrap/unwrap functionality

<aside> 🐙 Repo: https://github.com/BlossomLabs/superfluid-aragon-app

</aside>

hardhat publish major --network frame --skip-app-build
publish     | Applying version bump major, next version: 1.0.0
publish     | Deploying new implementation or reusing last deployment if no changes.
publish     | New implementation contract address: 0xb1c83cDeCe395e1cd8883E05648F9aA1e37b9a98
publish     | Generating Aragon app artifacts
publish     | Uploading release assets to IPFS...
publish     | Release assets uploaded to IPFS: QmbVFn2c1fCyxTJ5bK8FQmKcqKPv4Upxz8AZKwkj7rzFok
publish     |
publish     |   Deploy new repo to registry open.aragonpm.eth
publish     |
publish     |   App name:          superfluid-wrap.open.aragonpm.eth
publish     |   Initial version:   1.0.0
publish     |   Manager address:   0x5CfAdf589a694723F9Ed167D647582B3Db3b33b3
publish     |   Contract address:  0xb1c83cDeCe395e1cd8883E05648F9aA1e37b9a98
publish     |   ContentURI:        QmbVFn2c1fCyxTJ5bK8FQmKcqKPv4Upxz8AZKwkj7rzFok
publish     |
publish     |   <http://localhost:5001/ipfs/QmbVFn2c1fCyxTJ5bK8FQmKcqKPv4Upxz8AZKwkj7rzFok>
publish     |
publish     |
publish     |   Tx sent
publish     |
publish     |   Tx hash:  0xae0bc159986b72fb973cf18f2b98349851314dd702de33b9cd969512e80458b7
publish     |
publish     |   <https://blockscout.com/xdai/mainnet/tx/0xae0bc159986b72fb973cf18f2b98349851314dd702de33b9cd969512e80458b7>
publish     |
publish     |
publish     |   Tx mined
publish     |
publish     |   Status:        Success
publish     |   Block number:  30758826
publish     |   Gas used:      866469
publish     |

Deploy Fluid Proposals smart contract

<aside> 🐙 Repo: https://github.com/BlossomLabs/fluid-proposals/tree/sync-supertoken

</aside>

forge script script/deploy.s.sol --rpc-url <https://gnosis.publicnode.com> --private-key $PRIVATE_KEY -vvv --ffi --broadcast
[⠢] Compiling...
[⠰] Compiling 1 files with 0.8.17
[⠔] Solc 0.8.17 finished in 1.13s
Compiler run successful!
Script ran successfully.

== Logs ==
  Existing implementation for FluidProposals not found.
  => new FluidProposals(0x27D9d893F1A0aC5050249326E752C86Ae931CC8b).

  Existing Proxy::FluidProposals not found.
  => new Proxy::FluidProposals(0xdCCb0a65d6e5966e4951B73B82718EBD966bE4CC -> 0x27D9d893F1A0aC5050249326E752C86Ae931CC8b).

  Generating storage layout mapping for FluidProposals(0x27D9d893F1A0aC5050249326E752C86Ae931CC8b).

==========================
  Registered Contracts:

  Chain id 100:

  FluidProposals=0x27D9d893F1A0aC5050249326E752C86Ae931CC8b
  FluidProposalsProxy=0xdCCb0a65d6e5966e4951B73B82718EBD966bE4CC

  Deployments saved to deployments/100/deploy-latest.json.

EIP-3855 is not supported in one or more of the RPCs used.
Unsupported Chain IDs: 100.
Contracts deployed with a Solidity version equal or higher than 0.8.20 might not work properly.
For more information, please see <https://eips.ethereum.org/EIPS/eip-3855>

## Setting up 1 EVM.

==========================

Chain 100

Estimated gas price: 3.020502546 gwei

Estimated total gas used for script: 5534129

Estimated amount required: 0.016715850734392434 ETH

==========================

###
Finding wallets for all the necessary addresses...
##
Sending transactions [0 - 1].
⠉ [00:00:00] [##########################################################################] 2/2 txes (0.0s)
Transactions saved to: /Users/gabi/code/blossom/fluid-proposals/broadcast/deploy.s.sol/100/run-latest.json

Sensitive values saved to: /Users/gabi/code/blossom/fluid-proposals/cache/deploy.s.sol/100/run-latest.json

##
Waiting for receipts.
⠙ [00:00:06] [######################################################################] 2/2 receipts (0.0s)
##### xdai
✅  [Success]Hash: 0x1ea30fe24d539c712d4727527e33f5ef48a1d4b485aea6f04199abafdbbe273a
Contract Address: 0x27D9d893F1A0aC5050249326E752C86Ae931CC8b
Block: 31068513
Paid: 0.011352192620787848 ETH (3769624 gas * 3.011492027 gwei)

##### xdai
✅  [Success]Hash: 0xa6b520a45b93ecbff3a1c088758c192aa46f59634fcde5d32c6e595df6242ff3
Contract Address: 0xdCCb0a65d6e5966e4951B73B82718EBD966bE4CC
Block: 31068513
Paid: 0.001471556544517469 ETH (488647 gas * 3.011492027 gwei)

Transactions saved to: /Users/gabi/code/blossom/fluid-proposals/broadcast/deploy.s.sol/100/run-latest.json

Sensitive values saved to: /Users/gabi/code/blossom/fluid-proposals/cache/deploy.s.sol/100/run-latest.json

==========================

ONCHAIN EXECUTION COMPLETE & SUCCESSFUL.
Total Paid: 0.012823749165305317 ETH (4258271 gas * avg 3.011492027 gwei)

Transactions saved to: /Users/gabi/code/blossom/fluid-proposals/broadcast/deploy.s.sol/100/run-latest.json

Sensitive values saved to: /Users/gabi/code/blossom/fluid-proposals/cache/deploy.s.sol/100/run-latest.json

Install app and grant permissions with evmcripr on test DAO

<aside> 🧬 Evmcrispr script: https://evmcrispr.com/#/terminal/QmfYnpzrDdMA33HCNfVcTBDUcK7p32DwGgPp5TNWfHnex9

</aside>

load aragonos as ar

set $fluidProposals "0xdCCb0a65d6e5966e4951B73B82718EBD966bE4CC"
set $host "0x2dFe937cD98Ab92e59cF3139138f18c823a4efE7"
set $cfa "0xEbdA4ceF883A7B12c4E669Ebc58927FBa8447C7D"

ar:connect 0x90a6a5006137177bbf020ad048bd3469f758db2a disputable-voting.open --context "Setup native fluid proposals" (
  install superfluid-wrap.open:new agent $host $cfa
  grant $fluidProposals superfluid-wrap.open:new MANAGE_SUPERTOKENS_ROLE disputable-voting.open
  grant superfluid-wrap.open:new agent SAFE_EXECUTE_ROLE disputable-voting.open
  grant superfluid-wrap.open:new agent TRANSFER_ROLE disputable-voting.open
  grant disputable-voting.open superfluid-wrap.open:new MANAGE_STREAMS_ROLE disputable-voting.open
  grant disputable-voting.open superfluid-wrap.open:new SET_AGENT_ROLE disputable-voting.open
)

Vote with the changes to the DAO:

https://gardens-staging.1hive.org/#/xdai/garden/0x90a6a5006137177bbf020ad048bd3469f758db2a/vote/0

Test syncSupertoken method to wrap some Super Tokens directly from the Common Pool

https://gnosisscan.io/tx/0x495c2e23a414aac12245dfc51bc4e1428d7bda92cd3e1c5dbfe83a6a0f610efa