damm-sdk 1.1.13 → 1.1.15

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/index.cjs CHANGED
@@ -45860,6 +45860,7 @@ __export(exports_src, {
45860
45860
  transferERC20Trx: () => transferERC20Trx,
45861
45861
  swapTrxV4: () => swapTrxV4,
45862
45862
  swapTrx: () => swapTrx,
45863
+ swapOwner: () => swapOwner,
45863
45864
  supplyTrx: () => supplyTrx,
45864
45865
  simulateOrThrow: () => simulateOrThrow,
45865
45866
  simulateGnosisTrx: () => simulateGnosisTrx,
@@ -62448,6 +62449,20 @@ var safe_abi_default = [
62448
62449
  ];
62449
62450
 
62450
62451
  // src/integrations/gnosis/gnosis.ts
62452
+ var swapOwner = ({
62453
+ safeAddress,
62454
+ prevOwner,
62455
+ newOwner,
62456
+ threshold
62457
+ }) => {
62458
+ const safeL1Singleton = new exports_ethers.utils.Interface(safe_abi_default);
62459
+ return {
62460
+ to: safeAddress,
62461
+ value: 0n,
62462
+ operation: 0,
62463
+ data: safeL1Singleton.encodeFunctionData("removeOwner", [prevOwner, newOwner, threshold])
62464
+ };
62465
+ };
62451
62466
  var gnosisTrx = ({
62452
62467
  call,
62453
62468
  params
@@ -81630,4 +81645,4 @@ var simulateOrThrow = async (env) => {
81630
81645
  };
81631
81646
  };
81632
81647
 
81633
- //# debugId=74D8ECF41608731C64756E2164756E21
81648
+ //# debugId=1142D954F9C36B3364756E2164756E21