
* Add signature literals + handle system alias types * Add tests for signature literals + encode/decode * Add to CHANGELOG * Add in documentation * Additional documentation
16 lines
474 B
Plaintext
16 lines
474 B
Plaintext
contract C =
|
|
entrypoint test() =
|
|
let a : int = 23
|
|
let b : int = 52
|
|
let c = a bor b
|
|
let d = c bxor b
|
|
let e = d band b
|
|
let f = bnot a
|
|
let g = f << 2
|
|
let h = g >> 2
|
|
let i = Int.mulmod(a, b, h)
|
|
let j = Crypto.poseidon(i, a)
|
|
let k : bytes(32) = Address.to_bytes(Call.origin)
|
|
let l = sg_MhibzTP1wWzGCTjtPFr1TiPqRJrrJqw7auvEuF5i3FdoALWqXLBDY6xxRRNUSPHK3EQTnTzF12EyspkxrSMxVHKsZeSMj
|
|
(a bor b band c bxor a << bnot b >> a, k, l)
|