@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.js CHANGED
@@ -396,6 +396,9 @@ var instructions$7 = [
396
396
  },
397
397
  {
398
398
  name: "token_program"
399
+ },
400
+ {
401
+ name: "system_program"
399
402
  }
400
403
  ],
401
404
  args: [
@@ -1999,6 +2002,44 @@ var instructions$7 = [
1999
2002
  }
2000
2003
  ]
2001
2004
  },
2005
+ {
2006
+ name: "migrate_user_record",
2007
+ discriminator: [
2008
+ 6,
2009
+ 118,
2010
+ 249,
2011
+ 178,
2012
+ 209,
2013
+ 106,
2014
+ 197,
2015
+ 25
2016
+ ],
2017
+ accounts: [
2018
+ {
2019
+ name: "admin",
2020
+ writable: true,
2021
+ signer: true
2022
+ },
2023
+ {
2024
+ name: "global_config"
2025
+ },
2026
+ {
2027
+ name: "user_ata"
2028
+ },
2029
+ {
2030
+ name: "user_record",
2031
+ writable: true
2032
+ },
2033
+ {
2034
+ name: "distribution_state"
2035
+ },
2036
+ {
2037
+ name: "system_program"
2038
+ }
2039
+ ],
2040
+ args: [
2041
+ ]
2042
+ },
2002
2043
  {
2003
2044
  name: "process_graveyard_validators_batch",
2004
2045
  docs: [
@@ -4536,12 +4577,20 @@ var types$9 = [
4536
4577
  ],
4537
4578
  type: "u8"
4538
4579
  },
4580
+ {
4581
+ name: "aggregation_started_epoch",
4582
+ docs: [
4583
+ "The epoch when the current aggregation batch started.",
4584
+ "Prevents stale partial accumulators from being committed if an epoch boundary is crossed mid-aggregation."
4585
+ ],
4586
+ type: "u64"
4587
+ },
4539
4588
  {
4540
4589
  name: "_reserved",
4541
4590
  type: {
4542
4591
  array: [
4543
4592
  "u8",
4544
- 31
4593
+ 23
4545
4594
  ]
4546
4595
  }
4547
4596
  }
@@ -6204,6 +6253,13 @@ var types$9 = [
6204
6253
  {
6205
6254
  name: "bump",
6206
6255
  type: "u8"
6256
+ },
6257
+ {
6258
+ name: "tracked_balance",
6259
+ docs: [
6260
+ "Last reconciled liqSOL token balance for this user ATA"
6261
+ ],
6262
+ type: "u64"
6207
6263
  }
6208
6264
  ]
6209
6265
  }
@@ -7626,11 +7682,18 @@ var instructions$4 = [
7626
7682
  96
7627
7683
  ],
7628
7684
  accounts: [
7685
+ {
7686
+ name: "admin",
7687
+ signer: true
7688
+ },
7629
7689
  {
7630
7690
  name: "payer",
7631
7691
  writable: true,
7632
7692
  signer: true
7633
7693
  },
7694
+ {
7695
+ name: "global_config"
7696
+ },
7634
7697
  {
7635
7698
  name: "extra_account_meta_list",
7636
7699
  writable: true
@@ -7662,6 +7725,19 @@ var accounts$3 = [
7662
7725
  4,
7663
7726
  103
7664
7727
  ]
7728
+ },
7729
+ {
7730
+ name: "GlobalConfig",
7731
+ discriminator: [
7732
+ 149,
7733
+ 8,
7734
+ 156,
7735
+ 202,
7736
+ 160,
7737
+ 252,
7738
+ 176,
7739
+ 217
7740
+ ]
7665
7741
  }
7666
7742
  ];
7667
7743
  var errors$4 = [
@@ -7681,6 +7757,11 @@ var errors$4 = [
7681
7757
  code: 6003,
7682
7758
  name: "CannotTransferToBucket",
7683
7759
  msg: "Cannot transfer liqSOL directly to bucket - only protocol minting is allowed"
7760
+ },
7761
+ {
7762
+ code: 6004,
7763
+ name: "Unauthorized",
7764
+ msg: "Unauthorized: caller is not the admin"
7684
7765
  }
7685
7766
  ];
7686
7767
  var types$6 = [
@@ -7745,206 +7826,299 @@ var types$6 = [
7745
7826
  }
7746
7827
  ]
7747
7828
  }
7748
- }
7749
- ];
7750
- var mainnetTransferHookIDL = {
7751
- address: address$4,
7752
- metadata: metadata$4,
7753
- instructions: instructions$4,
7754
- accounts: accounts$3,
7755
- errors: errors$4,
7756
- types: types$6
7757
- };
7758
-
7759
- var address$3 = "5nBtmutQLrRKBUxNfHJPDjiW5u8id6QM9Hhjg1D1g1XH";
7760
- var metadata$3 = {
7761
- name: "liqsol_core",
7762
- version: "0.1.0",
7763
- spec: "0.1.0",
7764
- description: "Created with Anchor"
7765
- };
7766
- var instructions$3 = [
7767
- {
7768
- name: "accumulate_unstake_request",
7769
- docs: [
7770
- "Accumulate unstake requests to be processed in next allocation cycle",
7771
- "Multiple requests can be accumulated before calculating allocations",
7772
- "Returns the target epoch when this unstake request will be processed",
7773
- "We should not be able to call this without development feature enabled",
7774
- ""
7775
- ],
7776
- discriminator: [
7777
- 24,
7778
- 73,
7779
- 69,
7780
- 139,
7781
- 36,
7782
- 209,
7783
- 105,
7784
- 252
7785
- ],
7786
- accounts: [
7787
- {
7788
- name: "admin",
7789
- writable: true,
7790
- signer: true
7791
- },
7792
- {
7793
- name: "stake_allocation_state",
7794
- docs: [
7795
- "Stake allocation state - to accumulate pending unstake requests"
7796
- ],
7797
- writable: true
7798
- },
7799
- {
7800
- name: "stake_metrics",
7801
- docs: [
7802
- "Stake metrics - to validate total unstake amount is available"
7803
- ]
7804
- },
7805
- {
7806
- name: "maintenance_ledger",
7807
- docs: [
7808
- "Maintenance ledger - to determine target processing epoch"
7809
- ]
7810
- },
7811
- {
7812
- name: "global_config",
7813
- docs: [
7814
- "Global config for min_unstake_request setting"
7815
- ]
7816
- },
7817
- {
7818
- name: "clock"
7819
- }
7820
- ],
7821
- args: [
7822
- {
7823
- name: "amount",
7824
- type: "u64"
7825
- }
7826
- ],
7827
- returns: "u64"
7828
- },
7829
- {
7830
- name: "add_top_performers_batch",
7831
- docs: [
7832
- "Process batch of ranks for addition (top performers from leaderboard)"
7833
- ],
7834
- discriminator: [
7835
- 152,
7836
- 7,
7837
- 241,
7838
- 69,
7839
- 197,
7840
- 73,
7841
- 32,
7842
- 12
7843
- ],
7844
- accounts: [
7845
- {
7846
- name: "allocation_state",
7847
- writable: true
7848
- },
7849
- {
7850
- name: "active_list",
7851
- writable: true
7852
- },
7853
- {
7854
- name: "graveyard_list",
7855
- writable: true
7856
- },
7857
- {
7858
- name: "leaderboard_state"
7859
- },
7860
- {
7861
- name: "maintenance_ledger",
7862
- writable: true
7863
- },
7864
- {
7865
- name: "processing_state",
7866
- writable: true
7867
- },
7868
- {
7869
- name: "global_config",
7870
- docs: [
7871
- "Global config for threshold parameters"
7872
- ]
7873
- },
7874
- {
7875
- name: "authority",
7876
- signer: true
7877
- }
7878
- ],
7879
- args: [
7880
- ]
7881
7829
  },
7882
7830
  {
7883
- name: "add_validator_v2",
7831
+ name: "GlobalConfig",
7884
7832
  docs: [
7885
- "Add a new validator bbypassing the looking at leaderboard and getting validators form there"
7886
- ],
7887
- discriminator: [
7888
- 217,
7889
- 158,
7890
- 30,
7891
- 19,
7892
- 123,
7893
- 99,
7894
- 110,
7895
- 30
7896
- ],
7897
- accounts: [
7898
- {
7899
- name: "authority",
7900
- writable: true,
7901
- signer: true
7902
- },
7903
- {
7904
- name: "active_list",
7905
- docs: [
7906
- "Active list - will add the validator here"
7907
- ],
7908
- writable: true
7909
- },
7910
- {
7911
- name: "validator_info",
7912
- docs: [
7913
- "Create the validator info account"
7914
- ],
7915
- writable: true
7916
- },
7917
- {
7918
- name: "validator_transient",
7919
- docs: [
7920
- "Create the validator transient account"
7921
- ],
7922
- writable: true
7923
- },
7924
- {
7925
- name: "stake_allocation_state",
7926
- docs: [
7927
- "Stake allocation state - to update total_active_vpp when adding validator"
7928
- ],
7929
- writable: true
7930
- },
7931
- {
7932
- name: "system_program"
7933
- }
7833
+ "Zero-copy global config PDA"
7934
7834
  ],
7935
- args: [
7936
- {
7937
- name: "vote_account",
7938
- type: "pubkey"
7939
- },
7940
- {
7941
- name: "name",
7942
- type: "string"
7835
+ serialization: "bytemuckunsafe",
7836
+ repr: {
7837
+ kind: "c"
7838
+ },
7839
+ type: {
7840
+ kind: "struct",
7841
+ fields: [
7842
+ {
7843
+ name: "bump",
7844
+ type: "u8"
7845
+ },
7846
+ {
7847
+ name: "_padding",
7848
+ type: {
7849
+ array: [
7850
+ "u8",
7851
+ 7
7852
+ ]
7853
+ }
7854
+ },
7855
+ {
7856
+ name: "admin",
7857
+ type: "pubkey"
7858
+ },
7859
+ {
7860
+ name: "cranky",
7861
+ type: "pubkey"
7862
+ },
7863
+ {
7864
+ name: "_reserved_pubkey",
7865
+ type: {
7866
+ array: [
7867
+ "pubkey",
7868
+ 1
7869
+ ]
7870
+ }
7871
+ },
7872
+ {
7873
+ name: "min_user_deposit",
7874
+ docs: [
7875
+ "Minimum SOL amount a user can deposit"
7876
+ ],
7877
+ type: "u64"
7878
+ },
7879
+ {
7880
+ name: "min_unstake_request",
7881
+ docs: [
7882
+ "Minimum SOL amount for an unstake/withdrawal request"
7883
+ ],
7884
+ type: "u64"
7885
+ },
7886
+ {
7887
+ name: "min_rebalance_stake_delta",
7888
+ docs: [
7889
+ "Minimum stake delta to trigger a stake rebalance order"
7890
+ ],
7891
+ type: "u64"
7892
+ },
7893
+ {
7894
+ name: "min_rebalance_unstake_delta",
7895
+ docs: [
7896
+ "Minimum unstake delta to trigger an unstake rebalance order"
7897
+ ],
7898
+ type: "u64"
7899
+ },
7900
+ {
7901
+ name: "transient_threshold",
7902
+ docs: [
7903
+ "Minimum transient stake to include in effective stake calculations"
7904
+ ],
7905
+ type: "u64"
7906
+ },
7907
+ {
7908
+ name: "min_late_epoch_slot_gate",
7909
+ docs: [
7910
+ "Minimum slots that must have elapsed in the epoch before late epoch operations can execute"
7911
+ ],
7912
+ type: "u64"
7913
+ },
7914
+ {
7915
+ name: "_reserved_u64",
7916
+ type: {
7917
+ array: [
7918
+ "u64",
7919
+ 2
7920
+ ]
7921
+ }
7922
+ },
7923
+ {
7924
+ name: "cooldown_epochs",
7925
+ docs: [
7926
+ "Epochs a validator must wait in the graveyard before it is booted. This begins after the last recorded state change"
7927
+ ],
7928
+ type: "u16"
7929
+ },
7930
+ {
7931
+ name: "deposit_fee_multiplier",
7932
+ docs: [
7933
+ "Multiplier for deposit fee calculation, this would be average \"pay rate x number of epochs we expect the stake to warm up\""
7934
+ ],
7935
+ type: "u16"
7936
+ },
7937
+ {
7938
+ name: "min_vpp_entry",
7939
+ docs: [
7940
+ "Minimum VPP score required to enter the active validator set, this is a fall back for when the val set is really small"
7941
+ ],
7942
+ type: "u16"
7943
+ },
7944
+ {
7945
+ name: "min_vpp_exit",
7946
+ docs: [
7947
+ "VPP score threshold below which a validator is removed from active set, again a fall back"
7948
+ ],
7949
+ type: "u16"
7950
+ },
7951
+ {
7952
+ name: "tiny_network_threshold",
7953
+ docs: [
7954
+ "Max validators for \"tiny\" network band (uses fixed VPP thresholds) as above"
7955
+ ],
7956
+ type: "u16"
7957
+ },
7958
+ {
7959
+ name: "small_network_threshold",
7960
+ docs: [
7961
+ "Max validators for \"small\" network band (uses percentile-based selection)"
7962
+ ],
7963
+ type: "u16"
7964
+ },
7965
+ {
7966
+ name: "medium_network_threshold",
7967
+ docs: [
7968
+ "Max validators for \"medium\" network band (uses percentile-based selection)"
7969
+ ],
7970
+ type: "u16"
7971
+ },
7972
+ {
7973
+ name: "large_network_entry_rank",
7974
+ docs: [
7975
+ "Fixed rank threshold to enter active set in large networks (0-indexed)"
7976
+ ],
7977
+ type: "u16"
7978
+ },
7979
+ {
7980
+ name: "large_network_exit_rank",
7981
+ docs: [
7982
+ "Fixed rank threshold to exit active set in large networks (0-indexed)"
7983
+ ],
7984
+ type: "u16"
7985
+ },
7986
+ {
7987
+ name: "_reserved_u16",
7988
+ type: {
7989
+ array: [
7990
+ "u16",
7991
+ 3
7992
+ ]
7993
+ }
7994
+ },
7995
+ {
7996
+ name: "small_network_entry_percent",
7997
+ docs: [
7998
+ "Percentile rank required to enter active set in small networks"
7999
+ ],
8000
+ type: "u8"
8001
+ },
8002
+ {
8003
+ name: "small_network_exit_percent",
8004
+ docs: [
8005
+ "Percentile rank below which validators exit in small networks"
8006
+ ],
8007
+ type: "u8"
8008
+ },
8009
+ {
8010
+ name: "medium_network_entry_percent",
8011
+ docs: [
8012
+ "Percentile rank required to enter active set in medium networks"
8013
+ ],
8014
+ type: "u8"
8015
+ },
8016
+ {
8017
+ name: "medium_network_exit_percent",
8018
+ docs: [
8019
+ "Percentile rank below which validators exit in medium networks"
8020
+ ],
8021
+ type: "u8"
8022
+ },
8023
+ {
8024
+ name: "_reserved_u8",
8025
+ type: {
8026
+ array: [
8027
+ "u8",
8028
+ 2
8029
+ ]
8030
+ }
8031
+ },
8032
+ {
8033
+ name: "feature_flags",
8034
+ docs: [
8035
+ "Bit 0: DepositsEnabled, Bit 1: WithdrawalsEnabled, Bit 2: ClaimWithdrawalsEnabled,",
8036
+ "Bit 3: ProcessStakeOrdersEnabled, Bit 4: ProcessUnstakeOrdersEnabled,",
8037
+ "Bit 5: ProcessPayCycleEnabled, Bit 6: RebalancingEnabled, Bits 7-15: Reserved"
8038
+ ],
8039
+ type: "u16"
8040
+ },
8041
+ {
8042
+ name: "_reserved_flags",
8043
+ type: {
8044
+ array: [
8045
+ "u16",
8046
+ 1
8047
+ ]
8048
+ }
8049
+ }
8050
+ ]
8051
+ }
8052
+ }
8053
+ ];
8054
+ var mainnetTransferHookIDL = {
8055
+ address: address$4,
8056
+ metadata: metadata$4,
8057
+ instructions: instructions$4,
8058
+ accounts: accounts$3,
8059
+ errors: errors$4,
8060
+ types: types$6
8061
+ };
8062
+
8063
+ var address$3 = "5nBtmutQLrRKBUxNfHJPDjiW5u8id6QM9Hhjg1D1g1XH";
8064
+ var metadata$3 = {
8065
+ name: "liqsol_core",
8066
+ version: "0.1.0",
8067
+ spec: "0.1.0",
8068
+ description: "Created with Anchor"
8069
+ };
8070
+ var instructions$3 = [
8071
+ {
8072
+ name: "add_top_performers_batch",
8073
+ docs: [
8074
+ "Process batch of ranks for addition (top performers from leaderboard)"
8075
+ ],
8076
+ discriminator: [
8077
+ 152,
8078
+ 7,
8079
+ 241,
8080
+ 69,
8081
+ 197,
8082
+ 73,
8083
+ 32,
8084
+ 12
8085
+ ],
8086
+ accounts: [
8087
+ {
8088
+ name: "allocation_state",
8089
+ writable: true
7943
8090
  },
7944
8091
  {
7945
- name: "performance_score",
7946
- type: "u8"
8092
+ name: "active_list",
8093
+ writable: true
8094
+ },
8095
+ {
8096
+ name: "graveyard_list",
8097
+ writable: true
8098
+ },
8099
+ {
8100
+ name: "leaderboard_state"
8101
+ },
8102
+ {
8103
+ name: "maintenance_ledger",
8104
+ writable: true
8105
+ },
8106
+ {
8107
+ name: "processing_state",
8108
+ writable: true
8109
+ },
8110
+ {
8111
+ name: "global_config",
8112
+ docs: [
8113
+ "Global config for threshold parameters"
8114
+ ]
8115
+ },
8116
+ {
8117
+ name: "authority",
8118
+ signer: true
7947
8119
  }
8120
+ ],
8121
+ args: [
7948
8122
  ]
7949
8123
  },
7950
8124
  {
@@ -8031,43 +8205,6 @@ var instructions$3 = [
8031
8205
  args: [
8032
8206
  ]
8033
8207
  },
8034
- {
8035
- name: "blacklist_validator",
8036
- docs: [
8037
- "Blacklist a validator (user-facing, maintenance will handle graveyard movement)",
8038
- "UnderPerforming is set automatically when score is updated",
8039
- "Another serious emergency stop function"
8040
- ],
8041
- discriminator: [
8042
- 125,
8043
- 42,
8044
- 36,
8045
- 229,
8046
- 27,
8047
- 38,
8048
- 226,
8049
- 62
8050
- ],
8051
- accounts: [
8052
- {
8053
- name: "validator_info",
8054
- writable: true
8055
- },
8056
- {
8057
- name: "stake_allocation_state",
8058
- docs: [
8059
- "Stake allocation state - to update total_active_vpp when VPP changes"
8060
- ],
8061
- writable: true
8062
- }
8063
- ],
8064
- args: [
8065
- {
8066
- name: "vote_account",
8067
- type: "pubkey"
8068
- }
8069
- ]
8070
- },
8071
8208
  {
8072
8209
  name: "bond_role",
8073
8210
  discriminator: [
@@ -8634,6 +8771,10 @@ var instructions$3 = [
8634
8771
  name: "epoch_state",
8635
8772
  writable: true
8636
8773
  },
8774
+ {
8775
+ name: "withdraw_global",
8776
+ writable: true
8777
+ },
8637
8778
  {
8638
8779
  name: "active_list"
8639
8780
  },
@@ -9671,118 +9812,55 @@ var instructions$3 = [
9671
9812
  writable: true
9672
9813
  },
9673
9814
  {
9674
- name: "token_program"
9675
- },
9676
- {
9677
- name: "system_program"
9678
- },
9679
- {
9680
- name: "rent"
9681
- }
9682
- ],
9683
- args: [
9684
- ]
9685
- },
9686
- {
9687
- name: "initialize_withdraw_metadata",
9688
- discriminator: [
9689
- 0,
9690
- 170,
9691
- 135,
9692
- 3,
9693
- 35,
9694
- 58,
9695
- 213,
9696
- 75
9697
- ],
9698
- accounts: [
9699
- {
9700
- name: "admin",
9701
- writable: true,
9702
- signer: true
9703
- },
9704
- {
9705
- name: "metadata",
9706
- writable: true
9707
- },
9708
- {
9709
- name: "global_config"
9710
- },
9711
- {
9712
- name: "system_program"
9713
- }
9714
- ],
9715
- args: [
9716
- {
9717
- name: "args",
9718
- type: {
9719
- defined: {
9720
- name: "MetadataArgs"
9721
- }
9722
- }
9723
- }
9724
- ]
9725
- },
9726
- {
9727
- name: "inject_test_yield",
9728
- discriminator: [
9729
- 55,
9730
- 41,
9731
- 251,
9732
- 228,
9733
- 58,
9734
- 191,
9735
- 103,
9736
- 248
9737
- ],
9738
- accounts: [
9739
- {
9740
- name: "admin",
9741
- signer: true
9742
- },
9743
- {
9744
- name: "global_config"
9745
- },
9746
- {
9747
- name: "global_state",
9748
- writable: true
9749
- },
9750
- {
9751
- name: "distribution_state",
9752
- writable: true
9753
- },
9754
- {
9755
- name: "liqsol_mint",
9756
- writable: true
9757
- },
9758
- {
9759
- name: "pool_authority"
9815
+ name: "token_program"
9760
9816
  },
9761
9817
  {
9762
- name: "liqsol_pool_ata",
9763
- writable: true
9818
+ name: "system_program"
9764
9819
  },
9765
9820
  {
9766
- name: "deposit_authority",
9767
- writable: true
9768
- },
9821
+ name: "rent"
9822
+ }
9823
+ ],
9824
+ args: [
9825
+ ]
9826
+ },
9827
+ {
9828
+ name: "initialize_withdraw_metadata",
9829
+ discriminator: [
9830
+ 0,
9831
+ 170,
9832
+ 135,
9833
+ 3,
9834
+ 35,
9835
+ 58,
9836
+ 213,
9837
+ 75
9838
+ ],
9839
+ accounts: [
9769
9840
  {
9770
- name: "liqsol_program"
9841
+ name: "admin",
9842
+ writable: true,
9843
+ signer: true
9771
9844
  },
9772
9845
  {
9773
- name: "liqsol_mint_authority"
9846
+ name: "metadata",
9847
+ writable: true
9774
9848
  },
9775
9849
  {
9776
- name: "instructions_sysvar"
9850
+ name: "global_config"
9777
9851
  },
9778
9852
  {
9779
- name: "token_program"
9853
+ name: "system_program"
9780
9854
  }
9781
9855
  ],
9782
9856
  args: [
9783
9857
  {
9784
- name: "amount",
9785
- type: "u64"
9858
+ name: "args",
9859
+ type: {
9860
+ defined: {
9861
+ name: "MetadataArgs"
9862
+ }
9863
+ }
9786
9864
  }
9787
9865
  ]
9788
9866
  },
@@ -9961,6 +10039,78 @@ var instructions$3 = [
9961
10039
  }
9962
10040
  ]
9963
10041
  },
10042
+ {
10043
+ name: "migrate_batch_orchestrator",
10044
+ docs: [
10045
+ "One-shot migration: realloc BatchOrchestrator for the four per-op",
10046
+ "`*_started_epoch: u16` fields + restored `_reserved` buffer.",
10047
+ "Idempotent, ungated. `payer` covers the rent delta."
10048
+ ],
10049
+ discriminator: [
10050
+ 130,
10051
+ 240,
10052
+ 40,
10053
+ 175,
10054
+ 53,
10055
+ 209,
10056
+ 232,
10057
+ 11
10058
+ ],
10059
+ accounts: [
10060
+ {
10061
+ name: "payer",
10062
+ writable: true,
10063
+ signer: true
10064
+ },
10065
+ {
10066
+ name: "batch_orchestrator",
10067
+ docs: [
10068
+ "is the only authorization needed; the op is idempotent."
10069
+ ],
10070
+ writable: true
10071
+ },
10072
+ {
10073
+ name: "system_program"
10074
+ }
10075
+ ],
10076
+ args: [
10077
+ ]
10078
+ },
10079
+ {
10080
+ name: "migrate_stake_metrics",
10081
+ docs: [
10082
+ "One-shot migration: realloc StakeMetrics for new fields (mev_reward + _reserved)"
10083
+ ],
10084
+ discriminator: [
10085
+ 183,
10086
+ 154,
10087
+ 168,
10088
+ 221,
10089
+ 78,
10090
+ 179,
10091
+ 112,
10092
+ 165
10093
+ ],
10094
+ accounts: [
10095
+ {
10096
+ name: "global_config"
10097
+ },
10098
+ {
10099
+ name: "admin",
10100
+ writable: true,
10101
+ signer: true
10102
+ },
10103
+ {
10104
+ name: "stake_metrics",
10105
+ writable: true
10106
+ },
10107
+ {
10108
+ name: "system_program"
10109
+ }
10110
+ ],
10111
+ args: [
10112
+ ]
10113
+ },
9964
10114
  {
9965
10115
  name: "migrate_user_record",
9966
10116
  discriminator: [
@@ -9999,6 +10149,38 @@ var instructions$3 = [
9999
10149
  args: [
10000
10150
  ]
10001
10151
  },
10152
+ {
10153
+ name: "migrate_validator_info_batch",
10154
+ docs: [
10155
+ "One-shot migration: realloc ValidatorInfoAccounts for new fields (mev + _reserved)",
10156
+ "Pass validator_info PDAs via remaining_accounts"
10157
+ ],
10158
+ discriminator: [
10159
+ 250,
10160
+ 77,
10161
+ 53,
10162
+ 116,
10163
+ 38,
10164
+ 22,
10165
+ 12,
10166
+ 100
10167
+ ],
10168
+ accounts: [
10169
+ {
10170
+ name: "global_config"
10171
+ },
10172
+ {
10173
+ name: "admin",
10174
+ writable: true,
10175
+ signer: true
10176
+ },
10177
+ {
10178
+ name: "system_program"
10179
+ }
10180
+ ],
10181
+ args: [
10182
+ ]
10183
+ },
10002
10184
  {
10003
10185
  name: "process_graveyard_validators_batch",
10004
10186
  docs: [
@@ -11027,182 +11209,41 @@ var instructions$3 = [
11027
11209
  writable: true
11028
11210
  },
11029
11211
  {
11030
- name: "metadata",
11031
- writable: true
11032
- },
11033
- {
11034
- name: "nft_mint",
11035
- docs: [
11036
- "Uses global.next_receipt_id for deterministic, collision-free address generation"
11037
- ],
11038
- writable: true
11039
- },
11040
- {
11041
- name: "nft_ata",
11042
- writable: true
11043
- },
11044
- {
11045
- name: "token_program"
11046
- },
11047
- {
11048
- name: "token_interface"
11049
- },
11050
- {
11051
- name: "associated_token_program"
11052
- },
11053
- {
11054
- name: "system_program"
11055
- },
11056
- {
11057
- name: "rent"
11058
- }
11059
- ],
11060
- args: [
11061
- {
11062
- name: "amount",
11063
- type: "u64"
11064
- }
11065
- ]
11066
- },
11067
- {
11068
- name: "reset_distribution_state",
11069
- discriminator: [
11070
- 159,
11071
- 183,
11072
- 162,
11073
- 74,
11074
- 228,
11075
- 135,
11076
- 157,
11077
- 79
11078
- ],
11079
- accounts: [
11080
- {
11081
- name: "admin",
11082
- signer: true
11083
- },
11084
- {
11085
- name: "distribution_state",
11086
- writable: true
11087
- }
11088
- ],
11089
- args: [
11090
- ]
11091
- },
11092
- {
11093
- name: "reset_global_state",
11094
- discriminator: [
11095
- 252,
11096
- 41,
11097
- 117,
11098
- 110,
11099
- 248,
11100
- 165,
11101
- 48,
11102
- 88
11103
- ],
11104
- accounts: [
11105
- {
11106
- name: "admin",
11107
- signer: true
11108
- },
11109
- {
11110
- name: "global_config"
11111
- },
11112
- {
11113
- name: "global_state",
11114
- writable: true
11115
- },
11116
- {
11117
- name: "pool_authority"
11118
- },
11119
- {
11120
- name: "liqsol_mint"
11121
- },
11122
- {
11123
- name: "liqsol_pool_ata",
11124
- writable: true
11125
- },
11126
- {
11127
- name: "token_program"
11128
- },
11129
- {
11130
- name: "associated_token_program"
11131
- }
11132
- ],
11133
- args: [
11134
- ]
11135
- },
11136
- {
11137
- name: "reset_price_history",
11138
- discriminator: [
11139
- 213,
11140
- 231,
11141
- 155,
11142
- 139,
11143
- 248,
11144
- 60,
11145
- 67,
11146
- 199
11147
- ],
11148
- accounts: [
11149
- {
11150
- name: "admin",
11151
- writable: true,
11152
- signer: true
11153
- },
11154
- {
11155
- name: "global_config"
11212
+ name: "metadata",
11213
+ writable: true
11156
11214
  },
11157
11215
  {
11158
- name: "tranche_state",
11216
+ name: "nft_mint",
11217
+ docs: [
11218
+ "Uses global.next_receipt_id for deterministic, collision-free address generation"
11219
+ ],
11159
11220
  writable: true
11160
11221
  },
11161
11222
  {
11162
- name: "price_history",
11223
+ name: "nft_ata",
11163
11224
  writable: true
11164
11225
  },
11165
11226
  {
11166
- name: "system_program"
11167
- }
11168
- ],
11169
- args: [
11170
- ]
11171
- },
11172
- {
11173
- name: "reset_tranche_state",
11174
- discriminator: [
11175
- 106,
11176
- 102,
11177
- 143,
11178
- 40,
11179
- 152,
11180
- 173,
11181
- 165,
11182
- 168
11183
- ],
11184
- accounts: [
11185
- {
11186
- name: "admin",
11187
- writable: true,
11188
- signer: true
11227
+ name: "token_program"
11189
11228
  },
11190
11229
  {
11191
- name: "global_config"
11230
+ name: "token_interface"
11192
11231
  },
11193
11232
  {
11194
- name: "tranche_state",
11195
- writable: true
11233
+ name: "associated_token_program"
11196
11234
  },
11197
11235
  {
11198
- name: "price_history",
11199
- writable: true
11236
+ name: "system_program"
11200
11237
  },
11201
11238
  {
11202
- name: "system_program"
11239
+ name: "rent"
11203
11240
  }
11204
11241
  ],
11205
11242
  args: [
11243
+ {
11244
+ name: "amount",
11245
+ type: "u64"
11246
+ }
11206
11247
  ]
11207
11248
  },
11208
11249
  {
@@ -11261,45 +11302,6 @@ var instructions$3 = [
11261
11302
  args: [
11262
11303
  ]
11263
11304
  },
11264
- {
11265
- name: "set_last_state_change_epoch",
11266
- docs: [
11267
- "Admin function to directly set last_state_change_epoch (useful for testing cooldowns)"
11268
- ],
11269
- discriminator: [
11270
- 94,
11271
- 57,
11272
- 139,
11273
- 195,
11274
- 123,
11275
- 224,
11276
- 227,
11277
- 106
11278
- ],
11279
- accounts: [
11280
- {
11281
- name: "validator_info",
11282
- writable: true
11283
- },
11284
- {
11285
- name: "stake_allocation_state",
11286
- docs: [
11287
- "Stake allocation state - to update total_active_vpp when VPP changes"
11288
- ],
11289
- writable: true
11290
- }
11291
- ],
11292
- args: [
11293
- {
11294
- name: "vote_account",
11295
- type: "pubkey"
11296
- },
11297
- {
11298
- name: "epoch",
11299
- type: "u16"
11300
- }
11301
- ]
11302
- },
11303
11305
  {
11304
11306
  name: "set_paused",
11305
11307
  discriminator: [
@@ -11651,6 +11653,20 @@ var instructions$3 = [
11651
11653
  },
11652
11654
  {
11653
11655
  name: "stake_history"
11656
+ },
11657
+ {
11658
+ name: "vault",
11659
+ writable: true
11660
+ },
11661
+ {
11662
+ name: "reserve_pool",
11663
+ writable: true
11664
+ },
11665
+ {
11666
+ name: "stake_program"
11667
+ },
11668
+ {
11669
+ name: "clock"
11654
11670
  }
11655
11671
  ],
11656
11672
  args: [
@@ -11794,35 +11810,6 @@ var instructions$3 = [
11794
11810
  }
11795
11811
  ]
11796
11812
  },
11797
- {
11798
- name: "test_clear_active_list",
11799
- discriminator: [
11800
- 17,
11801
- 195,
11802
- 59,
11803
- 174,
11804
- 184,
11805
- 137,
11806
- 149,
11807
- 144
11808
- ],
11809
- accounts: [
11810
- {
11811
- name: "active_list",
11812
- writable: true
11813
- },
11814
- {
11815
- name: "processing_state",
11816
- writable: true
11817
- },
11818
- {
11819
- name: "authority",
11820
- signer: true
11821
- }
11822
- ],
11823
- args: [
11824
- ]
11825
- },
11826
11813
  {
11827
11814
  name: "update_config_bool",
11828
11815
  discriminator: [
@@ -12753,12 +12740,61 @@ var types$5 = [
12753
12740
  ],
12754
12741
  type: "u64"
12755
12742
  },
12743
+ {
12744
+ name: "mev_claims_next_index",
12745
+ docs: [
12746
+ "Next active_list index to process for MEV tip claims"
12747
+ ],
12748
+ type: "u16"
12749
+ },
12750
+ {
12751
+ name: "temp_total_mev_reward",
12752
+ docs: [
12753
+ "Temporary accumulator for MEV rewards across batches"
12754
+ ],
12755
+ type: "u64"
12756
+ },
12757
+ {
12758
+ name: "temp_total_outstanding_amount_to_unstake",
12759
+ docs: [
12760
+ "Temporary accumulator for sum of validators' amount_to_unstake across batches"
12761
+ ],
12762
+ type: "u64"
12763
+ },
12764
+ {
12765
+ name: "validators_sync_started_epoch",
12766
+ docs: [
12767
+ "Owns validators_sync_processed_this_epoch."
12768
+ ],
12769
+ type: "u16"
12770
+ },
12771
+ {
12772
+ name: "leaderboard_scores_started_epoch",
12773
+ docs: [
12774
+ "Owns leaderboard_scores_next_index."
12775
+ ],
12776
+ type: "u16"
12777
+ },
12778
+ {
12779
+ name: "graveyard_cleanup_started_epoch",
12780
+ docs: [
12781
+ "Owns graveyard_cleanup_next_index."
12782
+ ],
12783
+ type: "u16"
12784
+ },
12785
+ {
12786
+ name: "addition_started_epoch",
12787
+ docs: [
12788
+ "Owns addition_next_rank + addition_target_rank."
12789
+ ],
12790
+ type: "u16"
12791
+ },
12756
12792
  {
12757
12793
  name: "_reserved",
12758
12794
  type: {
12759
12795
  array: [
12760
12796
  "u8",
12761
- 23
12797
+ 64
12762
12798
  ]
12763
12799
  }
12764
12800
  }
@@ -13248,6 +13284,15 @@ var types$5 = [
13248
13284
  1
13249
13285
  ]
13250
13286
  }
13287
+ },
13288
+ {
13289
+ name: "_reserved_trailing",
13290
+ type: {
13291
+ array: [
13292
+ "u8",
13293
+ 32
13294
+ ]
13295
+ }
13251
13296
  }
13252
13297
  ]
13253
13298
  }
@@ -13468,16 +13513,32 @@ var types$5 = [
13468
13513
  type: "u8"
13469
13514
  },
13470
13515
  {
13471
- name: "_padding",
13516
+ name: "_align",
13472
13517
  docs: [
13473
- "Reserved space for future upgrades"
13518
+ "Alignment byte (keeps u16 fields below properly aligned)"
13474
13519
  ],
13475
- type: {
13476
- array: [
13477
- "u8",
13478
- 5
13479
- ]
13480
- }
13520
+ type: "u8"
13521
+ },
13522
+ {
13523
+ name: "crank_next_index",
13524
+ docs: [
13525
+ "Next validator index to process during crank_update_scores"
13526
+ ],
13527
+ type: "u16"
13528
+ },
13529
+ {
13530
+ name: "last_crank_epoch",
13531
+ docs: [
13532
+ "Last epoch when crank_update_scores completed all validators"
13533
+ ],
13534
+ type: "u16"
13535
+ },
13536
+ {
13537
+ name: "crank_started_epoch",
13538
+ docs: [
13539
+ "Epoch when start_crank was called (signals an active crank cycle)"
13540
+ ],
13541
+ type: "u16"
13481
13542
  }
13482
13543
  ]
13483
13544
  }
@@ -14137,9 +14198,13 @@ var types$5 = [
14137
14198
  type: "bool"
14138
14199
  },
14139
14200
  {
14140
- name: "addition_next_rank",
14201
+ name: "unstake_allocation_started_epoch",
14141
14202
  docs: [
14142
- "DEPRECATED see BatchOrchestrator.addition_next_rank. Always 0."
14203
+ "Epoch in which the current unstake allocation cycle was started.",
14204
+ "Used to detect stale cycles that span epoch boundaries — if the epoch",
14205
+ "has advanced, the cycle is reset and restarted to avoid resuming",
14206
+ "against a mutated validator active list.",
14207
+ "(Repurposed from the deprecated addition_next_rank field — verified 0 on the mainnet.)"
14143
14208
  ],
14144
14209
  type: "u16"
14145
14210
  },
@@ -14240,6 +14305,34 @@ var types$5 = [
14240
14305
  {
14241
14306
  name: "bump",
14242
14307
  type: "u8"
14308
+ },
14309
+ {
14310
+ name: "mev_reward",
14311
+ docs: [
14312
+ "MEV rewards swept from main stake accounts this epoch (accumulated, reset after pay cycle)"
14313
+ ],
14314
+ type: "u64"
14315
+ },
14316
+ {
14317
+ name: "total_outstanding_amount_to_unstake",
14318
+ docs: [
14319
+ "WNS-16: total amount_to_unstake across all validators at last metrics refresh.",
14320
+ "Represents allocated-but-not-yet-deactivated unstake obligations.",
14321
+ "Subtracted from unstakeable_stake in admission control to prevent double-promising."
14322
+ ],
14323
+ type: "u64"
14324
+ },
14325
+ {
14326
+ name: "_reserved",
14327
+ docs: [
14328
+ "Reserved space for future use"
14329
+ ],
14330
+ type: {
14331
+ array: [
14332
+ "u8",
14333
+ 24
14334
+ ]
14335
+ }
14243
14336
  }
14244
14337
  ]
14245
14338
  }
@@ -14566,6 +14659,25 @@ var types$5 = [
14566
14659
  {
14567
14660
  name: "state_transition_trigger_stake_amount",
14568
14661
  type: "u64"
14662
+ },
14663
+ {
14664
+ name: "mev_earned",
14665
+ docs: [
14666
+ "MEV reward swept for this validator in the current epoch"
14667
+ ],
14668
+ type: "u64"
14669
+ },
14670
+ {
14671
+ name: "_reserved",
14672
+ docs: [
14673
+ "Reserved space for future use"
14674
+ ],
14675
+ type: {
14676
+ array: [
14677
+ "u8",
14678
+ 24
14679
+ ]
14680
+ }
14569
14681
  }
14570
14682
  ]
14571
14683
  }
@@ -15164,252 +15276,106 @@ var metadata$1 = {
15164
15276
  };
15165
15277
  var instructions$1 = [
15166
15278
  {
15167
- name: "initialize_leaderboard",
15168
- discriminator: [
15169
- 47,
15170
- 23,
15171
- 34,
15172
- 39,
15173
- 46,
15174
- 108,
15175
- 91,
15176
- 176
15177
- ],
15178
- accounts: [
15179
- {
15180
- name: "authority",
15181
- writable: true,
15182
- signer: true
15183
- },
15184
- {
15185
- name: "leaderboard_state",
15186
- writable: true
15187
- },
15188
- {
15189
- name: "system_program"
15190
- }
15191
- ],
15192
- args: [
15193
- ]
15194
- },
15195
- {
15196
- name: "realloc_leaderboard",
15279
+ name: "crank_update_scores",
15197
15280
  discriminator: [
15198
- 2,
15199
- 70,
15200
- 106,
15201
- 94,
15202
- 81,
15203
- 225,
15204
- 113,
15205
- 152
15281
+ 163,
15282
+ 247,
15283
+ 66,
15284
+ 109,
15285
+ 22,
15286
+ 206,
15287
+ 61,
15288
+ 95
15206
15289
  ],
15207
15290
  accounts: [
15208
15291
  {
15209
15292
  name: "leaderboard_state",
15210
15293
  writable: true
15211
- },
15212
- {
15213
- name: "payer",
15214
- writable: true,
15215
- signer: true
15216
- },
15217
- {
15218
- name: "system_program"
15219
15294
  }
15220
15295
  ],
15221
15296
  args: [
15222
15297
  ]
15223
15298
  },
15224
15299
  {
15225
- name: "test_clear_leaderboard",
15300
+ name: "initialize_leaderboard",
15226
15301
  discriminator: [
15227
- 118,
15228
- 207,
15229
- 26,
15230
- 205,
15231
- 180,
15232
- 7,
15233
- 75,
15234
- 244
15302
+ 47,
15303
+ 23,
15304
+ 34,
15305
+ 39,
15306
+ 46,
15307
+ 108,
15308
+ 91,
15309
+ 176
15235
15310
  ],
15236
15311
  accounts: [
15237
- {
15238
- name: "leaderboard_state",
15239
- writable: true
15240
- },
15241
15312
  {
15242
15313
  name: "authority",
15243
- signer: true
15244
- }
15245
- ],
15246
- args: [
15247
- ]
15248
- },
15249
- {
15250
- name: "test_force_register_validator",
15251
- discriminator: [
15252
- 136,
15253
- 156,
15254
- 132,
15255
- 32,
15256
- 96,
15257
- 240,
15258
- 7,
15259
- 115
15260
- ],
15261
- accounts: [
15262
- {
15263
- name: "registrant",
15264
15314
  writable: true,
15265
15315
  signer: true
15266
15316
  },
15267
- {
15268
- name: "vote_account"
15269
- },
15270
- {
15271
- name: "validator_record",
15272
- writable: true
15273
- },
15274
15317
  {
15275
15318
  name: "leaderboard_state",
15276
15319
  writable: true
15277
15320
  },
15278
15321
  {
15279
15322
  name: "system_program"
15280
- },
15281
- {
15282
- name: "clock"
15283
15323
  }
15284
15324
  ],
15285
15325
  args: [
15286
- {
15287
- name: "vpp",
15288
- type: "u8"
15289
- }
15290
15326
  ]
15291
15327
  },
15292
15328
  {
15293
- name: "test_force_update_vpp",
15329
+ name: "migrate_v1_4",
15294
15330
  discriminator: [
15295
- 67,
15296
- 51,
15297
- 28,
15298
- 174,
15299
- 200,
15300
- 214,
15301
- 203,
15302
- 162
15331
+ 41,
15332
+ 152,
15333
+ 69,
15334
+ 58,
15335
+ 215,
15336
+ 119,
15337
+ 255,
15338
+ 189
15303
15339
  ],
15304
15340
  accounts: [
15305
15341
  {
15306
- name: "registrant",
15342
+ name: "authority",
15307
15343
  writable: true,
15308
15344
  signer: true
15309
15345
  },
15310
15346
  {
15311
- name: "vote_account"
15312
- },
15313
- {
15314
- name: "validator_record",
15347
+ name: "leaderboard_state",
15315
15348
  writable: true
15316
15349
  },
15317
15350
  {
15318
- name: "leaderboard_state",
15319
- writable: true
15351
+ name: "system_program"
15320
15352
  }
15321
15353
  ],
15322
15354
  args: [
15323
- {
15324
- name: "vpp",
15325
- type: "u8"
15326
- }
15327
15355
  ]
15328
15356
  },
15329
15357
  {
15330
- name: "test_log_epoch_info",
15358
+ name: "realloc_leaderboard",
15331
15359
  discriminator: [
15332
- 196,
15333
- 206,
15334
- 58,
15335
- 88,
15336
- 160,
15337
- 47,
15338
15360
  2,
15339
- 153
15340
- ],
15341
- accounts: [
15342
- ],
15343
- args: [
15344
- ]
15345
- },
15346
- {
15347
- name: "test_seed_random_validators",
15348
- discriminator: [
15349
- 48,
15350
- 155,
15351
- 181,
15352
- 112,
15353
- 163,
15354
- 242,
15355
- 43,
15356
- 146
15361
+ 70,
15362
+ 106,
15363
+ 94,
15364
+ 81,
15365
+ 225,
15366
+ 113,
15367
+ 152
15357
15368
  ],
15358
15369
  accounts: [
15359
- {
15360
- name: "registrant",
15361
- writable: true,
15362
- signer: true
15363
- },
15364
15370
  {
15365
15371
  name: "leaderboard_state",
15366
15372
  writable: true
15367
- }
15368
- ],
15369
- args: [
15370
- {
15371
- name: "count",
15372
- type: "u16"
15373
- },
15374
- {
15375
- name: "seed",
15376
- type: "u64"
15377
- },
15378
- {
15379
- name: "min_vpp",
15380
- type: "u8"
15381
15373
  },
15382
15374
  {
15383
- name: "max_vpp",
15384
- type: "u8"
15385
- }
15386
- ]
15387
- },
15388
- {
15389
- name: "update_commission",
15390
- discriminator: [
15391
- 2,
15392
- 202,
15393
- 72,
15394
- 156,
15395
- 19,
15396
- 253,
15397
- 91,
15398
- 174
15399
- ],
15400
- accounts: [
15401
- {
15402
- name: "registrant",
15375
+ name: "payer",
15403
15376
  writable: true,
15404
15377
  signer: true
15405
15378
  },
15406
- {
15407
- name: "vote_account"
15408
- },
15409
- {
15410
- name: "validator_record",
15411
- writable: true
15412
- },
15413
15379
  {
15414
15380
  name: "system_program"
15415
15381
  }
@@ -15418,28 +15384,25 @@ var instructions$1 = [
15418
15384
  ]
15419
15385
  },
15420
15386
  {
15421
- name: "update_mev_commission",
15387
+ name: "start_crank",
15422
15388
  discriminator: [
15423
- 107,
15424
- 65,
15425
- 238,
15426
- 108,
15427
- 183,
15428
- 47,
15429
- 236,
15430
- 203
15389
+ 31,
15390
+ 83,
15391
+ 66,
15392
+ 14,
15393
+ 249,
15394
+ 131,
15395
+ 221,
15396
+ 67
15431
15397
  ],
15432
15398
  accounts: [
15433
15399
  {
15434
- name: "signer",
15400
+ name: "cranker",
15435
15401
  signer: true
15436
15402
  },
15437
15403
  {
15438
- name: "validator_record",
15404
+ name: "leaderboard_state",
15439
15405
  writable: true
15440
- },
15441
- {
15442
- name: "tip_distribution_account"
15443
15406
  }
15444
15407
  ],
15445
15408
  args: [
@@ -15464,7 +15427,10 @@ var instructions$1 = [
15464
15427
  signer: true
15465
15428
  },
15466
15429
  {
15467
- name: "vote_account"
15430
+ name: "vote_account",
15431
+ docs: [
15432
+ "If no longer owned by the vote program (closed/reclaimed), score is set to 0."
15433
+ ]
15468
15434
  },
15469
15435
  {
15470
15436
  name: "validator_record",
@@ -15479,14 +15445,6 @@ var instructions$1 = [
15479
15445
  }
15480
15446
  ],
15481
15447
  args: [
15482
- {
15483
- name: "vpp",
15484
- type: "u8"
15485
- },
15486
- {
15487
- name: "proposed_rank",
15488
- type: "u16"
15489
- }
15490
15448
  ]
15491
15449
  }
15492
15450
  ];
@@ -15734,16 +15692,32 @@ var types$3 = [
15734
15692
  type: "u8"
15735
15693
  },
15736
15694
  {
15737
- name: "_padding",
15695
+ name: "_align",
15738
15696
  docs: [
15739
- "Reserved space for future upgrades"
15697
+ "Alignment byte (keeps u16 fields below properly aligned)"
15740
15698
  ],
15741
- type: {
15742
- array: [
15743
- "u8",
15744
- 5
15745
- ]
15746
- }
15699
+ type: "u8"
15700
+ },
15701
+ {
15702
+ name: "crank_next_index",
15703
+ docs: [
15704
+ "Next validator index to process during crank_update_scores"
15705
+ ],
15706
+ type: "u16"
15707
+ },
15708
+ {
15709
+ name: "last_crank_epoch",
15710
+ docs: [
15711
+ "Last epoch when crank_update_scores completed all validators"
15712
+ ],
15713
+ type: "u16"
15714
+ },
15715
+ {
15716
+ name: "crank_started_epoch",
15717
+ docs: [
15718
+ "Epoch when start_crank was called (signals an active crank cycle)"
15719
+ ],
15720
+ type: "u16"
15747
15721
  }
15748
15722
  ]
15749
15723
  }
@@ -15854,15 +15828,13 @@ var types$3 = [
15854
15828
  {
15855
15829
  name: "mev_commission",
15856
15830
  docs: [
15857
- "Current MEV commission in basis points"
15831
+ "DEPRECATED: MEV commission fields are no longer written or read by any instruction.",
15832
+ "Retained to preserve account layout (removing would require migration)."
15858
15833
  ],
15859
15834
  type: "u16"
15860
15835
  },
15861
15836
  {
15862
15837
  name: "mev_commission_history",
15863
- docs: [
15864
- "Circular buffer of past 10 MEV commission values"
15865
- ],
15866
15838
  type: {
15867
15839
  array: [
15868
15840
  "u16",
@@ -15872,16 +15844,10 @@ var types$3 = [
15872
15844
  },
15873
15845
  {
15874
15846
  name: "mev_commission_index",
15875
- docs: [
15876
- "Current index in mev_commission_history circular buffer (0-9)"
15877
- ],
15878
15847
  type: "u8"
15879
15848
  },
15880
15849
  {
15881
15850
  name: "last_mev_commission_update",
15882
- docs: [
15883
- "Last epoch when MEV commission was updated"
15884
- ],
15885
15851
  type: "u64"
15886
15852
  },
15887
15853
  {
@@ -16378,6 +16344,15 @@ var types$2 = [
16378
16344
  1
16379
16345
  ]
16380
16346
  }
16347
+ },
16348
+ {
16349
+ name: "_reserved_trailing",
16350
+ type: {
16351
+ array: [
16352
+ "u8",
16353
+ 32
16354
+ ]
16355
+ }
16381
16356
  }
16382
16357
  ]
16383
16358
  }