Skip to content

Commit

Permalink
feat: migrate allocation old category and amount
Browse files Browse the repository at this point in the history
  • Loading branch information
theblockstalk committed Sep 16, 2024
1 parent 614aec3 commit 6f18427
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/sdk/services/blockchain/contracts/VestingContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ export class VestingContract {
sender: NameType,
holder: NameType,
allocationId: number,
amount: string,
categoryId: number,
oldAmount: string,
newAmount: string,
oldCategoryId: number,
newCategoryId: number,
signer: Signer
): Promise<API.v1.PushTransactionResponse> {
const action = {
Expand All @@ -172,8 +174,10 @@ export class VestingContract {
sender,
holder,
allocation_id: allocationId,
amount,
category_id: categoryId,
old_amount: oldAmount,
new_amount: newAmount,
old_category_id: oldCategoryId,
category_id: newCategoryId,
},
};

Expand Down

0 comments on commit 6f18427

Please sign in to comment.