Content pfp
Content
@
0 reply
0 recast
0 reaction

Michael Gingras (lilfrog) pfp
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) pfp
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) pfp
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

Michael Gingras (lilfrog) pfp
Michael Gingras (lilfrog)
@frog
Questions: How should we price the swap? I have it set to an arbitrarily high 1 ETH. Should this be constant? Should it be some function of tokenId? Trait rarity? I like some fixed constant because it keeps this contract simple and I like simple for something that is custodying 100s of nouns.
0 reply
0 recast
0 reaction