Metadata not directly used by the AnyHedge contract, but used in debugging and in many utility functions that require parameters closer to intent.
Members
durationInSeconds :number
Duration in seconds in relation to the starting timestamp used to determine the contracts maturity time.
Type:
- number
hedgeInputInOracleUnits :number
Initial size of the hedge position in the contract, in oracle units.
Type:
- number
hedgeInputInSatoshis :number
Initial size of the hedge position in the contract, in satoshis.
Type:
- number
hedgePayoutAddress :string
Payout address where the hedge position of the contract pays out to on settlement.
Type:
- string
highLiquidationPriceMultiplier :number
Multiplier for startPrice that determines the upper liquidation price.
Type:
- number
longInputInOracleUnits :number
Initial size of the long position in the contract, in oracle units.
Type:
- number
longInputInSatoshis :number
Initial size of the long position in the contract, in satoshis.
Type:
- number
longPayoutAddress :string
Payout address where the long position of the contract pays out to on settlement.
Type:
- string
lowLiquidationPriceMultiplier :number
Multiplier for startPrice that determines the lower liquidation price, and therefor both the leverage and price protection of the contract.
Type:
- number
makerSide :ContractSideV1
Which side of the contract that the responding party takes on.
Type:
- ContractSideV1
minerCostInSatoshis :number
Number of satoshis to reserve for settlement miner fees.
Type:
- number
nominalUnits :number
Nominal size of the contract, equivalent to the hedge positions input units.
Type:
- number
startingOracleMessage :string
Oracle message used as the starting point for the contract.
Type:
- string
startingOracleSignature :string
Oracle signature for the message used as the starting point for the contract.
Type:
- string
startPrice :number
Oracle price used to determine starting conditions for the contract.
Type:
- number
takerSide :ContractSideV1
Which side of the contract that the initiating party takes on.
Type:
- ContractSideV1