Skip to content

Commit

Permalink
Merge pull request #328 from kodadot/main
Browse files Browse the repository at this point in the history
🔖 Speck v15
  • Loading branch information
vikiival authored Dec 10, 2024
2 parents a9cfd3d + ebc4d94 commit bd15e3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion speck.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
manifestVersion: subsquid.io/v0.1
name: speck
version: 14
version: 15
description: 'SubSquid indexer for Uniques and Assets on Statemint'
build:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion squid.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
manifestVersion: subsquid.io/v0.1
name: stick
version: 12
version: 13
description: 'SubSquid indexer for Uniques and Assets on Statemine'
build:
deploy:
Expand Down
4 changes: 2 additions & 2 deletions src/mappings/nfts/createSwap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export async function handleCreateSwap(context: Context): Promise<void> {
final.desired = desired
final.expiration = deadline
final.price = event.price
if ('surcharge' in final) {
final.surcharge = event.surcharge
if (!offer) {
(final as Swap).surcharge = event.surcharge
}
final.status = final.blockNumber >= deadline ? TradeStatus.EXPIRED : TradeStatus.ACTIVE
final.updatedAt = event.timestamp
Expand Down

0 comments on commit bd15e3c

Please sign in to comment.