Skip to content

Commit

Permalink
feat: Display transaction fees during Primary Sales - CM-781 (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
luads authored Sep 6, 2024
1 parent 3552ba5 commit 4b80048
Show file tree
Hide file tree
Showing 29 changed files with 907 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const SmartCheckoutForm = ({ checkout, provider }: SmartCheckoutProps) =>
}
updateItemRequirements({
type: ItemType.NATIVE,
amount
amount,
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20_1',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
approvalTransaction: undefined,
},
Expand All @@ -27,6 +28,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20_2',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
},
],
Expand Down Expand Up @@ -57,6 +59,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20_1',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
approvalTransaction: undefined,
}]);
Expand All @@ -72,6 +75,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
}],
};
Expand Down Expand Up @@ -131,6 +135,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
}],
};
Expand Down Expand Up @@ -189,6 +194,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
approvalTransaction: undefined,
}],
Expand Down Expand Up @@ -235,6 +241,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
approvalTransaction: undefined,
},
Expand Down Expand Up @@ -275,6 +282,7 @@ describe('allowanceAggregator', () => {
tokenAddress: '0xERC20',
amount: BigNumber.from(1),
spenderAddress: '0xSEAPORT',
isFee: false,
},
},
],
Expand Down
Loading

0 comments on commit 4b80048

Please sign in to comment.