-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFT Events Standard #652
NFT Events Standard #652
Conversation
near-contract-standards/src/non_fungible_token/core/core_impl.rs
Outdated
Show resolved
Hide resolved
near-contract-standards/src/non_fungible_token/core/core_impl.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Phuong Nguyen <[email protected]>
near-contract-standards/src/non_fungible_token/core/core_impl.rs
Outdated
Show resolved
Hide resolved
near-contract-standards/src/non_fungible_token/core/core_impl.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Phuong Nguyen <[email protected]>
near-contract-standards/src/non_fungible_token/core/core_impl.rs
Outdated
Show resolved
Hide resolved
if !approval_id.is_none() { | ||
authorized_id = Some(sender_id.to_string()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if !approval_id.is_none() { | |
authorized_id = Some(sender_id.to_string()); | |
if approval_id.is_some() { | |
authorized_id = Some(sender_id.to_string()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be an AccountId
instead of a string?
old_owner_id: owner_id.to_string(), | ||
new_owner_id: receiver_id.to_string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same with these, can/should they not be an AccountId
for some reason?
…ixed all the warnings
Co-authored-by: Austin Abell <[email protected]>
@BenKurrek |
I didn't know this was being worked on until I was almost finished. Perhaps we can combine our PRs into one. :) |
@BenKurrek You could use log functions from my PR to update the implementations. |
Implements the events standard for the non-fungible-token core standards.
Fixes (#649)