Skip to content

Commit

Permalink
fix: tick is invalid param
Browse files Browse the repository at this point in the history
  • Loading branch information
maxencerb committed May 14, 2024
1 parent edd73fd commit 54bebda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-guests-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@mangrovedao/mgv": patch
---

Fix tick in ABI
2 changes: 1 addition & 1 deletion src/builder/offer/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { olKeyABIRaw } from '../structs.js'

export const updateOfferByTickABI = parseAbi([
olKeyABIRaw,
'function updateOfferByTick(OLKey memory olKey, Tick tick, uint gives, uint gasreq, uint gasprice, uint offerId) public payable',
'function updateOfferByTick(OLKey memory olKey, int tick, uint gives, uint gasreq, uint gasprice, uint offerId) public payable',
])

export type UpdateOfferByTickParams = {
Expand Down

0 comments on commit 54bebda

Please sign in to comment.