main.adl
1 // The 'admin_example' program. 2 program admin_example.alpha { 3 @admin(address="ax1fdqcx3hvh40hdujds230yzg2mt3mltqza52e05trc58vyng585zsgyhlwq") 4 async constructor() {} 5 6 transition main(public a: u32, b: u32) -> u32 { 7 let c: u32 = a + b; 8 return c; 9 } 10 11 // Uncomment me to test the upgrade. 12 // transition foo() {} 13 }