ContractCreationParametersV1

ContractCreationParametersV1

Parameters required to create an 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

hedgeMutualRedeemPublicKey :string

Public key for the hedge positions keypair used for mutual redemption.
Type:
  • string

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

longMutualRedeemPublicKey :string

Public key for the long positions keypair used for mutual redemption.
Type:
  • string

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

maturityTimestamp :number

Unix timestamp of the date and time at which the contract matures.
Type:
  • number

nominalUnits :number

Intended nominal size of the contract, also represents the intended hedge size of the contract.
Type:
  • number

oraclePublicKey :string

Public key of the oracle that provide price information to this contract.
Type:
  • string

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

takerSide :ContractSideV1

Which side of the contract that the initiating party takes on.
Type:
  • ContractSideV1