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

Function modfifyAddresses

CLI/commands/sto_manager.js:955–959  ·  view source on GitHub ↗
(currentSTO)

Source from the content-addressed store, hash-verified

953}
954
955async function modfifyAddresses(currentSTO) {
956 let addresses = await addressesConfigUSDTieredSTO(await currentSTO.methods.fundRaiseTypes(gbl.constants.FUND_RAISE_TYPES.STABLE).call());
957 let modifyAddressesAction = currentSTO.methods.modifyAddresses(addresses.wallet, addresses.reserveWallet, addresses.usdToken);
958 await common.sendTransaction(modifyAddressesAction);
959}
960
961async function modfifyTiers(currentSTO) {
962 let tiers = tiersConfigUSDTieredSTO(await currentSTO.methods.fundRaiseTypes(gbl.constants.FUND_RAISE_TYPES.POLY).call());

Callers 1

usdTieredSTO_configureFunction · 0.85

Calls 1

Tested by

no test coverage detected