ligo/src/contracts/bytes_arithmetic.ligo
2019-09-07 18:42:59 +02:00

9 lines
282 B
Plaintext

function concat_op (const s : bytes) : bytes is
begin skip end with bytes_concat(s , ("7070" : bytes))
function slice_op (const s : bytes) : bytes is
begin skip end with bytes_slice(1n , 2n , s)
function hasherman (const s : bytes) : bytes is
begin skip end with sha_256(s)