Skip to content

Commit 226a8ff

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

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;
@@ -78,7 +81,7 @@ pub async fn start_agent(config: &'static config::Cli) {
7881
verifying_contract: config.receipts.receipts_verifier_address,
7982
};
8083

81-
let _accounts_manager = accounts_manager::AccountsManager::new(
84+
let _sender_allocation_relationships_manager = SenderAllocationRelationshipsManager::new(
8285
config,
8386
pgpool,
8487
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)