Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions contracts/cw20_reflection_token/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,27 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"transfer_admin"
],
"properties": {
"transfer_admin": {
"type": "object",
"required": [
"new_admin"
],
"properties": {
"new_admin": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
],
"definitions": {
Expand Down
4 changes: 1 addition & 3 deletions contracts/cw20_reflection_token/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ pub fn execute(
remove_transfer_from_recipient(deps, info, address)
}

ExecuteMsg::TransferAdmin { new_admin } => {
transfer_admin(deps, info, new_admin)
}
ExecuteMsg::TransferAdmin { new_admin } => transfer_admin(deps, info, new_admin),
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use cw20::{
AllAccountsResponse, AllAllowancesResponse, AllowanceResponse, BalanceResponse,
TokenInfoResponse,
};
use cw20_base::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};
use cw20_reflection_treasury::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};

fn main() {
let mut out_dir = current_dir().unwrap();
Expand Down
Loading
Loading