Skip to content

Commit

Permalink
update idl
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Sep 10, 2024
1 parent 4d66b0f commit 1309e52
Showing 1 changed file with 265 additions and 0 deletions.
265 changes: 265 additions & 0 deletions programs/steward/idl/steward.json
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,19 @@
77
]
},
{
"name": "InstantUnstakeComponentsV2",
"discriminator": [
138,
62,
181,
14,
9,
48,
109,
47
]
},
{
"name": "RebalanceEvent",
"discriminator": [
Expand All @@ -1646,6 +1659,19 @@
251
]
},
{
"name": "ScoreComponentsV2",
"discriminator": [
140,
182,
108,
49,
246,
38,
247,
181
]
},
{
"name": "StateTransition",
"discriminator": [
Expand Down Expand Up @@ -2315,6 +2341,47 @@
},
{
"name": "InstantUnstakeComponents",
"docs": [
"Deprecated: This struct is no longer emitted but is kept to allow parsing of old events.",
"Because the event discriminator is based on struct name, it's important to rename the struct if",
"fields are changed."
],
"type": {
"kind": "struct",
"fields": [
{
"name": "instant_unstake",
"type": "bool"
},
{
"name": "delinquency_check",
"type": "bool"
},
{
"name": "commission_check",
"type": "bool"
},
{
"name": "mev_commission_check",
"type": "bool"
},
{
"name": "is_blacklisted",
"type": "bool"
},
{
"name": "vote_account",
"type": "pubkey"
},
{
"name": "epoch",
"type": "u16"
}
]
}
},
{
"name": "InstantUnstakeComponentsV2",
"type": {
"kind": "struct",
"fields": [
Expand Down Expand Up @@ -2360,6 +2427,64 @@
{
"name": "epoch",
"type": "u16"
},
{
"name": "details",
"type": {
"defined": {
"name": "InstantUnstakeDetails"
}
}
}
]
}
},
{
"name": "InstantUnstakeDetails",
"type": {
"kind": "struct",
"fields": [
{
"name": "epoch_credits_latest",
"docs": [
"Latest epoch credits"
],
"type": "u64"
},
{
"name": "vote_account_last_update_slot",
"docs": [
"Latest vote account update slot"
],
"type": "u64"
},
{
"name": "total_blocks_latest",
"docs": [
"Latest total blocks"
],
"type": "u32"
},
{
"name": "cluster_history_slot_index",
"docs": [
"Cluster history slot index"
],
"type": "u64"
},
{
"name": "commission",
"docs": [
"Commission value"
],
"type": "u8"
},
{
"name": "mev_commission",
"docs": [
"MEV commission value"
],
"type": "u16"
}
]
}
Expand Down Expand Up @@ -2617,6 +2742,67 @@
},
{
"name": "ScoreComponents",
"docs": [
"Deprecated: This struct is no longer emitted but is kept to allow parsing of old events.",
"Because the event discriminator is based on struct name, it's important to rename the struct if",
"fields are changed."
],
"type": {
"kind": "struct",
"fields": [
{
"name": "score",
"type": "f64"
},
{
"name": "yield_score",
"type": "f64"
},
{
"name": "mev_commission_score",
"type": "f64"
},
{
"name": "blacklisted_score",
"type": "f64"
},
{
"name": "superminority_score",
"type": "f64"
},
{
"name": "delinquency_score",
"type": "f64"
},
{
"name": "running_jito_score",
"type": "f64"
},
{
"name": "commission_score",
"type": "f64"
},
{
"name": "historical_commission_score",
"type": "f64"
},
{
"name": "vote_credits_ratio",
"type": "f64"
},
{
"name": "vote_account",
"type": "pubkey"
},
{
"name": "epoch",
"type": "u16"
}
]
}
},
{
"name": "ScoreComponentsV2",
"type": {
"kind": "struct",
"fields": [
Expand Down Expand Up @@ -2698,6 +2884,85 @@
{
"name": "epoch",
"type": "u16"
},
{
"name": "details",
"type": {
"defined": {
"name": "ScoreDetails"
}
}
}
]
}
},
{
"name": "ScoreDetails",
"type": {
"kind": "struct",
"fields": [
{
"name": "max_mev_commission",
"docs": [
"Max MEV commission observed"
],
"type": "u16"
},
{
"name": "max_mev_commission_epoch",
"docs": [
"Epoch of max MEV commission"
],
"type": "u16"
},
{
"name": "superminority_epoch",
"docs": [
"Epoch when superminority was detected"
],
"type": "u16"
},
{
"name": "delinquency_ratio",
"docs": [
"Ratio that failed delinquency check"
],
"type": "f64"
},
{
"name": "delinquency_epoch",
"docs": [
"Epoch when delinquency was detected"
],
"type": "u16"
},
{
"name": "max_commission",
"docs": [
"Max commission observed"
],
"type": "u8"
},
{
"name": "max_commission_epoch",
"docs": [
"Epoch of max commission"
],
"type": "u16"
},
{
"name": "max_historical_commission",
"docs": [
"Max historical commission observed"
],
"type": "u8"
},
{
"name": "max_historical_commission_epoch",
"docs": [
"Epoch of max historical commission"
],
"type": "u16"
}
]
}
Expand Down

0 comments on commit 1309e52

Please sign in to comment.