Examples

Play around with some examples.

The Odd Contract

This example contract changes the underlying composition of the dETF based on if the current block is odd or even. As you can see within the contract, all you have to do is run one message, MsgEditFund, in order to control your dETF. Defund handles the rest for you.

https://github.com/defund-labs/defund-cosmwasm/tree/master/examples/odd-number

Last updated