UNPKG

@kiroboio/fct-core

Version:

Kirobo.io FCT Core library

15 lines 4.2 kB
import { getPlugin as getPluginProvider, PluginInstance } from "@kiroboio/fct-plugins"; import { BatchMultiSigCall } from "../batchMultiSigCall"; export declare function getPlugin(this: BatchMultiSigCall, index: number): PluginInstance; export declare function getPluginClass(this: BatchMultiSigCall, index: number): Promise<ReturnType<typeof getPluginProvider>>; export declare function getPluginData(this: BatchMultiSigCall, index: number): Promise<{ protocol: "ERC20" | "ERC721" | "ERC1155" | "TOKEN_MATH" | "TOKEN_VALIDATOR" | "UNISWAP" | "AaveV3" | "UTILITY" | "SUSHISWAP" | "PARASWAP" | "YEARN" | "COMPOUND_V2" | "COMPOUND_V3" | "1INCH" | "CURVE" | "CHAINLINK" | "UNISWAP_V3" | "SECURE_STORAGE" | "RADIANTV2" | "ROCKETPOOL" | "LIDO" | "FUNCTIONS" | "GMX" | "KIROBO_MULTICALL_CSV" | "cBridge" | "MAGIC" | "SingersValidator"; type: "ACTION" | "LIBRARY" | "VALIDATOR" | "GETTER" | "CALCULATOR" | "ORACLE" | "LIBRARY:VIEWONLY" | "COMPUTED" | "VALIDATION"; method: "" | "symbol" | "sub" | "name" | "decimals" | "approve" | "setApprovalForAll" | "equal" | "uri" | "validate" | "exactInput" | "exactInputSingle" | "exactOutput" | "exactOutputSingle" | "swapETHForExactTokens" | "swapExactETHForTokens" | "swapExactTokensForETH" | "swapTokensForExactETH" | "swapExactTokensForTokens" | "swapTokensForExactTokens" | "swapExactETHForTokensSupportingFeeOnTransferTokens" | "swapExactTokensForETHSupportingFeeOnTransferTokens" | "swapExactTokensForTokensSupportingFeeOnTransferTokens" | "addLiquidityETH" | "removeLiquidity" | "removeLiquidityETH" | "simpleRemoveLiquidity" | "getAmountsIn" | "getAmountsOut" | "getReserves" | "getPair" | "mint" | "simpleSwap" | "swap" | "buyOnUniswapV2Fork" | "megaSwap" | "multiSwap" | "simpleBuy" | "swapOnUniswapV2Fork" | "swapOnZeroXv4" | "exchange" | "deposit" | "borrow" | "getUserAccountData" | "addLiquidity_noMinProtection" | "supply" | "transferFrom" | "safeTransferFrom" | "getUserReserveData" | "getReserveConfigurationData" | "getReserveData" | "getReserveTokensAddresses" | "getAssetPrice" | "lessThan" | "between" | "greaterThan" | "totalSupply" | "isApprovedForAll" | "add_liquidity" | "repay" | "withdraw" | "swapBorrowRateMode" | "balanceOf" | "supportsInterface" | "uniswapV3Swap" | "unoswap" | "repayWithATokens" | "setUserEMode" | "setUserUseReserveAsCollateral" | "redeem" | "repayBorrow" | "enterMarkets" | "exitMarket" | "claimComp" | "supplyFrom" | "supplyTo" | "withdrawFrom" | "withdrawTo" | "remove_liquidity_one_coin" | "create_lock" | "increase_amount" | "increase_unlock_time" | "claim_rewards" | "transfer" | "safeBatchTransferFrom" | "swapTo_noSlippageProtection" | "swap_noSlippageProtection" | "addLiquidityTo_noMinProtection" | "multicall" | "erc20Airdrop" | "erc20Approvals" | "erc20MonoTransfers" | "erc20Transfers" | "transfers" | "write_bytes" | "write_bytes32" | "write_fct_bytes" | "write_fct_bytes32" | "write_fct_uint256" | "write_uint256" | "send" | "sendNative" | "magic" | "getReserveNormalizedIncome" | "getReserveNormalizedVariableDebt" | "getUserEMode" | "latestRoundData" | "getAccountLiquidity" | "markets" | "borrowBalanceCurrent" | "getAssetsIn" | "collateralBalanceOf" | "isBorrowCollateralized" | "userBasic" | "borrowBalanceOf" | "getAssetInfoByAddress" | "getPrice" | "compute" | "get_exchange_amount" | "calc_token_amount" | "calc_withdraw_one_coin" | "get_best_rate" | "locked" | "claimable_reward" | "allowance" | "getApproved" | "ownerOf" | "tokenURI" | "simulateSwap" | "multiAllowance" | "multiBalance" | "getSharesByPooledEth" | "getPooledEthByShares" | "sharesOf" | "getExchangeRate" | "getRethValue" | "getEthValue" | "getCollateralRate" | "read_bytes" | "read_bytes32" | "read_fct_bytes" | "read_fct_bytes32" | "read_fct_uint256" | "read_uint256" | "add" | "mul" | "div" | "mulAndDiv" | "mod" | "betweenEqual" | "equalAddress" | "equalBytes32" | "greaterEqual" | "lessEqual" | "getEthBalance" | "validateSignature" | "getOffchainData" | "getImage" | "reroute" | "getOffchainDataV2" | "reflow" | "tradingGraph"; input: { to: string | import("../..").Variable; value: string | import("../..").Variable; methodParams: {}; }; }>; //# sourceMappingURL=plugins.d.ts.map