Skip to content

Commit

Permalink
feat: update contract addresses for credits upgrade and fix wrong def…
Browse files Browse the repository at this point in the history
…ault contract for credits
  • Loading branch information
eruizgar91 committed Nov 19, 2024
1 parent ba8dd0c commit d204039
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nevermined-io/sdk",
"version": "3.0.42",
"version": "3.0.43",
"description": "Javascript SDK for connecting with Nevermined Data Platform ",
"main": "./dist/node/sdk.js",
"typings": "./dist/node/sdk.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/nevermined/NvmApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export class NvmApp {

let nftContractAddress = subscriptionNFTContractCreditsAddress
? subscriptionNFTContractCreditsAddress
: this.configNVM.nftContractTimeAddress
: this.configNVM.nftContractCreditsAddress

if (!nftContractAddress) {
nftContractAddress = this.fullSDK.nfts1155.address
Expand Down
6 changes: 3 additions & 3 deletions src/nevermined/resources/AppNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class AppDeploymentStaging extends NeverminedAppOptions {
gasMultiplier = 0
gasPriceMultiplier = 0
nftContractTimeAddress = '0x1bcA156f746C6Eb8b18d61654293e2Fc5b653fF5'
nftContractCreditsAddress = '0xb1c2237d0a2b32da39b9a1cdff4a1e6429c0fe52'
nftContractCreditsAddress = '0x8ad59c91ae13a63adaea23770a9c013c632ad648'
tokenAddress = '0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d'
}

Expand All @@ -56,7 +56,7 @@ export class AppDeploymentTesting extends NeverminedAppOptions {
gasMultiplier = 0
gasPriceMultiplier = 0
nftContractTimeAddress = '0x1bcA156f746C6Eb8b18d61654293e2Fc5b653fF5'
nftContractCreditsAddress = '0xb1c2237d0a2b32da39b9a1cdff4a1e6429c0fe52'
nftContractCreditsAddress = '0x8ad59c91ae13a63adaea23770a9c013c632ad648'
tokenAddress = '0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d'
}

Expand All @@ -74,7 +74,7 @@ export class AppDeploymentArbitrum extends NeverminedAppOptions {
gasMultiplier = 0
gasPriceMultiplier = 0
nftContractTimeAddress = '0x19D7551f112457deb78DadeFfd87D95a0810EDfF'
nftContractCreditsAddress = '0xda658962eb23e6343dacc222bac0401a8c8f2879'
nftContractCreditsAddress = '0xcc700c5d59a339ec6a2484a723791254da410d62'
tokenAddress = '0xaf88d065e77c8cC2239327C5EDb3A432268e5831'
}

Expand Down

0 comments on commit d204039

Please sign in to comment.