Skip to content

Commit

Permalink
Merge pull request #8 from Jeff-CCH/feat/custom-fee
Browse files Browse the repository at this point in the history
Custom Fee
  • Loading branch information
Jeff-CCH authored Nov 7, 2023
2 parents de1e148 + a303bc5 commit bacef4c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-points-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@protocolink/test-helpers': patch
---

add Polygon USDC faucet
5 changes: 5 additions & 0 deletions .changeset/rude-rings-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@protocolink/api': patch
---

add customFees in RouterData
1 change: 1 addition & 0 deletions packages/api/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export interface RouterData {
permitSig?: string;
referral?: string;
referrals?: Referral[];
customFees?: Fee[];
}

export interface Fee {
Expand Down
1 change: 1 addition & 0 deletions packages/test-helpers/src/utils/faucet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const faucetMap: Record<number, { default: string; specified?: Record<str
specified: {
'0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619': '0x1eED63EfBA5f81D95bfe37d82C8E736b974F477b', // WETH
'0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6': '0x0AFF6665bB45bF349489B20E225A6c5D78E2280F', // WBTC
'0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174': '0xe7804c37c13166fF0b37F5aE0BB07A3aEbb6e245', // USDC
},
},
[common.ChainId.arbitrum]: {
Expand Down

0 comments on commit bacef4c

Please sign in to comment.