UpdateGlobalVar
Parameter
Parameter is an interface which contains 5 types of struct
type ParameterFeeAccount
This parameter is used to modify the collect-fee account.
type ParameterInsuranceFundAccount
This parameter is used to modify the insurance fund account.
type ParameterMarginInfo
This parameter is used to modify the margin info in the specified index.
type ParameterFundingInfos
This parameter is used to ppdate the funding rates to accumulated funding rates of the Global Vars for all position(contract pair) in this period.
type FundingInfo
type ParameterContractInfo
This parameter is used to modify the info of every perpetual contract pair.
type UpdateGlobalVarBuilder
type UpdateGlobalVar
func NewUpdateGlobalVar
func (*UpdateGlobalVar) GetBytes
func (*UpdateGlobalVar) TxHash
Get the transaction hash of the transaction.
func (*UpdateGlobalVar) JsonStr
Get the json string of the transaction.
func (*UpdateGlobalVar) IsValid
Check if the transaction is valid or not.
func (*UpdateGlobalVar) ToZklinkTx
Last updated
Was this helpful?