Skip to main content

Crate newton_prover_config

Crate newton_prover_config 

Source
Expand description

config

Re-exports§

pub use loader::ConfigLoader;

Modules§

contracts
Contracts Config
deployments
Embedded deployment files Embedded deployment files
dotenv
Environment variables
error
Config Error
ipfs
IPFS Config
key
Key Config
loader
Config Loader Trait Configuration loader trait
log
Log Config
macros
Macros
rpc
RPC Config

Macros§

env_option
macro that sets option field from environment variable
env_string
macro that sets field from environment variable
merge_address
macro for merging address fields - only merge if other field is non-zero address
merge_bool
macro for merging boolean fields - basically an OR
merge_numeric
macro for merging numeric fields - only merge if other field is non-zero
merge_option
macro for merging option fields - only merge if other field is Some
merge_string
macro for merging string fields - only merge if other field is non-empty

Structs§

NewtonAvsConfig
NewtonAvsConfigBuilder