Skip to main content

derive_option_token_address

Function derive_option_token_address 

pub fn derive_option_token_address(
    deployment: OptionTokenDeployment,
    underlying: &str,
    expiry_yyyymmdd: u64,
    strike: Decimal,
    option_type: &str,
) -> Result<WalletAddress, OptionTokenDerivationError>
Expand description

Derive an option token address from a normalized option-type string.