Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nft #5

Open
wants to merge 475 commits into
base: bug-fix
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
475 commits
Select commit Hold shift + click to select a range
167634c
support k=0 case and fix test
Nov 30, 2020
c3f8e3c
brief readme
Nov 30, 2020
21624da
fix && addLiquidityToV1 && test
owen05 Nov 30, 2020
b14eef1
fix swap test
owen05 Dec 1, 2020
6ba6984
ERC20 factory
Dec 5, 2020
7eda244
DODO Call Auction
Dec 6, 2020
1ff3f0d
add gas token && deploy kovan script
owen05 Dec 7, 2020
7bc6f3e
audit fix01
owen05 Dec 7, 2020
7c0ee89
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Dec 8, 2020
09ff15e
Call Auction
Dec 8, 2020
26b5cf2
CA main contract
Dec 8, 2020
e8d83b9
add factory get view
owen05 Dec 8, 2020
ca692ee
add minimum liquidity
owen05 Dec 8, 2020
fc39f70
audit fix02
owen05 Dec 9, 2020
ff1e6d3
modify comment
Dec 9, 2020
5742aa8
Membership system
Dec 9, 2020
95665db
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Dec 9, 2020
d55238d
Membership
Dec 9, 2020
c237438
add swap calc helper
owen05 Dec 9, 2020
d463dad
CA add owner ratio & mt fee
Dec 10, 2020
c3c20b4
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Dec 10, 2020
e36c327
add free timestamp
Dec 10, 2020
a78366e
rename dodo member system
Dec 10, 2020
59a4314
add freeze modifier to all dppAdmin functions
Dec 10, 2020
14279a2
remove dpp & dvm events indexed
Dec 10, 2020
e9e1b61
add mixSwapV1
owen05 Dec 11, 2020
d54a7c2
Pool KickStarter
Dec 11, 2020
8399bf9
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Dec 12, 2020
053c525
add back indexed
Dec 12, 2020
f5c44ec
allow empty address to be owner
Dec 12, 2020
c2d2db5
unowned dvm factory, 创建无owner的dvm
Dec 12, 2020
dc12b1d
Crowd Pooling init test
Dec 12, 2020
b398f5b
Crowd Pooling test
Dec 13, 2020
aa70e54
deploy contract test
owen05 Dec 13, 2020
f5ceb29
add crowdpooling factory and proxy
owen05 Dec 13, 2020
ba4ccf8
add timelock in dodoApprove
owen05 Dec 14, 2020
a7cfde5
update deploy shell && change approve and proxy initOwner
owen05 Dec 14, 2020
505d007
update timelock
owen05 Dec 14, 2020
6bdf689
change param
owen05 Dec 14, 2020
fcc0f5b
add crowdPooling proxy test
owen05 Dec 14, 2020
6f29fd4
replace all ownable to initializableOwnable and update v2.0 deploy sc…
owen05 Dec 15, 2020
610baa6
update swapcalc helper
owen05 Dec 15, 2020
83c8bba
cp audit-fix && update event
owen05 Dec 17, 2020
0c77f9c
add reset protection mechanism
owen05 Dec 18, 2020
90a16e3
update v2.0 event
owen05 Dec 18, 2020
f0504ce
Add LP Vesting to CP
Dec 18, 2020
d14cf0d
remove DVM deposit 1000 min deposit limit
Dec 18, 2020
5a96f08
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Dec 18, 2020
1012618
remove owner ratio from cp
Dec 18, 2020
c24e4b8
fix cp test
Dec 18, 2020
67067f7
Compatible with rebase token
owen05 Dec 18, 2020
cca9f9b
kovan mock txs shell
owen05 Dec 19, 2020
11aa918
add value check
AutarkXu Dec 21, 2020
4cd56fa
fix desc for require
AutarkXu Dec 21, 2020
f215d36
limit x 0 100
AutarkXu Dec 21, 2020
4d18015
fix CP Zero bid case
Dec 21, 2020
ad046a7
rename DPP sync to ratioSync
Dec 21, 2020
79f5351
add dvm sync test
Dec 21, 2020
e2fe397
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Dec 21, 2020
d82c997
fix X verifiy
AutarkXu Dec 21, 2020
59fe7cc
Merge branch 'feature/V2' of https://github.com/DODOEX/contractV2 int…
AutarkXu Dec 21, 2020
bdca9f7
fix cliff
AutarkXu Dec 21, 2020
a198495
fix X verify
AutarkXu Dec 21, 2020
101e9ce
add prefix for error string
AutarkXu Dec 21, 2020
a346482
fix base value cacl
AutarkXu Dec 21, 2020
f964814
fix base value cacl
AutarkXu Dec 21, 2020
e9dc5c9
fix base value cacl
AutarkXu Dec 21, 2020
2b3ffc3
add routev2 predata helper
owen05 Dec 22, 2020
4e5a95c
cpfactory fix and test
owen05 Dec 22, 2020
7df13cb
update factory && kovan deploy
owen05 Dec 24, 2020
f08455e
ing
owen05 Dec 27, 2020
4e5accd
simplify dvm
owen05 Dec 30, 2020
9d2b0f0
cp add settle fund
owen05 Dec 30, 2020
c717e5f
simplify dpp
owen05 Dec 30, 2020
f81e548
math overflow fix
owen05 Dec 30, 2020
c42f7e5
simplify cpfacotry && fix proxy-dvm test
owen05 Dec 31, 2020
35aa22b
proxy dpp&&dvm test
owen05 Jan 3, 2021
1bc41f9
dodomath fix && proxy test
owen05 Jan 4, 2021
cfe9ae6
trade incentive contract && deployV2 script fix
owen05 Jan 5, 2021
b249d44
fix
owen05 Jan 5, 2021
6fdd53e
fix incentive switch
owen05 Jan 5, 2021
5a81c6a
add events from user bid/cancel in crowdpooling
AutarkXu Jan 5, 2021
a7aa20c
Merge branch 'feature/V2' of https://github.com/DODOEX/contractV2 int…
AutarkXu Jan 5, 2021
f380356
fix incentive
owen05 Jan 5, 2021
517d4ae
update crowdpooling test context
AutarkXu Jan 6, 2021
66ab633
trade incentive && dodov1proxy02
owen05 Jan 6, 2021
b6843ab
fix dpp test
AutarkXu Jan 6, 2021
f2fca85
Merge branch 'feature/V2' of https://github.com/DODOEX/contractV2 int…
AutarkXu Jan 6, 2021
bedc37c
dvm测试用例初始化修改
socratebox Jan 7, 2021
6e8c5d6
factory add template update && proxy fix
owen05 Jan 7, 2021
9d45b31
update cpfactory
owen05 Jan 7, 2021
310a04f
update test case args
socratebox Jan 7, 2021
aba6b84
update test case
socratebox Jan 7, 2021
784c443
code review modifyupdate
AutarkXu Jan 7, 2021
e51ae35
test file EVM update
AutarkXu Jan 7, 2021
86a8f30
add weth 2 eth support in crowdpooling
AutarkXu Jan 7, 2021
7bbcdd5
add weth 2 eth support in crowdpooling
AutarkXu Jan 7, 2021
e248412
add weth 2 eth support in crowdpooling
AutarkXu Jan 7, 2021
ecf9c7c
add weth 2 eth support in crowdpooling
AutarkXu Jan 7, 2021
726a6ad
rename test file
AutarkXu Jan 7, 2021
9aa694d
rename test file
AutarkXu Jan 7, 2021
01b73b5
rename test file
AutarkXu Jan 7, 2021
3bb5630
update trader test case
socratebox Jan 8, 2021
e91e0fa
Merge branch 'feature/V2' of https://github.com/DODOEX/contractV2 int…
socratebox Jan 8, 2021
051dc73
add bid claim weth 2 eth support
AutarkXu Jan 8, 2021
dc87495
Merge branch 'feature/V2' of https://github.com/DODOEX/contractV2 int…
AutarkXu Jan 8, 2021
b2c8668
fix config data
AutarkXu Jan 8, 2021
267ad24
fix
owen05 Jan 7, 2021
34d9ccf
annotation && v2proxy add gasreturn and trade incentive && proxyV2 in…
owen05 Jan 8, 2021
1677eda
update v2 deploy shell
owen05 Jan 8, 2021
ff4a519
fix test
owen05 Jan 8, 2021
dc28166
V1Proxy02 - more protection
owen05 Jan 10, 2021
0659364
fix DODO math comment
Jan 11, 2021
b283a1c
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Jan 11, 2021
fa5180b
update feeratemodel & test case
socratebox Jan 12, 2021
3afca0f
update event
socratebox Jan 12, 2021
9aba31f
dvm updatefeeratemodel test case
socratebox Jan 13, 2021
ab4b5b7
update deployv1.5 && fix
owen05 Jan 11, 2021
847d0bf
fix mixSwap weth to eth
owen05 Jan 12, 2021
74a12f5
fix dodomath
owen05 Jan 13, 2021
6e126ba
remove startblock from dodo incentive
Jan 14, 2021
a9ab9e9
refactor mixSwap && add trade adapter
owen05 Jan 14, 2021
450069e
trade incentive fix && test
owen05 Jan 14, 2021
3f707f5
add crowdpooling pmmstate
owen05 Jan 15, 2021
827d14e
emit transfer event in ERC20 template
Jan 15, 2021
70c0df0
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Jan 15, 2021
211b5e0
fix _SolveQuadraticFunctionForTrade sub error
Jan 15, 2021
059778b
add cp event && smartroute helper fix
owen05 Jan 18, 2021
8b683af
add twap switch
owen05 Jan 19, 2021
2c9446c
change factory name
owen05 Jan 19, 2021
12168d0
deploy kovan
owen05 Jan 19, 2021
a14fece
wait to freeze
owen05 Jan 19, 2021
72e5788
update ammlikecase test
socratebox Jan 20, 2021
b0a0ecd
proxy fix
owen05 Jan 20, 2021
05c9a0f
test case update
socratebox Jan 21, 2021
f3efada
update isOpenTWAP
AutarkXu Jan 21, 2021
4caee12
Merge branch 'feature/V2' of https://github.com/DODOEX/contractV2 int…
AutarkXu Jan 21, 2021
a9d71eb
deploy calleehelper
owen05 Jan 21, 2021
6ecf34e
fix proxy
owen05 Jan 21, 2021
13bd041
fix incentive
owen05 Jan 21, 2021
1c8d393
freeze
owen05 Jan 21, 2021
4095ebb
wait to test
owen05 Jan 21, 2021
4acb508
test dvm
socratebox Jan 22, 2021
ccf921a
update test
AutarkXu Jan 22, 2021
39cb002
update cp test
AutarkXu Jan 22, 2021
a5b29dd
callee fix
owen05 Jan 22, 2021
53c1e3e
ing
owen05 Jan 22, 2021
d645258
freeze
owen05 Jan 22, 2021
f842e6d
Merge pull request #5 from DODOEX/feature/V2
owen05 Jan 22, 2021
25fabbe
deploy
owen05 Jan 22, 2021
5896250
update reademe
Jan 23, 2021
4237781
Update README.md
radar-bear Jan 23, 2021
f5704e4
Update README.md
radar-bear Jan 23, 2021
a525e0a
fix apdater && add approve proxy
owen05 Jan 26, 2021
199ea5f
upload VDODO
socratebox Jan 29, 2021
51addb6
Merge branch 'main' of github.com:DODOEX/contractV2 into feature/V2
Jan 30, 2021
7c8b443
Update VDODOChef.sol
socratebox Jan 31, 2021
c21d833
Revert "Update VDODOChef.sol"
socratebox Jan 31, 2021
f78814d
update Vdodo
socratebox Jan 31, 2021
b680b6f
Update README.md
radar-bear Jan 23, 2021
bfa3fc3
Update README.md
radar-bear Jan 23, 2021
38f5fe1
fix apdater && add approve proxy
owen05 Jan 26, 2021
9382e0f
update reademe
Jan 23, 2021
c973b9b
vDODO ing
owen05 Jan 31, 2021
eb0b6ca
update vDODO
owen05 Jan 31, 2021
17d890c
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Jan 31, 2021
c7e2261
update vDODO
owen05 Feb 1, 2021
0f2aa6c
update vDODO
Feb 1, 2021
e524e3d
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Feb 1, 2021
e792d15
vDODO
Feb 1, 2021
e12893a
_superiorAddress != msg.sender
socratebox Feb 1, 2021
58339f0
dodo circulation helper
Feb 1, 2021
348b3e0
Merge branches 'feature/V2' and 'feature/V2' of github.com:DODOEX/con…
Feb 1, 2021
368749a
Add test context
socratebox Feb 1, 2021
9571756
ing
owen05 Feb 1, 2021
19106c7
fix
owen05 Feb 1, 2021
164fa96
fix readme
owen05 Feb 1, 2021
84c44c4
ing
owen05 Feb 1, 2021
0a1e5fc
upload test case
socratebox Feb 1, 2021
b698218
update vdodo
owen05 Feb 2, 2021
c88fca7
update test case
socratebox Feb 2, 2021
70d00a5
add canTransfer
socratebox Feb 2, 2021
75fe061
ing
owen05 Feb 2, 2021
126acd6
vDODO test frameWork update
owen05 Feb 2, 2021
d9a7d41
update
owen05 Feb 2, 2021
ddda681
set vdodo address
socratebox Feb 2, 2021
ce5a86a
Update VDODOContext.ts
socratebox Feb 2, 2021
b4eb18e
update context
socratebox Feb 2, 2021
0a8247b
transfer close test
socratebox Feb 2, 2021
f0ec1fa
ing
owen05 Feb 2, 2021
4e29555
fix
owen05 Feb 2, 2021
d90c6ab
update modifier
socratebox Feb 2, 2021
deabb55
DODO Migration to BSC
Feb 3, 2021
23bfca0
change _IS_ETH_NETWORK_ to immutable
Feb 3, 2021
ef9e7f5
vdodo-mintredeem test over
owen05 Feb 3, 2021
139b0ed
update test case
socratebox Feb 3, 2021
3163f10
add bsc migration
owen05 Feb 3, 2021
65b7538
wait to freeze
owen05 Feb 4, 2021
a395d1d
update
owen05 Feb 4, 2021
4ebe28f
Merge pull request #6 from DODOEX/feature/V2
owen05 Feb 4, 2021
7287fde
add deploy script && update vdodo
owen05 Feb 4, 2021
922336e
require vDODO transfer from!=to
Feb 4, 2021
df884fb
update vdodo
owen05 Feb 5, 2021
e4b3b86
fix vdodo test
owen05 Feb 5, 2021
749c180
update vdodo
owen05 Feb 6, 2021
c8779d4
Merge branch 'main' of github.com:DODOEX/contractV2 into feature/V2
Feb 7, 2021
e0062a8
update vDODO: const ratio 1 vDODO = 100 DODO
Feb 7, 2021
668d579
fix
owen05 Feb 7, 2021
ac81991
add dodoBalanceOf and fix balanceOf
Feb 7, 2021
9cdaf6c
getDODOWithdrawFeeRatio
Feb 7, 2021
59a9e2e
add helper functions
Feb 7, 2021
3c8f001
fix
owen05 Feb 7, 2021
d160cf5
fix
owen05 Feb 7, 2021
a82f230
ing
owen05 Feb 8, 2021
24ab08e
require vDODO transfer from!=to
Feb 4, 2021
5b91969
update vDODO: const ratio 1 vDODO = 100 DODO
Feb 7, 2021
60f95d8
add dodoBalanceOf and fix balanceOf
Feb 7, 2021
029b495
getDODOWithdrawFeeRatio
Feb 7, 2021
e1e24f8
add helper functions
Feb 7, 2021
53dad7c
fix
owen05 Feb 7, 2021
ec55357
ing
owen05 Feb 8, 2021
3b32488
finish vdodo test && update
owen05 Feb 9, 2021
5ff6acd
deploy
owen05 Feb 13, 2021
acd1b32
add dodorecharge
owen05 Feb 13, 2021
1360f60
format
owen05 Feb 13, 2021
7df484f
fix vdodo
owen05 Feb 13, 2021
37c6de7
vdodo add event
owen05 Feb 13, 2021
ccf7f0e
Merge pull request #8 from DODOEX/feature/V2
owen05 Feb 13, 2021
66de802
deploy
owen05 Feb 13, 2021
1b39b5f
Merge branches 'feature/V2' and 'feature/V2' of github.com:DODOEX/con…
Feb 14, 2021
ec91453
Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into featur…
Feb 14, 2021
518c45f
add audit report
owen05 Feb 19, 2021
8e99c48
update feeRateImpl
owen05 Feb 23, 2021
2fdc6bd
Merge branch 'main' of github.com:DODOEX/contractV2 into feature/V2
Feb 25, 2021
25525f8
update cp quota
owen05 Feb 25, 2021
d1d815b
add advanced dpp
owen05 Mar 1, 2021
8b341c3
update deploy script
owen05 Mar 3, 2021
94ba7fb
add upCpFactory
owen05 Mar 4, 2021
01c5447
fix
owen05 Mar 9, 2021
6b18648
bsc trade incentive
owen05 Mar 14, 2021
a51b348
update readme
owen05 Mar 14, 2021
4ef8fd9
fix idvm interface
owen05 Mar 14, 2021
3937929
fix
owen05 Mar 14, 2021
961b066
Merge branch 'peckshied-audit-latest' of github.com:DODOEX/contractV2…
Mar 14, 2021
abe9919
freeze
owen05 Mar 15, 2021
bb2ce2e
add audit report
owen05 Mar 16, 2021
eecdfec
Merge branch 'main' of github.com:DODOEX/contractV2 into feature/nft
Mar 18, 2021
9b9399e
snapshot
Mar 18, 2021
901e1d9
snapshot
Mar 18, 2021
8795d43
snapshot
Mar 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deploy
  • Loading branch information
owen05 committed Feb 13, 2021
commit 66de802e594ac307464215af115dee4fa45abd26
4 changes: 2 additions & 2 deletions contracts/DODOToken/DODORecharge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import {IDODOApproveProxy} from "../SmartRoute/DODOApproveProxy.sol";
contract DODORecharge is InitializableOwnable {
using SafeERC20 for IERC20;

address immutable _DODO_TOKEN_;
address immutable _DODO_APPROVE_PROXY_;
address public immutable _DODO_TOKEN_;
address public immutable _DODO_APPROVE_PROXY_;

event DeductDODO(address user,uint256 _amount);

Expand Down
2 changes: 1 addition & 1 deletion contracts/DODOToken/vDODOToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract vDODOToken is InitializableOwnable {

// ============ Storage(ERC20) ============

string public name = "vDODO Token";
string public name = "vDODO Membership Token";
string public symbol = "vDODO";
uint8 public decimals = 18;
mapping(address => mapping(address => uint256)) internal _ALLOWED_;
Expand Down
20 changes: 20 additions & 0 deletions deploy-detail-periphery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,23 @@ DODOApproveProxy add tx: 0x0a9174ac009af95a3273ad3a3a961e997aef48d5c3d2537e0389
vDODOToken first mint tx: 0x600c5714df725a86725b36a01c3bf5cfc60853f02b7f7214ca9d80c98eb9e72d
vDODOToken injected dodo tx: 0xf2415de9bafeef0d80afe990b5e36a0ebcd339d6cd604d6388fd72e4f01e0de7
vDODOToken changeReward tx: 0x80c01b5e630acdccc2a96f97d884e207488ee64a18cdfcb4566820473ffe3a1f
====================================================
network type: live
Deploy time: 2021/2/13 下午9:54:02
Deploy type: vDODOToken
vDODOTokenAddress: 0xc4436fBAE6eBa5d95bf7d53Ae515F8A707Bd402A
Init vDODOTokenAddress Tx: 0x89392c1bd215fff0d5da44e27c0d0d2099a97788a28d371fa55d19af74895d9a
DODOCirculationHelperAddress: 0x53233ABD9108761258a4B6B7822abFD6716B129B
Init DODOCirculationHelperAddress Tx: 0xc26313165161badec354d39c999a85223965df186246b8ea37182eae894e7442
====================================================
network type: bsclive
Deploy time: 2021/2/13 下午10:20:21
Deploy type: DODORecharge
DODORechargeAddress: 0x61b21603A527b487C4a3A80a69224b87751D0F6a
Init DODORechargeAddress Tx: 0x47bc2d2f46aac266ecf7c7743cc935fa06cf862e26463a9a8c1ebe91cee47611
====================================================
network type: bsclive
Deploy time: 2021/2/13 下午10:24:52
Deploy type: DODORecharge
DODORechargeAddress: 0xF7c5311B618E6dFBBc34210c92D2C9675D7EdDCA
Init DODORechargeAddress Tx: 0xc22cdde8436f28ae2343ebcd628091104545a60c6550a2cedf47344c5b337b09
9 changes: 9 additions & 0 deletions deploy-detail-v2.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -643,3 +643,12 @@ DODOIncentive ChangeProxy tx: 0xd0427f9a814efb822a36ebf17bbf637d066887adacf636c
====================================================
network type: kovan
Deploy time: 2021/2/13 下午12:25:44
====================================================
network type: live
Deploy time: 2021/2/13 下午9:53:52
====================================================
network type: bsclive
Deploy time: 2021/2/13 下午10:20:14
====================================================
network type: bsclive
Deploy time: 2021/2/13 下午10:24:45
14 changes: 13 additions & 1 deletion migrations/5_deploy_periphery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const file = fs.createWriteStream("../deploy-detail-periphery.txt", { 'flags': '
let logger = new console.Console(file, file);

const DODOBscToken = artifacts.require("DODOBscToken");
const DODORecharge = artifacts.require("DODORecharge");
const DODOMigrationBSC = artifacts.require("DODOMigrationBSC");
const vDODOToken = artifacts.require("vDODOToken");
const DODOCirculationHelper = artifacts.require("DODOCirculationHelper");
Expand Down Expand Up @@ -36,8 +37,10 @@ module.exports = async (deployer, network, accounts) => {
GovernanceAddress = "0x0000000000000000000000000000000000000000";
//Account
multiSigAddress = "0x95C4F5b83aA70810D4f142d58e5F7242Bd891CB0";
dodoTeam = "";
dodoTeam = "0x95C4F5b83aA70810D4f142d58e5F7242Bd891CB0";
} else if (network == "bsclive") {
DODOTokenAddress = "0x67ee3Cb086F8a16f34beE3ca72FAD36F7Db929e2";
DODOApproveProxyAddress = "0xB76de21f04F677f07D9881174a1D8E624276314C";
//Account
multiSigAddress = "0x4073f2b9bB95774531b9e23d206a308c614A943a";
} else return;
Expand All @@ -46,6 +49,15 @@ module.exports = async (deployer, network, accounts) => {
logger.log("network type: " + network);
logger.log("Deploy time: " + new Date().toLocaleString());

if (deploySwitch.DODORecharge) {
logger.log("Deploy type: DODORecharge");
await deployer.deploy(DODORecharge, DODOTokenAddress, DODOApproveProxyAddress);
DODORechargeAddress = DODORecharge.address;
logger.log("DODORechargeAddress: ", DODORechargeAddress);
const dodoRechargeInstance = await DODORecharge.at(DODORechargeAddress);
var tx = await dodoRechargeInstance.initOwner(multiSigAddress);
logger.log("Init DODORechargeAddress Tx:", tx.tx);
}

if (deploySwitch.DODOBscToken && (network == "bsclive")) {
logger.log("Deploy type: DODOBscToken");
Expand Down
3 changes: 2 additions & 1 deletion truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ module.exports = {
MOCK_TARGET_POOL: false,
BSCMigration: false,
DODOBscToken: false,
vDODOToken: true,
vDODOToken: false,
CALLEE: false,
DODORecharge: true
},

networks: {
Expand Down