Skip to content

Commit a53110b

Browse files
committed
refactor: rename Account to SenderAllocationRelationship
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
1 parent 4389f35 commit a53110b

File tree

4 files changed

+232
-119
lines changed

4 files changed

+232
-119
lines changed

tap-agent/src/agent.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ use indexer_common::prelude::{
88
escrow_accounts, indexer_allocations, DeploymentDetails, SubgraphClient,
99
};
1010

11-
use crate::{aggregator_endpoints, config, database, tap::accounts_manager};
11+
use crate::{
12+
aggregator_endpoints, config, database,
13+
tap::sender_allocation_relationships_manager::SenderAllocationRelationshipsManager,
14+
};
1215

1316
pub async fn start_agent(config: &'static config::Cli) {
1417
let pgpool = database::connect(&config.postgres).await;
@@ -76,7 +79,7 @@ pub async fn start_agent(config: &'static config::Cli) {
7679
verifying_contract: config.receipts.receipts_verifier_address,
7780
};
7881

79-
let _accounts_manager = accounts_manager::AccountsManager::new(
82+
let _sender_allocation_relationships_manager = SenderAllocationRelationshipsManager::new(
8083
config,
8184
pgpool,
8285
indexer_allocations,

tap-agent/src/tap/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Copyright 2023-, GraphOps and Semiotic Labs.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
mod account;
5-
pub mod accounts_manager;
64
mod escrow_adapter;
75
mod rav_storage_adapter;
86
mod receipt_checks_adapter;
97
mod receipt_storage_adapter;
8+
mod sender_allocation_relationship;
9+
pub mod sender_allocation_relationships_manager;
1010

1111
#[cfg(test)]
1212
pub mod test_utils;

0 commit comments

Comments
 (0)