cairo icon indicating copy to clipboard operation
cairo copied to clipboard

feat: add missing implementations for Storage{Base}Address

Open enitrat opened this issue 2 years ago • 0 comments

Feature Request

Describe the Feature Request

  • Implement the Into trait to convert a Storage{Base}Address into a felt252
  • Implement the Into trait to convert a Storage{Base}Address into a u256
  • Implement PartialEq trait to allow comparison of StorageBaseAddress and StorageAddress

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)

  • [x] Yes
  • [ ] No

enitrat avatar Oct 04 '23 04:10 enitrat