remove DepositManager usage
MODIFY
README.md
README.md
@@ -37,9 +37,6 @@ const matic = new Matic({
// Set withdraw-manager Address. See below for more information
withdrawManagerAddress: <withdraw-manager-address>,
- // Set deposit-manager Address. See below for more information
- depositManagerAddress: <deposit-manager-address>,
-
// Set matic network's WETH address. See below for more information
maticWethAddress: <matic-weth-address>,

MODIFY
examples/node/deposit.js
examples/node/deposit.js
@@ -12,7 +12,6 @@ const matic = new Matic({
rootChainAddress: config.ROOTCHAIN_ADDRESS,
syncerUrl: config.SYNCER_URL,
watcherUrl: config.WATCHER_URL,
- depositManagerAddress: config.DEPOSITMANAGER_ADDRESS,
})
matic.wallet = config.PRIVATE_KEY // prefix with `0x`

MODIFY
examples/node/depositEther.js
examples/node/depositEther.js
@@ -12,7 +12,6 @@ const matic = new Matic({
syncerUrl: config.SYNCER_URL,
watcherUrl: config.WATCHER_URL,
withdrawManagerAddress: config.WITHDRAWMANAGER_ADDRESS,
- depositManagerAddress: config.DEPOSITMANAGER_ADDRESS,
})
matic.wallet = config.PRIVATE_KEY // prefix with `0x`

remove DepositManager usage