defi-kit 1.8.2 → 1.8.3
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/{chunk-GJPZMPD5.mjs → chunk-KYHI64WY.mjs} +22 -25
- package/dist/{chunk-GJPZMPD5.mjs.map → chunk-KYHI64WY.mjs.map} +1 -1
- package/dist/eth.js +21 -24
- package/dist/eth.js.map +1 -1
- package/dist/eth.mjs +1 -1
- package/dist/gno.js +21 -24
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/package.json +2 -2
|
@@ -7818,11 +7818,12 @@ var makeAllowFunction = (contract, name) => {
|
|
|
7818
7818
|
const ethersFunction = contract.functions[name];
|
|
7819
7819
|
return (...args) => {
|
|
7820
7820
|
const scopings = args.slice(0, functionInputs.length);
|
|
7821
|
+
const hasScopings = scopings.some((s) => !!s);
|
|
7821
7822
|
const options = args[functionInputs.length] || {};
|
|
7822
7823
|
const presetFunction = {
|
|
7823
7824
|
targetAddress: contract.address,
|
|
7824
7825
|
signature: functionFragment.format("sighash"),
|
|
7825
|
-
condition:
|
|
7826
|
+
condition: hasScopings ? c.calldataMatches(scopings, functionInputs)() : void 0
|
|
7826
7827
|
};
|
|
7827
7828
|
return applyOptions(coercePermission(presetFunction), options);
|
|
7828
7829
|
};
|
|
@@ -21048,29 +21049,25 @@ var eth14 = {
|
|
|
21048
21049
|
...allowErc20Approve(mintTokenAddresses, [
|
|
21049
21050
|
contracts.mainnet.uniswap_v3.positions_nft
|
|
21050
21051
|
]),
|
|
21051
|
-
|
|
21052
|
-
|
|
21053
|
-
|
|
21054
|
-
|
|
21055
|
-
|
|
21056
|
-
|
|
21057
|
-
|
|
21058
|
-
|
|
21059
|
-
|
|
21060
|
-
|
|
21061
|
-
|
|
21062
|
-
|
|
21063
|
-
|
|
21064
|
-
|
|
21065
|
-
|
|
21066
|
-
|
|
21067
|
-
|
|
21068
|
-
|
|
21069
|
-
|
|
21070
|
-
send: true
|
|
21071
|
-
}
|
|
21072
|
-
)
|
|
21073
|
-
},
|
|
21052
|
+
allow.mainnet.uniswap_v3.positions_nft.mint(
|
|
21053
|
+
{
|
|
21054
|
+
recipient: c15.avatar,
|
|
21055
|
+
token0: oneOf(mintTokenAddresses),
|
|
21056
|
+
token1: oneOf(mintTokenAddresses),
|
|
21057
|
+
fee: mintFees ? oneOf(mintFees) : void 0
|
|
21058
|
+
},
|
|
21059
|
+
{
|
|
21060
|
+
send: true
|
|
21061
|
+
}
|
|
21062
|
+
),
|
|
21063
|
+
allow.mainnet.uniswap_v3.positions_nft.increaseLiquidity(
|
|
21064
|
+
{
|
|
21065
|
+
tokenId: nftIds ? oneOf(nftIds) : c15.avatarIsOwnerOfErc721
|
|
21066
|
+
},
|
|
21067
|
+
{
|
|
21068
|
+
send: true
|
|
21069
|
+
}
|
|
21070
|
+
),
|
|
21074
21071
|
allow.mainnet.uniswap_v3.positions_nft.decreaseLiquidity(
|
|
21075
21072
|
nftIds ? {
|
|
21076
21073
|
tokenId: oneOf(nftIds)
|
|
@@ -21635,4 +21632,4 @@ export {
|
|
|
21635
21632
|
createApply,
|
|
21636
21633
|
createExportToSafeTransactionBuilder
|
|
21637
21634
|
};
|
|
21638
|
-
//# sourceMappingURL=chunk-
|
|
21635
|
+
//# sourceMappingURL=chunk-KYHI64WY.mjs.map
|