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 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)',