usecannon / cannon

Manage EVM protocol deployments. Inspired by Docker, Terraform, and npm.
https://usecannon.com
GNU General Public License v3.0
103 stars 20 forks source link

feat(website): add safe transaction status hook #1371

Closed saeta-eth closed 2 weeks ago

saeta-eth commented 2 weeks ago

This PR introduces new functionality and improvements to the Safe-related hooks and utilities:

  1. Added useSafeTransactionStatus hook to fetch and determine the status of a Safe transaction.
  2. Added SafeTransactionStatus enum to represent transaction execution outcomes.

Closes https://linear.app/usecannon/issue/CAN-484/on-cannon-safe-ui-understand-the-difference-between-success-and

Before:

Screenshot 2024-09-11 at 5 47 31 PM

After:

Screenshot 2024-09-11 at 5 47 49 PM
changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: 4195b2d601bf3c043185d66e326fe1f85ebaaeb6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR