Buy an Alien CryptoPunk using stETH
Summary
Since most of the treasury has been converted to stETH, the previews proposal to acquire an Alien punk had to be cancelled. Here I, tycoon.eth, prepared a smart contract that will help the Nouns DAO to acquire an Alien punk token using stETH.
Methodology
The contract has been deployed to 0x0260Ba2dAe8b85b5A1Bd492829738BDCC7956F35
The contract would receive stETH from the treasury and hold it for up to 69 days. In the meantime, any Alien CryptoPunk owner could sell their punk to the contract, in exchange for the balance of the contract’s stETH. The Alien owner would need to use the “Offer to Address” feature for selling the punk to the contract. After settlement, the punk token will be sent to the Nouns DAO treasury address. If the deal is not closed within 69 days, the entire stETH balance will be sent back to the Nouns DAO treasury.
A walkthrough of the code has been posted here https://0xtycoon.medium.com/nounsalien-solidity-contract-walkthrough-9233a4b9ee4e
The contract has been simulated on block 17781581 using this simulation test posted to Github https://github.com/0xTycoon/alien-flip/blob/master/test/simulate.js
Buy an Alien CryptoPunk using stETH
Summary
Since most of the treasury has been converted to stETH, the previews proposal to acquire an Alien punk had to be cancelled. Here I, tycoon.eth, prepared a smart contract that will help the Nouns DAO to acquire an Alien punk token using stETH.
Methodology
The contract has been deployed to 0x0260Ba2dAe8b85b5A1Bd492829738BDCC7956F35
The contract would receive stETH from the treasury and hold it for up to 69 days. In the meantime, any Alien CryptoPunk owner could sell their punk to the contract, in exchange for the balance of the contract’s stETH. The Alien owner would need to use the “Offer to Address” feature for selling the punk to the contract. After settlement, the punk token will be sent to the Nouns DAO treasury address. If the deal is not closed within 69 days, the entire stETH balance will be sent back to the Nouns DAO treasury.
A walkthrough of the code has been posted here https://0xtycoon.medium.com/nounsalien-solidity-contract-walkthrough-9233a4b9ee4e
The contract has been simulated on block 17781581 using this simulation test posted to Github https://github.com/0xTycoon/alien-flip/blob/master/test/simulate.js