Parameters used directly inside the AnyHedge contract.
Members
enableMutualRedemption :number
Integer flag that can be used to enable or disable mutual redemption support in the contract. (0 = disabled, 1 = enabled)
Type:
- number
hedgeLockScript :string
Payout lockscript used to encumber funds paid out from the contract to the hedge position.
Type:
- string
hedgeMutualRedeemPublicKey :string
Public key for the hedge positions keypair used for mutual redemption.
Type:
- string
highLiquidationPrice :number
Upper price at which the contract liquidates at.
Type:
- number
longLockScript :string
Payout lockscript used to encumber funds paid out from the contract to the long position.
Type:
- string
longMutualRedeemPublicKey :string
Public key for the long positions keypair used for mutual redemption.
Type:
- string
lowLiquidationPrice :number
Lower price at which the contract liquidates at.
Type:
- number
maturityTimestamp :number
Unix timestamp of the date and time at which the contract matures.
Type:
- number
nominalUnitsXSatsPerBch :number
Nominal contract size scaled by satoshis-per-bch in order to retain precision of internal calculations.
Type:
- number
oraclePublicKey :string
Public key of the oracle that provide price information to this contract.
Type:
- string
payoutSats :number
Total satoshis sent when funding, minus a predetermined miner-fee, used to determine which satoshis to pay out on settlement.
Type:
- number
startTimestamp :number
Unix timestamps of the earliest data and time the contract can be liquidated.
Type:
- number