Skip to content

Commit

Permalink
Merge pull request #169 from UniqueNetwork/release/v3.0.1
Browse files Browse the repository at this point in the history
Release/v3.0.1
  • Loading branch information
ashkuc committed Jun 19, 2024
2 parents 95f7ac3 + 793648c commit 9699474
Show file tree
Hide file tree
Showing 17 changed files with 2,107 additions and 80 deletions.
88 changes: 63 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unique-marketplace-backend",
"version": "3.0.240",
"version": "3.0.249",
"description": "Backend project for unique marketplace",
"author": "Unique Network",
"private": true,
Expand Down Expand Up @@ -52,7 +52,7 @@
"@sentry/node": "^7.38.0",
"@types/multer": "^1.4.7",
"@unique-nft/accounts": "^0.3.5",
"@unique-nft/sdk": "^0.2.11",
"@unique-nft/sdk": "^0.2.23",
"@unique-nft/solidity-interfaces": "^0.55.1",
"@willsoto/nestjs-prometheus": "^5.1.0",
"axios": "^1.0.0",
Expand All @@ -65,7 +65,7 @@
"helmet": "^6.1.2",
"husky": "^8.0.3",
"minio": "^7.1.1",
"nestjs-graphile-worker": "^0.3.1",
"nestjs-graphile-worker": "^0.7.0",
"nestjs-typeorm-paginate": "^4.0.3",
"pg": "^8.9.0",
"pg-connection-string": "^2.5.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/common/modules/database/database.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import {
NormalizeAddress1688973356000,
BannersEntity1689929097000,
DeployContractV1_1690877576943,
DeployContractV2_1711532661239,
} from './migrations';
import { BannersService, ContractService, OfferService, SettingsService } from './services';
import { OfferEventService } from './services/offer-event.service';
Expand Down Expand Up @@ -72,6 +73,7 @@ const migrations = [
NormalizeAddress1688973356000,
BannersEntity1689929097000,
DeployContractV1_1690877576943,
DeployContractV2_1711532661239,
];

function typeOrmModulesFactory(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { DeployContractBase } from './base/deploy';

export class DeployContractV2_1711532661239 extends DeployContractBase {
public readonly version: number = 2;
public readonly feeValue: number = 0;
}
1 change: 1 addition & 0 deletions packages/common/modules/database/migrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ export * from './1686310569001-VerifyMessageContract';
export * from './1688973356000-NormalizeAddress';
export * from './1689929097000-BannersEntity';
export * from './1690877576943-DeployContractV1';
export * from './1711532661239-DeployContractV2';
25 changes: 1 addition & 24 deletions packages/contracts/assemblies/1/abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -594,29 +594,6 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "collectionId",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "tokenId",
"type": "uint32"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"name": "changePrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -935,4 +912,4 @@
"stateMutability": "payable",
"type": "receive"
}
]
]
Loading

0 comments on commit 9699474

Please sign in to comment.