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

Function modfifyTiers

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

Source from the content-addressed store, hash-verified

959}
960
961async function modfifyTiers(currentSTO) {
962 let tiers = tiersConfigUSDTieredSTO(await currentSTO.methods.fundRaiseTypes(gbl.constants.FUND_RAISE_TYPES.POLY).call());
963 let modifyTiersAction = currentSTO.methods.modifyTiers(
964 tiers.ratePerTier,
965 tiers.ratePerTierDiscountPoly,
966 tiers.tokensPerTier,
967 tiers.tokensPerTierDiscountPoly,
968 );
969 await common.sendTransaction(modifyTiersAction);
970}
971
972//////////////////////
973// HELPER FUNCTIONS //

Callers 1

usdTieredSTO_configureFunction · 0.85

Calls 1

tiersConfigUSDTieredSTOFunction · 0.85

Tested by

no test coverage detected