10 lines
318 B
Plaintext
10 lines
318 B
Plaintext
// If you need a quick compiler test — this file is for your playground
|
|
contract Chuj =
|
|
type state = bool
|
|
// entrypoint init : (int, bool) => void
|
|
entrypoint init(x : int, y : bool) = if(x < 0) abort("xD") else true
|
|
|
|
main contract Test =
|
|
stateful entrypoint kek() =
|
|
Chain.create(value=3, 123, 555) : Chuj
|