@1llet.xyz/erc4337-gasless-sdk 0.4.12 → 0.4.14
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +24 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -812,24 +812,33 @@ var CHAIN_CONFIGS = {
|
|
|
812
812
|
[gnosis.id]: GNOSIS_MAINNET,
|
|
813
813
|
[optimism.id]: OPTIMISM_MAINNET
|
|
814
814
|
};
|
|
815
|
-
|
|
816
|
-
// src/constants/facilitator.ts
|
|
817
815
|
var calculateFee = () => {
|
|
818
816
|
return BigInt(1e4);
|
|
819
817
|
};
|
|
820
818
|
var FACILITATOR_NETWORKS = {
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
819
|
+
Base: {
|
|
820
|
+
chainId: 8453,
|
|
821
|
+
chain: base,
|
|
822
|
+
usdc: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
823
|
+
usdcName: "USD Coin",
|
|
824
|
+
usdcVersion: "2",
|
|
825
|
+
domain: 6,
|
|
826
|
+
tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d",
|
|
827
|
+
messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64",
|
|
828
|
+
rpcUrl: "https://base-mainnet.g.alchemy.com/v2/49fUGmuW05ynCui0VEvDN"
|
|
829
|
+
},
|
|
830
|
+
Optimism: {
|
|
831
|
+
chainId: 10,
|
|
832
|
+
chain: optimism,
|
|
833
|
+
usdc: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
|
|
834
|
+
usdcName: "USD Coin",
|
|
835
|
+
usdcVersion: "2",
|
|
836
|
+
domain: 2,
|
|
837
|
+
tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d",
|
|
838
|
+
messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64",
|
|
839
|
+
rpcUrl: "https://opt-mainnet.g.alchemy.com/v2/49fUGmuW05ynCui0VEvDN"
|
|
840
|
+
// Assuming same key works or public
|
|
841
|
+
}
|
|
833
842
|
};
|
|
834
843
|
|
|
835
844
|
// src/constants/abis.ts
|
|
@@ -2130,6 +2139,6 @@ var BridgeManager = class {
|
|
|
2130
2139
|
}
|
|
2131
2140
|
};
|
|
2132
2141
|
|
|
2133
|
-
export { AccountAbstraction, BASE_MAINNET, BASE_SEPOLIA, BridgeManager, BundlerClient, CCTPStrategy, CHAIN_CONFIGS, GNOSIS_MAINNET, GaslessStrategy, NearStrategy, StandardBridgeStrategy, entryPointAbi, erc20Abi, smartAccountAbi };
|
|
2142
|
+
export { AccountAbstraction, BASE_MAINNET, BASE_SEPOLIA, BridgeManager, BundlerClient, CCTPStrategy, CHAIN_CONFIGS, GNOSIS_MAINNET, GaslessStrategy, NearStrategy, OPTIMISM_MAINNET, StandardBridgeStrategy, entryPointAbi, erc20Abi, smartAccountAbi };
|
|
2134
2143
|
//# sourceMappingURL=index.mjs.map
|
|
2135
2144
|
//# sourceMappingURL=index.mjs.map
|