All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wavesplatform.features.FunctionCallPolicyProvider.scala Maven / Gradle / Ivy

The newest version!
package com.wavesplatform.features

import com.wavesplatform.state.Blockchain

object FunctionCallPolicyProvider {
  implicit class MultiPaymentAllowedExt(b: Blockchain) {
    def callableListArgumentsAllowed: Boolean =
      b.isFeatureActivated(BlockchainFeatures.BlockV5)

    def callableListArgumentsCorrected: Boolean =
      b.isFeatureActivated(BlockchainFeatures.RideV6)

    def checkSyncCallArgumentsTypes: Boolean =
      b.isFeatureActivated(BlockchainFeatures.RideV6)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy