pub fn wallet_balance_changed(
        &self,
        chain: &str,
        address: ethers::types::Address,
        current_balance: ethers::types::U256,
    ) {
        self.wallet_balance
            .with_label_values(&[chain, &format!("{:x}", address), &self.agent_name])
            .set(current_balance.as_u64() as i64) // XXX: truncated data
    }
/// Call with the new balance when gas is spent.
Call with the new balance when gas is spent.
Call with the new balance when gas is spent .
pub fn wallet_balance_changed(
        &self,
        chain: &str,
        address: ethers::types::Address,
        current_balance: ethers::types::U256,
    ) {
        self.wallet_balance
            .with_label_values(&[chain, &format!("{:x}", address), &self.agent_name])
            .set(current_balance.as_u64() as i64) // XXX: truncated data
    }
pub fn wallet_balance_changed ( & self , chain : & str , address : ethers :: types :: Address , current_balance : ethers :: types :: U256 , ) { self . wallet_balance . with_label_values ( & [ chain , & format ! ( " " address ) , & self . agent_name ] ) . set ( current_balance . as_u64 ( ) as i64 ) // XXX: truncated data }
Call with the new balance when gas is spent.
Call with the new balance when gas is spent .
&self
chain
&str
address
ethers::types::Address
current_balance
ethers::types::U256
&self
chain
&str
address
ethers::types::Address
current_balance
ethers::types::U256