use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
62 stars 47 forks source link

refactoring: contract page #408

Closed statictype closed 1 year ago

statictype commented 1 year ago

IndexedDb can't store the ContractPromise so it needs to be created after retrieving the contract from storage. Refactored the code so that a single interface is used in the UI. Improved readability by extracting some code and removing unnecessary db calls. More information is now un-hidden from the user when the contract isn't on-chain anymore.

netlify[bot] commented 1 year ago

Deploy Preview for contracts-ui ready!

Name Link
Latest commit 3834f52746e34824bc7e258c801c5e899be05f05
Latest deploy log https://app.netlify.com/sites/contracts-ui/deploys/63da8b45f8d26d0008ff3b31
Deploy Preview https://deploy-preview-408--contracts-ui.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.