@@ -236,45 +236,6 @@ pub struct PaginationInfo {
236236 pub limit : u32 ,
237237}
238238
239- #[ derive( Debug , Deserialize , Serialize ) ]
240- pub struct StakingEntry {
241- pub staker_address : String ,
242- pub epoch : u64 ,
243- pub staked_amount : String ,
244- pub staked_amount_formatted : String ,
245- pub is_withdrawing : bool ,
246- pub rewards_generated : String ,
247- pub rewards_generated_formatted : String ,
248- #[ serde( skip_serializing_if = "Option::is_none" ) ]
249- pub rank : Option < u64 > ,
250- #[ serde( skip_serializing_if = "Option::is_none" ) ]
251- pub rewards_delegated_to : Option < String > ,
252- #[ serde( skip_serializing_if = "Option::is_none" ) ]
253- pub votes_delegated_to : Option < String > ,
254- }
255-
256- #[ derive( Debug , Deserialize , Serialize ) ]
257- pub struct StakingSummary {
258- pub staker_address : String ,
259- pub total_staked : String ,
260- pub total_staked_formatted : String ,
261- pub is_withdrawing : bool ,
262- pub epochs_participated : u64 ,
263- pub total_rewards_generated : String ,
264- pub total_rewards_generated_formatted : String ,
265- #[ serde( skip_serializing_if = "Option::is_none" ) ]
266- pub rewards_delegated_to : Option < String > ,
267- #[ serde( skip_serializing_if = "Option::is_none" ) ]
268- pub votes_delegated_to : Option < String > ,
269- }
270-
271- #[ derive( Debug , Deserialize , Serialize ) ]
272- pub struct StakingHistoryResponse {
273- pub entries : Vec < StakingEntry > ,
274- pub pagination : PaginationInfo ,
275- pub summary : Option < StakingSummary > ,
276- }
277-
278239#[ derive( Debug , Deserialize , Serialize ) ]
279240pub struct EpochStakingSummary {
280241 pub epoch : u64 ,
@@ -293,13 +254,6 @@ pub struct EpochStakingSummary {
293254 pub last_updated_at : Option < String > ,
294255}
295256
296- #[ derive( Debug , Deserialize , Serialize ) ]
297- pub struct EpochStakingResponse {
298- pub entries : Vec < StakingEntry > ,
299- pub pagination : PaginationInfo ,
300- pub summary : Option < EpochStakingSummary > ,
301- }
302-
303257#[ derive( Debug , Deserialize , Serialize ) ]
304258pub struct PovwEntry {
305259 #[ serde( skip_serializing_if = "Option::is_none" ) ]
@@ -349,13 +303,6 @@ pub struct EpochPovwSummary {
349303 pub last_updated_at : Option < String > ,
350304}
351305
352- #[ derive( Debug , Deserialize , Serialize ) ]
353- pub struct EpochPovwResponse {
354- pub entries : Vec < PovwEntry > ,
355- pub pagination : PaginationInfo ,
356- pub summary : Option < EpochPovwSummary > ,
357- }
358-
359306///Data for a specific address in a specific epoch
360307#[ derive( Debug , Deserialize , Serialize ) ]
361308pub struct EpochPovwAddressData {
0 commit comments