From 214e97bf3cac68aafc9e707515dcb4ac146aa5d5 Mon Sep 17 00:00:00 2001 From: Maxence Raballand Date: Tue, 14 May 2024 14:48:56 +0200 Subject: [PATCH 1/2] fix: tick is invalid param --- src/lib/market-order.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/market-order.ts b/src/lib/market-order.ts index 90925f9..c492fd5 100644 --- a/src/lib/market-order.ts +++ b/src/lib/market-order.ts @@ -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)', From edd73fd5d76862e2a7dc39cd4b9e55363c186626 Mon Sep 17 00:00:00 2001 From: Maxence Raballand Date: Tue, 14 May 2024 14:49:29 +0200 Subject: [PATCH 2/2] chore: changeset --- .changeset/serious-birds-battle.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/serious-birds-battle.md diff --git a/.changeset/serious-birds-battle.md b/.changeset/serious-birds-battle.md new file mode 100644 index 0000000..42ed0a4 --- /dev/null +++ b/.changeset/serious-birds-battle.md @@ -0,0 +1,5 @@ +--- +"@mangrovedao/mgv": patch +--- + +Fix the tick not being an ABI type