@axonfi/sdk 0.11.0 → 0.12.0
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 +0 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -17
- package/dist/index.d.ts +1 -17
- package/dist/index.js +1 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1203,19 +1203,6 @@ var AxonVaultAbi = [
|
|
|
1203
1203
|
],
|
|
1204
1204
|
"stateMutability": "view"
|
|
1205
1205
|
},
|
|
1206
|
-
{
|
|
1207
|
-
"type": "function",
|
|
1208
|
-
"name": "operatorMaxDrainPerDay",
|
|
1209
|
-
"inputs": [],
|
|
1210
|
-
"outputs": [
|
|
1211
|
-
{
|
|
1212
|
-
"name": "",
|
|
1213
|
-
"type": "uint256",
|
|
1214
|
-
"internalType": "uint256"
|
|
1215
|
-
}
|
|
1216
|
-
],
|
|
1217
|
-
"stateMutability": "view"
|
|
1218
|
-
},
|
|
1219
1206
|
{
|
|
1220
1207
|
"type": "function",
|
|
1221
1208
|
"name": "owner",
|
|
@@ -3237,13 +3224,6 @@ async function getOperatorCeilings(publicClient, vaultAddress) {
|
|
|
3237
3224
|
minAiTriggerFloor
|
|
3238
3225
|
};
|
|
3239
3226
|
}
|
|
3240
|
-
async function operatorMaxDrainPerDay(publicClient, vaultAddress) {
|
|
3241
|
-
return publicClient.readContract({
|
|
3242
|
-
address: vaultAddress,
|
|
3243
|
-
abi: AxonVaultAbi,
|
|
3244
|
-
functionName: "operatorMaxDrainPerDay"
|
|
3245
|
-
});
|
|
3246
|
-
}
|
|
3247
3227
|
async function isErc1271BotsEnabled(publicClient, vaultAddress) {
|
|
3248
3228
|
return publicClient.readContract({
|
|
3249
3229
|
address: vaultAddress,
|
|
@@ -5015,7 +4995,6 @@ exports.isDestinationAllowed = isDestinationAllowed;
|
|
|
5015
4995
|
exports.isErc1271BotsEnabled = isErc1271BotsEnabled;
|
|
5016
4996
|
exports.isRebalanceTokenWhitelisted = isRebalanceTokenWhitelisted;
|
|
5017
4997
|
exports.isVaultPaused = isVaultPaused;
|
|
5018
|
-
exports.operatorMaxDrainPerDay = operatorMaxDrainPerDay;
|
|
5019
4998
|
exports.parseAmount = parseAmount;
|
|
5020
4999
|
exports.parseChainId = parseChainId;
|
|
5021
5000
|
exports.parsePaymentRequired = parsePaymentRequired;
|