@flaunch/sdk 0.9.8 → 0.9.10

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/README.md CHANGED
@@ -161,6 +161,20 @@ const hash = await flaunchWrite.flaunchIPFS({
161
161
  telegramUrl: "https://t.me/example",
162
162
  },
163
163
  });
164
+
165
+ // parse the logs from the tx hash to get memecoin address and Flaunch NFT tokenId
166
+
167
+ import { PoolCreatedEventData } from "@flaunch/sdk";
168
+
169
+ // Parse the flaunch transaction hash
170
+ const poolCreatedData: PoolCreatedEventData | null =
171
+ await flaunchRead.getPoolCreatedFromTx(hash);
172
+
173
+ if (poolCreatedData) {
174
+ console.log("Memecoin Address:", poolCreatedData.memecoin);
175
+ console.log("Token ID:", poolCreatedData.tokenId);
176
+ // ... other params
177
+ }
164
178
  ```
165
179
 
166
180
  #### How to generate `base64Image` from User uploaded file
@@ -5383,6 +5383,10 @@ const StakingManagerAddress = {
5383
5383
  [base.id]: "0xec0069F8DBbbC94058dc895000dd38ef40b3125d",
5384
5384
  [baseSepolia.id]: "0xB8f1cb6B4Ff8f07149276bbfA617aed7bd32d20D",
5385
5385
  };
5386
+ const BuyBackManagerAddress = {
5387
+ [base.id]: "0x3AAF3b1D8cD5b61C77f99bA7cdf41E9eC0Ba8a3f",
5388
+ [baseSepolia.id]: "0xc3947EC9d687053bBA72b36Fd6b2567e775E82C7",
5389
+ };
5386
5390
  /** Verifiers */
5387
5391
  const TokenImporterAddress = {
5388
5392
  [base.id]: "0xb47af90ae61bc916ea4b4bacffae4570e7435842",
@@ -5487,6 +5491,7 @@ exports.AnyFlaunchAddress = AnyFlaunchAddress;
5487
5491
  exports.AnyPositionManagerAddress = AnyPositionManagerAddress;
5488
5492
  exports.BidWallAddress = BidWallAddress;
5489
5493
  exports.BidWallV1_1Address = BidWallV1_1Address;
5494
+ exports.BuyBackManagerAddress = BuyBackManagerAddress;
5490
5495
  exports.ClankerWorldVerifierAddress = ClankerWorldVerifierAddress;
5491
5496
  exports.ClosedPermissionsAddress = ClosedPermissionsAddress;
5492
5497
  exports.DopplerVerifierAddress = DopplerVerifierAddress;