func (md *MatrixDeposit) GetAllInterest(contract *Contract, stateDB StateDB) map[common.Address]*big.Int {
	interestList := make(map[common.Address]*big.Int)

	depositList := md.getAllDepositList(contract, stateDB, true)
	for _, deposit := range depositList {
		interest := md.GetInterest(contract, stateDB, deposit.Address)
		interestList[deposit.Address] = interest
	}

	return interestList
}
// GetAllInterest get all account interest.
GetAllInterest get all account interest.
// GetAllInterest get all account interest .
func (md *MatrixDeposit) GetAllInterest(contract *Contract, stateDB StateDB) map[common.Address]*big.Int {
	interestList := make(map[common.Address]*big.Int)
	depositList := md.getAllDepositList(contract, stateDB, true)
	for _, deposit := range depositList {
		interest := md.GetInterest(contract, stateDB, deposit.Address)
		interestList[deposit.Address] = interest
	}
	return interestList
}
func ( md * MatrixDeposit ) GetAllInterest ( contract * Contract , stateDB StateDB ) map [ common . Address ] * big . Int { interestList := make ( map [ common . Address ] * big . Int ) depositList := md . getAllDepositList ( contract , stateDB , true ) for _ , deposit := range depositList { interest := md . GetInterest ( contract , stateDB , deposit . Address ) interestList [ deposit . Address ] = interest } return interestList }
GetAllInterest get all account interest.
GetAllInterest get all account interest .