@verified-network/verified-sdk 2.5.2 → 2.5.4
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/abi/loans/compound/Comet.json +1967 -0
- package/dist/contract/comet/index.d.ts +16 -0
- package/dist/contract/comet/index.js +32 -0
- package/dist/contract/index.d.ts +10 -1
- package/dist/contract/index.js +313 -141
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/utils/constants.js +8 -41
- package/package.json +1 -1
package/dist/utils/constants.js
CHANGED
|
@@ -3,49 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PaymasterConstants = void 0;
|
|
4
4
|
//Todo: add more network paymaster details for gasless
|
|
5
5
|
exports.PaymasterConstants = {
|
|
6
|
-
MAX_WAITING_ROUND: 10, //number of rounds gassless transactions will wait to fetch receipt. Note: each round is 6 seconds, so 10 for example is 1 minute
|
|
7
|
-
BUNDLER_URL_FIRST_SECTION: "https://bundler.biconomy.io/api/v2",
|
|
8
|
-
GENERAL_PAYMASTER_URL: "https://paymaster.biconomy.io/api/v1",
|
|
9
6
|
MEE_API_KEY: "mee_XGE8XYuTujTdkB4sohJMHv",
|
|
10
|
-
MEE_API_KEY_STAGING: "
|
|
7
|
+
MEE_API_KEY_STAGING: "mee_3Zmc7H6Pbd5wUfUGu27aGzdf", //Biconomy sponsorship enabled staging api key???
|
|
11
8
|
MEE_URL_STAGING: "https://staging-network.biconomy.io/v1",
|
|
12
9
|
TEST_CHAINS: [11155111, 84532],
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
BUNDLER_API_KEY: "nJPK7B3ru.dd7f7861-190d-41bd-af80-6877f74b8f44",
|
|
18
|
-
RPC_URL: "https://eth-sepolia.public.blastapi.io",
|
|
19
|
-
PAYMENT_TOKEN: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
20
|
-
},
|
|
21
|
-
//polgon mainnet
|
|
22
|
-
137: {
|
|
23
|
-
PAYMASTER_API_KEY: "lDHvYk50N.30a2522e-0a9d-444b-b949-19194c1f237a",
|
|
24
|
-
BUNDLER_API_KEY: "dewj2189.wh1289hU-7E49-45ic-af80-JkuxGCYRV",
|
|
25
|
-
RPC_URL: "https://polygon-rpc.com",
|
|
26
|
-
},
|
|
27
|
-
//base sepolia
|
|
28
|
-
84532: {
|
|
29
|
-
PAYMASTER_API_KEY: "jSBI-WRji.99a4dda1-1c20-42ea-9409-2724f9a0ca7e",
|
|
30
|
-
BUNDLER_API_KEY: "nJPK7B3ru.dd7f7861-190d-41bd-af80-6877f74b8f44",
|
|
31
|
-
RPC_URL: "https://sepolia.base.org",
|
|
32
|
-
},
|
|
33
|
-
//ethereum mainnet
|
|
34
|
-
1: {
|
|
35
|
-
PAYMASTER_API_KEY: "ap7LOqALI.bf68e672-47ce-40f8-8b62-ea508dcf5852",
|
|
36
|
-
BUNDLER_API_KEY: "dewj402.wh1289hU-7E49-85b-af80-t6XmQ4yJs",
|
|
37
|
-
RPC_URL: "https://eth-mainnet.public.blastapi.io",
|
|
38
|
-
},
|
|
39
|
-
//base mainnet
|
|
40
|
-
8453: {
|
|
41
|
-
PAYMASTER_API_KEY: "glRQsmuYh.5d9372ab-5063-4ecd-ac63-643fef624a73",
|
|
42
|
-
BUNDLER_API_KEY: "dewj402.wh1289hU-7E49-85b-af80-t6XmQ4yJs",
|
|
43
|
-
RPC_URL: "https://base-mainnet.public.blastapi.io",
|
|
44
|
-
},
|
|
45
|
-
//gnosis
|
|
46
|
-
100: {
|
|
47
|
-
PAYMASTER_API_KEY: "eUYghbvi4.317a2d6d-6ee7-4a0c-b91f-43ba2699f65b",
|
|
48
|
-
BUNDLER_API_KEY: "dewj402.wh1289hU-7E49-85b-af80-t6XmQ4yJs",
|
|
49
|
-
RPC_URL: "https://rpc.gnosischain.com",
|
|
10
|
+
SPONSORSHIP_GASTANK_TEST: {
|
|
11
|
+
chainId: 11155111,
|
|
12
|
+
token: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
13
|
+
address: "0x8a2997ba9B9A51aF7C63914829450260B12B75e5",
|
|
50
14
|
},
|
|
15
|
+
HOSTED_SPONSOR_URL: "https://gateway.verified.network/api/sponsor", //TODO: update to hosted sponsor url
|
|
16
|
+
ADMIN_WALLET_ADDRESS: "0x5DBDA7BE05F68131e260f5A2bC573b24692a5B34", //test admin
|
|
17
|
+
COMPENSATION_AMOUNT: "0.02", //2 Cents
|
|
51
18
|
};
|