| 1066 | } |
| 1067 | |
| 1068 | td::Ref<vm::Cell> BaseRunner::generate_sc_init_data(td::Ref<vm::Cell> code, td::Ref<vm::Cell> data) { |
| 1069 | vm::CellBuilder cb; |
| 1070 | cb.store_long(0, 2).store_long(3, 2).store_ref(code).store_ref(data).store_long(0, 1); |
| 1071 | |
| 1072 | return cb.finalize(); |
| 1073 | } |
| 1074 | |
| 1075 | block::StdAddress BaseRunner::generate_sc_address(td::Ref<vm::Cell> code, td::Ref<vm::Cell> data, bool is_test, |
| 1076 | bool is_bouncable) { |