Skip to content

Commit

Permalink
Merge pull request #33 from mangrovedao/fix/ticknaming
Browse files Browse the repository at this point in the history
Fix/ticknaming
  • Loading branch information
maxencerb authored May 14, 2024
2 parents 3e7925d + edd73fd commit f1dd7a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/serious-birds-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@mangrovedao/mgv": patch
---

Fix the tick not being an ABI type
2 changes: 1 addition & 1 deletion src/lib/market-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { BS } from './enums.js'
import { hash } from './ol-key.js'

export const mgvEventsABI = parseAbi([
'event OrderStart(bytes32 indexed olKeyHash, address indexed taker, Tick maxTick, uint fillVolume, bool fillWants)',
'event OrderStart(bytes32 indexed olKeyHash, address indexed taker, int maxTick, uint fillVolume, bool fillWants)',
'event OrderComplete(bytes32 indexed olKeyHash, address indexed taker, uint fee)',
'event OfferSuccess(bytes32 indexed olKeyHash, address indexed taker, uint indexed id, uint takerWants, uint takerGives)',
'event OfferSuccessWithPosthookData(bytes32 indexed olKeyHash, address indexed taker, uint indexed id, uint takerWants, uint takerGives, bytes32 posthookData)',
Expand Down

0 comments on commit f1dd7a9

Please sign in to comment.