Skip to content

Commit

Permalink
client fields should be public
Browse files Browse the repository at this point in the history
  • Loading branch information
ETeissonniere committed Aug 16, 2024
1 parent 43e6847 commit 36ce07a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ const ZYFI_PAYMASTER_URL: &str = "https://api.zyfi.org/api/erc20_paymaster/v1";

pub struct ClientZyFi {
/// API Key to authenticate with ZyFi
api_key: Option<String>,
pub api_key: Option<String>,

/// Address of the token to use when paying for fees
fee_token_address: Option<String>,
pub fee_token_address: Option<String>,

/// Whether to use the testnet or mainnet
testnet: bool,
pub testnet: bool,

/// Chain ID to use, defaults to ZkSync mainnet
chain_id: u32,
pub chain_id: u32,
}

impl Default for ClientZyFi {
Expand Down

0 comments on commit 36ce07a

Please sign in to comment.