ligo/test/contracts/bytes_arithmetic.ligo

9 lines
282 B
Plaintext
Raw Normal View History

2019-09-07 20:42:59 +04:00
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)