---
# System prepended metadata

title: Untitled

---

DAOMoon script
##############
START Meta: 
##############

Hi, I am Metaverda from MetaGame, 1Hive Tec and more welcome to DaoMoon,

The DAOMoon team is active in the DAO space. We all face a common problem.
########
STOP
########
(fade of a few dao logos we participate in transition into the screen) 

Liquidity and funding for common goods is a struggle all the time.

########
STOP
########

(1hive, We need liquidity)
(Metagame we need patrons)
(Raidguild public funding is hard to come by)
(Common goods need money)

We have a unique liquidity solution we call DAOMoon to help organizations that need it the most.


We built a DeFi strategy for the hackathon that leverages the power of Badger to build constant buy pressure 
and long term locking to ensure number go up.

##############################
END
############################
Start Lux:
#########################

Hi, I'm luxumbra, the front-end dev on DAOMoon.

The DAOMoon dApp has been bootstrapped with Scaffold-Eth, uses a little of the Uniswap SDK, Hardhat and the Alchemy API to run a local fork of The Ethereum mainnet. 

We will be hosting the app with Fleek and leveraging IPFS as an unstoppable domain. 

Scaffold ETH was a pleasure to use, and has amazing documentation which is invaluable for hackathon style building!

-----------

On the landing page we have A Staking UI which will enable users to deposit wBTC into the dMOON vaults to start eaening yield. 

We display DAO participate assets and positions a user has in their wallet in our token set. 

-----------

The set will be displayed in the account details drawer, accessible from the wallet icon in the header.

We have also included a burner wallet so the user is able to send and receive funds right from within the DAOMoon dApp.

To further take the project beyond hackathon level we will be running usability testing to gather feedback on the user experience. UX and alignment from the communities we work within, is a vital part of the DAOMoon strategy.

################
End Lux
################



###############
Start Kyle:
###############

Hey guys - I am Kyle and have been building our smart contracts over here at the DAOMoon team.

I am going to walk you through our code for our strategy using Badger Sett vaults.

Our depoy script has set up by approving the assets, depositing to our vault and supplying our deposit as collateral for wBtc. We can see our Aave account data when we call the getAccoutData()

This shows out collateral, our debt, and our total availabe borrow.  It also displays our liquidation threshold, ltv and health factor for our loan. 

Our function maxBorrow() runs some calculations on our health factor and borrows USDC within our safety confines.  Then the leverage() function sells all of our USDC for wBTC and a final call to the tend() function redeposits all of our wBTC back into Aave.  Now we can just repeat this process to leverage wBTC strategy up to about 2.5% APY.

We used brownie to compile, deploy and do a lot of local testing.
...

#############
END Kyle
#############
START penguin
#############

Hi I', penguin and just to recap we used Badgers Strategy Template 

We used Aave to barrow and generate APY with wBTC.

We used a live price orcale with ChainLink.

We developed a leveraged position that increased our yield

And we sent our funds to a Gnosis MultiSig

We repay our loan with an Aave flashloan to unwwind our position.

We used scaffold-eth and instadaap for frontend development

And built and compiled with hardhat and brownie.

The Team at DAOMoon are builting to support Long term liquidity for the DAOs that need it most.

Help us send DAOs to D-Moon