2019-09-04 21:05:45 +04:00
|
|
|
// type storage_ is big_map(int, int)
|
|
|
|
type storage_ is big_map(int, int) * unit
|
2019-08-29 15:12:06 +04:00
|
|
|
|
|
|
|
function main(const p : unit; const s : storage_) : list(operation) * storage_ is
|
2019-09-04 21:05:45 +04:00
|
|
|
var r : big_map(int, int) := s.0 ;
|
2019-09-03 20:33:30 +04:00
|
|
|
var toto : option (int) := Some(0);
|
|
|
|
block {
|
|
|
|
toto := r[23];
|
2019-09-04 21:05:45 +04:00
|
|
|
s.0 := r;
|
2019-09-03 20:33:30 +04:00
|
|
|
}
|
|
|
|
with ((nil: list(operation)), s)
|