(currentSTO)
| 959 | } |
| 960 | |
| 961 | async 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 // |
no test coverage detected