Skip to content

Refactor _getExpiredCashValue() to remove external Otoken calls #335

Description

@haythemsellami

Modify _getExpiredCashValue() to take the otoken underlying, strike asset, expiry and option type as params instead of taking an Otoken contract.

The current MarginCalculator implementation have a lot of repetitive external calls, as an example:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions