UpdateGlobalVar
type ContractPrice
input:
pairId: The contract pair id defined by zkLink.
marketPrice: The market price of the contract pair
type SpotPriceInfo
input:
tokenId: The token id defined by zkLink.
price: The spot price of the token.
type FundingInfo
type Parameter
func insuranceFundAccount
func feeAccount
func marginInfo
func contractInfo
func feeAccount
func fundingInfos
type UpdateGlobalVar
func toJson
Example
Last updated
Was this helpful?