damm-sdk 1.4.24 → 1.4.25
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 +36 -1
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +577 -421
- package/dist/index.js.map +6 -4
- package/dist/integrations/aaveV3/aave.v3.d.ts +17 -0
- package/dist/integrations/aaveV3/aave.v3.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/integrations/aaveV3/aave.v3.ts +64 -0
package/dist/index.cjs
CHANGED
|
@@ -46151,6 +46151,8 @@ __export(exports_src, {
|
|
|
46151
46151
|
simulateGnosisTrx: () => simulateGnosisTrx,
|
|
46152
46152
|
simulateAndExecuteGnosisTrx: () => simulateAndExecuteGnosisTrx,
|
|
46153
46153
|
signGnosisTrxWithEOA: () => signGnosisTrxWithEOA,
|
|
46154
|
+
setUserUseReserveAsCollateralOnAaveV3Trx: () => setUserUseReserveAsCollateralOnAaveV3Trx,
|
|
46155
|
+
setUserEModeOnAaveV3Trx: () => setUserEModeOnAaveV3Trx,
|
|
46154
46156
|
setUpTransactionUnwrapperCalldata: () => setUpTransactionUnwrapperCalldata,
|
|
46155
46157
|
setUpTransactionUnwrapper: () => setUpTransactionUnwrapper,
|
|
46156
46158
|
setApprovalForAllErc721Trx: () => setApprovalForAllErc721Trx,
|
|
@@ -46322,6 +46324,8 @@ __export(exports_src, {
|
|
|
46322
46324
|
SlipstreamDecreaseLiquidityCalldata: () => SlipstreamDecreaseLiquidityCalldata,
|
|
46323
46325
|
SlipstreamCollectFeesCalldata: () => SlipstreamCollectFeesCalldata,
|
|
46324
46326
|
SlipstreamBurnPositionCalldata: () => SlipstreamBurnPositionCalldata,
|
|
46327
|
+
SetUserUseReserveAsCollateralOnAaveV3Calldata: () => SetUserUseReserveAsCollateralOnAaveV3Calldata,
|
|
46328
|
+
SetUserEModeOnAaveV3Calldata: () => SetUserEModeOnAaveV3Calldata,
|
|
46325
46329
|
SetApprovalForAllErc721CallData: () => SetApprovalForAllErc721CallData,
|
|
46326
46330
|
SendOFTCalldata: () => SendOFTCalldata,
|
|
46327
46331
|
SafeTransferFromWithDataErc721CallData: () => SafeTransferFromWithDataErc721CallData,
|
|
@@ -66077,6 +66081,37 @@ var repayToAaveV3Trx = ({
|
|
|
66077
66081
|
data
|
|
66078
66082
|
});
|
|
66079
66083
|
};
|
|
66084
|
+
var SetUserEModeOnAaveV3Calldata = ({ categoryId }) => {
|
|
66085
|
+
return poolInterface_L1.encodeFunctionData("setUserEMode", [categoryId]);
|
|
66086
|
+
};
|
|
66087
|
+
var setUserEModeOnAaveV3Trx = ({
|
|
66088
|
+
poolAddress,
|
|
66089
|
+
args
|
|
66090
|
+
}) => {
|
|
66091
|
+
return createCall({
|
|
66092
|
+
operation: 0,
|
|
66093
|
+
to: poolAddress,
|
|
66094
|
+
value: 0n,
|
|
66095
|
+
data: SetUserEModeOnAaveV3Calldata(args)
|
|
66096
|
+
});
|
|
66097
|
+
};
|
|
66098
|
+
var SetUserUseReserveAsCollateralOnAaveV3Calldata = ({
|
|
66099
|
+
asset,
|
|
66100
|
+
useAsCollateral
|
|
66101
|
+
}) => {
|
|
66102
|
+
return poolInterface_L1.encodeFunctionData("setUserUseReserveAsCollateral", [asset, useAsCollateral]);
|
|
66103
|
+
};
|
|
66104
|
+
var setUserUseReserveAsCollateralOnAaveV3Trx = ({
|
|
66105
|
+
poolAddress,
|
|
66106
|
+
args
|
|
66107
|
+
}) => {
|
|
66108
|
+
return createCall({
|
|
66109
|
+
operation: 0,
|
|
66110
|
+
to: poolAddress,
|
|
66111
|
+
value: 0n,
|
|
66112
|
+
data: SetUserUseReserveAsCollateralOnAaveV3Calldata(args)
|
|
66113
|
+
});
|
|
66114
|
+
};
|
|
66080
66115
|
// src/integrations/uniswapV3/swap.router.01.abi.ts
|
|
66081
66116
|
var swap_router_01_abi_default = [
|
|
66082
66117
|
{
|
|
@@ -97659,4 +97694,4 @@ var simulateOrThrow = async (env2) => {
|
|
|
97659
97694
|
};
|
|
97660
97695
|
};
|
|
97661
97696
|
|
|
97662
|
-
//# debugId=
|
|
97697
|
+
//# debugId=4CB30D58D0E26D3264756E2164756E21
|