utils
class of the K2 SDK.
0x
towards the start of a string to convert it into a hex string accepted by the contracts. If the input string already contains the 0x
, the function will return the string as is.
0x
0x
from the beginning of a string. If the input string doesn’t contain 0x
, it will return the string as is.
0x
from
0x
in the beginning.
verifyReport
function should be used.
true
to throw error if any one value is rejected by the contract''
null
for the function to fetch debtor address from the middlewareAPI