@verified-network/verified-sdk 2.5.0 → 2.5.1
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/contract/index.js +27 -16
- package/dist/contractAddress/index.js +302 -302
- package/dist/utils/constants.js +3 -0
- package/package.json +1 -1
package/dist/contract/index.js
CHANGED
|
@@ -406,16 +406,21 @@ class VerifiedContract {
|
|
|
406
406
|
}
|
|
407
407
|
/** Constructs and call function using MEE client that allows gas payment in ERC20 tokens */
|
|
408
408
|
async callFunctionWithMEEClient(nexusAccount, chainId, tx, paymentToken, _apiKey) {
|
|
409
|
-
var _a, _b, _c;
|
|
409
|
+
var _a, _b, _c, _d;
|
|
410
410
|
let res = {};
|
|
411
411
|
let txHash = "";
|
|
412
412
|
let recp;
|
|
413
413
|
try {
|
|
414
|
-
const meeClient =
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
414
|
+
const meeClient = ((_a = constants_1.PaymasterConstants.TEST_CHAINS) === null || _a === void 0 ? void 0 : _a.includes(chainId))
|
|
415
|
+
? await (0, abstractjs_1.createMeeClient)({
|
|
416
|
+
account: nexusAccount,
|
|
417
|
+
url: constants_1.PaymasterConstants.MEE_URL_STAGING,
|
|
418
|
+
apiKey: constants_1.PaymasterConstants.MEE_API_KEY_STAGING,
|
|
419
|
+
})
|
|
420
|
+
: await (0, abstractjs_1.createMeeClient)({
|
|
421
|
+
account: nexusAccount,
|
|
422
|
+
apiKey: _apiKey || constants_1.PaymasterConstants.MEE_API_KEY,
|
|
423
|
+
});
|
|
419
424
|
const transactionInstruction = await nexusAccount.build({
|
|
420
425
|
type: "default",
|
|
421
426
|
data: {
|
|
@@ -439,9 +444,9 @@ class VerifiedContract {
|
|
|
439
444
|
const receipt = await meeClient.waitForSupertransactionReceipt({ hash });
|
|
440
445
|
// console.log("receipts: ", receipt);
|
|
441
446
|
// console.log("receipt: ", receipt?.receipts);
|
|
442
|
-
if (((
|
|
447
|
+
if (((_b = receipt === null || receipt === void 0 ? void 0 : receipt.receipts) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
443
448
|
//always pick last receipt????
|
|
444
|
-
const txReceipt = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[((
|
|
449
|
+
const txReceipt = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[((_c = receipt === null || receipt === void 0 ? void 0 : receipt.receipts) === null || _c === void 0 ? void 0 : _c.length) - 1];
|
|
445
450
|
if ((txReceipt === null || txReceipt === void 0 ? void 0 : txReceipt.status) === "success") {
|
|
446
451
|
res.status = STATUS.SUCCESS;
|
|
447
452
|
res.response = {
|
|
@@ -464,7 +469,7 @@ class VerifiedContract {
|
|
|
464
469
|
console.error("MEE client transaction failed with error: ", "Invalid receipts length");
|
|
465
470
|
res.status = STATUS.ERROR;
|
|
466
471
|
res.response = {
|
|
467
|
-
hash: (
|
|
472
|
+
hash: (_d = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[0]) === null || _d === void 0 ? void 0 : _d.transactionHash,
|
|
468
473
|
result: receipt === null || receipt === void 0 ? void 0 : receipt.receipts[0],
|
|
469
474
|
}; //TODO: update result on response
|
|
470
475
|
res.message = "";
|
|
@@ -579,7 +584,7 @@ class VerifiedContract {
|
|
|
579
584
|
}
|
|
580
585
|
}
|
|
581
586
|
async getQuote(paymentTokenAddress, functionName, args, rpc, _apiKey, isReactNative) {
|
|
582
|
-
var _a, _b, _c, _d, _e;
|
|
587
|
+
var _a, _b, _c, _d, _e, _f;
|
|
583
588
|
const chainId = await this.signer.getChainId();
|
|
584
589
|
if (this.supportsGasless(chainId)) {
|
|
585
590
|
const _signer = this.signer;
|
|
@@ -629,10 +634,16 @@ class VerifiedContract {
|
|
|
629
634
|
to: this.contract.address,
|
|
630
635
|
data: _res.data,
|
|
631
636
|
};
|
|
632
|
-
const meeClient =
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
637
|
+
const meeClient = ((_d = constants_1.PaymasterConstants.TEST_CHAINS) === null || _d === void 0 ? void 0 : _d.includes(chainId))
|
|
638
|
+
? await (0, abstractjs_1.createMeeClient)({
|
|
639
|
+
account: nexusAccount,
|
|
640
|
+
url: constants_1.PaymasterConstants.MEE_URL_STAGING,
|
|
641
|
+
apiKey: constants_1.PaymasterConstants.MEE_API_KEY_STAGING,
|
|
642
|
+
})
|
|
643
|
+
: await (0, abstractjs_1.createMeeClient)({
|
|
644
|
+
account: nexusAccount,
|
|
645
|
+
apiKey: _apiKey || constants_1.PaymasterConstants.MEE_API_KEY,
|
|
646
|
+
});
|
|
636
647
|
const transactionInstruction = await nexusAccount.build({
|
|
637
648
|
type: "default",
|
|
638
649
|
data: {
|
|
@@ -656,10 +667,10 @@ class VerifiedContract {
|
|
|
656
667
|
};
|
|
657
668
|
}
|
|
658
669
|
catch (err) {
|
|
659
|
-
if ((
|
|
670
|
+
if ((_e = err === null || err === void 0 ? void 0 : err.message) === null || _e === void 0 ? void 0 : _e.includes("fn is not a function")) {
|
|
660
671
|
console.error(`Function ${functionName} not found in contract's ABI`);
|
|
661
672
|
}
|
|
662
|
-
else if ((
|
|
673
|
+
else if ((_f = err === null || err === void 0 ? void 0 : err.message) === null || _f === void 0 ? void 0 : _f.includes("code=INVALID_ARGUMENT")) {
|
|
663
674
|
console.error(`Invalid arguments type`);
|
|
664
675
|
}
|
|
665
676
|
console.error((err === null || err === void 0 ? void 0 : err.message) || "getQuote failed.");
|
|
@@ -2,347 +2,347 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const contractAddress = {
|
|
4
4
|
5: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
5
|
+
Client: "0x3e132ee9fc32428655b2151A4E6C3f2B1FD49923",
|
|
6
|
+
Factory: "0xC4039Ad7465EE7c80B00658ee510e5000aB7baD3",
|
|
7
|
+
Cash: "0xb879A9C3971B69223c5c87C18fd42F622CcBB16c",
|
|
8
|
+
Bond: "0x148CDa5F8D299D719b5FAc7826E11A00785AAa3a",
|
|
9
|
+
Token: "0xD84bD15B0F2c838d4A7F598553B189f0EcD39d18",
|
|
10
|
+
Oracle: "0x01acc738C0371b51caF7e67A42cf6E423E04885c",
|
|
11
|
+
Rates: "0x164E22A9Fea6A26FFE827F733d7c81f397241633",
|
|
12
|
+
Security: "0x93527FaeCD88c108C3Fb78a1Ca72536eeb1Adbf7",
|
|
13
|
+
SecuritiesFactory: "0x647a7EA364a31fa18c65f4043CD55718d245D774",
|
|
14
|
+
Vitta: "0x8aa063d709A7Ec84086A0b5330c75D73af528cD3",
|
|
15
|
+
Liquidity: "0xce6FD14dD748F5f371BB226a3FdF6fEA3a4C423B",
|
|
16
|
+
Distribution: "0x00803eF19Ee8ea4f17dCA78001ebfC595866aC38",
|
|
17
|
+
PrimaryIssuePoolFactory: "0x4823be69546f9e1Ab8a87f315108c19dDC8E48b4",
|
|
18
|
+
BalancerPrimaryIssueManager: "0xa1582D9848cd72cfd001b32Ae7872A9de4E8f695",
|
|
19
|
+
SecondaryIssuePoolFactory: "0xe3e79e4106327e6eAeFBD03C1fD3A4A531c59b10",
|
|
20
|
+
BalancerSecondaryIssueManager: "0xd99eaA9786050dab5c3332E1E6eD9d6C4fB6cb6e",
|
|
21
|
+
MarginTradingPoolFactory: "0xB59DDb2b9e593cFDb9D3820889809cCFFD00EAf8",
|
|
22
|
+
BalancerMarginIssueManager: "0x7eBA7816b2c28c475f7205DCcdcaFFB30f6A71f2",
|
|
23
|
+
Custody: "0x5fafb140f86FFd21C2C772Ea4b23225faA00ecE6",
|
|
24
|
+
Compound: "0xe7da2f6c05040765660cd20f5defc69ce7df2309",
|
|
25
|
+
CASH: {
|
|
26
|
+
VCUSD: "0xed40C75d273a8f9c746536b86d7B849871970E9D",
|
|
27
|
+
VCEUR: "0xeFbDD964114aECf26fBAc495551697C1B20016b5",
|
|
28
|
+
VCCHF: "0x2C0Aa071b73E6b76026Cf6a9D2D2863A0eCA1080",
|
|
29
|
+
VCINR: "0x64B859Fc4c082b07d77A493dcB024926Bc47306a",
|
|
30
30
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
BOND: {
|
|
32
|
+
VBUSD: "0xc0CBc97E0D940Df8d32E5F5c12eEaddC7Bfc1377",
|
|
33
|
+
VBEUR: "0x86FFFDA97C7015870f59886536f8BA083011460e",
|
|
34
|
+
VCCHF: "0x079c51F7BeA0326B44EB95C7a6F45aC067b2d52b",
|
|
35
|
+
VBINR: "0x699Da71a435336238F1081aD46448CfbCD18c380",
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
38
|
+
arbitrum: {
|
|
39
|
+
Client: "",
|
|
40
|
+
Factory: "",
|
|
41
|
+
Cash: "",
|
|
42
|
+
Bond: "",
|
|
43
|
+
Token: "",
|
|
44
|
+
Oracle: "",
|
|
45
|
+
Rates: "",
|
|
46
|
+
Security: "",
|
|
47
|
+
SecuritiesFactory: "",
|
|
48
|
+
Vitta: "",
|
|
49
|
+
Liquidity: "",
|
|
50
|
+
Distribution: "",
|
|
51
|
+
PrimaryIssuePoolFactory: "",
|
|
52
|
+
BalancerPrimaryIssueManager: "",
|
|
53
|
+
SecondaryIssuePoolFactory: "",
|
|
54
|
+
BalancerSecondaryIssueManager: "",
|
|
55
|
+
MarginTradingPoolFactory: "",
|
|
56
|
+
BalancerMarginIssueManager: "",
|
|
57
|
+
Custody: "",
|
|
58
|
+
Compound: "",
|
|
59
|
+
CASH: {
|
|
60
|
+
VCUSD: "",
|
|
61
|
+
VCEUR: "",
|
|
62
|
+
VCCHF: "",
|
|
63
|
+
VCINR: "",
|
|
64
64
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
BOND: {
|
|
66
|
+
VBUSD: "",
|
|
67
|
+
VBEUR: "",
|
|
68
|
+
VCCHF: "",
|
|
69
|
+
VBINR: "",
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
80001: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
73
|
+
Client: "0x8009B03BbaBD09B9C1EADCaBC7D27197AC251F44",
|
|
74
|
+
Factory: "0xaE16E00380450617E7D96Bdee3c242a8a83CF474",
|
|
75
|
+
Cash: "0xE6aF6F4d0DD2c4d6F46cdF02be016d7352AF8594",
|
|
76
|
+
Bond: "0x035ad7060e366e7d619d3394d667c4F9Fa8fbFFc",
|
|
77
|
+
Token: "0x937d8b7A5b36E3573f4B909D742A1afc46998914",
|
|
78
|
+
Oracle: "0x3d85758f26866D0D0cd7f3a8f4740cCfE341CBf3",
|
|
79
|
+
Rates: "0xFA674a58063bAfD52ce5981DB137B01c2504B312",
|
|
80
|
+
Security: "0x2D76FE6DdC229a482eDeb6E86d12c733A05Af55b",
|
|
81
|
+
SecuritiesFactory: "0xf1f349C2CBDA5BCAfD7F95b20C812b4A17c9333D",
|
|
82
|
+
Vitta: "0x2D5d7F6a1065C1D47c333cacb0ea02f4e25c268C",
|
|
83
|
+
Liquidity: "0x9322e3002403C6f13d567d85FF72eC69733a57ab",
|
|
84
|
+
Distribution: "0x009B5BAd3C3b8E58f71321e149b22F2Ae080089a",
|
|
85
|
+
PrimaryIssuePoolFactory: "",
|
|
86
|
+
BalancerPrimaryIssueManager: "",
|
|
87
|
+
SecondaryIssuePoolFactory: "",
|
|
88
|
+
BalancerSecondaryIssueManager: "",
|
|
89
|
+
MarginTradingPoolFactory: "",
|
|
90
|
+
BalancerMarginIssueManager: "",
|
|
91
|
+
Custody: "0x27006b68b3594EF5Ae04C5457c24F0c7CF1E5553",
|
|
92
|
+
Compound: "",
|
|
93
|
+
CASH: {
|
|
94
|
+
VCUSD: "0x2643ea32A3c231327556739C2a88C1eA943A90A9",
|
|
95
|
+
VCEUR: "0x8D7365d51D6e2fF6BffEa00FDacdd96f86d147A0",
|
|
96
|
+
VCCHF: "0x1b2f81171300f3DCF70F2A3BC90fc307588212fC",
|
|
97
|
+
VCINR: "0x515bC2e51B0824759B3A64fD3659CCC5c8E35D96",
|
|
98
98
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
BOND: {
|
|
100
|
+
VBUSD: "0x55E7F13020F85bA8855c0639fD384e2CF319E30A",
|
|
101
|
+
VBEUR: "0x00A4eF03Dd625F5778e2a17407952444B3A97008",
|
|
102
|
+
VCCHF: "0x0f2570339af7896f78a47730386d51d8CBDD8D0F",
|
|
103
|
+
VBINR: "0xFe83AD465cD61FE8f82241b23199043f41079109",
|
|
104
104
|
},
|
|
105
105
|
},
|
|
106
106
|
137: {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
107
|
+
Client: "0x2C5718206b37b8744784ce44f374DE13dd7BC2d1",
|
|
108
|
+
Factory: "",
|
|
109
|
+
Cash: "",
|
|
110
|
+
Bond: "",
|
|
111
|
+
Token: "",
|
|
112
|
+
Oracle: "",
|
|
113
|
+
Rates: "",
|
|
114
|
+
Security: "0x5b8bc9986A44c1814603Ba7C66C5e2eC332262c5",
|
|
115
|
+
SecuritiesFactory: "0xF0bbA007515fF51C9310225106512B921de4cdAA",
|
|
116
|
+
Vitta: "0xAb26871f689241758F42627d812E2A3eda7c630e",
|
|
117
|
+
Liquidity: "0x2E6F17DF38B4686D17C6ec63eF3Ee8f926b1769a",
|
|
118
|
+
Distribution: "0x96De7417058Dff11D570011eA100e6F0B6Af98eC",
|
|
119
|
+
PrimaryIssuePoolFactory: "0xc7de872452d18d442F2527d1371894F68dEcce24",
|
|
120
|
+
BalancerPrimaryIssueManager: "0x1f8e0fef42231529Ec80750C4E3E1fEe829e2F3E",
|
|
121
|
+
SecondaryIssuePoolFactory: "0xaAfde4aB7119d705a66E2338826F502b68Fa88EA",
|
|
122
|
+
BalancerSecondaryIssueManager: "0x775979123aD2e6DA3074bB38116430FEAE26974f",
|
|
123
|
+
MarginTradingPoolFactory: "0xde63bca2d746F4a9D4D7B6E88b943dcc90C50c79",
|
|
124
|
+
BalancerMarginIssueManager: "0x8965Fc965ffc410E14A211a344eb08993Cb1Bee6",
|
|
125
|
+
Custody: "",
|
|
126
|
+
Compound: "",
|
|
127
|
+
CASH: {
|
|
128
|
+
VCUSD: "",
|
|
129
|
+
VCEUR: "",
|
|
130
|
+
VCCHF: "",
|
|
131
|
+
VCINR: "",
|
|
132
132
|
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
BOND: {
|
|
134
|
+
VBUSD: "",
|
|
135
|
+
VBEUR: "",
|
|
136
|
+
VCCHF: "",
|
|
137
|
+
VBINR: "",
|
|
138
138
|
},
|
|
139
139
|
},
|
|
140
140
|
1: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
141
|
+
Client: "0x2f8cF8F87a200f7803975c4e5496Ac2F471AbECB",
|
|
142
|
+
Factory: "",
|
|
143
|
+
Cash: "",
|
|
144
|
+
Bond: "",
|
|
145
|
+
Token: "",
|
|
146
|
+
Oracle: "",
|
|
147
|
+
Rates: "",
|
|
148
|
+
Security: "0x0d062A0064b762ed8AEe7DE9E79b532e6215c77a",
|
|
149
|
+
SecuritiesFactory: "0xEeDDB589f8EA16f1bCFA1F54F9A20389Ee815884",
|
|
150
|
+
Vitta: "0x1aF6015fBc9E20ad48EEAC363249B8B0b4aAa929",
|
|
151
|
+
Liquidity: "0x80F3EFa6abd34ad123e5064C4F42c4aC84d25b84",
|
|
152
|
+
Distribution: "0xd5f976F6C2339203A72b87B5bfb9b22d278cF5cE",
|
|
153
|
+
PrimaryIssuePoolFactory: "0xBD5A0178C276d1553Eb388AdA03F6Cb79Eb6F67D",
|
|
154
|
+
BalancerPrimaryIssueManager: "0x385C84e3012BB0221Fcf2D666B854BAA0969F021",
|
|
155
|
+
SecondaryIssuePoolFactory: "0x0332299005D0331d6623DB3B7AfC5478222b5621",
|
|
156
|
+
BalancerSecondaryIssueManager: "0xeE261Ef7b60D0eBBc682dFaA8d8b87ff65FC955e",
|
|
157
|
+
MarginTradingPoolFactory: "0x1B95D408DE85e07d0De5d5b545202E32a023772E",
|
|
158
|
+
BalancerMarginIssueManager: "",
|
|
159
|
+
Custody: "",
|
|
160
|
+
Compound: "",
|
|
161
|
+
CASH: {
|
|
162
|
+
VCUSD: "",
|
|
163
|
+
VCEUR: "",
|
|
164
|
+
VCCHF: "",
|
|
165
|
+
VCINR: "",
|
|
166
166
|
},
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
167
|
+
BOND: {
|
|
168
|
+
VBUSD: "",
|
|
169
|
+
VBEUR: "",
|
|
170
|
+
VCCHF: "",
|
|
171
|
+
VBINR: "",
|
|
172
172
|
},
|
|
173
173
|
},
|
|
174
174
|
42161: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
175
|
+
Client: "",
|
|
176
|
+
Factory: "",
|
|
177
|
+
Cash: "",
|
|
178
|
+
Bond: "",
|
|
179
|
+
Token: "",
|
|
180
|
+
Oracle: "",
|
|
181
|
+
Rates: "",
|
|
182
|
+
Security: "",
|
|
183
|
+
SecuritiesFactory: "",
|
|
184
|
+
Vitta: "",
|
|
185
|
+
Liquidity: "",
|
|
186
|
+
Distribution: "",
|
|
187
|
+
PrimaryIssuePoolFactory: "",
|
|
188
|
+
BalancerPrimaryIssueManager: "",
|
|
189
|
+
SecondaryIssuePoolFactory: "",
|
|
190
|
+
BalancerSecondaryIssueManager: "",
|
|
191
|
+
MarginTradingPoolFactory: "",
|
|
192
|
+
BalancerMarginIssueManager: "",
|
|
193
|
+
Custody: "",
|
|
194
|
+
Compound: "",
|
|
195
|
+
CASH: {
|
|
196
|
+
VCUSD: "",
|
|
197
|
+
VCEUR: "",
|
|
198
|
+
VCCHF: "",
|
|
199
|
+
VCINR: "",
|
|
200
200
|
},
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
BOND: {
|
|
202
|
+
VBUSD: "",
|
|
203
|
+
VBEUR: "",
|
|
204
|
+
VCCHF: "",
|
|
205
|
+
VBINR: "",
|
|
206
206
|
},
|
|
207
207
|
},
|
|
208
208
|
//Base
|
|
209
209
|
8453: {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
210
|
+
Client: "0x06abba52d38C75D40Ae677a4aA30500c52A89063",
|
|
211
|
+
Factory: "",
|
|
212
|
+
Cash: "",
|
|
213
|
+
Bond: "",
|
|
214
|
+
Token: "",
|
|
215
|
+
Oracle: "",
|
|
216
|
+
Rates: "",
|
|
217
|
+
Security: "0x23A5d264b918c7711F8a067A44e158cD7b9b5A57",
|
|
218
|
+
SecuritiesFactory: "0x8Fe7C2bbb9285Ad54f0701A8a73B9f9a91c1f780",
|
|
219
|
+
Vitta: "0xF387D694B2ac3847F118778f16fdC11B58c0a859",
|
|
220
|
+
Liquidity: "0x5d85E0aDBa6E9E388D0641D7C8d925756316e99D",
|
|
221
|
+
Distribution: "0x3C0Da71292F095182b06e2f3c1527E2DF6aEa583",
|
|
222
|
+
PrimaryIssuePoolFactory: "0x73465Be532Aa390728D3Bb75D0b16F936Cd56bBE",
|
|
223
|
+
BalancerPrimaryIssueManager: "0xa4b9F21B92A7630a628C2B9EFbA1c844fCE7306E",
|
|
224
|
+
SecondaryIssuePoolFactory: "0xFd2Ef4b1c0AA3cd9A52264a23d244c21ba8572C6",
|
|
225
|
+
BalancerSecondaryIssueManager: "0x775979123aD2e6DA3074bB38116430FEAE26974f",
|
|
226
|
+
MarginTradingPoolFactory: "0xb864e62CFebd368F4491Fe52A4Fcc22c1c525F1C",
|
|
227
|
+
BalancerMarginIssueManager: "0x099EC82868A1636C9DE6C7E7014692382B3a793E",
|
|
228
|
+
Custody: "0xcB7282B16E381aA6A63b429170455CeDafBBc71C",
|
|
229
|
+
Compound: "",
|
|
230
|
+
CASH: {
|
|
231
|
+
VCUSD: "",
|
|
232
|
+
VCEUR: "",
|
|
233
|
+
VCCHF: "",
|
|
234
|
+
VCINR: "",
|
|
235
235
|
},
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
236
|
+
BOND: {
|
|
237
|
+
VBUSD: "",
|
|
238
|
+
VBEUR: "",
|
|
239
|
+
VCCHF: "",
|
|
240
|
+
VBINR: "",
|
|
241
241
|
},
|
|
242
242
|
},
|
|
243
243
|
//Base Sepolia
|
|
244
244
|
84532: {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
245
|
+
Client: "0x266d35A820B8e7f1CcAf7f14A24eC2232aE3D010",
|
|
246
|
+
Factory: "0x1021A1474dC1630E5781B1676Def04fF7f11Cc0b",
|
|
247
|
+
Cash: "0x15323E84AFF1dDFfcE321F05D75c5dB4b4491e9F",
|
|
248
|
+
Bond: "0x4464fF4e174CABeC48901d0B990C7fD47e0A5d1B",
|
|
249
|
+
Token: "0xE18a3Fcad231BA549aA488Fa984BDaEb0F6B30e5",
|
|
250
|
+
Oracle: "0x3DBAa50441669fDdd9100a9f4703F8B53ca991F7",
|
|
251
|
+
Rates: "0x127C7ef8D3b60Dd3bE78cDB3b349D1a9cf4368bD",
|
|
252
|
+
Security: "0x40b8764740149704A09bF7526b82D92E4c0958a9",
|
|
253
|
+
SecuritiesFactory: "0x68497F1380f29b2C41Ca8Ff1Da3B5a3BD8327d4D",
|
|
254
|
+
Vitta: "0x3AB49F974e243895346f6f656f3fF45d1f3Ac49c",
|
|
255
|
+
Liquidity: "0x6C557434128e98536c7F6487B417D9D74f0Ca9cf",
|
|
256
|
+
Distribution: "0xc61b02D1D3A764efAd2f8C6C478A479C51dD79Ea",
|
|
257
|
+
PrimaryIssuePoolFactory: "",
|
|
258
|
+
BalancerPrimaryIssueManager: "",
|
|
259
|
+
SecondaryIssuePoolFactory: "",
|
|
260
|
+
BalancerSecondaryIssueManager: "",
|
|
261
|
+
MarginTradingPoolFactory: "",
|
|
262
|
+
BalancerMarginIssueManager: "",
|
|
263
|
+
Custody: "0xC3121a0fE50749Fb987fB5C56224914ff8Eaa1CF",
|
|
264
|
+
Compound: "0x146144772fF3fF3124beF9730a4c6F5D15efe931",
|
|
265
|
+
CASH: {
|
|
266
|
+
VCUSD: "0x1C751BA898D01789af51A9022b7A6f45836a5d6c",
|
|
267
|
+
VCEUR: "0xF0736Fa9490C45b5dF5129A461fAA1362795A4c0",
|
|
268
|
+
VCCHF: "0x1D2D161C36958a71855413b09d60fd537742BD39",
|
|
269
|
+
VCINR: "0x4D602f59d2680c9eB99438a4F707954F46b58e83",
|
|
270
270
|
},
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
271
|
+
BOND: {
|
|
272
|
+
VBUSD: "0xD84fEeb3232A8578F83A1e64b5F3C0E440676368",
|
|
273
|
+
VBEUR: "0x4A37E3Cd9563Dc3685a963AD565cC72117eFF0Dd",
|
|
274
|
+
VCCHF: "0x32ecC3e013f300DE51F0Bd3b91441188d8893c21",
|
|
275
|
+
VBINR: "0xA1A42bD9eB738Cac2b21e9421cB49e8364Ce697E",
|
|
276
276
|
},
|
|
277
277
|
},
|
|
278
278
|
100: {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
279
|
+
Client: "0x312C59864CbCB34bBB4401185d634ead05650fBF",
|
|
280
|
+
Factory: "0xED47a71d2617b1a1F9A9aeb33b85bE5A722EA79B",
|
|
281
|
+
Cash: "0xa7b5243A7f715227e6BfD92BC1833BD8DCCDe1aA",
|
|
282
|
+
Bond: "0xd19EA204820a1A460325711CE74Aa5bfC5d1dD6c",
|
|
283
|
+
Token: "0x11443923cbec287875e6a79926F300Cd640B75bA",
|
|
284
|
+
Oracle: "0xce82fD6D9a921f7751ebA9be4Af6B0C3Df10D804",
|
|
285
|
+
Rates: "0x70aF9290Ec6cC91e731f1A7a79D611ceAf2E262c",
|
|
286
|
+
Security: "0x7Ac1EC6B37Dfb74D3017b13236ed7B8267dAc8Ab",
|
|
287
|
+
SecuritiesFactory: "0x9cd9719f897C09D8287A97679f516f6323a54E7d",
|
|
288
|
+
Vitta: "0x8d2f1997742C7eDbB92C157fCAa606EF9BD8F9e6",
|
|
289
|
+
Liquidity: "0x36A6efC3276e2d2d015c9e96af3957aB5293b662",
|
|
290
|
+
Distribution: "0x812cD96Bd1D9C35EaCD3F09Dc504B2d30e63EFe5",
|
|
291
|
+
PrimaryIssuePoolFactory: "0xd51114303E9640022F3222CD8AcD54Ea4DbA10D4",
|
|
292
|
+
BalancerPrimaryIssueManager: "0xf9CA2Ea876CB561610b89Cf3c009B723579f60C9",
|
|
293
|
+
SecondaryIssuePoolFactory: "0xd5f976F6C2339203A72b87B5bfb9b22d278cF5cE",
|
|
294
|
+
BalancerSecondaryIssueManager: "0x95b73422B232710953F8454e39E72672a48D88ED",
|
|
295
|
+
MarginTradingPoolFactory: "0x2291E72C85a12873bF7d60EeC2EE3f0a98A35204",
|
|
296
|
+
BalancerMarginIssueManager: "0x0F248837AAd71e08A2AE43d8e148A6AbE891Daa6",
|
|
297
|
+
Custody: "0x9D3E70778674bc03200c1b6a7bf91D26dd34F569",
|
|
298
|
+
Compound: "",
|
|
299
|
+
CASH: {
|
|
300
|
+
VCUSD: "0xfef5f9d8Fe3b23fE4a242a461e537bB69364dE94",
|
|
301
|
+
VCEUR: "0x3a34e5a0C88527F5A6Ab70A92447e83c413D1b51",
|
|
302
|
+
VCCHF: "0xF8273ab6Fc4C60342832AD23CE185AB42954c932",
|
|
303
|
+
VCINR: "0x608A1DA27bb29F159b11083bf93324AaF87979ca",
|
|
304
304
|
},
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
BOND: {
|
|
306
|
+
VBUSD: "0xf6C2db50b34f0001121A72d29e1b0b2196B21f0B",
|
|
307
|
+
VBEUR: "0x3B6c963212250d5De4dcE551441ee9f61e69D0dE",
|
|
308
|
+
VCCHF: "0xB89bb424a4a76461d540F45D29b2664a5A88FcDB",
|
|
309
|
+
VBINR: "0xFc3B3398eEC4Bdbe9234aA278a5c312982DB939E",
|
|
310
310
|
},
|
|
311
311
|
},
|
|
312
312
|
11155111: {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
313
|
+
Client: "0xB72629Bb4d031F1C755AFfA123AAA28E81EfdA9A",
|
|
314
|
+
Factory: "0xf4E7c068125F7937FCA1B1ed37ddd69Fc8Be40d2",
|
|
315
|
+
Cash: "0x37De0Ffd0B20a73adD5Af2B50831f417F72E6fDa",
|
|
316
|
+
Bond: "0x4034B2ea78e22FeE515D21d96E4a15B2a6a2cE2f",
|
|
317
|
+
Token: "0xc35FF978c34825902537806b0a713e2E15B99408",
|
|
318
|
+
Oracle: "0x1Dfc61E8cf73f19bd485A91eeFA1A656Bc3D8b6f",
|
|
319
|
+
Rates: "0xD281789d42B9A8D463F2b999311e0C7C6816741B",
|
|
320
|
+
Security: "0xa1c552a33FB9e391d0F50A6407385c55cd22d596",
|
|
321
|
+
SecuritiesFactory: "0x7CaB6AA90fD672F6ddBd0B92c0a5428b53ebA414",
|
|
322
|
+
Vitta: "0x87145164371Ad7851AD3B4D47C9820F95983d8EA",
|
|
323
|
+
Liquidity: "0x27006b68b3594EF5Ae04C5457c24F0c7CF1E5553",
|
|
324
|
+
Distribution: "0x5c3171AFEC854f8B6FD138ee9533629ABd8A5365",
|
|
325
|
+
PrimaryIssuePoolFactory: "0xDA13BC71FEe08FfD523f10458B0e2c2D8427BBD5",
|
|
326
|
+
BalancerPrimaryIssueManager: "0x56B802f315e97c2BDDb0dA5F13EE8e11cBa3846B",
|
|
327
|
+
SecondaryIssuePoolFactory: "0x4519148Cc4030c2e3573f1f886ed4071Fa35d62B",
|
|
328
|
+
BalancerSecondaryIssueManager: "0xE3e3e9b8c0c292eD3756C7A1037322738de6B7FC",
|
|
329
|
+
MarginTradingPoolFactory: "0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c",
|
|
330
|
+
BalancerMarginIssueManager: "0xcC52ce78a8fF2198FBD37D85D1686E7C80604cd3",
|
|
331
|
+
Custody: "0x3B3AD30e32fFef3dD598dd3EfDf6DCC392897786",
|
|
332
|
+
Compound: "0x7FEC71327A33d59F293f4Db6dcDc4E6De2d407d6",
|
|
333
|
+
CASH: {
|
|
334
|
+
VCUSD: "0x2DDddbE71Ad0ffa4c62B2aEE408c5c4bDdD10A58",
|
|
335
|
+
VCEUR: "0x16CBaa075beC8bEe8d4427A0E0077cE9C7c7018F",
|
|
336
|
+
VCCHF: "0xcd39d935Bab9C0EF0667c290427F5BdC6181F3ec",
|
|
337
|
+
VCINR: "0xf9139959C6b543E10ce26340CCf5845c73d83117",
|
|
338
338
|
},
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
339
|
+
BOND: {
|
|
340
|
+
VBUSD: "0xDEdB5B413a14e24Dc484221F8858f7a5b76294D0",
|
|
341
|
+
VBEUR: "0x08c06611197E7f8162eDE48647eA8Cc913667556",
|
|
342
|
+
VBCHF: "0x69036Bd8d4f7ff96A7Fe2098c6f12bf005eCba47",
|
|
343
|
+
VBINR: "0x9381d9fba4ac1115e25E924D9bFa7c51179dea25",
|
|
344
344
|
},
|
|
345
345
|
},
|
|
346
|
-
|
|
346
|
+
balancerVault: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
|
|
347
347
|
};
|
|
348
348
|
exports.default = contractAddress;
|
package/dist/utils/constants.js
CHANGED
|
@@ -7,6 +7,9 @@ exports.PaymasterConstants = {
|
|
|
7
7
|
BUNDLER_URL_FIRST_SECTION: "https://bundler.biconomy.io/api/v2",
|
|
8
8
|
GENERAL_PAYMASTER_URL: "https://paymaster.biconomy.io/api/v1",
|
|
9
9
|
MEE_API_KEY: "mee_XGE8XYuTujTdkB4sohJMHv",
|
|
10
|
+
MEE_API_KEY_STAGING: "mee_3ZhZhHx3hmKrBQxacr283dHt",
|
|
11
|
+
MEE_URL_STAGING: "https://staging-network.biconomy.io/v1",
|
|
12
|
+
TEST_CHAINS: [11155111, 84532],
|
|
10
13
|
BICONOMY_REVERT_TOPIC: "0x1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a201",
|
|
11
14
|
//ethereum sepolia
|
|
12
15
|
11155111: {
|