polish(api): expose filReserveDisbursed via CirculatingSupply API

- motivated by: https://github.com/filecoin-project/sentinel-visor/issues/462
This commit is contained in:
frrist 2021-04-16 15:15:38 -07:00
parent f97784ad48
commit c118415b12
2 changed files with 12 additions and 10 deletions

View File

@ -1004,6 +1004,7 @@ type CirculatingSupply struct {
FilBurnt abi.TokenAmount
FilLocked abi.TokenAmount
FilCirculating abi.TokenAmount
FilReserveDisbursed abi.TokenAmount
}
type MiningBaseInfo struct {

View File

@ -1284,6 +1284,7 @@ func (sm *StateManager) GetVMCirculatingSupplyDetailed(ctx context.Context, heig
FilBurnt: filBurnt,
FilLocked: filLocked,
FilCirculating: ret,
FilReserveDisbursed: filReserveDisbursed,
}, nil
}