Content
@
0 reply
0 recast
0 reaction
Michael Gingras (lilfrog)
@frog
https://github.com/mcgingras/noun-swapper/blob/main/src/NounSwapper.sol Minimal POC for a contract that would custody all of the t-nouns and let anyone swap for a fee without having to create a proposal. Looking for feedback on contract and also if this is something worth seriously pursuing.
3 replies
0 recast
5 reactions
Michael Gingras (lilfrog)
@frog
steps 1. nouns treasury is owner of the contract 2. nouns sends as many / all of the t-nouns as they'd like to this contract 3. anyone can swap with `swapNoun` 4. via proposal, treasury (owner) can revoke nouns either to some address (if someone creates a prop and wants a noun) or back to treasury 5. anyone can call `cashout` which sends fees back to treasury
2 replies
0 recast
0 reaction
Michael Gingras (lilfrog)
@frog
Since we don't really seem to be doing anything with t-nouns nowadays anyways I've kept the contract intentionally minimal. The only thing the contract can do with the t-nouns is let someone swap, or let the treasury claim the nouns back. no voting through the contract, no delegating, very minimal
1 reply
0 recast
1 reaction
david
@davidbr
Feedback on contract: moving treasury nouns will increase adjustedTotalSupply, which is wrong. Another way to implement this is to keep the nouns in the treasury and give the side contract approval to transfer nouns from the treasury.
1 reply
0 recast
2 reactions