From d670968d6c966bcb3c8923a207b6d281768f2f54 Mon Sep 17 00:00:00 2001 From: Austin Adams Date: Thu, 28 Oct 2021 12:13:46 -0500 Subject: [PATCH] Add informational comment --- rust/token-metadata/program/src/utils.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust/token-metadata/program/src/utils.rs b/rust/token-metadata/program/src/utils.rs index e862dab..3530d80 100644 --- a/rust/token-metadata/program/src/utils.rs +++ b/rust/token-metadata/program/src/utils.rs @@ -792,6 +792,10 @@ pub struct CreateMetadataAccountsLogicArgs<'a> { // This equals the upgrade authority of the metadata program: // AqH29mZfQFgRpfwaPoTMWSKJ5kqauoc1FwVBRksZyQrt +// IMPORTANT NOTE +// This allows the upgrade authority of the Token Metadata program to create metadata for SPL tokens. +// This only allows the upgrade authority to do create general metadata for the SPL token, it does not +// allow the upgrade authority to add or change creators. const SEED_AUTHORITY: Pubkey = Pubkey::new_from_array([ 0x92, 0x17, 0x2c, 0xc4, 0x72, 0x5d, 0xc0, 0x41, 0xf9, 0xdd, 0x8c, 0x51, 0x52, 0x60, 0x04, 0x26, 0x00, 0x93, 0xa3, 0x0b, 0x02, 0x73, 0xdc, 0xfa, 0x74, 0x92, 0x17, 0xfc, 0x94, 0xa2, 0x40, 0x49,