bfun-configs 0.0.17 → 0.0.19
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/chainConfigs.d.ts +8 -0
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +928 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +2624 -22
- package/wagmiGenerated.d.ts.map +1 -1
package/index.js
CHANGED
|
@@ -57,6 +57,12 @@ __export(package_exports, {
|
|
|
57
57
|
dividendABI: () => dividendABI,
|
|
58
58
|
dividendAddress: () => dividendAddress,
|
|
59
59
|
dividendConfig: () => dividendConfig,
|
|
60
|
+
giftVaultABI: () => giftVaultABI,
|
|
61
|
+
giftVaultAddress: () => giftVaultAddress,
|
|
62
|
+
giftVaultConfig: () => giftVaultConfig,
|
|
63
|
+
giftVaultFactoryABI: () => giftVaultFactoryABI,
|
|
64
|
+
giftVaultFactoryAddress: () => giftVaultFactoryAddress,
|
|
65
|
+
giftVaultFactoryConfig: () => giftVaultFactoryConfig,
|
|
60
66
|
protocolRewardsABI: () => protocolRewardsABI,
|
|
61
67
|
protocolRewardsAddress: () => protocolRewardsAddress,
|
|
62
68
|
protocolRewardsConfig: () => protocolRewardsConfig,
|
|
@@ -961,7 +967,7 @@ var bFunFactoryImplABI = [
|
|
|
961
967
|
{ type: "error", inputs: [], name: "UnsupportedSelector" }
|
|
962
968
|
];
|
|
963
969
|
var bFunFactoryImplAddress = {
|
|
964
|
-
56: "
|
|
970
|
+
56: "0xf67BA0688aCb514AD3D5adE4AE140a2e8478C407",
|
|
965
971
|
97: "0x369A7f786062034cA120BFC875dF792F244a6087"
|
|
966
972
|
};
|
|
967
973
|
var bFunFactoryImplConfig = {
|
|
@@ -3744,7 +3750,7 @@ var bondingCurveABI = [
|
|
|
3744
3750
|
{ type: "error", inputs: [], name: "TransfersRestricted" }
|
|
3745
3751
|
];
|
|
3746
3752
|
var bondingCurveAddress = {
|
|
3747
|
-
56: "
|
|
3753
|
+
56: "0x7Bd40ef58c5D8Fe2ee97851Dd3b18956b5087F2B",
|
|
3748
3754
|
97: "0x65437192b28300FE47Dbe68998fd5e79C9271219"
|
|
3749
3755
|
};
|
|
3750
3756
|
var bondingCurveConfig = {
|
|
@@ -4316,6 +4322,7 @@ var burnDividendVaultABI = [
|
|
|
4316
4322
|
{ type: "error", inputs: [], name: "ZeroAmount" }
|
|
4317
4323
|
];
|
|
4318
4324
|
var burnDividendVaultAddress = {
|
|
4325
|
+
56: "0xE8Ba6c4Bf808C1961FAe9DE0eD5810fa257837e9",
|
|
4319
4326
|
97: "0x6584C3918D051Afa99eC68d83e3B741166D73157"
|
|
4320
4327
|
};
|
|
4321
4328
|
var burnDividendVaultConfig = {
|
|
@@ -4615,6 +4622,7 @@ var burnDividendVaultFactoryABI = [
|
|
|
4615
4622
|
{ type: "error", inputs: [], name: "ZeroAddress" }
|
|
4616
4623
|
];
|
|
4617
4624
|
var burnDividendVaultFactoryAddress = {
|
|
4625
|
+
56: "0xD4cDe006422348D1c62db86ade854FECA4eA77D2",
|
|
4618
4626
|
97: "0x483D4a7Ee8D241403FdEB1E1bAb729B3653283d7"
|
|
4619
4627
|
};
|
|
4620
4628
|
var burnDividendVaultFactoryConfig = {
|
|
@@ -5054,6 +5062,906 @@ var dividendConfig = {
|
|
|
5054
5062
|
address: dividendAddress,
|
|
5055
5063
|
abi: dividendABI
|
|
5056
5064
|
};
|
|
5065
|
+
var giftVaultABI = [
|
|
5066
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
5067
|
+
{ stateMutability: "payable", type: "receive" },
|
|
5068
|
+
{
|
|
5069
|
+
stateMutability: "view",
|
|
5070
|
+
type: "function",
|
|
5071
|
+
inputs: [],
|
|
5072
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
5073
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
5074
|
+
},
|
|
5075
|
+
{
|
|
5076
|
+
stateMutability: "view",
|
|
5077
|
+
type: "function",
|
|
5078
|
+
inputs: [],
|
|
5079
|
+
name: "SNOWBALL_ROLE",
|
|
5080
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
stateMutability: "view",
|
|
5084
|
+
type: "function",
|
|
5085
|
+
inputs: [],
|
|
5086
|
+
name: "createdAt",
|
|
5087
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
5088
|
+
},
|
|
5089
|
+
{
|
|
5090
|
+
stateMutability: "view",
|
|
5091
|
+
type: "function",
|
|
5092
|
+
inputs: [],
|
|
5093
|
+
name: "description",
|
|
5094
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
5095
|
+
},
|
|
5096
|
+
{
|
|
5097
|
+
stateMutability: "view",
|
|
5098
|
+
type: "function",
|
|
5099
|
+
inputs: [],
|
|
5100
|
+
name: "factory",
|
|
5101
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
stateMutability: "view",
|
|
5105
|
+
type: "function",
|
|
5106
|
+
inputs: [],
|
|
5107
|
+
name: "factoryProxy",
|
|
5108
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5109
|
+
},
|
|
5110
|
+
{
|
|
5111
|
+
stateMutability: "view",
|
|
5112
|
+
type: "function",
|
|
5113
|
+
inputs: [
|
|
5114
|
+
{ name: "offset", internalType: "uint256", type: "uint256" },
|
|
5115
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
5116
|
+
],
|
|
5117
|
+
name: "getHistoricalProofs",
|
|
5118
|
+
outputs: [
|
|
5119
|
+
{
|
|
5120
|
+
name: "records",
|
|
5121
|
+
internalType: "struct GiftVault.ProofRecord[]",
|
|
5122
|
+
type: "tuple[]",
|
|
5123
|
+
components: [
|
|
5124
|
+
{ name: "XId", internalType: "uint128", type: "uint128" },
|
|
5125
|
+
{ name: "tweetId", internalType: "uint128", type: "uint128" },
|
|
5126
|
+
{ name: "targetAddress", internalType: "address", type: "address" }
|
|
5127
|
+
]
|
|
5128
|
+
},
|
|
5129
|
+
{ name: "total", internalType: "uint256", type: "uint256" }
|
|
5130
|
+
]
|
|
5131
|
+
},
|
|
5132
|
+
{
|
|
5133
|
+
stateMutability: "view",
|
|
5134
|
+
type: "function",
|
|
5135
|
+
inputs: [{ name: "role", internalType: "bytes32", type: "bytes32" }],
|
|
5136
|
+
name: "getRoleAdmin",
|
|
5137
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
5138
|
+
},
|
|
5139
|
+
{
|
|
5140
|
+
stateMutability: "nonpayable",
|
|
5141
|
+
type: "function",
|
|
5142
|
+
inputs: [
|
|
5143
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5144
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5145
|
+
],
|
|
5146
|
+
name: "grantRole",
|
|
5147
|
+
outputs: []
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
stateMutability: "view",
|
|
5151
|
+
type: "function",
|
|
5152
|
+
inputs: [
|
|
5153
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5154
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5155
|
+
],
|
|
5156
|
+
name: "hasRole",
|
|
5157
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5158
|
+
},
|
|
5159
|
+
{
|
|
5160
|
+
stateMutability: "nonpayable",
|
|
5161
|
+
type: "function",
|
|
5162
|
+
inputs: [
|
|
5163
|
+
{ name: "_taxToken", internalType: "address", type: "address" },
|
|
5164
|
+
{ name: "_quoteToken", internalType: "address", type: "address" },
|
|
5165
|
+
{ name: "_xHandle", internalType: "string", type: "string" },
|
|
5166
|
+
{ name: "_timeoutPeriod", internalType: "uint256", type: "uint256" },
|
|
5167
|
+
{ name: "_factoryProxy", internalType: "address", type: "address" }
|
|
5168
|
+
],
|
|
5169
|
+
name: "initialize",
|
|
5170
|
+
outputs: []
|
|
5171
|
+
},
|
|
5172
|
+
{
|
|
5173
|
+
stateMutability: "view",
|
|
5174
|
+
type: "function",
|
|
5175
|
+
inputs: [],
|
|
5176
|
+
name: "lastTweetId",
|
|
5177
|
+
outputs: [{ name: "", internalType: "uint128", type: "uint128" }]
|
|
5178
|
+
},
|
|
5179
|
+
{
|
|
5180
|
+
stateMutability: "nonpayable",
|
|
5181
|
+
type: "function",
|
|
5182
|
+
inputs: [
|
|
5183
|
+
{
|
|
5184
|
+
name: "proof",
|
|
5185
|
+
internalType: "struct GiftVault.XProof",
|
|
5186
|
+
type: "tuple",
|
|
5187
|
+
components: [
|
|
5188
|
+
{ name: "targetAddress", internalType: "address", type: "address" },
|
|
5189
|
+
{ name: "taxToken", internalType: "address", type: "address" },
|
|
5190
|
+
{ name: "xHandle", internalType: "string", type: "string" },
|
|
5191
|
+
{ name: "XId", internalType: "uint128", type: "uint128" },
|
|
5192
|
+
{ name: "tweetId", internalType: "uint128", type: "uint128" }
|
|
5193
|
+
]
|
|
5194
|
+
},
|
|
5195
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
5196
|
+
],
|
|
5197
|
+
name: "manageByProof",
|
|
5198
|
+
outputs: []
|
|
5199
|
+
},
|
|
5200
|
+
{
|
|
5201
|
+
stateMutability: "view",
|
|
5202
|
+
type: "function",
|
|
5203
|
+
inputs: [],
|
|
5204
|
+
name: "quoteToken",
|
|
5205
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
stateMutability: "nonpayable",
|
|
5209
|
+
type: "function",
|
|
5210
|
+
inputs: [
|
|
5211
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5212
|
+
{ name: "callerConfirmation", internalType: "address", type: "address" }
|
|
5213
|
+
],
|
|
5214
|
+
name: "renounceRole",
|
|
5215
|
+
outputs: []
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
stateMutability: "nonpayable",
|
|
5219
|
+
type: "function",
|
|
5220
|
+
inputs: [
|
|
5221
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5222
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5223
|
+
],
|
|
5224
|
+
name: "revokeRole",
|
|
5225
|
+
outputs: []
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
stateMutability: "nonpayable",
|
|
5229
|
+
type: "function",
|
|
5230
|
+
inputs: [
|
|
5231
|
+
{ name: "quoteAmt", internalType: "uint256", type: "uint256" },
|
|
5232
|
+
{ name: "amountOutMin", internalType: "uint256", type: "uint256" }
|
|
5233
|
+
],
|
|
5234
|
+
name: "snowball",
|
|
5235
|
+
outputs: []
|
|
5236
|
+
},
|
|
5237
|
+
{
|
|
5238
|
+
stateMutability: "view",
|
|
5239
|
+
type: "function",
|
|
5240
|
+
inputs: [],
|
|
5241
|
+
name: "state",
|
|
5242
|
+
outputs: [
|
|
5243
|
+
{ name: "", internalType: "enum GiftVault.State", type: "uint8" }
|
|
5244
|
+
]
|
|
5245
|
+
},
|
|
5246
|
+
{
|
|
5247
|
+
stateMutability: "view",
|
|
5248
|
+
type: "function",
|
|
5249
|
+
inputs: [],
|
|
5250
|
+
name: "stats",
|
|
5251
|
+
outputs: [
|
|
5252
|
+
{ name: "totalQuoteSpent", internalType: "uint128", type: "uint128" },
|
|
5253
|
+
{ name: "totalTokensBurned", internalType: "uint128", type: "uint128" }
|
|
5254
|
+
]
|
|
5255
|
+
},
|
|
5256
|
+
{
|
|
5257
|
+
stateMutability: "view",
|
|
5258
|
+
type: "function",
|
|
5259
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5260
|
+
name: "streamedAmount",
|
|
5261
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
5262
|
+
},
|
|
5263
|
+
{
|
|
5264
|
+
stateMutability: "view",
|
|
5265
|
+
type: "function",
|
|
5266
|
+
inputs: [],
|
|
5267
|
+
name: "streamingTarget",
|
|
5268
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5269
|
+
},
|
|
5270
|
+
{
|
|
5271
|
+
stateMutability: "view",
|
|
5272
|
+
type: "function",
|
|
5273
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
5274
|
+
name: "supportsInterface",
|
|
5275
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5276
|
+
},
|
|
5277
|
+
{
|
|
5278
|
+
stateMutability: "view",
|
|
5279
|
+
type: "function",
|
|
5280
|
+
inputs: [],
|
|
5281
|
+
name: "taxToken",
|
|
5282
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5283
|
+
},
|
|
5284
|
+
{
|
|
5285
|
+
stateMutability: "view",
|
|
5286
|
+
type: "function",
|
|
5287
|
+
inputs: [],
|
|
5288
|
+
name: "timeoutPeriod",
|
|
5289
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
5290
|
+
},
|
|
5291
|
+
{
|
|
5292
|
+
stateMutability: "nonpayable",
|
|
5293
|
+
type: "function",
|
|
5294
|
+
inputs: [],
|
|
5295
|
+
name: "transitState",
|
|
5296
|
+
outputs: []
|
|
5297
|
+
},
|
|
5298
|
+
{
|
|
5299
|
+
stateMutability: "view",
|
|
5300
|
+
type: "function",
|
|
5301
|
+
inputs: [],
|
|
5302
|
+
name: "xHandle",
|
|
5303
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
5304
|
+
},
|
|
5305
|
+
{
|
|
5306
|
+
type: "event",
|
|
5307
|
+
anonymous: false,
|
|
5308
|
+
inputs: [
|
|
5309
|
+
{
|
|
5310
|
+
name: "token",
|
|
5311
|
+
internalType: "address",
|
|
5312
|
+
type: "address",
|
|
5313
|
+
indexed: true
|
|
5314
|
+
},
|
|
5315
|
+
{
|
|
5316
|
+
name: "vault",
|
|
5317
|
+
internalType: "address",
|
|
5318
|
+
type: "address",
|
|
5319
|
+
indexed: true
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
name: "newBalance",
|
|
5323
|
+
internalType: "uint256",
|
|
5324
|
+
type: "uint256",
|
|
5325
|
+
indexed: false
|
|
5326
|
+
},
|
|
5327
|
+
{
|
|
5328
|
+
name: "updateType",
|
|
5329
|
+
internalType: "enum GiftVault.BalanceUpdateType",
|
|
5330
|
+
type: "uint8",
|
|
5331
|
+
indexed: false
|
|
5332
|
+
}
|
|
5333
|
+
],
|
|
5334
|
+
name: "BFunGiftBalanceUpdated"
|
|
5335
|
+
},
|
|
5336
|
+
{
|
|
5337
|
+
type: "event",
|
|
5338
|
+
anonymous: false,
|
|
5339
|
+
inputs: [
|
|
5340
|
+
{
|
|
5341
|
+
name: "token",
|
|
5342
|
+
internalType: "address",
|
|
5343
|
+
type: "address",
|
|
5344
|
+
indexed: true
|
|
5345
|
+
},
|
|
5346
|
+
{
|
|
5347
|
+
name: "target",
|
|
5348
|
+
internalType: "address",
|
|
5349
|
+
type: "address",
|
|
5350
|
+
indexed: false
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
name: "amount",
|
|
5354
|
+
internalType: "uint256",
|
|
5355
|
+
type: "uint256",
|
|
5356
|
+
indexed: false
|
|
5357
|
+
}
|
|
5358
|
+
],
|
|
5359
|
+
name: "BFunGiftForwardFailed"
|
|
5360
|
+
},
|
|
5361
|
+
{
|
|
5362
|
+
type: "event",
|
|
5363
|
+
anonymous: false,
|
|
5364
|
+
inputs: [
|
|
5365
|
+
{
|
|
5366
|
+
name: "token",
|
|
5367
|
+
internalType: "address",
|
|
5368
|
+
type: "address",
|
|
5369
|
+
indexed: true
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
name: "vault",
|
|
5373
|
+
internalType: "address",
|
|
5374
|
+
type: "address",
|
|
5375
|
+
indexed: true
|
|
5376
|
+
},
|
|
5377
|
+
{
|
|
5378
|
+
name: "quoteAmount",
|
|
5379
|
+
internalType: "uint256",
|
|
5380
|
+
type: "uint256",
|
|
5381
|
+
indexed: false
|
|
5382
|
+
},
|
|
5383
|
+
{
|
|
5384
|
+
name: "tokensBurned",
|
|
5385
|
+
internalType: "uint256",
|
|
5386
|
+
type: "uint256",
|
|
5387
|
+
indexed: false
|
|
5388
|
+
}
|
|
5389
|
+
],
|
|
5390
|
+
name: "BFunGiftSnowballExecuted"
|
|
5391
|
+
},
|
|
5392
|
+
{
|
|
5393
|
+
type: "event",
|
|
5394
|
+
anonymous: false,
|
|
5395
|
+
inputs: [
|
|
5396
|
+
{
|
|
5397
|
+
name: "token",
|
|
5398
|
+
internalType: "address",
|
|
5399
|
+
type: "address",
|
|
5400
|
+
indexed: true
|
|
5401
|
+
},
|
|
5402
|
+
{
|
|
5403
|
+
name: "newState",
|
|
5404
|
+
internalType: "uint8",
|
|
5405
|
+
type: "uint8",
|
|
5406
|
+
indexed: false
|
|
5407
|
+
}
|
|
5408
|
+
],
|
|
5409
|
+
name: "BFunGiftStateChanged"
|
|
5410
|
+
},
|
|
5411
|
+
{
|
|
5412
|
+
type: "event",
|
|
5413
|
+
anonymous: false,
|
|
5414
|
+
inputs: [
|
|
5415
|
+
{
|
|
5416
|
+
name: "token",
|
|
5417
|
+
internalType: "address",
|
|
5418
|
+
type: "address",
|
|
5419
|
+
indexed: true
|
|
5420
|
+
},
|
|
5421
|
+
{
|
|
5422
|
+
name: "newTarget",
|
|
5423
|
+
internalType: "address",
|
|
5424
|
+
type: "address",
|
|
5425
|
+
indexed: true
|
|
5426
|
+
}
|
|
5427
|
+
],
|
|
5428
|
+
name: "BFunGiftTargetUpdated"
|
|
5429
|
+
},
|
|
5430
|
+
{
|
|
5431
|
+
type: "event",
|
|
5432
|
+
anonymous: false,
|
|
5433
|
+
inputs: [
|
|
5434
|
+
{
|
|
5435
|
+
name: "version",
|
|
5436
|
+
internalType: "uint64",
|
|
5437
|
+
type: "uint64",
|
|
5438
|
+
indexed: false
|
|
5439
|
+
}
|
|
5440
|
+
],
|
|
5441
|
+
name: "Initialized"
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
type: "event",
|
|
5445
|
+
anonymous: false,
|
|
5446
|
+
inputs: [
|
|
5447
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
5448
|
+
{
|
|
5449
|
+
name: "previousAdminRole",
|
|
5450
|
+
internalType: "bytes32",
|
|
5451
|
+
type: "bytes32",
|
|
5452
|
+
indexed: true
|
|
5453
|
+
},
|
|
5454
|
+
{
|
|
5455
|
+
name: "newAdminRole",
|
|
5456
|
+
internalType: "bytes32",
|
|
5457
|
+
type: "bytes32",
|
|
5458
|
+
indexed: true
|
|
5459
|
+
}
|
|
5460
|
+
],
|
|
5461
|
+
name: "RoleAdminChanged"
|
|
5462
|
+
},
|
|
5463
|
+
{
|
|
5464
|
+
type: "event",
|
|
5465
|
+
anonymous: false,
|
|
5466
|
+
inputs: [
|
|
5467
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
5468
|
+
{
|
|
5469
|
+
name: "account",
|
|
5470
|
+
internalType: "address",
|
|
5471
|
+
type: "address",
|
|
5472
|
+
indexed: true
|
|
5473
|
+
},
|
|
5474
|
+
{
|
|
5475
|
+
name: "sender",
|
|
5476
|
+
internalType: "address",
|
|
5477
|
+
type: "address",
|
|
5478
|
+
indexed: true
|
|
5479
|
+
}
|
|
5480
|
+
],
|
|
5481
|
+
name: "RoleGranted"
|
|
5482
|
+
},
|
|
5483
|
+
{
|
|
5484
|
+
type: "event",
|
|
5485
|
+
anonymous: false,
|
|
5486
|
+
inputs: [
|
|
5487
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
5488
|
+
{
|
|
5489
|
+
name: "account",
|
|
5490
|
+
internalType: "address",
|
|
5491
|
+
type: "address",
|
|
5492
|
+
indexed: true
|
|
5493
|
+
},
|
|
5494
|
+
{
|
|
5495
|
+
name: "sender",
|
|
5496
|
+
internalType: "address",
|
|
5497
|
+
type: "address",
|
|
5498
|
+
indexed: true
|
|
5499
|
+
}
|
|
5500
|
+
],
|
|
5501
|
+
name: "RoleRevoked"
|
|
5502
|
+
},
|
|
5503
|
+
{ type: "error", inputs: [], name: "AccessControlBadConfirmation" },
|
|
5504
|
+
{
|
|
5505
|
+
type: "error",
|
|
5506
|
+
inputs: [
|
|
5507
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
5508
|
+
{ name: "neededRole", internalType: "bytes32", type: "bytes32" }
|
|
5509
|
+
],
|
|
5510
|
+
name: "AccessControlUnauthorizedAccount"
|
|
5511
|
+
},
|
|
5512
|
+
{ type: "error", inputs: [], name: "CannotRevokeFactoryAdmin" },
|
|
5513
|
+
{ type: "error", inputs: [], name: "EmptyXHandle" },
|
|
5514
|
+
{
|
|
5515
|
+
type: "error",
|
|
5516
|
+
inputs: [
|
|
5517
|
+
{ name: "available", internalType: "uint256", type: "uint256" },
|
|
5518
|
+
{ name: "required", internalType: "uint256", type: "uint256" }
|
|
5519
|
+
],
|
|
5520
|
+
name: "InsufficientQuoteBalance"
|
|
5521
|
+
},
|
|
5522
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
5523
|
+
{ type: "error", inputs: [], name: "InvalidProof" },
|
|
5524
|
+
{ type: "error", inputs: [], name: "InvalidStreamingTarget" },
|
|
5525
|
+
{ type: "error", inputs: [], name: "MismatchedTaxToken" },
|
|
5526
|
+
{ type: "error", inputs: [], name: "MismatchedXHandle" },
|
|
5527
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
5528
|
+
{
|
|
5529
|
+
type: "error",
|
|
5530
|
+
inputs: [
|
|
5531
|
+
{ name: "providedTweetId", internalType: "uint128", type: "uint128" },
|
|
5532
|
+
{ name: "lastTweetId", internalType: "uint128", type: "uint128" }
|
|
5533
|
+
],
|
|
5534
|
+
name: "OutdatedProof"
|
|
5535
|
+
},
|
|
5536
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
5537
|
+
{ type: "error", inputs: [], name: "SlippageExceeded" },
|
|
5538
|
+
{
|
|
5539
|
+
type: "error",
|
|
5540
|
+
inputs: [
|
|
5541
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
5542
|
+
{ name: "length", internalType: "uint256", type: "uint256" }
|
|
5543
|
+
],
|
|
5544
|
+
name: "StringsInsufficientHexLength"
|
|
5545
|
+
},
|
|
5546
|
+
{ type: "error", inputs: [], name: "ZeroAddress" }
|
|
5547
|
+
];
|
|
5548
|
+
var giftVaultAddress = {
|
|
5549
|
+
56: "0xF7eBFd2C402ee78B2Ff4A52129C7d6c56E44f787",
|
|
5550
|
+
97: "0x28E9f395EFd440D25140055F1Eb0D49B06bcFb00"
|
|
5551
|
+
};
|
|
5552
|
+
var giftVaultConfig = {
|
|
5553
|
+
address: giftVaultAddress,
|
|
5554
|
+
abi: giftVaultABI
|
|
5555
|
+
};
|
|
5556
|
+
var giftVaultFactoryABI = [
|
|
5557
|
+
{
|
|
5558
|
+
stateMutability: "nonpayable",
|
|
5559
|
+
type: "constructor",
|
|
5560
|
+
inputs: [
|
|
5561
|
+
{ name: "_factoryProxy", internalType: "address", type: "address" },
|
|
5562
|
+
{
|
|
5563
|
+
name: "_vaultImplementation",
|
|
5564
|
+
internalType: "address",
|
|
5565
|
+
type: "address"
|
|
5566
|
+
},
|
|
5567
|
+
{ name: "_xOracleKeyAddress", internalType: "address", type: "address" },
|
|
5568
|
+
{ name: "_snowBallHelper", internalType: "address", type: "address" },
|
|
5569
|
+
{ name: "_owner", internalType: "address", type: "address" }
|
|
5570
|
+
]
|
|
5571
|
+
},
|
|
5572
|
+
{
|
|
5573
|
+
stateMutability: "view",
|
|
5574
|
+
type: "function",
|
|
5575
|
+
inputs: [],
|
|
5576
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
5577
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
5578
|
+
},
|
|
5579
|
+
{
|
|
5580
|
+
stateMutability: "view",
|
|
5581
|
+
type: "function",
|
|
5582
|
+
inputs: [],
|
|
5583
|
+
name: "FACTORY_PROXY",
|
|
5584
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
stateMutability: "view",
|
|
5588
|
+
type: "function",
|
|
5589
|
+
inputs: [
|
|
5590
|
+
{ name: "taxToken", internalType: "address", type: "address" },
|
|
5591
|
+
{ name: "_xHandle", internalType: "string", type: "string" },
|
|
5592
|
+
{ name: "tweetId", internalType: "uint128", type: "uint128" }
|
|
5593
|
+
],
|
|
5594
|
+
name: "canManageVault",
|
|
5595
|
+
outputs: [
|
|
5596
|
+
{ name: "canManage", internalType: "bool", type: "bool" },
|
|
5597
|
+
{ name: "errorMessage", internalType: "string", type: "string" }
|
|
5598
|
+
]
|
|
5599
|
+
},
|
|
5600
|
+
{
|
|
5601
|
+
stateMutability: "view",
|
|
5602
|
+
type: "function",
|
|
5603
|
+
inputs: [],
|
|
5604
|
+
name: "eip712Domain",
|
|
5605
|
+
outputs: [
|
|
5606
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
5607
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
5608
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
5609
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
5610
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
5611
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
5612
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
5613
|
+
]
|
|
5614
|
+
},
|
|
5615
|
+
{
|
|
5616
|
+
stateMutability: "view",
|
|
5617
|
+
type: "function",
|
|
5618
|
+
inputs: [{ name: "role", internalType: "bytes32", type: "bytes32" }],
|
|
5619
|
+
name: "getRoleAdmin",
|
|
5620
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
5621
|
+
},
|
|
5622
|
+
{
|
|
5623
|
+
stateMutability: "nonpayable",
|
|
5624
|
+
type: "function",
|
|
5625
|
+
inputs: [
|
|
5626
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5627
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5628
|
+
],
|
|
5629
|
+
name: "grantRole",
|
|
5630
|
+
outputs: []
|
|
5631
|
+
},
|
|
5632
|
+
{
|
|
5633
|
+
stateMutability: "nonpayable",
|
|
5634
|
+
type: "function",
|
|
5635
|
+
inputs: [
|
|
5636
|
+
{ name: "vault", internalType: "address", type: "address" },
|
|
5637
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5638
|
+
],
|
|
5639
|
+
name: "grantVaultSnowballRole",
|
|
5640
|
+
outputs: []
|
|
5641
|
+
},
|
|
5642
|
+
{
|
|
5643
|
+
stateMutability: "view",
|
|
5644
|
+
type: "function",
|
|
5645
|
+
inputs: [
|
|
5646
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5647
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5648
|
+
],
|
|
5649
|
+
name: "hasRole",
|
|
5650
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5651
|
+
},
|
|
5652
|
+
{
|
|
5653
|
+
stateMutability: "pure",
|
|
5654
|
+
type: "function",
|
|
5655
|
+
inputs: [{ name: "quoteToken", internalType: "address", type: "address" }],
|
|
5656
|
+
name: "isQuoteTokenSupported",
|
|
5657
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5658
|
+
},
|
|
5659
|
+
{
|
|
5660
|
+
stateMutability: "view",
|
|
5661
|
+
type: "function",
|
|
5662
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5663
|
+
name: "isVault",
|
|
5664
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5665
|
+
},
|
|
5666
|
+
{
|
|
5667
|
+
stateMutability: "nonpayable",
|
|
5668
|
+
type: "function",
|
|
5669
|
+
inputs: [
|
|
5670
|
+
{ name: "taxToken", internalType: "address", type: "address" },
|
|
5671
|
+
{
|
|
5672
|
+
name: "proof",
|
|
5673
|
+
internalType: "struct GiftVaultFactory.XProof",
|
|
5674
|
+
type: "tuple",
|
|
5675
|
+
components: [
|
|
5676
|
+
{ name: "targetAddress", internalType: "address", type: "address" },
|
|
5677
|
+
{ name: "taxToken", internalType: "address", type: "address" },
|
|
5678
|
+
{ name: "xHandle", internalType: "string", type: "string" },
|
|
5679
|
+
{ name: "XId", internalType: "uint128", type: "uint128" },
|
|
5680
|
+
{ name: "tweetId", internalType: "uint128", type: "uint128" }
|
|
5681
|
+
]
|
|
5682
|
+
},
|
|
5683
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
5684
|
+
],
|
|
5685
|
+
name: "manageByProof",
|
|
5686
|
+
outputs: []
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
stateMutability: "nonpayable",
|
|
5690
|
+
type: "function",
|
|
5691
|
+
inputs: [
|
|
5692
|
+
{ name: "taxToken", internalType: "address", type: "address" },
|
|
5693
|
+
{ name: "quoteToken", internalType: "address", type: "address" },
|
|
5694
|
+
{ name: "", internalType: "address", type: "address" },
|
|
5695
|
+
{ name: "vaultData", internalType: "bytes", type: "bytes" }
|
|
5696
|
+
],
|
|
5697
|
+
name: "newVault",
|
|
5698
|
+
outputs: [{ name: "vault", internalType: "address", type: "address" }]
|
|
5699
|
+
},
|
|
5700
|
+
{
|
|
5701
|
+
stateMutability: "nonpayable",
|
|
5702
|
+
type: "function",
|
|
5703
|
+
inputs: [
|
|
5704
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5705
|
+
{ name: "callerConfirmation", internalType: "address", type: "address" }
|
|
5706
|
+
],
|
|
5707
|
+
name: "renounceRole",
|
|
5708
|
+
outputs: []
|
|
5709
|
+
},
|
|
5710
|
+
{
|
|
5711
|
+
stateMutability: "nonpayable",
|
|
5712
|
+
type: "function",
|
|
5713
|
+
inputs: [
|
|
5714
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
5715
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5716
|
+
],
|
|
5717
|
+
name: "revokeRole",
|
|
5718
|
+
outputs: []
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
stateMutability: "nonpayable",
|
|
5722
|
+
type: "function",
|
|
5723
|
+
inputs: [
|
|
5724
|
+
{ name: "vault", internalType: "address", type: "address" },
|
|
5725
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
5726
|
+
],
|
|
5727
|
+
name: "revokeVaultSnowballRole",
|
|
5728
|
+
outputs: []
|
|
5729
|
+
},
|
|
5730
|
+
{
|
|
5731
|
+
stateMutability: "nonpayable",
|
|
5732
|
+
type: "function",
|
|
5733
|
+
inputs: [{ name: "_helper", internalType: "address", type: "address" }],
|
|
5734
|
+
name: "setSnowBallHelper",
|
|
5735
|
+
outputs: []
|
|
5736
|
+
},
|
|
5737
|
+
{
|
|
5738
|
+
stateMutability: "nonpayable",
|
|
5739
|
+
type: "function",
|
|
5740
|
+
inputs: [{ name: "_period", internalType: "uint256", type: "uint256" }],
|
|
5741
|
+
name: "setTimeoutPeriod",
|
|
5742
|
+
outputs: []
|
|
5743
|
+
},
|
|
5744
|
+
{
|
|
5745
|
+
stateMutability: "nonpayable",
|
|
5746
|
+
type: "function",
|
|
5747
|
+
inputs: [{ name: "_impl", internalType: "address", type: "address" }],
|
|
5748
|
+
name: "setVaultImplementation",
|
|
5749
|
+
outputs: []
|
|
5750
|
+
},
|
|
5751
|
+
{
|
|
5752
|
+
stateMutability: "nonpayable",
|
|
5753
|
+
type: "function",
|
|
5754
|
+
inputs: [{ name: "_oracle", internalType: "address", type: "address" }],
|
|
5755
|
+
name: "setxOracleKeyAddress",
|
|
5756
|
+
outputs: []
|
|
5757
|
+
},
|
|
5758
|
+
{
|
|
5759
|
+
stateMutability: "view",
|
|
5760
|
+
type: "function",
|
|
5761
|
+
inputs: [],
|
|
5762
|
+
name: "snowBallHelper",
|
|
5763
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
stateMutability: "view",
|
|
5767
|
+
type: "function",
|
|
5768
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
5769
|
+
name: "supportsInterface",
|
|
5770
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5771
|
+
},
|
|
5772
|
+
{
|
|
5773
|
+
stateMutability: "view",
|
|
5774
|
+
type: "function",
|
|
5775
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5776
|
+
name: "taxTokenToVault",
|
|
5777
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5778
|
+
},
|
|
5779
|
+
{
|
|
5780
|
+
stateMutability: "view",
|
|
5781
|
+
type: "function",
|
|
5782
|
+
inputs: [],
|
|
5783
|
+
name: "timeoutPeriod",
|
|
5784
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
5785
|
+
},
|
|
5786
|
+
{
|
|
5787
|
+
stateMutability: "view",
|
|
5788
|
+
type: "function",
|
|
5789
|
+
inputs: [],
|
|
5790
|
+
name: "vaultImplementation",
|
|
5791
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5792
|
+
},
|
|
5793
|
+
{
|
|
5794
|
+
stateMutability: "view",
|
|
5795
|
+
type: "function",
|
|
5796
|
+
inputs: [
|
|
5797
|
+
{
|
|
5798
|
+
name: "proof",
|
|
5799
|
+
internalType: "struct GiftVaultFactory.XProof",
|
|
5800
|
+
type: "tuple",
|
|
5801
|
+
components: [
|
|
5802
|
+
{ name: "targetAddress", internalType: "address", type: "address" },
|
|
5803
|
+
{ name: "taxToken", internalType: "address", type: "address" },
|
|
5804
|
+
{ name: "xHandle", internalType: "string", type: "string" },
|
|
5805
|
+
{ name: "XId", internalType: "uint128", type: "uint128" },
|
|
5806
|
+
{ name: "tweetId", internalType: "uint128", type: "uint128" }
|
|
5807
|
+
]
|
|
5808
|
+
},
|
|
5809
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
5810
|
+
],
|
|
5811
|
+
name: "verifyXProof",
|
|
5812
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
5813
|
+
},
|
|
5814
|
+
{
|
|
5815
|
+
stateMutability: "view",
|
|
5816
|
+
type: "function",
|
|
5817
|
+
inputs: [],
|
|
5818
|
+
name: "xOracleKeyAddress",
|
|
5819
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
5820
|
+
},
|
|
5821
|
+
{
|
|
5822
|
+
type: "event",
|
|
5823
|
+
anonymous: false,
|
|
5824
|
+
inputs: [
|
|
5825
|
+
{
|
|
5826
|
+
name: "vault",
|
|
5827
|
+
internalType: "address",
|
|
5828
|
+
type: "address",
|
|
5829
|
+
indexed: true
|
|
5830
|
+
},
|
|
5831
|
+
{
|
|
5832
|
+
name: "taxToken",
|
|
5833
|
+
internalType: "address",
|
|
5834
|
+
type: "address",
|
|
5835
|
+
indexed: true
|
|
5836
|
+
},
|
|
5837
|
+
{
|
|
5838
|
+
name: "xHandle",
|
|
5839
|
+
internalType: "string",
|
|
5840
|
+
type: "string",
|
|
5841
|
+
indexed: false
|
|
5842
|
+
},
|
|
5843
|
+
{
|
|
5844
|
+
name: "quoteToken",
|
|
5845
|
+
internalType: "address",
|
|
5846
|
+
type: "address",
|
|
5847
|
+
indexed: false
|
|
5848
|
+
}
|
|
5849
|
+
],
|
|
5850
|
+
name: "BFunGiftCreated"
|
|
5851
|
+
},
|
|
5852
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
5853
|
+
{
|
|
5854
|
+
type: "event",
|
|
5855
|
+
anonymous: false,
|
|
5856
|
+
inputs: [
|
|
5857
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
5858
|
+
{
|
|
5859
|
+
name: "previousAdminRole",
|
|
5860
|
+
internalType: "bytes32",
|
|
5861
|
+
type: "bytes32",
|
|
5862
|
+
indexed: true
|
|
5863
|
+
},
|
|
5864
|
+
{
|
|
5865
|
+
name: "newAdminRole",
|
|
5866
|
+
internalType: "bytes32",
|
|
5867
|
+
type: "bytes32",
|
|
5868
|
+
indexed: true
|
|
5869
|
+
}
|
|
5870
|
+
],
|
|
5871
|
+
name: "RoleAdminChanged"
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
type: "event",
|
|
5875
|
+
anonymous: false,
|
|
5876
|
+
inputs: [
|
|
5877
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
5878
|
+
{
|
|
5879
|
+
name: "account",
|
|
5880
|
+
internalType: "address",
|
|
5881
|
+
type: "address",
|
|
5882
|
+
indexed: true
|
|
5883
|
+
},
|
|
5884
|
+
{
|
|
5885
|
+
name: "sender",
|
|
5886
|
+
internalType: "address",
|
|
5887
|
+
type: "address",
|
|
5888
|
+
indexed: true
|
|
5889
|
+
}
|
|
5890
|
+
],
|
|
5891
|
+
name: "RoleGranted"
|
|
5892
|
+
},
|
|
5893
|
+
{
|
|
5894
|
+
type: "event",
|
|
5895
|
+
anonymous: false,
|
|
5896
|
+
inputs: [
|
|
5897
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
5898
|
+
{
|
|
5899
|
+
name: "account",
|
|
5900
|
+
internalType: "address",
|
|
5901
|
+
type: "address",
|
|
5902
|
+
indexed: true
|
|
5903
|
+
},
|
|
5904
|
+
{
|
|
5905
|
+
name: "sender",
|
|
5906
|
+
internalType: "address",
|
|
5907
|
+
type: "address",
|
|
5908
|
+
indexed: true
|
|
5909
|
+
}
|
|
5910
|
+
],
|
|
5911
|
+
name: "RoleRevoked"
|
|
5912
|
+
},
|
|
5913
|
+
{ type: "error", inputs: [], name: "AccessControlBadConfirmation" },
|
|
5914
|
+
{
|
|
5915
|
+
type: "error",
|
|
5916
|
+
inputs: [
|
|
5917
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
5918
|
+
{ name: "neededRole", internalType: "bytes32", type: "bytes32" }
|
|
5919
|
+
],
|
|
5920
|
+
name: "AccessControlUnauthorizedAccount"
|
|
5921
|
+
},
|
|
5922
|
+
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
5923
|
+
{
|
|
5924
|
+
type: "error",
|
|
5925
|
+
inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
|
|
5926
|
+
name: "ECDSAInvalidSignatureLength"
|
|
5927
|
+
},
|
|
5928
|
+
{
|
|
5929
|
+
type: "error",
|
|
5930
|
+
inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
|
|
5931
|
+
name: "ECDSAInvalidSignatureS"
|
|
5932
|
+
},
|
|
5933
|
+
{ type: "error", inputs: [], name: "EmptyXHandle" },
|
|
5934
|
+
{ type: "error", inputs: [], name: "FailedDeployment" },
|
|
5935
|
+
{
|
|
5936
|
+
type: "error",
|
|
5937
|
+
inputs: [
|
|
5938
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
5939
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
5940
|
+
],
|
|
5941
|
+
name: "InsufficientBalance"
|
|
5942
|
+
},
|
|
5943
|
+
{ type: "error", inputs: [], name: "InvalidContract" },
|
|
5944
|
+
{ type: "error", inputs: [], name: "InvalidShortString" },
|
|
5945
|
+
{ type: "error", inputs: [], name: "InvalidTimeoutPeriod" },
|
|
5946
|
+
{ type: "error", inputs: [], name: "OnlyFactoryProxy" },
|
|
5947
|
+
{ type: "error", inputs: [], name: "OnlyVaultPortal" },
|
|
5948
|
+
{
|
|
5949
|
+
type: "error",
|
|
5950
|
+
inputs: [{ name: "str", internalType: "string", type: "string" }],
|
|
5951
|
+
name: "StringTooLong"
|
|
5952
|
+
},
|
|
5953
|
+
{ type: "error", inputs: [], name: "VaultAlreadyExists" },
|
|
5954
|
+
{ type: "error", inputs: [], name: "VaultNotFound" },
|
|
5955
|
+
{ type: "error", inputs: [], name: "ZeroAddress" }
|
|
5956
|
+
];
|
|
5957
|
+
var giftVaultFactoryAddress = {
|
|
5958
|
+
56: "0xA158E4F7271441A4bD2181389153AC8B2b931e16",
|
|
5959
|
+
97: "0x5E3A0979434e355E091D5586aDfa2D1953026e44"
|
|
5960
|
+
};
|
|
5961
|
+
var giftVaultFactoryConfig = {
|
|
5962
|
+
address: giftVaultFactoryAddress,
|
|
5963
|
+
abi: giftVaultFactoryABI
|
|
5964
|
+
};
|
|
5057
5965
|
var protocolRewardsABI = [
|
|
5058
5966
|
{ stateMutability: "payable", type: "constructor", inputs: [] },
|
|
5059
5967
|
{
|
|
@@ -5664,6 +6572,7 @@ var snowBallVaultABI = [
|
|
|
5664
6572
|
{ type: "error", inputs: [], name: "ZeroAddress" }
|
|
5665
6573
|
];
|
|
5666
6574
|
var snowBallVaultAddress = {
|
|
6575
|
+
56: "0x1476812BEe34EBE61a861e95a566E75ac715cB15",
|
|
5667
6576
|
97: "0x774d40A60873c60d09193E2F394D3f63e1EB3902"
|
|
5668
6577
|
};
|
|
5669
6578
|
var snowBallVaultConfig = {
|
|
@@ -5917,6 +6826,7 @@ var snowBallVaultFactoryABI = [
|
|
|
5917
6826
|
{ type: "error", inputs: [], name: "ZeroAddress" }
|
|
5918
6827
|
];
|
|
5919
6828
|
var snowBallVaultFactoryAddress = {
|
|
6829
|
+
56: "0x68C082cC36ee2166CF2dd7D82f8AcfF36331Fd54",
|
|
5920
6830
|
97: "0x45CD34a877c57f3e4f1afE25B1E2dAFA73Df0Ef8"
|
|
5921
6831
|
};
|
|
5922
6832
|
var snowBallVaultFactoryConfig = {
|
|
@@ -6880,7 +7790,9 @@ var chainConfigs = {
|
|
|
6880
7790
|
"DEPLOYER": "0x4ca3faF856cE6e1860E53E6223Fb64D1D53aE42F",
|
|
6881
7791
|
"FACTORY_OWNER": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
|
|
6882
7792
|
"PROTOCOL_REWARD_RECIPIENT": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
|
|
6883
|
-
"VAULT_KEEPER": "
|
|
7793
|
+
"VAULT_KEEPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
|
|
7794
|
+
"X_ORACLE_KEY_ADDRESS": "0xc8400f41f9FF400Cb1c439E0ae129A554a579F99",
|
|
7795
|
+
"GIFT_VAULT_SNOWBALL_HELPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
|
|
6884
7796
|
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x46A15B0b27311cedF172AB29E4f4766fbE7F4364",
|
|
6885
7797
|
"QUOTER_V2": "0x0000000000000000000000000000000000000000",
|
|
6886
7798
|
"SWAP_ROUTER_V2": "0x0000000000000000000000000000000000000000",
|
|
@@ -7425,7 +8337,9 @@ var chainConfigs = {
|
|
|
7425
8337
|
"DEPLOYER": "0x4ca3faF856cE6e1860E53E6223Fb64D1D53aE42F",
|
|
7426
8338
|
"FACTORY_OWNER": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
|
|
7427
8339
|
"PROTOCOL_REWARD_RECIPIENT": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
|
|
7428
|
-
"VAULT_KEEPER": "
|
|
8340
|
+
"VAULT_KEEPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
|
|
8341
|
+
"X_ORACLE_KEY_ADDRESS": "0xc8400f41f9FF400Cb1c439E0ae129A554a579F99",
|
|
8342
|
+
"GIFT_VAULT_SNOWBALL_HELPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
|
|
7429
8343
|
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x46A15B0b27311cedF172AB29E4f4766fbE7F4364",
|
|
7430
8344
|
"QUOTER_V2": "0x0000000000000000000000000000000000000000",
|
|
7431
8345
|
"SWAP_ROUTER_V2": "0x0000000000000000000000000000000000000000",
|
|
@@ -7701,6 +8615,8 @@ var chainConfigs = {
|
|
|
7701
8615
|
"FACTORY_OWNER": "0x1173b9c72191195647401cc1a4e398cacfb93a98",
|
|
7702
8616
|
"PROTOCOL_REWARD_RECIPIENT": "0x1173b9c72191195647401cc1a4e398cacfb93a98",
|
|
7703
8617
|
"VAULT_KEEPER": "0x57cf387c585e73F2F6E74A91d1ed05862EAB539f",
|
|
8618
|
+
"X_ORACLE_KEY_ADDRESS": "0x73bD0C113E37Bc35c07d9F72eb7E969913a13472",
|
|
8619
|
+
"GIFT_VAULT_SNOWBALL_HELPER": "0x57cf387c585e73F2F6E74A91d1ed05862EAB539f",
|
|
7704
8620
|
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x427bF5b37357632377eCbEC9de3626C71A5396c1",
|
|
7705
8621
|
"QUOTER_V2": "0x0000000000000000000000000000000000000000",
|
|
7706
8622
|
"SWAP_ROUTER_V2": "0x0000000000000000000000000000000000000000",
|
|
@@ -8262,6 +9178,8 @@ var chainConfigs = {
|
|
|
8262
9178
|
"FACTORY_OWNER": "0x1173b9c72191195647401cc1a4e398cacfb93a98",
|
|
8263
9179
|
"PROTOCOL_REWARD_RECIPIENT": "0x1173b9c72191195647401cc1a4e398cacfb93a98",
|
|
8264
9180
|
"VAULT_KEEPER": "0x57cf387c585e73F2F6E74A91d1ed05862EAB539f",
|
|
9181
|
+
"X_ORACLE_KEY_ADDRESS": "0x73bD0C113E37Bc35c07d9F72eb7E969913a13472",
|
|
9182
|
+
"GIFT_VAULT_SNOWBALL_HELPER": "0x57cf387c585e73F2F6E74A91d1ed05862EAB539f",
|
|
8265
9183
|
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x427bF5b37357632377eCbEC9de3626C71A5396c1",
|
|
8266
9184
|
"QUOTER_V2": "0x0000000000000000000000000000000000000000",
|
|
8267
9185
|
"SWAP_ROUTER_V2": "0x0000000000000000000000000000000000000000",
|
|
@@ -8563,6 +9481,12 @@ var chainConfigs = {
|
|
|
8563
9481
|
dividendABI,
|
|
8564
9482
|
dividendAddress,
|
|
8565
9483
|
dividendConfig,
|
|
9484
|
+
giftVaultABI,
|
|
9485
|
+
giftVaultAddress,
|
|
9486
|
+
giftVaultConfig,
|
|
9487
|
+
giftVaultFactoryABI,
|
|
9488
|
+
giftVaultFactoryAddress,
|
|
9489
|
+
giftVaultFactoryConfig,
|
|
8566
9490
|
protocolRewardsABI,
|
|
8567
9491
|
protocolRewardsAddress,
|
|
8568
9492
|
protocolRewardsConfig,
|