11 lines
327 B
Plaintext
11 lines
327 B
Plaintext
![]() |
type parameter is int
|
||
|
type storage is nat
|
||
|
type return is list (operation) * storage
|
||
|
|
||
|
|
||
|
function main (const p : parameter; const s : storage) : return is
|
||
|
block {
|
||
|
const self_contract: contract(int) = Tezos.self("%Default") ;
|
||
|
const op : operation = Tezos.transaction (2, 300tz, self_contract) ;
|
||
|
}
|
||
|
with (list [op], s)
|