更新market的abi和address
This commit is contained in:
parent
fba14a288e
commit
a12abdbfca
File diff suppressed because one or more lines are too long
@ -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(
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user