Extend Swap Contract with a new behavior to take a fixed fee #2348
Annotations
10 errors and 1 warning
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: number; collectFeeInFromToken: true; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: number; collectFeeInFromToken: true; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
Argument of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; }' is not assignable to parameter of type '{ fromAsset: string; toAsset: string; amount: BigNumber; receiveAtLeast: BigNumber; fee: number; withData: string | number; collectFeeInFromToken: boolean; feeType: SwapFeeType; }'.
|
files
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|