MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / withdrawFromContract

Function withdrawFromContract

CLI/commands/token_manager.js:405–409  ·  view source on GitHub ↗
(erc20address, value)

Source from the content-addressed store, hash-verified

403}
404
405async function withdrawFromContract(erc20address, value) {
406 let withdrawAction = securityToken.methods.withdrawERC20(erc20address, value);
407 await common.sendTransaction(withdrawAction);
408 console.log(chalk.green(`Withdrawn has been successful!.`));
409}
410///
411
412async function listModuleOptions() {

Callers 1

selectActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected