Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Jan 23, 2024
1 parent 83a9320 commit 23b414a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/donation/src/donations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ impl From<VersionedDonation> for Donation {

#[near_bindgen]
impl Contract {
/// FT equivalent of donate, for use with FTs that implement NEP-144
pub fn ft_on_transfer(&mut self, sender_id: AccountId, amount: U128, msg: String) -> String {
let ft_id = env::predecessor_account_id();
// deconstruct msg, should contain recipient_id and optional referrer_id
Expand Down

0 comments on commit 23b414a

Please sign in to comment.