Skip to content

Commit

Permalink
Merge pull request #167 from P4-Games/feature/sync
Browse files Browse the repository at this point in the history
Feature/sync
  • Loading branch information
dappsar authored Nov 24, 2023
2 parents df3b893 + 3d8aff1 commit 76da440
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 17 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/node_modules/*
**/out/*
**/.next/*
**/src/context/abis/*
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package-lock.json
public
.github
.vscode

**/src/context/abis/*

6 changes: 3 additions & 3 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export const CONTRACTS = {
alphaAddress:
process.env.NEXT_PUBLIC_ALPHA_ADDRESS || '0x643A6255Fe5aBdb26f43296284F535219E6dD13C',
gammaPackAddress:
process.env.NEXT_PUBLIC_GAMMA_PACKS_ADDRESS || '0xc1fb5D21f878a24934CEbC67560baC8ead20C2E3',
process.env.NEXT_PUBLIC_GAMMA_PACKS_ADDRESS || '0xFC24dFdb838b4544b91436F93da70d2B2476b634',
gammaCardsAddress:
process.env.NEXT_PUBLIC_GAMMA_CARDS_ADDRESS || '0xCbc43D84DBAC4cB16558f8905ECdD62572B30525',
process.env.NEXT_PUBLIC_GAMMA_CARDS_ADDRESS || '0xb2da44Bd77e922142F3Ef20504826e83D4e9fc0C',
gammaOffersAddress:
process.env.NEXT_PUBLIC_GAMMA_OFFERS_ADDRESS || '0xFd685E5e4F479fDB64F25750E4218C7400eC10Cf'
process.env.NEXT_PUBLIC_GAMMA_OFFERS_ADDRESS || '0x18537721EDfdEa2060640314BD996672E0DB921D'
}

export const openSeaUrlAlpha = is_production
Expand Down
30 changes: 28 additions & 2 deletions src/context/abis/GammaCards.v4.sol/NofGammaCardsV4.json

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions src/context/abis/GammaOffers.v1.sol/NofGammaOffersV1.json

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions src/context/abis/GammaPacks.v2.sol/NofGammaPacksV2.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/services/gamma.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ export const confirmOfferExchange = async (
addressFrom,
cardNumberFrom,
addressTo,
cardNumberTo,
1
cardNumberTo
)
await transaction.wait()
return true
Expand Down

0 comments on commit 76da440

Please sign in to comment.