Skip to content

Extend Swap Contract with a new behavior to take a fixed fee #2348

Extend Swap Contract with a new behavior to take a fixed fee

Extend Swap Contract with a new behavior to take a fixed fee #2348

Triggered via pull request October 16, 2024 09:02
Status Failure
Total duration 4m 42s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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/