Advertisement
folays

Untitled

Mar 18th, 2023
687
0
10 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.50 KB | None | 0 0
  1. type BlockParsedSpotTrade_order struct {
  2.     TokenS tdef.XTokenID // DA 2 bytes
  3.     TokenB tdef.XTokenID // DA 2 bytes
  4.  
  5.     amountS *big.Int // DA 24 bytes ; You should use .FillS
  6.     amountB *big.Int // DA 24 bytes ; You should use other-side .FillS
  7.  
  8.     NftData *NftData
  9.  
  10.     FeeBips uint16   // DA 1 byte
  11.     FillS   *big.Int // DA 24 bytes ; the good one.
  12.  
  13.     ValidUntil tdef.ValidUntil // DA 32 bits
  14. }
  15.  
  16. type AccountID uint32
  17. type XTokenID uint16
  18. type NftData [32]byte // 0x[hexa 64]
  19. type ValidUntil uint32
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement