ContractMatching
type ContractPrice
constructor
input:
pair_id: The contract pair id defined by zkLink.
market_price: The market price of the contract pair
type SpotPriceInfo
constructor
input:
token_id: The token id defined by zkLink.
price: The spot price of the token.
type ContractBuilder
constructor
type Contract
The Contract struct of taker and maker in perpetual contract.
constructor
func sign
Sign contract with given ZkLinkSigner
type ContractMatchingBuilder
constructor
type ContractMatching
ContractMatching transaction type.
constructor
func sign
Sign transaction with given ZkLinkSigner
Last updated