ContractMatching
type ContractBuilder
type ContractBuilder struct {
AccountId AccountId
SubAccountId SubAccountId
SlotId SlotId
Nonce Nonce
PairId PairId
Size BigUint
Price BigUint
Direction bool
TakerFeeRate uint8
MakerFeeRate uint8
HasSubsidy bool
}type Contract
func NewContract
func (*Contract) IsLong
func (*Contract) IsShort
func (*Contract) GetSignature
func (*Contract) IsSignatureValid
func (*Contract) GetBytes
func (*Contract) CreateSignedContract
type ContractMatchingBuilder
type ContractMatching
NewContractMatching(builder ContractMatchingBuilder)
func (*ContractMatching) GetBytes
func (*ContractMatching) TxHash
func (*ContractMatching) JsonStr
func (*ContractMatching) IsValid
func (*ContractMatching) CreateSignedTx
func (*ContractMatching) GetSignature
func (*ContractMatching) IsSignatureValid
func (*ContractMatching) ToZklinkTx
Last updated