polish(api): expose filReserveDisbursed via CirculatingSupply API
- motivated by: https://github.com/filecoin-project/sentinel-visor/issues/462
This commit is contained in:
parent
f97784ad48
commit
c118415b12
@ -1004,6 +1004,7 @@ type CirculatingSupply struct {
|
|||||||
FilBurnt abi.TokenAmount
|
FilBurnt abi.TokenAmount
|
||||||
FilLocked abi.TokenAmount
|
FilLocked abi.TokenAmount
|
||||||
FilCirculating abi.TokenAmount
|
FilCirculating abi.TokenAmount
|
||||||
|
FilReserveDisbursed abi.TokenAmount
|
||||||
}
|
}
|
||||||
|
|
||||||
type MiningBaseInfo struct {
|
type MiningBaseInfo struct {
|
||||||
|
@ -1284,6 +1284,7 @@ func (sm *StateManager) GetVMCirculatingSupplyDetailed(ctx context.Context, heig
|
|||||||
FilBurnt: filBurnt,
|
FilBurnt: filBurnt,
|
||||||
FilLocked: filLocked,
|
FilLocked: filLocked,
|
||||||
FilCirculating: ret,
|
FilCirculating: ret,
|
||||||
|
FilReserveDisbursed: filReserveDisbursed,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user