/unioption-contracts

Options exchange contracts

Primary LanguageSolidityOtherNOASSERTION

UniOption exchange contracts

built with truffle, oz

consists of NFT, Chef and adapter contracts

install deps && compile

npm i && truffle compile

spin up localchain

truffle develop

deploy contracts

after installing deps, compiling and launching localchain (as a parallel process):

truffle migrate --reset

proposed migratable chain of trust:

deployer (multisig/dao/trusted address) -> Chef -> NFT

TODO

  • verify transferOwnership chain
  • decouple chef and owner, add ability to migrate metadata baseUrl
  • split Chef into adapters
  • ...

NB - security guarantees

  • no double-minting
  • beforeTokenTransfer hook locks NFT unless it's owned by Chef

NB - current testnet deployments

NB - current mainnet deployments