Skip to content

Extend Addr implementation #868

Closed
Closed
@ethanfrey

Description

@ethanfrey

Using it in contracts and a few more nice to haves.
I will be extending this

  1. is_empty() helper
  2. AddrRef(&str) type that can easily be extracted from Addr (verified string reference). WIP here (https://github.com/CosmWasm/cosmwasm-plus/blob/401a2a7820486d537f0ff198439e4b1bebe6560a/packages/storage-plus/src/addr.rs#L1) but it would nice to implement Deref to easily go Addr -> AddrRef, not just AddrRef::from(&addr).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions