PizzaDAO / pizza-smartcontract

Repository for Rare Pizzas smart contracts
GNU General Public License v3.0
17 stars 4 forks source link

Add function to update pizza contract address #56

Closed kPatch closed 3 years ago

kPatch commented 3 years ago

Overview

Contracts should have function to reset contract address, rather than just defining it in the constructor. This would avoid redeploying the RandomConsumer contract.

https://github.com/PizzaDAO/pizza-smartcontract/blob/83fe817da6c767d7dc92b0a21e61f1e6188d6a3e/contracts/token/RandomConsumer.sol#L25