Skip to content

Commit

Permalink
Merge pull request #213 from trilitech/ajinkyaraj-23@212-add-support-…
Browse files Browse the repository at this point in the history
…for-new-entrypoints-introduced-in-oxford-2

Add new Oxford2 entrypoints
  • Loading branch information
ajinkyaraj-23 authored Feb 14, 2024
2 parents 2f5a23a + e6688c8 commit 8b5aede
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/src/parser/operation_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,22 @@ tz_step_read_smart_entrypoint(tz_parser_state *state)
strlcpy((char *)CAPTURE, "deposit", sizeof(CAPTURE));
tz_must(tz_print_string(state));
break;
case 6:
strlcpy((char *)CAPTURE, "stake", sizeof(CAPTURE));
tz_must(tz_print_string(state));
break;
case 7:
strlcpy((char *)CAPTURE, "unstake", sizeof(CAPTURE));
tz_must(tz_print_string(state));
break;
case 8:
strlcpy((char *)CAPTURE, "finalize_unstake", sizeof(CAPTURE));
tz_must(tz_print_string(state));
break;
case 9:
strlcpy((char *)CAPTURE, "set_delegate_parameters", sizeof(CAPTURE));
tz_must(tz_print_string(state));
break;
case 0xFF:
op->frame->step = TZ_OPERATION_STEP_READ_STRING;
op->frame->step_read_string.ofs = 0;
Expand Down

0 comments on commit 8b5aede

Please sign in to comment.