- This repository save a example of a implementation of a Unstructured Storage
- Load the smart-contracts into the Remix IDE
- Deploy OwnedUpgradeabilityProxy.sol
- Deploy the BasicToken.sol
- BasicToken.sol call the mint function and give the amount that you want to mint in the contract
- Call the OwnedUpgradeabilityProxy.sol upgradeTo function sending the BasicToken.sol deployed address
- Load a new BasicToken.sol contract giving the address of the OwnedUpgradeabilityProxy.sol
- Deploy a new the StandardToken.sol
- Send the address of the StandardToken.sol deployed contract to OwnedUpgradeabilityProxy.sol upgradeTo function
- Load a new StandardToken.sol contract giving the address of the OwnedUpgradeabilityProxy.sol
- Now call the totalSupply function and check if the value is the same that you send in the step 4 and the StandardToken.sol new functions works fine with the common storage that share the contracts