diff --git a/src/tokens.rs b/src/tokens.rs index b4361b8..73c5545 100644 --- a/src/tokens.rs +++ b/src/tokens.rs @@ -142,13 +142,14 @@ impl Tokens { pub fn send_ft( self, ft_contract: AccountId, + receiver_id: AccountId, amount: u128, ) -> anyhow::Result { Ok(Contract(ft_contract) .call_function( "ft_transfer", json!({ - "receiver_id": self.account_id.to_string(), + "receiver_id": receiver_id, "amount": amount }), )?