Skip to content

Commit 60c3ea1

Browse files
committed
base goerli usdc support
1 parent 5ff810f commit 60c3ea1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pimlico/erc20-paymaster",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"license": "GPL-3.0-or-later",
55
"description": "A permissionless ERC20 Paymaster implementation by Pimlico",
66
"main": "./dist/index.js",

sdk/constants.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export const TOKEN_ADDRESS: Record<number, Record<string, string>> = {
3030
80001: {
3131
USDC: "0x0FA8781a83E46826621b3BC094Ea2A0212e71B23",
3232
USDT: "0xA02f6adc7926efeBBd59Fd43A84f4E0c0c91e832"
33+
},
34+
84531: {
35+
USDC: "0x1B85deDe8178E18CdE599B4C9d913534553C3dBf"
3336
}
3437
}
3538

@@ -40,7 +43,8 @@ export const NATIVE_ASSET: Record<number, string> = {
4043
137: "MATIC",
4144
42161: "ETH",
4245
43114: "AVAX",
43-
80001: "MATIC"
46+
80001: "MATIC",
47+
84531: "ETH"
4448
}
4549

4650
export const ORACLE_ADDRESS: Record<number, Record<string, string>> = {
@@ -83,5 +87,9 @@ export const ORACLE_ADDRESS: Record<number, Record<string, string>> = {
8387
USDC: "0x572dDec9087154dC5dfBB1546Bb62713147e0Ab0",
8488
USDT: "0x92C09849638959196E976289418e5973CC96d645",
8589
MATIC: "0xd0D5e3DB44DE05E9F294BB0a3bEEaF030DE24Ada"
90+
},
91+
84531: {
92+
ETH: "0xcD2A119bD1F7DF95d706DE6F2057fDD45A0503E2",
93+
USDC: "0xb85765935B4d9Ab6f841c9a00690Da5F34368bc0"
8694
}
8795
}

0 commit comments

Comments
 (0)