移除gameitemmall中feeaddress的hash计算
This commit is contained in:
parent
aed15263f8
commit
b0eea9601b
File diff suppressed because one or more lines are too long
@ -47,7 +47,6 @@ contract GameItemMall is MallBase, ReentrancyGuard, HasSignature, TimeChecker {
|
||||
orderId,
|
||||
currency,
|
||||
price,
|
||||
feeToAddress,
|
||||
startTime,
|
||||
saltNonce
|
||||
);
|
||||
@ -73,7 +72,6 @@ contract GameItemMall is MallBase, ReentrancyGuard, HasSignature, TimeChecker {
|
||||
uint256 _orderId,
|
||||
address _currency,
|
||||
uint256 _price,
|
||||
address _feeToAddress,
|
||||
uint256 _startTime,
|
||||
uint256 _saltNonce
|
||||
) public pure returns (bytes32) {
|
||||
@ -82,7 +80,6 @@ contract GameItemMall is MallBase, ReentrancyGuard, HasSignature, TimeChecker {
|
||||
_orderId,
|
||||
_currency,
|
||||
_price,
|
||||
_feeToAddress,
|
||||
_startTime,
|
||||
_saltNonce
|
||||
);
|
||||
|
@ -5,44 +5,44 @@ const GameItemMall = artifacts.require("market/GameItemMall");
|
||||
const base = require("../scripts/base");
|
||||
|
||||
module.exports = async function (deployer, network, accounts) {
|
||||
await deployer.deploy(BENftMarket);
|
||||
const marketInstance = await BENftMarket.deployed();
|
||||
if (marketInstance) {
|
||||
console.log("MarketPlace successfully deployed.");
|
||||
}
|
||||
base.updateArray({
|
||||
name: "BENftMarket",
|
||||
type: "logic",
|
||||
json: "assets/contracts/BENftMarket.json",
|
||||
address: marketInstance.address,
|
||||
network,
|
||||
});
|
||||
// await deployer.deploy(BENftMarket);
|
||||
// const marketInstance = await BENftMarket.deployed();
|
||||
// if (marketInstance) {
|
||||
// console.log("MarketPlace successfully deployed.");
|
||||
// }
|
||||
// base.updateArray({
|
||||
// name: "BENftMarket",
|
||||
// type: "logic",
|
||||
// json: "assets/contracts/BENftMarket.json",
|
||||
// address: marketInstance.address,
|
||||
// network,
|
||||
// });
|
||||
|
||||
await deployer.deploy(BENftMall);
|
||||
const nftMallInstance = await BENftMall.deployed();
|
||||
if (nftMallInstance) {
|
||||
console.log("BENftMall successfully deployed.");
|
||||
}
|
||||
base.updateArray({
|
||||
name: "BENftMall",
|
||||
type: "logic",
|
||||
json: "assets/contracts/BENftMall.json",
|
||||
address: nftMallInstance.address,
|
||||
network,
|
||||
});
|
||||
// await deployer.deploy(BENftMall);
|
||||
// const nftMallInstance = await BENftMall.deployed();
|
||||
// if (nftMallInstance) {
|
||||
// console.log("BENftMall successfully deployed.");
|
||||
// }
|
||||
// base.updateArray({
|
||||
// name: "BENftMall",
|
||||
// type: "logic",
|
||||
// json: "assets/contracts/BENftMall.json",
|
||||
// address: nftMallInstance.address,
|
||||
// network,
|
||||
// });
|
||||
|
||||
await deployer.deploy(GameItemMarket);
|
||||
const gameMarketInstance = await GameItemMarket.deployed();
|
||||
if (gameMarketInstance) {
|
||||
console.log("GameItemMarket successfully deployed.");
|
||||
}
|
||||
base.updateArray({
|
||||
name: "GameItemMarket",
|
||||
type: "logic",
|
||||
json: "assets/contracts/GameItemMarket.json",
|
||||
address: gameMarketInstance.address,
|
||||
network,
|
||||
});
|
||||
// await deployer.deploy(GameItemMarket);
|
||||
// const gameMarketInstance = await GameItemMarket.deployed();
|
||||
// if (gameMarketInstance) {
|
||||
// console.log("GameItemMarket successfully deployed.");
|
||||
// }
|
||||
// base.updateArray({
|
||||
// name: "GameItemMarket",
|
||||
// type: "logic",
|
||||
// json: "assets/contracts/GameItemMarket.json",
|
||||
// address: gameMarketInstance.address,
|
||||
// network,
|
||||
// });
|
||||
|
||||
await deployer.deploy(GameItemMall);
|
||||
const gameMallInstance = await GameItemMall.deployed();
|
||||
|
@ -81,6 +81,6 @@
|
||||
"name": "GameItemMall",
|
||||
"type": "logic",
|
||||
"json": "assets/contracts/GameItemMall.json",
|
||||
"address": "0x52e3Eb12A2e7f6F9BEAcEd3C2122eD508091A2F1"
|
||||
"address": "0x1D058c7c7451c34BbfF9c0dF1C16b95C5d171d64"
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user