Mul

PureSafeMath Calculate Plugin - Mul

Description

Multiple 2 values

Method

mul(uint256, uint256)

Method Parameters

Returned Values

Example

Example with initParams

const mul = new PureSafeMath.calculate.Mul({
 chainId: 1,
 initParams: {
   methodParams: {
     value1: "60",
     value2: "40"
   }
 }
})

Example without initParams

const mul = new PureSafeMath.calculate.Mul({ chainId: 1 })

mul.input.set({
   methodParams: {
     value1: "60",
     value2: "40"
   }
})

Last updated