@1llet.xyz/erc4337-gasless-sdk 0.4.24 → 0.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +40 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,6 +56,45 @@ var init_facilitator = __esm({
|
|
|
56
56
|
messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64",
|
|
57
57
|
rpcUrl: "https://opt-mainnet.g.alchemy.com/v2/49fUGmuW05ynCui0VEvDN"
|
|
58
58
|
// Assuming same key works or public
|
|
59
|
+
},
|
|
60
|
+
GNOSIS: {
|
|
61
|
+
chainId: 100,
|
|
62
|
+
chain: chains.gnosis,
|
|
63
|
+
usdc: "0x2a22f9c3b48403ebD92cF06fF916b322a30dB834",
|
|
64
|
+
// EURe (or USDC on Gnosis? The user is swapping USDT -> USDC, wait. The user log says GNOSIS -> Optimism (USDT -> USDC).
|
|
65
|
+
// For verification, we just need RPC. The 'usdc' field is for CCTP, but verify logic just needs `rpcUrl`.
|
|
66
|
+
// I will populate others as placeholders if unknown.
|
|
67
|
+
usdcName: "USDC",
|
|
68
|
+
// Placeholder
|
|
69
|
+
usdcVersion: "2",
|
|
70
|
+
domain: 0,
|
|
71
|
+
// Placeholder
|
|
72
|
+
tokenMessenger: "0x0000000000000000000000000000000000000000",
|
|
73
|
+
messageTransmitter: "0x0000000000000000000000000000000000000000",
|
|
74
|
+
rpcUrl: "https://rpc.gnosischain.com"
|
|
75
|
+
},
|
|
76
|
+
Arbitrum: {
|
|
77
|
+
chainId: 42161,
|
|
78
|
+
chain: chains.arbitrum,
|
|
79
|
+
usdc: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
|
|
80
|
+
usdcName: "USD Coin",
|
|
81
|
+
usdcVersion: "2",
|
|
82
|
+
domain: 3,
|
|
83
|
+
tokenMessenger: "0x19330d10D9Cc8751218eaf51E8885D058642E08A",
|
|
84
|
+
messageTransmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca",
|
|
85
|
+
rpcUrl: "https://arb-mainnet.g.alchemy.com/v2/49fUGmuW05ynCui0VEvDN"
|
|
86
|
+
},
|
|
87
|
+
Polygon: {
|
|
88
|
+
chainId: 137,
|
|
89
|
+
chain: chains.polygon,
|
|
90
|
+
usdc: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
|
|
91
|
+
usdcName: "USD Coin",
|
|
92
|
+
usdcVersion: "2",
|
|
93
|
+
domain: 7,
|
|
94
|
+
// Placeholder? CCTP domain for Polygon is 7? I should check if I had it elsewhere.
|
|
95
|
+
tokenMessenger: "0x0000000000000000000000000000000000000000",
|
|
96
|
+
messageTransmitter: "0x0000000000000000000000000000000000000000",
|
|
97
|
+
rpcUrl: "https://polygon-mainnet.g.alchemy.com/v2/49fUGmuW05ynCui0VEvDN"
|
|
59
98
|
}
|
|
60
99
|
};
|
|
61
100
|
}
|