From f273871713ce506de7db96c8230f4cdd349b02e3 Mon Sep 17 00:00:00 2001 From: Keyne Date: Mon, 6 Nov 2023 14:23:33 +0000 Subject: [PATCH] Add Optional Recipient for minting and SetFrozen message for AssetFT (#10) Add Optional Recipient for minting and SetFrozen message for AssetFT --- Cargo.toml | 2 +- src/assetft.rs | 6 +++++- src/assetnft.rs | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a8c85bd..8daf8a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "coreum-wasm-sdk" -version = "0.2.2" +version = "0.2.3" edition = "2021" description = "SDK for WASM coreum messages and queries." homepage = "https://coreum.com/" diff --git a/src/assetft.rs b/src/assetft.rs index 3eded23..4c037c6 100644 --- a/src/assetft.rs +++ b/src/assetft.rs @@ -103,7 +103,7 @@ pub enum Msg { }, Mint { coin: Coin, - recipient: String, + recipient: Option, }, Burn { coin: Coin, @@ -116,6 +116,10 @@ pub enum Msg { account: String, coin: Coin, }, + SetFrozen { + account: String, + coin: Coin, + }, GloballyFreeze { denom: String, }, diff --git a/src/assetnft.rs b/src/assetnft.rs index 7527263..27df571 100644 --- a/src/assetnft.rs +++ b/src/assetnft.rs @@ -121,7 +121,7 @@ pub enum Msg { uri: Option, uri_hash: Option, data: Option, - recipient: String, + recipient: Option, }, Burn { class_id: String,