From cacc0374524f4ffffe1ec4eaae8bd560df1a9712 Mon Sep 17 00:00:00 2001 From: codehans <94654388+codehans@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:55:48 +0000 Subject: [PATCH] target_address --- src/contract.rs | 17 +++++++++++------ src/msg.rs | 6 ++++-- src/state.rs | 11 ++++++++--- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/src/contract.rs b/src/contract.rs index f4b2d1f..afda6d0 100644 --- a/src/contract.rs +++ b/src/contract.rs @@ -93,8 +93,10 @@ pub fn reply(deps: DepsMut, env: Env, _msg: Reply) -> Result for Config { fn from(value: InstantiateMsg) -> Self { Self { owner: value.owner, - revenue_denom: value.revenue_denom, + target_denom: value.target_denom, + target_address: value.target_address, } } } @@ -43,7 +47,8 @@ impl From for ConfigResponse { fn from(value: Config) -> Self { Self { owner: value.owner, - revenue_denom: value.revenue_denom, + target_denom: value.target_denom, + target_address: value.target_address, } } }