Skip to content

Commit

Permalink
fix: add missing estaking field type (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Sep 13, 2024
1 parent 2739df9 commit fb40347
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,21 @@ type MasterchefPoolInfo struct {

type Estaking struct {
estakingtypes.GenesisState

Params EstakingParams `json:"params"`
StakingSnapshots []interface{} `json:"staking_snapshots"`
}

type EstakingParams struct {
estakingtypes.Params

DexRewardsStakers EstakingDexRewardsTracker `json:"dex_rewards_stakers"`
}

type EstakingDexRewardsTracker struct {
estakingtypes.DexRewardsTracker

NumBlocks json.Number `json:"num_blocks"`
}

type Tokenomics struct {
Expand Down

0 comments on commit fb40347

Please sign in to comment.