Skip to content

Conversation

@cranium7811
Copy link
Collaborator

  • gmx orderbook abi
  • create_order_book_contract function in Config
  • decode tx-data logic
  • make it dynamic

@cranium7811 cranium7811 requested a review from degatchi October 3, 2022 08:56
@cranium7811
Copy link
Collaborator Author

log when running cargo run

////////// Decoding OrderBook Tx //////////
CreateDecreaseOrder(CreateDecreaseOrderCall { index_token: 0x82af49447d8a07e3bd95bd0d56f35241523fbab1, size_delta: 443349753694581280230000000000000, collateral_token: 0xff970a61a04b1ca14834a43f5de4533ebddb5cc8, collateral_delta: 0, is_long: false, trigger_price: 1235000000000000000000000000000000, trigger_above_threshold: false })

@royki
Copy link

royki commented Apr 7, 2025

Hi @cranium7811, @degatchi how do you generate b_contract.rs file ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants