andromedaprotocol/andromeda-core

[1.0.rc-1] Make SendFrom CW2O execute use AndrAddr for Contract field similar to Send

Closed this issue · 1 comments

Description

We recently changed the SendNft in CW721 and Send in CW20 to use AndrAddr for the receiving contract instead of a String. The CW20 has a SendFrom message that we should apply the same change for (Change contract field to AndrAddr):

SendFrom {
        owner: String,
        contract: String,
        amount: Uint128,
        msg: Binary,
    },

I also noticed we did not apply this change to transfers in both contracts. So we might also want to apply it to TransferNFT in CW721 and Transfer, TransferFrom in CW20.