@wireio/stake 2.7.1 → 2.7.3

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.
package/lib/stake.m.js CHANGED
@@ -375,6 +375,9 @@ var instructions$7 = [
375
375
  },
376
376
  {
377
377
  name: "token_program"
378
+ },
379
+ {
380
+ name: "system_program"
378
381
  }
379
382
  ],
380
383
  args: [
@@ -1978,6 +1981,44 @@ var instructions$7 = [
1978
1981
  }
1979
1982
  ]
1980
1983
  },
1984
+ {
1985
+ name: "migrate_user_record",
1986
+ discriminator: [
1987
+ 6,
1988
+ 118,
1989
+ 249,
1990
+ 178,
1991
+ 209,
1992
+ 106,
1993
+ 197,
1994
+ 25
1995
+ ],
1996
+ accounts: [
1997
+ {
1998
+ name: "admin",
1999
+ writable: true,
2000
+ signer: true
2001
+ },
2002
+ {
2003
+ name: "global_config"
2004
+ },
2005
+ {
2006
+ name: "user_ata"
2007
+ },
2008
+ {
2009
+ name: "user_record",
2010
+ writable: true
2011
+ },
2012
+ {
2013
+ name: "distribution_state"
2014
+ },
2015
+ {
2016
+ name: "system_program"
2017
+ }
2018
+ ],
2019
+ args: [
2020
+ ]
2021
+ },
1981
2022
  {
1982
2023
  name: "process_graveyard_validators_batch",
1983
2024
  docs: [
@@ -4515,12 +4556,20 @@ var types$9 = [
4515
4556
  ],
4516
4557
  type: "u8"
4517
4558
  },
4559
+ {
4560
+ name: "aggregation_started_epoch",
4561
+ docs: [
4562
+ "The epoch when the current aggregation batch started.",
4563
+ "Prevents stale partial accumulators from being committed if an epoch boundary is crossed mid-aggregation."
4564
+ ],
4565
+ type: "u64"
4566
+ },
4518
4567
  {
4519
4568
  name: "_reserved",
4520
4569
  type: {
4521
4570
  array: [
4522
4571
  "u8",
4523
- 31
4572
+ 23
4524
4573
  ]
4525
4574
  }
4526
4575
  }
@@ -6183,6 +6232,13 @@ var types$9 = [
6183
6232
  {
6184
6233
  name: "bump",
6185
6234
  type: "u8"
6235
+ },
6236
+ {
6237
+ name: "tracked_balance",
6238
+ docs: [
6239
+ "Last reconciled liqSOL token balance for this user ATA"
6240
+ ],
6241
+ type: "u64"
6186
6242
  }
6187
6243
  ]
6188
6244
  }
@@ -7605,11 +7661,18 @@ var instructions$4 = [
7605
7661
  96
7606
7662
  ],
7607
7663
  accounts: [
7664
+ {
7665
+ name: "admin",
7666
+ signer: true
7667
+ },
7608
7668
  {
7609
7669
  name: "payer",
7610
7670
  writable: true,
7611
7671
  signer: true
7612
7672
  },
7673
+ {
7674
+ name: "global_config"
7675
+ },
7613
7676
  {
7614
7677
  name: "extra_account_meta_list",
7615
7678
  writable: true
@@ -7641,6 +7704,19 @@ var accounts$3 = [
7641
7704
  4,
7642
7705
  103
7643
7706
  ]
7707
+ },
7708
+ {
7709
+ name: "GlobalConfig",
7710
+ discriminator: [
7711
+ 149,
7712
+ 8,
7713
+ 156,
7714
+ 202,
7715
+ 160,
7716
+ 252,
7717
+ 176,
7718
+ 217
7719
+ ]
7644
7720
  }
7645
7721
  ];
7646
7722
  var errors$4 = [
@@ -7660,6 +7736,11 @@ var errors$4 = [
7660
7736
  code: 6003,
7661
7737
  name: "CannotTransferToBucket",
7662
7738
  msg: "Cannot transfer liqSOL directly to bucket - only protocol minting is allowed"
7739
+ },
7740
+ {
7741
+ code: 6004,
7742
+ name: "Unauthorized",
7743
+ msg: "Unauthorized: caller is not the admin"
7663
7744
  }
7664
7745
  ];
7665
7746
  var types$6 = [
@@ -7724,206 +7805,299 @@ var types$6 = [
7724
7805
  }
7725
7806
  ]
7726
7807
  }
7727
- }
7728
- ];
7729
- var mainnetTransferHookIDL = {
7730
- address: address$4,
7731
- metadata: metadata$4,
7732
- instructions: instructions$4,
7733
- accounts: accounts$3,
7734
- errors: errors$4,
7735
- types: types$6
7736
- };
7737
-
7738
- var address$3 = "5nBtmutQLrRKBUxNfHJPDjiW5u8id6QM9Hhjg1D1g1XH";
7739
- var metadata$3 = {
7740
- name: "liqsol_core",
7741
- version: "0.1.0",
7742
- spec: "0.1.0",
7743
- description: "Created with Anchor"
7744
- };
7745
- var instructions$3 = [
7746
- {
7747
- name: "accumulate_unstake_request",
7748
- docs: [
7749
- "Accumulate unstake requests to be processed in next allocation cycle",
7750
- "Multiple requests can be accumulated before calculating allocations",
7751
- "Returns the target epoch when this unstake request will be processed",
7752
- "We should not be able to call this without development feature enabled",
7753
- ""
7754
- ],
7755
- discriminator: [
7756
- 24,
7757
- 73,
7758
- 69,
7759
- 139,
7760
- 36,
7761
- 209,
7762
- 105,
7763
- 252
7764
- ],
7765
- accounts: [
7766
- {
7767
- name: "admin",
7768
- writable: true,
7769
- signer: true
7770
- },
7771
- {
7772
- name: "stake_allocation_state",
7773
- docs: [
7774
- "Stake allocation state - to accumulate pending unstake requests"
7775
- ],
7776
- writable: true
7777
- },
7778
- {
7779
- name: "stake_metrics",
7780
- docs: [
7781
- "Stake metrics - to validate total unstake amount is available"
7782
- ]
7783
- },
7784
- {
7785
- name: "maintenance_ledger",
7786
- docs: [
7787
- "Maintenance ledger - to determine target processing epoch"
7788
- ]
7789
- },
7790
- {
7791
- name: "global_config",
7792
- docs: [
7793
- "Global config for min_unstake_request setting"
7794
- ]
7795
- },
7796
- {
7797
- name: "clock"
7798
- }
7799
- ],
7800
- args: [
7801
- {
7802
- name: "amount",
7803
- type: "u64"
7804
- }
7805
- ],
7806
- returns: "u64"
7807
- },
7808
- {
7809
- name: "add_top_performers_batch",
7810
- docs: [
7811
- "Process batch of ranks for addition (top performers from leaderboard)"
7812
- ],
7813
- discriminator: [
7814
- 152,
7815
- 7,
7816
- 241,
7817
- 69,
7818
- 197,
7819
- 73,
7820
- 32,
7821
- 12
7822
- ],
7823
- accounts: [
7824
- {
7825
- name: "allocation_state",
7826
- writable: true
7827
- },
7828
- {
7829
- name: "active_list",
7830
- writable: true
7831
- },
7832
- {
7833
- name: "graveyard_list",
7834
- writable: true
7835
- },
7836
- {
7837
- name: "leaderboard_state"
7838
- },
7839
- {
7840
- name: "maintenance_ledger",
7841
- writable: true
7842
- },
7843
- {
7844
- name: "processing_state",
7845
- writable: true
7846
- },
7847
- {
7848
- name: "global_config",
7849
- docs: [
7850
- "Global config for threshold parameters"
7851
- ]
7852
- },
7853
- {
7854
- name: "authority",
7855
- signer: true
7856
- }
7857
- ],
7858
- args: [
7859
- ]
7860
7808
  },
7861
7809
  {
7862
- name: "add_validator_v2",
7810
+ name: "GlobalConfig",
7863
7811
  docs: [
7864
- "Add a new validator bbypassing the looking at leaderboard and getting validators form there"
7865
- ],
7866
- discriminator: [
7867
- 217,
7868
- 158,
7869
- 30,
7870
- 19,
7871
- 123,
7872
- 99,
7873
- 110,
7874
- 30
7875
- ],
7876
- accounts: [
7877
- {
7878
- name: "authority",
7879
- writable: true,
7880
- signer: true
7881
- },
7882
- {
7883
- name: "active_list",
7884
- docs: [
7885
- "Active list - will add the validator here"
7886
- ],
7887
- writable: true
7888
- },
7889
- {
7890
- name: "validator_info",
7891
- docs: [
7892
- "Create the validator info account"
7893
- ],
7894
- writable: true
7895
- },
7896
- {
7897
- name: "validator_transient",
7898
- docs: [
7899
- "Create the validator transient account"
7900
- ],
7901
- writable: true
7902
- },
7903
- {
7904
- name: "stake_allocation_state",
7905
- docs: [
7906
- "Stake allocation state - to update total_active_vpp when adding validator"
7907
- ],
7908
- writable: true
7909
- },
7910
- {
7911
- name: "system_program"
7912
- }
7812
+ "Zero-copy global config PDA"
7913
7813
  ],
7914
- args: [
7915
- {
7916
- name: "vote_account",
7917
- type: "pubkey"
7918
- },
7919
- {
7920
- name: "name",
7921
- type: "string"
7814
+ serialization: "bytemuckunsafe",
7815
+ repr: {
7816
+ kind: "c"
7817
+ },
7818
+ type: {
7819
+ kind: "struct",
7820
+ fields: [
7821
+ {
7822
+ name: "bump",
7823
+ type: "u8"
7824
+ },
7825
+ {
7826
+ name: "_padding",
7827
+ type: {
7828
+ array: [
7829
+ "u8",
7830
+ 7
7831
+ ]
7832
+ }
7833
+ },
7834
+ {
7835
+ name: "admin",
7836
+ type: "pubkey"
7837
+ },
7838
+ {
7839
+ name: "cranky",
7840
+ type: "pubkey"
7841
+ },
7842
+ {
7843
+ name: "_reserved_pubkey",
7844
+ type: {
7845
+ array: [
7846
+ "pubkey",
7847
+ 1
7848
+ ]
7849
+ }
7850
+ },
7851
+ {
7852
+ name: "min_user_deposit",
7853
+ docs: [
7854
+ "Minimum SOL amount a user can deposit"
7855
+ ],
7856
+ type: "u64"
7857
+ },
7858
+ {
7859
+ name: "min_unstake_request",
7860
+ docs: [
7861
+ "Minimum SOL amount for an unstake/withdrawal request"
7862
+ ],
7863
+ type: "u64"
7864
+ },
7865
+ {
7866
+ name: "min_rebalance_stake_delta",
7867
+ docs: [
7868
+ "Minimum stake delta to trigger a stake rebalance order"
7869
+ ],
7870
+ type: "u64"
7871
+ },
7872
+ {
7873
+ name: "min_rebalance_unstake_delta",
7874
+ docs: [
7875
+ "Minimum unstake delta to trigger an unstake rebalance order"
7876
+ ],
7877
+ type: "u64"
7878
+ },
7879
+ {
7880
+ name: "transient_threshold",
7881
+ docs: [
7882
+ "Minimum transient stake to include in effective stake calculations"
7883
+ ],
7884
+ type: "u64"
7885
+ },
7886
+ {
7887
+ name: "min_late_epoch_slot_gate",
7888
+ docs: [
7889
+ "Minimum slots that must have elapsed in the epoch before late epoch operations can execute"
7890
+ ],
7891
+ type: "u64"
7892
+ },
7893
+ {
7894
+ name: "_reserved_u64",
7895
+ type: {
7896
+ array: [
7897
+ "u64",
7898
+ 2
7899
+ ]
7900
+ }
7901
+ },
7902
+ {
7903
+ name: "cooldown_epochs",
7904
+ docs: [
7905
+ "Epochs a validator must wait in the graveyard before it is booted. This begins after the last recorded state change"
7906
+ ],
7907
+ type: "u16"
7908
+ },
7909
+ {
7910
+ name: "deposit_fee_multiplier",
7911
+ docs: [
7912
+ "Multiplier for deposit fee calculation, this would be average \"pay rate x number of epochs we expect the stake to warm up\""
7913
+ ],
7914
+ type: "u16"
7915
+ },
7916
+ {
7917
+ name: "min_vpp_entry",
7918
+ docs: [
7919
+ "Minimum VPP score required to enter the active validator set, this is a fall back for when the val set is really small"
7920
+ ],
7921
+ type: "u16"
7922
+ },
7923
+ {
7924
+ name: "min_vpp_exit",
7925
+ docs: [
7926
+ "VPP score threshold below which a validator is removed from active set, again a fall back"
7927
+ ],
7928
+ type: "u16"
7929
+ },
7930
+ {
7931
+ name: "tiny_network_threshold",
7932
+ docs: [
7933
+ "Max validators for \"tiny\" network band (uses fixed VPP thresholds) as above"
7934
+ ],
7935
+ type: "u16"
7936
+ },
7937
+ {
7938
+ name: "small_network_threshold",
7939
+ docs: [
7940
+ "Max validators for \"small\" network band (uses percentile-based selection)"
7941
+ ],
7942
+ type: "u16"
7943
+ },
7944
+ {
7945
+ name: "medium_network_threshold",
7946
+ docs: [
7947
+ "Max validators for \"medium\" network band (uses percentile-based selection)"
7948
+ ],
7949
+ type: "u16"
7950
+ },
7951
+ {
7952
+ name: "large_network_entry_rank",
7953
+ docs: [
7954
+ "Fixed rank threshold to enter active set in large networks (0-indexed)"
7955
+ ],
7956
+ type: "u16"
7957
+ },
7958
+ {
7959
+ name: "large_network_exit_rank",
7960
+ docs: [
7961
+ "Fixed rank threshold to exit active set in large networks (0-indexed)"
7962
+ ],
7963
+ type: "u16"
7964
+ },
7965
+ {
7966
+ name: "_reserved_u16",
7967
+ type: {
7968
+ array: [
7969
+ "u16",
7970
+ 3
7971
+ ]
7972
+ }
7973
+ },
7974
+ {
7975
+ name: "small_network_entry_percent",
7976
+ docs: [
7977
+ "Percentile rank required to enter active set in small networks"
7978
+ ],
7979
+ type: "u8"
7980
+ },
7981
+ {
7982
+ name: "small_network_exit_percent",
7983
+ docs: [
7984
+ "Percentile rank below which validators exit in small networks"
7985
+ ],
7986
+ type: "u8"
7987
+ },
7988
+ {
7989
+ name: "medium_network_entry_percent",
7990
+ docs: [
7991
+ "Percentile rank required to enter active set in medium networks"
7992
+ ],
7993
+ type: "u8"
7994
+ },
7995
+ {
7996
+ name: "medium_network_exit_percent",
7997
+ docs: [
7998
+ "Percentile rank below which validators exit in medium networks"
7999
+ ],
8000
+ type: "u8"
8001
+ },
8002
+ {
8003
+ name: "_reserved_u8",
8004
+ type: {
8005
+ array: [
8006
+ "u8",
8007
+ 2
8008
+ ]
8009
+ }
8010
+ },
8011
+ {
8012
+ name: "feature_flags",
8013
+ docs: [
8014
+ "Bit 0: DepositsEnabled, Bit 1: WithdrawalsEnabled, Bit 2: ClaimWithdrawalsEnabled,",
8015
+ "Bit 3: ProcessStakeOrdersEnabled, Bit 4: ProcessUnstakeOrdersEnabled,",
8016
+ "Bit 5: ProcessPayCycleEnabled, Bit 6: RebalancingEnabled, Bits 7-15: Reserved"
8017
+ ],
8018
+ type: "u16"
8019
+ },
8020
+ {
8021
+ name: "_reserved_flags",
8022
+ type: {
8023
+ array: [
8024
+ "u16",
8025
+ 1
8026
+ ]
8027
+ }
8028
+ }
8029
+ ]
8030
+ }
8031
+ }
8032
+ ];
8033
+ var mainnetTransferHookIDL = {
8034
+ address: address$4,
8035
+ metadata: metadata$4,
8036
+ instructions: instructions$4,
8037
+ accounts: accounts$3,
8038
+ errors: errors$4,
8039
+ types: types$6
8040
+ };
8041
+
8042
+ var address$3 = "5nBtmutQLrRKBUxNfHJPDjiW5u8id6QM9Hhjg1D1g1XH";
8043
+ var metadata$3 = {
8044
+ name: "liqsol_core",
8045
+ version: "0.1.0",
8046
+ spec: "0.1.0",
8047
+ description: "Created with Anchor"
8048
+ };
8049
+ var instructions$3 = [
8050
+ {
8051
+ name: "add_top_performers_batch",
8052
+ docs: [
8053
+ "Process batch of ranks for addition (top performers from leaderboard)"
8054
+ ],
8055
+ discriminator: [
8056
+ 152,
8057
+ 7,
8058
+ 241,
8059
+ 69,
8060
+ 197,
8061
+ 73,
8062
+ 32,
8063
+ 12
8064
+ ],
8065
+ accounts: [
8066
+ {
8067
+ name: "allocation_state",
8068
+ writable: true
7922
8069
  },
7923
8070
  {
7924
- name: "performance_score",
7925
- type: "u8"
8071
+ name: "active_list",
8072
+ writable: true
8073
+ },
8074
+ {
8075
+ name: "graveyard_list",
8076
+ writable: true
8077
+ },
8078
+ {
8079
+ name: "leaderboard_state"
8080
+ },
8081
+ {
8082
+ name: "maintenance_ledger",
8083
+ writable: true
8084
+ },
8085
+ {
8086
+ name: "processing_state",
8087
+ writable: true
8088
+ },
8089
+ {
8090
+ name: "global_config",
8091
+ docs: [
8092
+ "Global config for threshold parameters"
8093
+ ]
8094
+ },
8095
+ {
8096
+ name: "authority",
8097
+ signer: true
7926
8098
  }
8099
+ ],
8100
+ args: [
7927
8101
  ]
7928
8102
  },
7929
8103
  {
@@ -8010,43 +8184,6 @@ var instructions$3 = [
8010
8184
  args: [
8011
8185
  ]
8012
8186
  },
8013
- {
8014
- name: "blacklist_validator",
8015
- docs: [
8016
- "Blacklist a validator (user-facing, maintenance will handle graveyard movement)",
8017
- "UnderPerforming is set automatically when score is updated",
8018
- "Another serious emergency stop function"
8019
- ],
8020
- discriminator: [
8021
- 125,
8022
- 42,
8023
- 36,
8024
- 229,
8025
- 27,
8026
- 38,
8027
- 226,
8028
- 62
8029
- ],
8030
- accounts: [
8031
- {
8032
- name: "validator_info",
8033
- writable: true
8034
- },
8035
- {
8036
- name: "stake_allocation_state",
8037
- docs: [
8038
- "Stake allocation state - to update total_active_vpp when VPP changes"
8039
- ],
8040
- writable: true
8041
- }
8042
- ],
8043
- args: [
8044
- {
8045
- name: "vote_account",
8046
- type: "pubkey"
8047
- }
8048
- ]
8049
- },
8050
8187
  {
8051
8188
  name: "bond_role",
8052
8189
  discriminator: [
@@ -8613,6 +8750,10 @@ var instructions$3 = [
8613
8750
  name: "epoch_state",
8614
8751
  writable: true
8615
8752
  },
8753
+ {
8754
+ name: "withdraw_global",
8755
+ writable: true
8756
+ },
8616
8757
  {
8617
8758
  name: "active_list"
8618
8759
  },
@@ -9650,118 +9791,55 @@ var instructions$3 = [
9650
9791
  writable: true
9651
9792
  },
9652
9793
  {
9653
- name: "token_program"
9654
- },
9655
- {
9656
- name: "system_program"
9657
- },
9658
- {
9659
- name: "rent"
9660
- }
9661
- ],
9662
- args: [
9663
- ]
9664
- },
9665
- {
9666
- name: "initialize_withdraw_metadata",
9667
- discriminator: [
9668
- 0,
9669
- 170,
9670
- 135,
9671
- 3,
9672
- 35,
9673
- 58,
9674
- 213,
9675
- 75
9676
- ],
9677
- accounts: [
9678
- {
9679
- name: "admin",
9680
- writable: true,
9681
- signer: true
9682
- },
9683
- {
9684
- name: "metadata",
9685
- writable: true
9686
- },
9687
- {
9688
- name: "global_config"
9689
- },
9690
- {
9691
- name: "system_program"
9692
- }
9693
- ],
9694
- args: [
9695
- {
9696
- name: "args",
9697
- type: {
9698
- defined: {
9699
- name: "MetadataArgs"
9700
- }
9701
- }
9702
- }
9703
- ]
9704
- },
9705
- {
9706
- name: "inject_test_yield",
9707
- discriminator: [
9708
- 55,
9709
- 41,
9710
- 251,
9711
- 228,
9712
- 58,
9713
- 191,
9714
- 103,
9715
- 248
9716
- ],
9717
- accounts: [
9718
- {
9719
- name: "admin",
9720
- signer: true
9721
- },
9722
- {
9723
- name: "global_config"
9724
- },
9725
- {
9726
- name: "global_state",
9727
- writable: true
9728
- },
9729
- {
9730
- name: "distribution_state",
9731
- writable: true
9732
- },
9733
- {
9734
- name: "liqsol_mint",
9735
- writable: true
9736
- },
9737
- {
9738
- name: "pool_authority"
9794
+ name: "token_program"
9739
9795
  },
9740
9796
  {
9741
- name: "liqsol_pool_ata",
9742
- writable: true
9797
+ name: "system_program"
9743
9798
  },
9744
9799
  {
9745
- name: "deposit_authority",
9746
- writable: true
9747
- },
9800
+ name: "rent"
9801
+ }
9802
+ ],
9803
+ args: [
9804
+ ]
9805
+ },
9806
+ {
9807
+ name: "initialize_withdraw_metadata",
9808
+ discriminator: [
9809
+ 0,
9810
+ 170,
9811
+ 135,
9812
+ 3,
9813
+ 35,
9814
+ 58,
9815
+ 213,
9816
+ 75
9817
+ ],
9818
+ accounts: [
9748
9819
  {
9749
- name: "liqsol_program"
9820
+ name: "admin",
9821
+ writable: true,
9822
+ signer: true
9750
9823
  },
9751
9824
  {
9752
- name: "liqsol_mint_authority"
9825
+ name: "metadata",
9826
+ writable: true
9753
9827
  },
9754
9828
  {
9755
- name: "instructions_sysvar"
9829
+ name: "global_config"
9756
9830
  },
9757
9831
  {
9758
- name: "token_program"
9832
+ name: "system_program"
9759
9833
  }
9760
9834
  ],
9761
9835
  args: [
9762
9836
  {
9763
- name: "amount",
9764
- type: "u64"
9837
+ name: "args",
9838
+ type: {
9839
+ defined: {
9840
+ name: "MetadataArgs"
9841
+ }
9842
+ }
9765
9843
  }
9766
9844
  ]
9767
9845
  },
@@ -9940,6 +10018,78 @@ var instructions$3 = [
9940
10018
  }
9941
10019
  ]
9942
10020
  },
10021
+ {
10022
+ name: "migrate_batch_orchestrator",
10023
+ docs: [
10024
+ "One-shot migration: realloc BatchOrchestrator for the four per-op",
10025
+ "`*_started_epoch: u16` fields + restored `_reserved` buffer.",
10026
+ "Idempotent, ungated. `payer` covers the rent delta."
10027
+ ],
10028
+ discriminator: [
10029
+ 130,
10030
+ 240,
10031
+ 40,
10032
+ 175,
10033
+ 53,
10034
+ 209,
10035
+ 232,
10036
+ 11
10037
+ ],
10038
+ accounts: [
10039
+ {
10040
+ name: "payer",
10041
+ writable: true,
10042
+ signer: true
10043
+ },
10044
+ {
10045
+ name: "batch_orchestrator",
10046
+ docs: [
10047
+ "is the only authorization needed; the op is idempotent."
10048
+ ],
10049
+ writable: true
10050
+ },
10051
+ {
10052
+ name: "system_program"
10053
+ }
10054
+ ],
10055
+ args: [
10056
+ ]
10057
+ },
10058
+ {
10059
+ name: "migrate_stake_metrics",
10060
+ docs: [
10061
+ "One-shot migration: realloc StakeMetrics for new fields (mev_reward + _reserved)"
10062
+ ],
10063
+ discriminator: [
10064
+ 183,
10065
+ 154,
10066
+ 168,
10067
+ 221,
10068
+ 78,
10069
+ 179,
10070
+ 112,
10071
+ 165
10072
+ ],
10073
+ accounts: [
10074
+ {
10075
+ name: "global_config"
10076
+ },
10077
+ {
10078
+ name: "admin",
10079
+ writable: true,
10080
+ signer: true
10081
+ },
10082
+ {
10083
+ name: "stake_metrics",
10084
+ writable: true
10085
+ },
10086
+ {
10087
+ name: "system_program"
10088
+ }
10089
+ ],
10090
+ args: [
10091
+ ]
10092
+ },
9943
10093
  {
9944
10094
  name: "migrate_user_record",
9945
10095
  discriminator: [
@@ -9978,6 +10128,38 @@ var instructions$3 = [
9978
10128
  args: [
9979
10129
  ]
9980
10130
  },
10131
+ {
10132
+ name: "migrate_validator_info_batch",
10133
+ docs: [
10134
+ "One-shot migration: realloc ValidatorInfoAccounts for new fields (mev + _reserved)",
10135
+ "Pass validator_info PDAs via remaining_accounts"
10136
+ ],
10137
+ discriminator: [
10138
+ 250,
10139
+ 77,
10140
+ 53,
10141
+ 116,
10142
+ 38,
10143
+ 22,
10144
+ 12,
10145
+ 100
10146
+ ],
10147
+ accounts: [
10148
+ {
10149
+ name: "global_config"
10150
+ },
10151
+ {
10152
+ name: "admin",
10153
+ writable: true,
10154
+ signer: true
10155
+ },
10156
+ {
10157
+ name: "system_program"
10158
+ }
10159
+ ],
10160
+ args: [
10161
+ ]
10162
+ },
9981
10163
  {
9982
10164
  name: "process_graveyard_validators_batch",
9983
10165
  docs: [
@@ -11006,182 +11188,41 @@ var instructions$3 = [
11006
11188
  writable: true
11007
11189
  },
11008
11190
  {
11009
- name: "metadata",
11010
- writable: true
11011
- },
11012
- {
11013
- name: "nft_mint",
11014
- docs: [
11015
- "Uses global.next_receipt_id for deterministic, collision-free address generation"
11016
- ],
11017
- writable: true
11018
- },
11019
- {
11020
- name: "nft_ata",
11021
- writable: true
11022
- },
11023
- {
11024
- name: "token_program"
11025
- },
11026
- {
11027
- name: "token_interface"
11028
- },
11029
- {
11030
- name: "associated_token_program"
11031
- },
11032
- {
11033
- name: "system_program"
11034
- },
11035
- {
11036
- name: "rent"
11037
- }
11038
- ],
11039
- args: [
11040
- {
11041
- name: "amount",
11042
- type: "u64"
11043
- }
11044
- ]
11045
- },
11046
- {
11047
- name: "reset_distribution_state",
11048
- discriminator: [
11049
- 159,
11050
- 183,
11051
- 162,
11052
- 74,
11053
- 228,
11054
- 135,
11055
- 157,
11056
- 79
11057
- ],
11058
- accounts: [
11059
- {
11060
- name: "admin",
11061
- signer: true
11062
- },
11063
- {
11064
- name: "distribution_state",
11065
- writable: true
11066
- }
11067
- ],
11068
- args: [
11069
- ]
11070
- },
11071
- {
11072
- name: "reset_global_state",
11073
- discriminator: [
11074
- 252,
11075
- 41,
11076
- 117,
11077
- 110,
11078
- 248,
11079
- 165,
11080
- 48,
11081
- 88
11082
- ],
11083
- accounts: [
11084
- {
11085
- name: "admin",
11086
- signer: true
11087
- },
11088
- {
11089
- name: "global_config"
11090
- },
11091
- {
11092
- name: "global_state",
11093
- writable: true
11094
- },
11095
- {
11096
- name: "pool_authority"
11097
- },
11098
- {
11099
- name: "liqsol_mint"
11100
- },
11101
- {
11102
- name: "liqsol_pool_ata",
11103
- writable: true
11104
- },
11105
- {
11106
- name: "token_program"
11107
- },
11108
- {
11109
- name: "associated_token_program"
11110
- }
11111
- ],
11112
- args: [
11113
- ]
11114
- },
11115
- {
11116
- name: "reset_price_history",
11117
- discriminator: [
11118
- 213,
11119
- 231,
11120
- 155,
11121
- 139,
11122
- 248,
11123
- 60,
11124
- 67,
11125
- 199
11126
- ],
11127
- accounts: [
11128
- {
11129
- name: "admin",
11130
- writable: true,
11131
- signer: true
11132
- },
11133
- {
11134
- name: "global_config"
11191
+ name: "metadata",
11192
+ writable: true
11135
11193
  },
11136
11194
  {
11137
- name: "tranche_state",
11195
+ name: "nft_mint",
11196
+ docs: [
11197
+ "Uses global.next_receipt_id for deterministic, collision-free address generation"
11198
+ ],
11138
11199
  writable: true
11139
11200
  },
11140
11201
  {
11141
- name: "price_history",
11202
+ name: "nft_ata",
11142
11203
  writable: true
11143
11204
  },
11144
11205
  {
11145
- name: "system_program"
11146
- }
11147
- ],
11148
- args: [
11149
- ]
11150
- },
11151
- {
11152
- name: "reset_tranche_state",
11153
- discriminator: [
11154
- 106,
11155
- 102,
11156
- 143,
11157
- 40,
11158
- 152,
11159
- 173,
11160
- 165,
11161
- 168
11162
- ],
11163
- accounts: [
11164
- {
11165
- name: "admin",
11166
- writable: true,
11167
- signer: true
11206
+ name: "token_program"
11168
11207
  },
11169
11208
  {
11170
- name: "global_config"
11209
+ name: "token_interface"
11171
11210
  },
11172
11211
  {
11173
- name: "tranche_state",
11174
- writable: true
11212
+ name: "associated_token_program"
11175
11213
  },
11176
11214
  {
11177
- name: "price_history",
11178
- writable: true
11215
+ name: "system_program"
11179
11216
  },
11180
11217
  {
11181
- name: "system_program"
11218
+ name: "rent"
11182
11219
  }
11183
11220
  ],
11184
11221
  args: [
11222
+ {
11223
+ name: "amount",
11224
+ type: "u64"
11225
+ }
11185
11226
  ]
11186
11227
  },
11187
11228
  {
@@ -11240,45 +11281,6 @@ var instructions$3 = [
11240
11281
  args: [
11241
11282
  ]
11242
11283
  },
11243
- {
11244
- name: "set_last_state_change_epoch",
11245
- docs: [
11246
- "Admin function to directly set last_state_change_epoch (useful for testing cooldowns)"
11247
- ],
11248
- discriminator: [
11249
- 94,
11250
- 57,
11251
- 139,
11252
- 195,
11253
- 123,
11254
- 224,
11255
- 227,
11256
- 106
11257
- ],
11258
- accounts: [
11259
- {
11260
- name: "validator_info",
11261
- writable: true
11262
- },
11263
- {
11264
- name: "stake_allocation_state",
11265
- docs: [
11266
- "Stake allocation state - to update total_active_vpp when VPP changes"
11267
- ],
11268
- writable: true
11269
- }
11270
- ],
11271
- args: [
11272
- {
11273
- name: "vote_account",
11274
- type: "pubkey"
11275
- },
11276
- {
11277
- name: "epoch",
11278
- type: "u16"
11279
- }
11280
- ]
11281
- },
11282
11284
  {
11283
11285
  name: "set_paused",
11284
11286
  discriminator: [
@@ -11630,6 +11632,20 @@ var instructions$3 = [
11630
11632
  },
11631
11633
  {
11632
11634
  name: "stake_history"
11635
+ },
11636
+ {
11637
+ name: "vault",
11638
+ writable: true
11639
+ },
11640
+ {
11641
+ name: "reserve_pool",
11642
+ writable: true
11643
+ },
11644
+ {
11645
+ name: "stake_program"
11646
+ },
11647
+ {
11648
+ name: "clock"
11633
11649
  }
11634
11650
  ],
11635
11651
  args: [
@@ -11773,35 +11789,6 @@ var instructions$3 = [
11773
11789
  }
11774
11790
  ]
11775
11791
  },
11776
- {
11777
- name: "test_clear_active_list",
11778
- discriminator: [
11779
- 17,
11780
- 195,
11781
- 59,
11782
- 174,
11783
- 184,
11784
- 137,
11785
- 149,
11786
- 144
11787
- ],
11788
- accounts: [
11789
- {
11790
- name: "active_list",
11791
- writable: true
11792
- },
11793
- {
11794
- name: "processing_state",
11795
- writable: true
11796
- },
11797
- {
11798
- name: "authority",
11799
- signer: true
11800
- }
11801
- ],
11802
- args: [
11803
- ]
11804
- },
11805
11792
  {
11806
11793
  name: "update_config_bool",
11807
11794
  discriminator: [
@@ -12732,12 +12719,61 @@ var types$5 = [
12732
12719
  ],
12733
12720
  type: "u64"
12734
12721
  },
12722
+ {
12723
+ name: "mev_claims_next_index",
12724
+ docs: [
12725
+ "Next active_list index to process for MEV tip claims"
12726
+ ],
12727
+ type: "u16"
12728
+ },
12729
+ {
12730
+ name: "temp_total_mev_reward",
12731
+ docs: [
12732
+ "Temporary accumulator for MEV rewards across batches"
12733
+ ],
12734
+ type: "u64"
12735
+ },
12736
+ {
12737
+ name: "temp_total_outstanding_amount_to_unstake",
12738
+ docs: [
12739
+ "Temporary accumulator for sum of validators' amount_to_unstake across batches"
12740
+ ],
12741
+ type: "u64"
12742
+ },
12743
+ {
12744
+ name: "validators_sync_started_epoch",
12745
+ docs: [
12746
+ "Owns validators_sync_processed_this_epoch."
12747
+ ],
12748
+ type: "u16"
12749
+ },
12750
+ {
12751
+ name: "leaderboard_scores_started_epoch",
12752
+ docs: [
12753
+ "Owns leaderboard_scores_next_index."
12754
+ ],
12755
+ type: "u16"
12756
+ },
12757
+ {
12758
+ name: "graveyard_cleanup_started_epoch",
12759
+ docs: [
12760
+ "Owns graveyard_cleanup_next_index."
12761
+ ],
12762
+ type: "u16"
12763
+ },
12764
+ {
12765
+ name: "addition_started_epoch",
12766
+ docs: [
12767
+ "Owns addition_next_rank + addition_target_rank."
12768
+ ],
12769
+ type: "u16"
12770
+ },
12735
12771
  {
12736
12772
  name: "_reserved",
12737
12773
  type: {
12738
12774
  array: [
12739
12775
  "u8",
12740
- 23
12776
+ 64
12741
12777
  ]
12742
12778
  }
12743
12779
  }
@@ -13227,6 +13263,15 @@ var types$5 = [
13227
13263
  1
13228
13264
  ]
13229
13265
  }
13266
+ },
13267
+ {
13268
+ name: "_reserved_trailing",
13269
+ type: {
13270
+ array: [
13271
+ "u8",
13272
+ 32
13273
+ ]
13274
+ }
13230
13275
  }
13231
13276
  ]
13232
13277
  }
@@ -13447,16 +13492,32 @@ var types$5 = [
13447
13492
  type: "u8"
13448
13493
  },
13449
13494
  {
13450
- name: "_padding",
13495
+ name: "_align",
13451
13496
  docs: [
13452
- "Reserved space for future upgrades"
13497
+ "Alignment byte (keeps u16 fields below properly aligned)"
13453
13498
  ],
13454
- type: {
13455
- array: [
13456
- "u8",
13457
- 5
13458
- ]
13459
- }
13499
+ type: "u8"
13500
+ },
13501
+ {
13502
+ name: "crank_next_index",
13503
+ docs: [
13504
+ "Next validator index to process during crank_update_scores"
13505
+ ],
13506
+ type: "u16"
13507
+ },
13508
+ {
13509
+ name: "last_crank_epoch",
13510
+ docs: [
13511
+ "Last epoch when crank_update_scores completed all validators"
13512
+ ],
13513
+ type: "u16"
13514
+ },
13515
+ {
13516
+ name: "crank_started_epoch",
13517
+ docs: [
13518
+ "Epoch when start_crank was called (signals an active crank cycle)"
13519
+ ],
13520
+ type: "u16"
13460
13521
  }
13461
13522
  ]
13462
13523
  }
@@ -14116,9 +14177,13 @@ var types$5 = [
14116
14177
  type: "bool"
14117
14178
  },
14118
14179
  {
14119
- name: "addition_next_rank",
14180
+ name: "unstake_allocation_started_epoch",
14120
14181
  docs: [
14121
- "DEPRECATED see BatchOrchestrator.addition_next_rank. Always 0."
14182
+ "Epoch in which the current unstake allocation cycle was started.",
14183
+ "Used to detect stale cycles that span epoch boundaries — if the epoch",
14184
+ "has advanced, the cycle is reset and restarted to avoid resuming",
14185
+ "against a mutated validator active list.",
14186
+ "(Repurposed from the deprecated addition_next_rank field — verified 0 on the mainnet.)"
14122
14187
  ],
14123
14188
  type: "u16"
14124
14189
  },
@@ -14219,6 +14284,34 @@ var types$5 = [
14219
14284
  {
14220
14285
  name: "bump",
14221
14286
  type: "u8"
14287
+ },
14288
+ {
14289
+ name: "mev_reward",
14290
+ docs: [
14291
+ "MEV rewards swept from main stake accounts this epoch (accumulated, reset after pay cycle)"
14292
+ ],
14293
+ type: "u64"
14294
+ },
14295
+ {
14296
+ name: "total_outstanding_amount_to_unstake",
14297
+ docs: [
14298
+ "WNS-16: total amount_to_unstake across all validators at last metrics refresh.",
14299
+ "Represents allocated-but-not-yet-deactivated unstake obligations.",
14300
+ "Subtracted from unstakeable_stake in admission control to prevent double-promising."
14301
+ ],
14302
+ type: "u64"
14303
+ },
14304
+ {
14305
+ name: "_reserved",
14306
+ docs: [
14307
+ "Reserved space for future use"
14308
+ ],
14309
+ type: {
14310
+ array: [
14311
+ "u8",
14312
+ 24
14313
+ ]
14314
+ }
14222
14315
  }
14223
14316
  ]
14224
14317
  }
@@ -14545,6 +14638,25 @@ var types$5 = [
14545
14638
  {
14546
14639
  name: "state_transition_trigger_stake_amount",
14547
14640
  type: "u64"
14641
+ },
14642
+ {
14643
+ name: "mev_earned",
14644
+ docs: [
14645
+ "MEV reward swept for this validator in the current epoch"
14646
+ ],
14647
+ type: "u64"
14648
+ },
14649
+ {
14650
+ name: "_reserved",
14651
+ docs: [
14652
+ "Reserved space for future use"
14653
+ ],
14654
+ type: {
14655
+ array: [
14656
+ "u8",
14657
+ 24
14658
+ ]
14659
+ }
14548
14660
  }
14549
14661
  ]
14550
14662
  }
@@ -15143,252 +15255,106 @@ var metadata$1 = {
15143
15255
  };
15144
15256
  var instructions$1 = [
15145
15257
  {
15146
- name: "initialize_leaderboard",
15147
- discriminator: [
15148
- 47,
15149
- 23,
15150
- 34,
15151
- 39,
15152
- 46,
15153
- 108,
15154
- 91,
15155
- 176
15156
- ],
15157
- accounts: [
15158
- {
15159
- name: "authority",
15160
- writable: true,
15161
- signer: true
15162
- },
15163
- {
15164
- name: "leaderboard_state",
15165
- writable: true
15166
- },
15167
- {
15168
- name: "system_program"
15169
- }
15170
- ],
15171
- args: [
15172
- ]
15173
- },
15174
- {
15175
- name: "realloc_leaderboard",
15258
+ name: "crank_update_scores",
15176
15259
  discriminator: [
15177
- 2,
15178
- 70,
15179
- 106,
15180
- 94,
15181
- 81,
15182
- 225,
15183
- 113,
15184
- 152
15260
+ 163,
15261
+ 247,
15262
+ 66,
15263
+ 109,
15264
+ 22,
15265
+ 206,
15266
+ 61,
15267
+ 95
15185
15268
  ],
15186
15269
  accounts: [
15187
15270
  {
15188
15271
  name: "leaderboard_state",
15189
15272
  writable: true
15190
- },
15191
- {
15192
- name: "payer",
15193
- writable: true,
15194
- signer: true
15195
- },
15196
- {
15197
- name: "system_program"
15198
15273
  }
15199
15274
  ],
15200
15275
  args: [
15201
15276
  ]
15202
15277
  },
15203
15278
  {
15204
- name: "test_clear_leaderboard",
15279
+ name: "initialize_leaderboard",
15205
15280
  discriminator: [
15206
- 118,
15207
- 207,
15208
- 26,
15209
- 205,
15210
- 180,
15211
- 7,
15212
- 75,
15213
- 244
15281
+ 47,
15282
+ 23,
15283
+ 34,
15284
+ 39,
15285
+ 46,
15286
+ 108,
15287
+ 91,
15288
+ 176
15214
15289
  ],
15215
15290
  accounts: [
15216
- {
15217
- name: "leaderboard_state",
15218
- writable: true
15219
- },
15220
15291
  {
15221
15292
  name: "authority",
15222
- signer: true
15223
- }
15224
- ],
15225
- args: [
15226
- ]
15227
- },
15228
- {
15229
- name: "test_force_register_validator",
15230
- discriminator: [
15231
- 136,
15232
- 156,
15233
- 132,
15234
- 32,
15235
- 96,
15236
- 240,
15237
- 7,
15238
- 115
15239
- ],
15240
- accounts: [
15241
- {
15242
- name: "registrant",
15243
15293
  writable: true,
15244
15294
  signer: true
15245
15295
  },
15246
- {
15247
- name: "vote_account"
15248
- },
15249
- {
15250
- name: "validator_record",
15251
- writable: true
15252
- },
15253
15296
  {
15254
15297
  name: "leaderboard_state",
15255
15298
  writable: true
15256
15299
  },
15257
15300
  {
15258
15301
  name: "system_program"
15259
- },
15260
- {
15261
- name: "clock"
15262
15302
  }
15263
15303
  ],
15264
15304
  args: [
15265
- {
15266
- name: "vpp",
15267
- type: "u8"
15268
- }
15269
15305
  ]
15270
15306
  },
15271
15307
  {
15272
- name: "test_force_update_vpp",
15308
+ name: "migrate_v1_4",
15273
15309
  discriminator: [
15274
- 67,
15275
- 51,
15276
- 28,
15277
- 174,
15278
- 200,
15279
- 214,
15280
- 203,
15281
- 162
15310
+ 41,
15311
+ 152,
15312
+ 69,
15313
+ 58,
15314
+ 215,
15315
+ 119,
15316
+ 255,
15317
+ 189
15282
15318
  ],
15283
15319
  accounts: [
15284
15320
  {
15285
- name: "registrant",
15321
+ name: "authority",
15286
15322
  writable: true,
15287
15323
  signer: true
15288
15324
  },
15289
15325
  {
15290
- name: "vote_account"
15291
- },
15292
- {
15293
- name: "validator_record",
15326
+ name: "leaderboard_state",
15294
15327
  writable: true
15295
15328
  },
15296
15329
  {
15297
- name: "leaderboard_state",
15298
- writable: true
15330
+ name: "system_program"
15299
15331
  }
15300
15332
  ],
15301
15333
  args: [
15302
- {
15303
- name: "vpp",
15304
- type: "u8"
15305
- }
15306
15334
  ]
15307
15335
  },
15308
15336
  {
15309
- name: "test_log_epoch_info",
15337
+ name: "realloc_leaderboard",
15310
15338
  discriminator: [
15311
- 196,
15312
- 206,
15313
- 58,
15314
- 88,
15315
- 160,
15316
- 47,
15317
15339
  2,
15318
- 153
15319
- ],
15320
- accounts: [
15321
- ],
15322
- args: [
15323
- ]
15324
- },
15325
- {
15326
- name: "test_seed_random_validators",
15327
- discriminator: [
15328
- 48,
15329
- 155,
15330
- 181,
15331
- 112,
15332
- 163,
15333
- 242,
15334
- 43,
15335
- 146
15340
+ 70,
15341
+ 106,
15342
+ 94,
15343
+ 81,
15344
+ 225,
15345
+ 113,
15346
+ 152
15336
15347
  ],
15337
15348
  accounts: [
15338
- {
15339
- name: "registrant",
15340
- writable: true,
15341
- signer: true
15342
- },
15343
15349
  {
15344
15350
  name: "leaderboard_state",
15345
15351
  writable: true
15346
- }
15347
- ],
15348
- args: [
15349
- {
15350
- name: "count",
15351
- type: "u16"
15352
- },
15353
- {
15354
- name: "seed",
15355
- type: "u64"
15356
- },
15357
- {
15358
- name: "min_vpp",
15359
- type: "u8"
15360
15352
  },
15361
15353
  {
15362
- name: "max_vpp",
15363
- type: "u8"
15364
- }
15365
- ]
15366
- },
15367
- {
15368
- name: "update_commission",
15369
- discriminator: [
15370
- 2,
15371
- 202,
15372
- 72,
15373
- 156,
15374
- 19,
15375
- 253,
15376
- 91,
15377
- 174
15378
- ],
15379
- accounts: [
15380
- {
15381
- name: "registrant",
15354
+ name: "payer",
15382
15355
  writable: true,
15383
15356
  signer: true
15384
15357
  },
15385
- {
15386
- name: "vote_account"
15387
- },
15388
- {
15389
- name: "validator_record",
15390
- writable: true
15391
- },
15392
15358
  {
15393
15359
  name: "system_program"
15394
15360
  }
@@ -15397,28 +15363,25 @@ var instructions$1 = [
15397
15363
  ]
15398
15364
  },
15399
15365
  {
15400
- name: "update_mev_commission",
15366
+ name: "start_crank",
15401
15367
  discriminator: [
15402
- 107,
15403
- 65,
15404
- 238,
15405
- 108,
15406
- 183,
15407
- 47,
15408
- 236,
15409
- 203
15368
+ 31,
15369
+ 83,
15370
+ 66,
15371
+ 14,
15372
+ 249,
15373
+ 131,
15374
+ 221,
15375
+ 67
15410
15376
  ],
15411
15377
  accounts: [
15412
15378
  {
15413
- name: "signer",
15379
+ name: "cranker",
15414
15380
  signer: true
15415
15381
  },
15416
15382
  {
15417
- name: "validator_record",
15383
+ name: "leaderboard_state",
15418
15384
  writable: true
15419
- },
15420
- {
15421
- name: "tip_distribution_account"
15422
15385
  }
15423
15386
  ],
15424
15387
  args: [
@@ -15443,7 +15406,10 @@ var instructions$1 = [
15443
15406
  signer: true
15444
15407
  },
15445
15408
  {
15446
- name: "vote_account"
15409
+ name: "vote_account",
15410
+ docs: [
15411
+ "If no longer owned by the vote program (closed/reclaimed), score is set to 0."
15412
+ ]
15447
15413
  },
15448
15414
  {
15449
15415
  name: "validator_record",
@@ -15458,14 +15424,6 @@ var instructions$1 = [
15458
15424
  }
15459
15425
  ],
15460
15426
  args: [
15461
- {
15462
- name: "vpp",
15463
- type: "u8"
15464
- },
15465
- {
15466
- name: "proposed_rank",
15467
- type: "u16"
15468
- }
15469
15427
  ]
15470
15428
  }
15471
15429
  ];
@@ -15713,16 +15671,32 @@ var types$3 = [
15713
15671
  type: "u8"
15714
15672
  },
15715
15673
  {
15716
- name: "_padding",
15674
+ name: "_align",
15717
15675
  docs: [
15718
- "Reserved space for future upgrades"
15676
+ "Alignment byte (keeps u16 fields below properly aligned)"
15719
15677
  ],
15720
- type: {
15721
- array: [
15722
- "u8",
15723
- 5
15724
- ]
15725
- }
15678
+ type: "u8"
15679
+ },
15680
+ {
15681
+ name: "crank_next_index",
15682
+ docs: [
15683
+ "Next validator index to process during crank_update_scores"
15684
+ ],
15685
+ type: "u16"
15686
+ },
15687
+ {
15688
+ name: "last_crank_epoch",
15689
+ docs: [
15690
+ "Last epoch when crank_update_scores completed all validators"
15691
+ ],
15692
+ type: "u16"
15693
+ },
15694
+ {
15695
+ name: "crank_started_epoch",
15696
+ docs: [
15697
+ "Epoch when start_crank was called (signals an active crank cycle)"
15698
+ ],
15699
+ type: "u16"
15726
15700
  }
15727
15701
  ]
15728
15702
  }
@@ -15833,15 +15807,13 @@ var types$3 = [
15833
15807
  {
15834
15808
  name: "mev_commission",
15835
15809
  docs: [
15836
- "Current MEV commission in basis points"
15810
+ "DEPRECATED: MEV commission fields are no longer written or read by any instruction.",
15811
+ "Retained to preserve account layout (removing would require migration)."
15837
15812
  ],
15838
15813
  type: "u16"
15839
15814
  },
15840
15815
  {
15841
15816
  name: "mev_commission_history",
15842
- docs: [
15843
- "Circular buffer of past 10 MEV commission values"
15844
- ],
15845
15817
  type: {
15846
15818
  array: [
15847
15819
  "u16",
@@ -15851,16 +15823,10 @@ var types$3 = [
15851
15823
  },
15852
15824
  {
15853
15825
  name: "mev_commission_index",
15854
- docs: [
15855
- "Current index in mev_commission_history circular buffer (0-9)"
15856
- ],
15857
15826
  type: "u8"
15858
15827
  },
15859
15828
  {
15860
15829
  name: "last_mev_commission_update",
15861
- docs: [
15862
- "Last epoch when MEV commission was updated"
15863
- ],
15864
15830
  type: "u64"
15865
15831
  },
15866
15832
  {
@@ -16357,6 +16323,15 @@ var types$2 = [
16357
16323
  1
16358
16324
  ]
16359
16325
  }
16326
+ },
16327
+ {
16328
+ name: "_reserved_trailing",
16329
+ type: {
16330
+ array: [
16331
+ "u8",
16332
+ 32
16333
+ ]
16334
+ }
16360
16335
  }
16361
16336
  ]
16362
16337
  }