@@ -89,14 +89,12 @@ typedef enum Token_COption_Pubkey_Tag {
89
89
Token_COption_Pubkey_Some_Pubkey,
90
90
} Token_COption_Pubkey_Tag;
91
91
92
- typedef struct Token_COption_Pubkey_Token_Some_Body_Pubkey {
93
- Token_Pubkey _0;
94
- } Token_COption_Pubkey_Token_Some_Body_Pubkey;
95
-
96
92
typedef struct Token_COption_Pubkey {
97
93
Token_COption_Pubkey_Tag tag;
98
94
union {
99
- Token_COption_Pubkey_Token_Some_Body_Pubkey some;
95
+ struct {
96
+ Token_Pubkey some;
97
+ };
100
98
};
101
99
} Token_COption_Pubkey;
102
100
@@ -430,7 +428,7 @@ typedef struct Token_TokenInstruction_Token_InitializeMint_Body {
430
428
/* *
431
429
* The freeze authority/multisignature of the mint.
432
430
*/
433
- Token_COption_Pubkey freeze_authority;
431
+ struct Token_COption_Pubkey freeze_authority;
434
432
} Token_TokenInstruction_Token_InitializeMint_Body;
435
433
436
434
typedef struct Token_TokenInstruction_Token_InitializeMultisig_Body {
@@ -463,7 +461,7 @@ typedef struct Token_TokenInstruction_Token_SetAuthority_Body {
463
461
/* *
464
462
* The new authority
465
463
*/
466
- Token_COption_Pubkey new_authority;
464
+ struct Token_COption_Pubkey new_authority;
467
465
} Token_TokenInstruction_Token_SetAuthority_Body;
468
466
469
467
typedef struct Token_TokenInstruction_Token_MintTo_Body {
@@ -550,7 +548,7 @@ typedef struct Token_Mint {
550
548
* mint creation. If no mint authority is present then the mint has a fixed supply and no
551
549
* further tokens may be minted.
552
550
*/
553
- Token_COption_Pubkey mint_authority;
551
+ struct Token_COption_Pubkey mint_authority;
554
552
/* *
555
553
* Total supply of tokens.
556
554
*/
@@ -566,7 +564,7 @@ typedef struct Token_Mint {
566
564
/* *
567
565
* Optional authority to freeze token accounts.
568
566
*/
569
- Token_COption_Pubkey freeze_authority;
567
+ struct Token_COption_Pubkey freeze_authority;
570
568
} Token_Mint;
571
569
572
570
/* *
@@ -583,14 +581,12 @@ typedef enum Token_COption_u64_Tag {
583
581
Token_COption_u64_Some_u64,
584
582
} Token_COption_u64_Tag;
585
583
586
- typedef struct Token_COption_u64_Token_Some_Body_u64 {
587
- uint64_t _0;
588
- } Token_COption_u64_Token_Some_Body_u64;
589
-
590
584
typedef struct Token_COption_u64 {
591
585
Token_COption_u64_Tag tag;
592
586
union {
593
- Token_COption_u64_Token_Some_Body_u64 some;
587
+ struct {
588
+ uint64_t some;
589
+ };
594
590
};
595
591
} Token_COption_u64;
596
592
@@ -614,7 +610,7 @@ typedef struct Token_Account {
614
610
* If `delegate` is `Some` then `delegated_amount` represents
615
611
* the amount authorized by the delegate
616
612
*/
617
- Token_COption_Pubkey delegate;
613
+ struct Token_COption_Pubkey delegate;
618
614
/* *
619
615
* The account's state
620
616
*/
@@ -624,15 +620,15 @@ typedef struct Token_Account {
624
620
* is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped
625
621
* SOL accounts do not drop below this threshold.
626
622
*/
627
- Token_COption_u64 is_native;
623
+ struct Token_COption_u64 is_native;
628
624
/* *
629
625
* The amount delegated
630
626
*/
631
627
uint64_t delegated_amount;
632
628
/* *
633
629
* Optional authority to close the account.
634
630
*/
635
- Token_COption_Pubkey close_authority;
631
+ struct Token_COption_Pubkey close_authority;
636
632
} Token_Account;
637
633
638
634
/* *
0 commit comments