Skip to content

Commit

Permalink
Merge pull request #35 from mangrovedao/fix/ticknaming
Browse files Browse the repository at this point in the history
fix: tick is invalid param
  • Loading branch information
maxencerb authored May 14, 2024
2 parents ac9f09d + 54bebda commit 9d916eb
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 9d916eb

Please sign in to comment.