Skip to content

Commit

Permalink
fix: 🐛 Added permit salt value for DAI and USDC in Polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Nov 10, 2022
1 parent 491d9c1 commit d3757b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
image: '/images/tokens/DAI.svg',
native: false,
permit: false,
permitSalt: true,
permitSalt: '0x0000000000000000000000000000000000000000000000000000000000000089',
currency: 'USD',
ramp: 'https://buy.ramp.network/?swapAsset=MATIC_DAI&userAddress='
},
Expand All @@ -270,7 +270,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
image: '/images/tokens/USDC.svg',
native: false,
permit: true,
permitSalt: true,
permitSalt: '0x0000000000000000000000000000000000000000000000000000000000000089',
currency: 'USD',
ramp: 'https://buy.ramp.network/?swapAsset=MATIC_USDC&userAddress='
},
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface CryptoAsset {
image: string;
native: boolean;
permit: boolean;
permitSalt?: boolean;
permitSalt?: string;
currency: AssetCurrency;
ramp?: string;
}
Expand Down

0 comments on commit d3757b6

Please sign in to comment.