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

	depositList := md.getAllDepositList(contract, stateDB, true)
	for _, deposit := range depositList {
		slash := md.GetSlash(contract, stateDB, deposit.Address)
		slashList[deposit.Address] = slash
	}

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