Skip to content

Commit

Permalink
Fix I3
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Jan 23, 2024
1 parent 7e0424e commit 785deb5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/handle_provide_parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ static void handle_token_received_curve_pool(ethPluginProvideParameter_t *msg, c
printf_hex_array("TOKEN RECEIVED: ", ADDRESS_LENGTH, context->contract_address_received);
}

// deposit(uint256,address)
// redeem(uint256,address,address)
static void handle_wrap_and_unwrap(ethPluginProvideParameter_t *msg, context_t *context) {
switch (context->next_param) {
case AMOUNT_SENT:
Expand All @@ -138,6 +140,7 @@ static void handle_wrap_and_unwrap(ethPluginProvideParameter_t *msg, context_t *
}
}

// deposit()
static void handle_zapper_deposit_eth(ethPluginProvideParameter_t *msg, context_t *context) {
switch (context->next_param) {
case NONE:
Expand All @@ -149,6 +152,7 @@ static void handle_zapper_deposit_eth(ethPluginProvideParameter_t *msg, context_
}
}

// depositSFRXETH(uint256,uint256)
static void handle_zapper_deposit_sfrxeth(ethPluginProvideParameter_t *msg, context_t *context) {
switch (context->next_param) {
case AMOUNT_SENT:
Expand Down Expand Up @@ -213,6 +217,7 @@ static void handle_vault_redeem(ethPluginProvideParameter_t *msg, context_t *con
}

// exchange(int128 i,int128 j,uint256 _dx,uint256 _min_dy)
// exchange_underlying(int128 i,int128 j,uint256 _dx,uint256 _min_dy)
static void handle_curve_pool_exchange(ethPluginProvideParameter_t *msg, context_t *context) {
switch (context->next_param) {
case TOKEN_SENT:
Expand Down

0 comments on commit 785deb5

Please sign in to comment.