更新market的abi和address

This commit is contained in:
CounterFire2023 2023-06-19 14:22:24 +08:00
parent fba14a288e
commit a12abdbfca
3 changed files with 411 additions and 411 deletions

File diff suppressed because one or more lines are too long

View File

@ -234,7 +234,7 @@ contract BENftMarket is Ownable, ReentrancyGuard, ERC1155Holder, ERC721Holder {
} }
function updatePrice(uint256 orderId, uint256 price) external { function updatePrice(uint256 orderId, uint256 price) external {
OrderInfo memory orderInfo = orderInfos[orderId]; OrderInfo storage orderInfo = orderInfos[orderId];
require(orderInfo.tokenId != 0, "NFTMarket: NFT does not exist"); require(orderInfo.tokenId != 0, "NFTMarket: NFT does not exist");
require(orderInfo.owner == _msgSender(), "NFTMarket: caller is not owner"); require(orderInfo.owner == _msgSender(), "NFTMarket: caller is not owner");
require( require(

View File

@ -63,7 +63,7 @@
"name": "BENftMarket", "name": "BENftMarket",
"type": "logic", "type": "logic",
"json": "assets/contracts/BENFTMarket.json", "json": "assets/contracts/BENFTMarket.json",
"address": "0x1d33b4E045ce595B6346C3D0e334814dd4Af5418" "address": "0x28cd862Baa826e65a0c0F1179B9A3423dF4d366A"
}, },
{ {
"name": "BENftMall", "name": "BENftMall",