Skip to content

Commit

Permalink
no restake rewards on dydx
Browse files Browse the repository at this point in the history
  • Loading branch information
nooxx committed Feb 1, 2024
1 parent 6c08efc commit c86869d
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/services/dydx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,6 @@ export class DydxService extends Service {

}

/**
* Craft dydx restake rewards transaction
* @param pubkey wallet pubkey, this is different from the wallet address
* @param validatorAccount validator account address (wallet controlling the validator)
* @param validatorAddress validator address to which the delegation has been made
*/
async craftRestakeRewardsTx(
pubkey: string,
validatorAccount: string,
validatorAddress: string,
): Promise<CosmosTx> {

const { data } = await api.post<CosmosTx>(
`/v1/dydx/transaction/restake-rewards`,
{
pubkey: pubkey,
validator_account: validatorAccount,
validator_address: validatorAddress,
});
return data;

}

/**
* Craft dydx unstaking transaction
* @param pubkey wallet pubkey, this is different from the wallet address
Expand Down

0 comments on commit c86869d

Please sign in to comment.