ola-parser 1.0.1

Ola Language Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


contract C {
  u256[] s;
  fn f(u256[]  data)  -> (u256) {
    s = data;
    return s[0];
  }
}
// ====
// compileViaYul: also
// ----
// f(u256[]): 0x20, 0x03, 0x1, 0x2, 0x3  -> 0x1
// gas irOptimized: 111159
// gas legacy: 111565
// gas legacyOptimized: 111347