| 35 | var _ IBalanceModule = (*imlBalanceModule)(nil) |
| 36 | |
| 37 | type imlBalanceModule struct { |
| 38 | clusterService cluster.IClusterService `autowired:""` |
| 39 | aiAPIService ai_api.IAPIService `autowired:""` |
| 40 | aiKeyService ai_key.IKeyService `autowired:""` |
| 41 | balanceService ai_balance.IBalanceService `autowired:""` |
| 42 | settingService setting.ISettingService `autowired:""` |
| 43 | transaction store.ITransaction `autowired:""` |
| 44 | } |
| 45 | |
| 46 | func (i *imlBalanceModule) SyncLocalBalances(ctx context.Context, address string) error { |
| 47 | releases, err := i.getLocalBalances(ctx, address) |
nothing calls this directly
no outgoing calls
no test coverage detected