change sth
This commit is contained in:
parent
8193ecad02
commit
d5045f0c2d
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
node_modules
|
||||
.secret
|
||||
.DS_Store
|
||||
openzepplelin
|
||||
openzepplelin
|
||||
.vscode/
|
@ -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 = {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user