proof-of-take-sdk 5.0.11 → 5.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3334,722 +3334,6 @@
3334
3334
  }
3335
3335
  ]
3336
3336
  },
3337
- {
3338
- "name": "join_season",
3339
- "discriminator": [
3340
- 36,
3341
- 202,
3342
- 202,
3343
- 158,
3344
- 82,
3345
- 34,
3346
- 248,
3347
- 231
3348
- ],
3349
- "accounts": [
3350
- {
3351
- "name": "season_settings",
3352
- "writable": true,
3353
- "pda": {
3354
- "seeds": [
3355
- {
3356
- "kind": "const",
3357
- "value": [
3358
- 115,
3359
- 101,
3360
- 97,
3361
- 115,
3362
- 111,
3363
- 110,
3364
- 95,
3365
- 115,
3366
- 101,
3367
- 116,
3368
- 116,
3369
- 105,
3370
- 110,
3371
- 103,
3372
- 115
3373
- ]
3374
- }
3375
- ]
3376
- }
3377
- },
3378
- {
3379
- "name": "season",
3380
- "docs": [
3381
- "Season PDA - scoped to launchpad_token_mint for Moonpool mode.",
3382
- "Each unique launchpad_token_mint creates a unique Season, allowing multiple \"Stars\"",
3383
- "to have independent memberships."
3384
- ],
3385
- "writable": true,
3386
- "pda": {
3387
- "seeds": [
3388
- {
3389
- "kind": "const",
3390
- "value": [
3391
- 115,
3392
- 101,
3393
- 97,
3394
- 115,
3395
- 111,
3396
- 110
3397
- ]
3398
- },
3399
- {
3400
- "kind": "account",
3401
- "path": "launchpad_token_mint"
3402
- },
3403
- {
3404
- "kind": "const",
3405
- "value": [
3406
- 1,
3407
- 0,
3408
- 0,
3409
- 0,
3410
- 0,
3411
- 0,
3412
- 0,
3413
- 0
3414
- ]
3415
- },
3416
- {
3417
- "kind": "arg",
3418
- "path": "season_number"
3419
- }
3420
- ]
3421
- }
3422
- },
3423
- {
3424
- "name": "season_membership",
3425
- "docs": [
3426
- "SeasonMembership PDA - scoped to launchpad_token_mint for Moonpool mode.",
3427
- "Each unique launchpad_token_mint creates unique memberships per user/tier."
3428
- ],
3429
- "writable": true
3430
- },
3431
- {
3432
- "name": "moonpool",
3433
- "docs": [
3434
- "Moonpool PDA - unique per launchpad_token_mint.",
3435
- "The Moonpool is the Moon's seesaw for buying and selling stars (real SPL Token-2022 tokens).",
3436
- "Contains reserve state for the constant-product AMM.",
3437
- "",
3438
- "Each unique launchpad_token_mint creates a unique Moonpool, allowing multiple \"Stars\"",
3439
- "to coexist for the same token_mint.",
3440
- "",
3441
- "SECURITY: This account is MANDATORY (not optional) to prevent bypassing the",
3442
- "launchpad mode check. If a previous season was launchpad mode, subsequent",
3443
- "seasons MUST also be launchpad mode - we enforce this by always checking",
3444
- "the pool state during season initialization."
3445
- ],
3446
- "writable": true,
3447
- "pda": {
3448
- "seeds": [
3449
- {
3450
- "kind": "const",
3451
- "value": [
3452
- 109,
3453
- 111,
3454
- 111,
3455
- 110,
3456
- 112,
3457
- 111,
3458
- 111,
3459
- 108
3460
- ]
3461
- },
3462
- {
3463
- "kind": "account",
3464
- "path": "launchpad_token_mint"
3465
- },
3466
- {
3467
- "kind": "const",
3468
- "value": [
3469
- 1,
3470
- 0,
3471
- 0,
3472
- 0,
3473
- 0,
3474
- 0,
3475
- 0,
3476
- 0
3477
- ]
3478
- }
3479
- ]
3480
- }
3481
- },
3482
- {
3483
- "name": "moonpool_treasury",
3484
- "docs": [
3485
- "Unique per launchpad_token_mint, paired with its corresponding Moonpool.",
3486
- "",
3487
- "SECURITY: This account is MANDATORY alongside the pool to ensure consistent",
3488
- "mode validation across seasons.",
3489
- "",
3490
- "Safety:",
3491
- "- Address is constrained by PDA seeds.",
3492
- "- Owner is constrained to `system_program::ID`.",
3493
- "- Program only transfers lamports via System Program CPI with PDA signer seeds."
3494
- ],
3495
- "writable": true,
3496
- "pda": {
3497
- "seeds": [
3498
- {
3499
- "kind": "const",
3500
- "value": [
3501
- 109,
3502
- 111,
3503
- 111,
3504
- 110,
3505
- 112,
3506
- 111,
3507
- 111,
3508
- 108,
3509
- 95,
3510
- 116,
3511
- 114,
3512
- 101,
3513
- 97,
3514
- 115,
3515
- 117,
3516
- 114,
3517
- 121
3518
- ]
3519
- },
3520
- {
3521
- "kind": "account",
3522
- "path": "launchpad_token_mint"
3523
- },
3524
- {
3525
- "kind": "const",
3526
- "value": [
3527
- 1,
3528
- 0,
3529
- 0,
3530
- 0,
3531
- 0,
3532
- 0,
3533
- 0,
3534
- 0
3535
- ]
3536
- }
3537
- ]
3538
- }
3539
- },
3540
- {
3541
- "name": "launchpad_token_mint",
3542
- "docs": [
3543
- "SPL Token-2022 mint for the launchpad token.",
3544
- "Created when the Moonpool is first initialized.",
3545
- "Mint authority is the Moonpool PDA itself.",
3546
- "NOTE: This is a Keypair (not a PDA) to allow creating fresh mints with updated decimals."
3547
- ],
3548
- "writable": true,
3549
- "signer": true
3550
- },
3551
- {
3552
- "name": "sunpool",
3553
- "docs": [
3554
- "Global Sunpool PDA (shared across all seasons for this token mint).",
3555
- "The Sunpool is the Sun's flag shop for classic (non-launchpad) mode.",
3556
- "Contains token_mint and id (always 1) for classic mode sessions.",
3557
- "",
3558
- "SECURITY: This account is MANDATORY (like Moonpool) to prevent bypassing the",
3559
- "mode validation. If Sunpool is initialized, all future seasons for this token",
3560
- "must also be classic mode."
3561
- ],
3562
- "writable": true,
3563
- "pda": {
3564
- "seeds": [
3565
- {
3566
- "kind": "const",
3567
- "value": [
3568
- 115,
3569
- 117,
3570
- 110,
3571
- 112,
3572
- 111,
3573
- 111,
3574
- 108
3575
- ]
3576
- },
3577
- {
3578
- "kind": "account",
3579
- "path": "token_mint"
3580
- },
3581
- {
3582
- "kind": "const",
3583
- "value": [
3584
- 1,
3585
- 0,
3586
- 0,
3587
- 0,
3588
- 0,
3589
- 0,
3590
- 0,
3591
- 0
3592
- ]
3593
- }
3594
- ]
3595
- }
3596
- },
3597
- {
3598
- "name": "season_deposit_vault",
3599
- "writable": true,
3600
- "optional": true,
3601
- "pda": {
3602
- "seeds": [
3603
- {
3604
- "kind": "const",
3605
- "value": [
3606
- 115,
3607
- 101,
3608
- 97,
3609
- 115,
3610
- 111,
3611
- 110,
3612
- 95,
3613
- 100,
3614
- 101,
3615
- 112,
3616
- 111,
3617
- 115,
3618
- 105,
3619
- 116,
3620
- 95,
3621
- 118,
3622
- 97,
3623
- 117,
3624
- 108,
3625
- 116
3626
- ]
3627
- },
3628
- {
3629
- "kind": "account",
3630
- "path": "token_mint"
3631
- },
3632
- {
3633
- "kind": "const",
3634
- "value": [
3635
- 1,
3636
- 0,
3637
- 0,
3638
- 0,
3639
- 0,
3640
- 0,
3641
- 0,
3642
- 0
3643
- ]
3644
- },
3645
- {
3646
- "kind": "arg",
3647
- "path": "season_number"
3648
- }
3649
- ]
3650
- }
3651
- },
3652
- {
3653
- "name": "user_join_credit",
3654
- "writable": true,
3655
- "optional": true,
3656
- "pda": {
3657
- "seeds": [
3658
- {
3659
- "kind": "const",
3660
- "value": [
3661
- 117,
3662
- 115,
3663
- 101,
3664
- 114,
3665
- 95,
3666
- 106,
3667
- 111,
3668
- 105,
3669
- 110,
3670
- 95,
3671
- 99,
3672
- 114,
3673
- 101,
3674
- 100,
3675
- 105,
3676
- 116
3677
- ]
3678
- },
3679
- {
3680
- "kind": "account",
3681
- "path": "user"
3682
- }
3683
- ]
3684
- }
3685
- },
3686
- {
3687
- "name": "user_join_credit_vault",
3688
- "writable": true,
3689
- "optional": true,
3690
- "pda": {
3691
- "seeds": [
3692
- {
3693
- "kind": "account",
3694
- "path": "user_join_credit"
3695
- },
3696
- {
3697
- "kind": "const",
3698
- "value": [
3699
- 6,
3700
- 221,
3701
- 246,
3702
- 225,
3703
- 215,
3704
- 101,
3705
- 161,
3706
- 147,
3707
- 217,
3708
- 203,
3709
- 225,
3710
- 70,
3711
- 206,
3712
- 235,
3713
- 121,
3714
- 172,
3715
- 28,
3716
- 180,
3717
- 133,
3718
- 237,
3719
- 95,
3720
- 91,
3721
- 55,
3722
- 145,
3723
- 58,
3724
- 140,
3725
- 245,
3726
- 133,
3727
- 126,
3728
- 255,
3729
- 0,
3730
- 169
3731
- ]
3732
- },
3733
- {
3734
- "kind": "account",
3735
- "path": "mizd_mint"
3736
- }
3737
- ],
3738
- "program": {
3739
- "kind": "const",
3740
- "value": [
3741
- 140,
3742
- 151,
3743
- 37,
3744
- 143,
3745
- 78,
3746
- 36,
3747
- 137,
3748
- 241,
3749
- 187,
3750
- 61,
3751
- 16,
3752
- 41,
3753
- 20,
3754
- 142,
3755
- 13,
3756
- 131,
3757
- 11,
3758
- 90,
3759
- 19,
3760
- 153,
3761
- 218,
3762
- 255,
3763
- 16,
3764
- 132,
3765
- 4,
3766
- 142,
3767
- 123,
3768
- 216,
3769
- 219,
3770
- 233,
3771
- 248,
3772
- 89
3773
- ]
3774
- }
3775
- }
3776
- },
3777
- {
3778
- "name": "mizd_mint",
3779
- "address": "mizdS9fDNUKWZcXBeRhJoJQHJJmsTeF4fFRyPdXWv99"
3780
- },
3781
- {
3782
- "name": "token_mint",
3783
- "docs": [
3784
- "Token mint this season is scoped to (used for Season PDA derivation)."
3785
- ]
3786
- },
3787
- {
3788
- "name": "root_admin",
3789
- "writable": true,
3790
- "signer": true,
3791
- "address": "Lude4DE3jDXVViJ3s7bUfPXdXy8Zq7G1stMwHNQrc2s"
3792
- },
3793
- {
3794
- "name": "root_admin_token_account",
3795
- "writable": true,
3796
- "optional": true,
3797
- "pda": {
3798
- "seeds": [
3799
- {
3800
- "kind": "account",
3801
- "path": "root_admin"
3802
- },
3803
- {
3804
- "kind": "const",
3805
- "value": [
3806
- 6,
3807
- 221,
3808
- 246,
3809
- 225,
3810
- 215,
3811
- 101,
3812
- 161,
3813
- 147,
3814
- 217,
3815
- 203,
3816
- 225,
3817
- 70,
3818
- 206,
3819
- 235,
3820
- 121,
3821
- 172,
3822
- 28,
3823
- 180,
3824
- 133,
3825
- 237,
3826
- 95,
3827
- 91,
3828
- 55,
3829
- 145,
3830
- 58,
3831
- 140,
3832
- 245,
3833
- 133,
3834
- 126,
3835
- 255,
3836
- 0,
3837
- 169
3838
- ]
3839
- },
3840
- {
3841
- "kind": "account",
3842
- "path": "mizd_mint"
3843
- }
3844
- ],
3845
- "program": {
3846
- "kind": "const",
3847
- "value": [
3848
- 140,
3849
- 151,
3850
- 37,
3851
- 143,
3852
- 78,
3853
- 36,
3854
- 137,
3855
- 241,
3856
- 187,
3857
- 61,
3858
- 16,
3859
- 41,
3860
- 20,
3861
- 142,
3862
- 13,
3863
- 131,
3864
- 11,
3865
- 90,
3866
- 19,
3867
- 153,
3868
- 218,
3869
- 255,
3870
- 16,
3871
- 132,
3872
- 4,
3873
- 142,
3874
- 123,
3875
- 216,
3876
- 219,
3877
- 233,
3878
- 248,
3879
- 89
3880
- ]
3881
- }
3882
- }
3883
- },
3884
- {
3885
- "name": "user_token_account",
3886
- "docs": [
3887
- "User MIZD ATA (canonical). Created if missing; root admin pays."
3888
- ],
3889
- "writable": true,
3890
- "optional": true,
3891
- "pda": {
3892
- "seeds": [
3893
- {
3894
- "kind": "account",
3895
- "path": "user"
3896
- },
3897
- {
3898
- "kind": "const",
3899
- "value": [
3900
- 6,
3901
- 221,
3902
- 246,
3903
- 225,
3904
- 215,
3905
- 101,
3906
- 161,
3907
- 147,
3908
- 217,
3909
- 203,
3910
- 225,
3911
- 70,
3912
- 206,
3913
- 235,
3914
- 121,
3915
- 172,
3916
- 28,
3917
- 180,
3918
- 133,
3919
- 237,
3920
- 95,
3921
- 91,
3922
- 55,
3923
- 145,
3924
- 58,
3925
- 140,
3926
- 245,
3927
- 133,
3928
- 126,
3929
- 255,
3930
- 0,
3931
- 169
3932
- ]
3933
- },
3934
- {
3935
- "kind": "account",
3936
- "path": "mizd_mint"
3937
- }
3938
- ],
3939
- "program": {
3940
- "kind": "const",
3941
- "value": [
3942
- 140,
3943
- 151,
3944
- 37,
3945
- 143,
3946
- 78,
3947
- 36,
3948
- 137,
3949
- 241,
3950
- 187,
3951
- 61,
3952
- 16,
3953
- 41,
3954
- 20,
3955
- 142,
3956
- 13,
3957
- 131,
3958
- 11,
3959
- 90,
3960
- 19,
3961
- 153,
3962
- 218,
3963
- 255,
3964
- 16,
3965
- 132,
3966
- 4,
3967
- 142,
3968
- 123,
3969
- 216,
3970
- 219,
3971
- 233,
3972
- 248,
3973
- 89
3974
- ]
3975
- }
3976
- }
3977
- },
3978
- {
3979
- "name": "user",
3980
- "writable": true,
3981
- "signer": true
3982
- },
3983
- {
3984
- "name": "associated_token_program",
3985
- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
3986
- },
3987
- {
3988
- "name": "token_program",
3989
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
3990
- },
3991
- {
3992
- "name": "token_2022_program",
3993
- "docs": [
3994
- "Token-2022 program for the launchpad token mint."
3995
- ]
3996
- },
3997
- {
3998
- "name": "system_program",
3999
- "address": "11111111111111111111111111111111"
4000
- }
4001
- ],
4002
- "args": [
4003
- {
4004
- "name": "season_number",
4005
- "type": "u64"
4006
- },
4007
- {
4008
- "name": "tier",
4009
- "type": "u8"
4010
- },
4011
- {
4012
- "name": "referrer",
4013
- "type": "pubkey"
4014
- },
4015
- {
4016
- "name": "referrer_tier",
4017
- "type": "u8"
4018
- },
4019
- {
4020
- "name": "star",
4021
- "type": "bool"
4022
- },
4023
- {
4024
- "name": "launchpad",
4025
- "type": "bool"
4026
- },
4027
- {
4028
- "name": "max_sol_in_lamports",
4029
- "type": "u64"
4030
- },
4031
- {
4032
- "name": "expected_sol_in_lamports",
4033
- "type": "u64"
4034
- },
4035
- {
4036
- "name": "max_slippage_bps",
4037
- "type": "u16"
4038
- },
4039
- {
4040
- "name": "star_flag_prompt",
4041
- "type": "string"
4042
- },
4043
- {
4044
- "name": "symbol",
4045
- "type": "string"
4046
- },
4047
- {
4048
- "name": "force_new_launchpad_mint",
4049
- "type": "bool"
4050
- }
4051
- ]
4052
- },
4053
3337
  {
4054
3338
  "name": "join_sunpool",
4055
3339
  "docs": [