change sth

This commit is contained in:
cebgcontract 2022-02-14 19:17:53 +08:00
parent 8193ecad02
commit d5045f0c2d
5 changed files with 9 additions and 8 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
node_modules
.secret
.DS_Store
openzepplelin
openzepplelin
.vscode/

View File

@ -1,17 +1,17 @@
const market = {
feeToAddress: "0xd1072b14A2f27C22657c166bEADf983d892e1c5a",
feeToAddress: "0x50A8e60041A206AcaA5F844a1104896224be6F39",
paymentTokens: [
"0x67f6a7BbE0da067A747C6b2bEdF8aBBF7D6f60dc", // USDT
],
}
const admins = {
proposers: ["0xd1072b14A2f27C22657c166bEADf983d892e1c5a"],
executors: ["0xd1072b14A2f27C22657c166bEADf983d892e1c5a"]
proposers: ["0x50A8e60041A206AcaA5F844a1104896224be6F39"],
executors: ["0x50A8e60041A206AcaA5F844a1104896224be6F39"]
}
const token = {
baseTokenURI: '',
baseTokenURI: 'https://ghost.kingsome.cn/api/svr/tmp/',
}
var config = {

View File

@ -12,7 +12,7 @@ contract BEBoxMall is Ownable, HasSignature, TimelockController{
using SafeERC20 for IERC20;
using Address for address;
uint256 public constant MIN_DELAY = 2 days;
uint256 public constant MIN_DELAY = 2 seconds;
uint256 public constant MAX_DELAY = 16 days;
uint256 private _minDelay;

View File

@ -3,7 +3,7 @@ pragma solidity 0.8.10;
import "@openzeppelin/contracts/governance/TimelockController.sol";
contract BETimelockController is TimelockController {
uint256 public constant MIN_DELAY = 2 days;
uint256 public constant MIN_DELAY = 2 seconds;
uint256 public constant MAX_DELAY = 16 days;
uint256 private _minDelay;

View File

@ -14,7 +14,7 @@ module.exports = async function (deployer, network, accounts) {
marketInstance.setFeeToAddress(config.market.feeToAddress);
marketInstance.setPaymentTokens(config.market.paymentTokens);
} catch(err) {
console.log(err);
console.log("MarketPlace setFeeToAddress or setPaymentTokens with error", err);
}
// add marketplace to whitelist