2020-03-06 18:25:28 +01:00
|
|
|
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 {
|
2020-03-09 11:22:56 +01:00
|
|
|
const self_contract: contract(int) = Tezos.self("%default") ;
|
2020-03-06 18:25:28 +01:00
|
|
|
const op : operation = Tezos.transaction (2, 300tz, self_contract) ;
|
|
|
|
}
|
|
|
|
with (list [op], s)
|