bfun-configs 0.0.18 → 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 CHANGED
@@ -21,6 +21,8 @@ export declare const chainConfigs: {
21
21
  FACTORY_OWNER: string;
22
22
  PROTOCOL_REWARD_RECIPIENT: string;
23
23
  VAULT_KEEPER: string;
24
+ X_ORACLE_KEY_ADDRESS: string;
25
+ GIFT_VAULT_SNOWBALL_HELPER: string;
24
26
  UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER: string;
25
27
  QUOTER_V2: string;
26
28
  SWAP_ROUTER_V2: string;
@@ -562,6 +564,8 @@ export declare const chainConfigs: {
562
564
  FACTORY_OWNER: string;
563
565
  PROTOCOL_REWARD_RECIPIENT: string;
564
566
  VAULT_KEEPER: string;
567
+ X_ORACLE_KEY_ADDRESS: string;
568
+ GIFT_VAULT_SNOWBALL_HELPER: string;
565
569
  UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER: string;
566
570
  QUOTER_V2: string;
567
571
  SWAP_ROUTER_V2: string;
@@ -1 +1 @@
1
- {"version":3,"file":"chainConfigs.d.ts","sourceRoot":"","sources":["../package/chainConfigs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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exed: false
5332
5332
  }
5333
5333
  ],
5334
- name: "BFunGiftVaultSnowballBalanceUpdated"
5334
+ name: "BFunGiftBalanceUpdated"
5335
5335
  },
5336
5336
  {
5337
5337
  type: "event",
@@ -5344,25 +5344,19 @@ var giftVaultABI = [
5344
5344
  indexed: true
5345
5345
  },
5346
5346
  {
5347
- name: "vault",
5347
+ name: "target",
5348
5348
  internalType: "address",
5349
5349
  type: "address",
5350
- indexed: true
5351
- },
5352
- {
5353
- name: "quoteAmount",
5354
- internalType: "uint256",
5355
- type: "uint256",
5356
5350
  indexed: false
5357
5351
  },
5358
5352
  {
5359
- name: "tokensBurned",
5353
+ name: "amount",
5360
5354
  internalType: "uint256",
5361
5355
  type: "uint256",
5362
5356
  indexed: false
5363
5357
  }
5364
5358
  ],
5365
- name: "BFunGiftVaultSnowballExecuted"
5359
+ name: "BFunGiftForwardFailed"
5366
5360
  },
5367
5361
  {
5368
5362
  type: "event",
@@ -5375,13 +5369,25 @@ var giftVaultABI = [
5375
5369
  indexed: true
5376
5370
  },
5377
5371
  {
5378
- name: "newState",
5379
- internalType: "uint8",
5380
- type: "uint8",
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",
5381
5387
  indexed: false
5382
5388
  }
5383
5389
  ],
5384
- name: "BFunGiftVaultStateChanged"
5390
+ name: "BFunGiftSnowballExecuted"
5385
5391
  },
5386
5392
  {
5387
5393
  type: "event",
@@ -5394,19 +5400,13 @@ var giftVaultABI = [
5394
5400
  indexed: true
5395
5401
  },
5396
5402
  {
5397
- name: "target",
5398
- internalType: "address",
5399
- type: "address",
5400
- indexed: false
5401
- },
5402
- {
5403
- name: "amount",
5404
- internalType: "uint256",
5405
- type: "uint256",
5403
+ name: "newState",
5404
+ internalType: "uint8",
5405
+ type: "uint8",
5406
5406
  indexed: false
5407
5407
  }
5408
5408
  ],
5409
- name: "BFunGiftVaultStreamingForwardFailed"
5409
+ name: "BFunGiftStateChanged"
5410
5410
  },
5411
5411
  {
5412
5412
  type: "event",
@@ -5425,7 +5425,7 @@ var giftVaultABI = [
5425
5425
  indexed: true
5426
5426
  }
5427
5427
  ],
5428
- name: "BFunGiftVaultStreamingTargetUpdated"
5428
+ name: "BFunGiftTargetUpdated"
5429
5429
  },
5430
5430
  {
5431
5431
  type: "event",
@@ -5546,7 +5546,8 @@ var giftVaultABI = [
5546
5546
  { type: "error", inputs: [], name: "ZeroAddress" }
5547
5547
  ];
5548
5548
  var giftVaultAddress = {
5549
- 97: "0xf14b5Ee40Ae271497Da667f7CFaF2478b3a41aEB"
5549
+ 56: "0xF7eBFd2C402ee78B2Ff4A52129C7d6c56E44f787",
5550
+ 97: "0x28E9f395EFd440D25140055F1Eb0D49B06bcFb00"
5550
5551
  };
5551
5552
  var giftVaultConfig = {
5552
5553
  address: giftVaultAddress,
@@ -5846,7 +5847,7 @@ var giftVaultFactoryABI = [
5846
5847
  indexed: false
5847
5848
  }
5848
5849
  ],
5849
- name: "BFunGiftVaultCreated"
5850
+ name: "BFunGiftCreated"
5850
5851
  },
5851
5852
  { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
5852
5853
  {
@@ -5942,6 +5943,7 @@ var giftVaultFactoryABI = [
5942
5943
  { type: "error", inputs: [], name: "InvalidContract" },
5943
5944
  { type: "error", inputs: [], name: "InvalidShortString" },
5944
5945
  { type: "error", inputs: [], name: "InvalidTimeoutPeriod" },
5946
+ { type: "error", inputs: [], name: "OnlyFactoryProxy" },
5945
5947
  { type: "error", inputs: [], name: "OnlyVaultPortal" },
5946
5948
  {
5947
5949
  type: "error",
@@ -5953,7 +5955,8 @@ var giftVaultFactoryABI = [
5953
5955
  { type: "error", inputs: [], name: "ZeroAddress" }
5954
5956
  ];
5955
5957
  var giftVaultFactoryAddress = {
5956
- 97: "0x534E84de2b0ffbaA73DD4eA50aB3d13242F3FD35"
5958
+ 56: "0xA158E4F7271441A4bD2181389153AC8B2b931e16",
5959
+ 97: "0x5E3A0979434e355E091D5586aDfa2D1953026e44"
5957
5960
  };
5958
5961
  var giftVaultFactoryConfig = {
5959
5962
  address: giftVaultFactoryAddress,
@@ -7788,6 +7791,8 @@ var chainConfigs = {
7788
7791
  "FACTORY_OWNER": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
7789
7792
  "PROTOCOL_REWARD_RECIPIENT": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
7790
7793
  "VAULT_KEEPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
7794
+ "X_ORACLE_KEY_ADDRESS": "0xc8400f41f9FF400Cb1c439E0ae129A554a579F99",
7795
+ "GIFT_VAULT_SNOWBALL_HELPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
7791
7796
  "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x46A15B0b27311cedF172AB29E4f4766fbE7F4364",
7792
7797
  "QUOTER_V2": "0x0000000000000000000000000000000000000000",
7793
7798
  "SWAP_ROUTER_V2": "0x0000000000000000000000000000000000000000",
@@ -8333,6 +8338,8 @@ var chainConfigs = {
8333
8338
  "FACTORY_OWNER": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
8334
8339
  "PROTOCOL_REWARD_RECIPIENT": "0x3D59533BE6fedA0631bE3F85960284E0603e71E2",
8335
8340
  "VAULT_KEEPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
8341
+ "X_ORACLE_KEY_ADDRESS": "0xc8400f41f9FF400Cb1c439E0ae129A554a579F99",
8342
+ "GIFT_VAULT_SNOWBALL_HELPER": "0x1f7f8a8963DF54E4bFC1315882ae517018CBB64a",
8336
8343
  "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x46A15B0b27311cedF172AB29E4f4766fbE7F4364",
8337
8344
  "QUOTER_V2": "0x0000000000000000000000000000000000000000",
8338
8345
  "SWAP_ROUTER_V2": "0x0000000000000000000000000000000000000000",