Skip to content

Commit

Permalink
feat: 🎸 To the config added information about the permit salt
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Nov 10, 2022
1 parent 6d3ce97 commit 491d9c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
image: '/images/tokens/DAI.svg',
native: false,
permit: false,
permitSalt: true,
currency: 'USD',
ramp: 'https://buy.ramp.network/?swapAsset=MATIC_DAI&userAddress='
},
Expand All @@ -269,6 +270,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
image: '/images/tokens/USDC.svg',
native: false,
permit: true,
permitSalt: true,
currency: 'USD',
ramp: 'https://buy.ramp.network/?swapAsset=MATIC_USDC&userAddress='
},
Expand Down Expand Up @@ -422,7 +424,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
decimals: 18,
image: '/images/tokens/jBGN.svg',
native: false,
permit: true,
permit: false,
currency: 'BGN'
},
{
Expand Down Expand Up @@ -521,7 +523,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
decimals: 18,
image: '/images/tokens/jXOF.svg',
native: false,
permit: true,
permit: false,
currency: 'XOF'
},
{
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface CryptoAsset {
image: string;
native: boolean;
permit: boolean;
permitSalt?: boolean;
currency: AssetCurrency;
ramp?: string;
}
Expand Down

0 comments on commit 491d9c1

Please sign in to comment.