Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cw721-base minter updatable via two-step ownership transfer. #109

Merged
merged 12 commits into from
Feb 11, 2023

Commits on Feb 4, 2023

  1. Make cw721-base minter updatable via three-step ownership transfer.

    This makes a breaking change to cw721-base in that it makes the
    `minter` field on `cw721_base::MinterResponse` optional.
    
    Before:
    
    ```rust
    pub struct MinterResponse {
        pub minter: String,
    }
    ```
    
    After:
    
    ```rust
    pub struct MinterResponse {
        pub minter: Option<String>,
    }
    ```
    
    It also makes a breaking change to the `ContractError` enum in that it
    removes the `Unauthorized` variant in favor of cw-ownable's more
    descriptive `OwnershipError`.
    
    It then extends the `cw721_base`, but not the `cw721` standard's,
    `ExecuteMsg` with
    [`cw-ownable`](https://crates.io/crates/cw-ownable)'s
    `UpdateOwnership` enum variant, and extends the `QueryMsg` with
    `cw-ownable`'s `Ownership {}` query. Using these messages, the current
    minter on the contract may nominate a new minter, who may accept or
    reject this nomination.
    0xekez committed Feb 4, 2023
    Configuration menu
    Copy the full SHA
    3a5f6f8 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. Configuration menu
    Copy the full SHA
    7a0c0c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bf7418 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29ec052 View commit details
    Browse the repository at this point in the history
  4. Update schemas.

    0xekez committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    6857d8b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    21e0c3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    153fe5c View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    ec5e60b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87e7d89 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Configuration menu
    Copy the full SHA
    6b934b6 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Update contracts/cw721-base/src/upgrades/v0_16.rs

    Co-authored-by: Larry Engineer <26318510+larry0x@users.noreply.github.com>
    JakeHartnell and larry0x committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    a4558d8 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2023

  1. Update to cw_ownable 0.5.0.

    0xekez committed Feb 11, 2023
    Configuration menu
    Copy the full SHA
    a7e4210 View commit details
    Browse the repository at this point in the history