Skip to content

Commit

Permalink
Added "Entry staking wallet: Promotion bonus" cake operation
Browse files Browse the repository at this point in the history
  • Loading branch information
geldmacher committed Apr 30, 2022
1 parent 7664136 commit 5338265
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ cake2ct --cake-csv "path\to\cake-export-file.csv" --ct-csv "path\to\cointracking
- Entry staking wallet: Signup bonus
- Entry staking wallet: Referral signup bonus
- Promotion bonus
- Entry staking wallet: Promotion bonus
- Lending reward
- Lending DFI Bonus
- Entry staking wallet: Lending DFI Bonus
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cake-to-cointracking-converter",
"version": "5.1.0",
"version": "5.2.0",
"description": "CLI script to translate Cake export data to a valid CoinTracking import",
"main": "./processCsv.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions services/generateCtRecordsFromCakeDataRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ const generateCtRecordsFromCakeDataRow = (row, translatedCtTypes, useCtFiatValua
case 'Promotion bonus':
case 'Entry staking wallet: Referral signup bonus':
case 'Entry staking wallet: Signup bonus':
case 'Entry staking wallet: Promotion bonus':
case 'Freezer promotion bonus':
case 'Entry staking wallet: Freezer promotion bonus':
data['Type'] = translatedCtTypes.income;
Expand Down
1 change: 1 addition & 0 deletions services/generateIncomeOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const updateStats = (record) => {
case 'Signup bonus':
case 'Promotion bonus':
case 'Entry staking wallet: Signup bonus':
case 'Entry staking wallet: Promotion bonus':
case 'Entry staking wallet: Referral signup bonus':
case 'Entry staking wallet: Bonus/Airdrop':
case 'Entry staking wallet: Freezer promotion bonus':
Expand Down

0 comments on commit 5338265

Please sign in to comment.