@devprotocol/dev-kit
Advanced tools
Comparing version 8.4.3 to 8.4.4
@@ -174,3 +174,3 @@ import { TransactionResponse, TransactionReceipt } from '@ethersproject/abstract-provider'; | ||
}; | ||
declare function positionsCreateWithAnyTokens(opts: ParamsWithToken): Promise<UndefinedOr<{ | ||
type ReturnOfPositionsCreateWithAnyTokensERC20 = Promise<UndefinedOr<{ | ||
readonly estimatedDev: string; | ||
@@ -180,3 +180,3 @@ readonly estimatedTokens: string; | ||
}>>; | ||
declare function positionsCreateWithAnyTokens(opts: Params): Promise<UndefinedOr<{ | ||
type ReturnOfPositionsCreateWithAnyTokensNative = Promise<UndefinedOr<{ | ||
readonly estimatedDev: string; | ||
@@ -186,2 +186,4 @@ readonly estimatedTokens: string; | ||
}>>; | ||
declare function positionsCreateWithAnyTokens(opts: ParamsWithToken): ReturnOfPositionsCreateWithAnyTokensERC20; | ||
declare function positionsCreateWithAnyTokens(opts: Params): ReturnOfPositionsCreateWithAnyTokensNative; | ||
@@ -523,2 +525,2 @@ type EstimationsAPY = (options: { | ||
export { agentAddresses, clientsDev, clientsLockup, clientsMarketFactory, clientsMetricsFactory, clientsPolicy, clientsProperty, clientsPropertyFactory, clientsRegistry, clientsSTokens, clientsUtilsSwapForStake, clientsUtilsSwapTokensForStake as clientsUtilsSwapUsdcForStake, estimationsAPY, positionsCreate, positionsCreateWithAnyTokens, positionsCreateWithEth, positionsCreateWithEthForPolygon, propertiesAssets }; | ||
export { type ReturnOfPositionsCreateWithAnyTokensERC20, type ReturnOfPositionsCreateWithAnyTokensNative, agentAddresses, clientsDev, clientsLockup, clientsMarketFactory, clientsMetricsFactory, clientsPolicy, clientsProperty, clientsPropertyFactory, clientsRegistry, clientsSTokens, clientsUtilsSwapForStake, clientsUtilsSwapTokensForStake as clientsUtilsSwapUsdcForStake, estimationsAPY, positionsCreate, positionsCreateWithAnyTokens, positionsCreateWithEth, positionsCreateWithEthForPolygon, propertiesAssets }; |
@@ -502,3 +502,3 @@ import { ethers, ContractRunner, TransactionResponse as TransactionResponse$1 } from 'ethers'; | ||
}; | ||
declare function positionsCreateWithAnyTokens(opts: ParamsWithToken): Promise<UndefinedOr<{ | ||
type ReturnOfPositionsCreateWithAnyTokensERC20 = Promise<UndefinedOr<{ | ||
readonly estimatedDev: string; | ||
@@ -508,3 +508,3 @@ readonly estimatedTokens: string; | ||
}>>; | ||
declare function positionsCreateWithAnyTokens(opts: Params): Promise<UndefinedOr<{ | ||
type ReturnOfPositionsCreateWithAnyTokensNative = Promise<UndefinedOr<{ | ||
readonly estimatedDev: string; | ||
@@ -514,2 +514,4 @@ readonly estimatedTokens: string; | ||
}>>; | ||
declare function positionsCreateWithAnyTokens(opts: ParamsWithToken): ReturnOfPositionsCreateWithAnyTokensERC20; | ||
declare function positionsCreateWithAnyTokens(opts: Params): ReturnOfPositionsCreateWithAnyTokensNative; | ||
@@ -1496,2 +1498,2 @@ type EstimationsAPY = (options: { | ||
export { type ContractFactory, type CreateAllocatorContract, type CreateDevkitContract, type CreateMarketBehaviorContract, type CreateMarketContract, type CreateMetricsContract, type CreateMetricsGroupContract, type CreatePolicyFactoryContract, type CreatePolicyGroupContract, type CreatePropertyContract, type CreateRegistryContract, type DevContract$1 as DevContract, type DevkitClient, type DevkitContract, type DevkitUtils, type Erc20Contract, type Image, type LockupContract$1 as LockupContract, type MarketFactoryContract$1 as MarketFactoryContract, type PolicyContract$1 as PolicyContract, type PolicyFactoryContract, type PolicyGroupContract, type Positions, type PropertyContract$1 as PropertyContract, type PropertyFactoryContract$1 as PropertyFactoryContract, type RegistryContract$1 as RegistryContract, type STokensContract, type SwapArbitraryTokensContract, type SwapContract, type WithdrawContract, addressConfigAbi, addresses, agentAddresses, allocatorAbi, arrayify, client, clientsDev, clientsLockup, clientsMarketFactory, clientsMetricsFactory, clientsPolicy, clientsProperty, clientsPropertyFactory, clientsRegistry, clientsSTokens, clientsUtilsSwapForStake, clientsUtilsSwapTokensForStake as clientsUtilsSwapUsdcForStake, contractFactory, createAllocatorContract, createDevContract, createDevkitContract, createErc20Contract, createLockupContract, createMarketBehaviorContract, createMarketContract, createMarketFactoryContract, createMetricsContract, createMetricsGroupContract, createPolicyContract, createPolicyFactoryContract, createPolicyGroupContract, createPropertyContract, createPropertyFactoryContract, createRegistryContract, createSTokensContract, createSimpleCollectionsContract, createSwapArbitraryTokensContract, createSwapContract, createWithdrawContract, devAbi, estimationsAPY, execute, lockupAbi, marketAbi, marketAddresses, marketBehaviorAbi, marketFactoryAbi, metricsAbi, metricsFactoryAbi, metricsGroupAbi, policyAbi, policyFactoryAbi, policyGroupAbi, positionsCreate, positionsCreateWithAnyTokens, positionsCreateWithEth, positionsCreateWithEthForPolygon, propertiesAssets, propertyAbi, propertyFactoryAbi, sTokensAbi, simpleCollectionsAbi, utils, withdrawAbi }; | ||
export { type ContractFactory, type CreateAllocatorContract, type CreateDevkitContract, type CreateMarketBehaviorContract, type CreateMarketContract, type CreateMetricsContract, type CreateMetricsGroupContract, type CreatePolicyFactoryContract, type CreatePolicyGroupContract, type CreatePropertyContract, type CreateRegistryContract, type DevContract$1 as DevContract, type DevkitClient, type DevkitContract, type DevkitUtils, type Erc20Contract, type Image, type LockupContract$1 as LockupContract, type MarketFactoryContract$1 as MarketFactoryContract, type PolicyContract$1 as PolicyContract, type PolicyFactoryContract, type PolicyGroupContract, type Positions, type PropertyContract$1 as PropertyContract, type PropertyFactoryContract$1 as PropertyFactoryContract, type RegistryContract$1 as RegistryContract, type ReturnOfPositionsCreateWithAnyTokensERC20, type ReturnOfPositionsCreateWithAnyTokensNative, type STokensContract, type SwapArbitraryTokensContract, type SwapContract, type WithdrawContract, addressConfigAbi, addresses, agentAddresses, allocatorAbi, arrayify, client, clientsDev, clientsLockup, clientsMarketFactory, clientsMetricsFactory, clientsPolicy, clientsProperty, clientsPropertyFactory, clientsRegistry, clientsSTokens, clientsUtilsSwapForStake, clientsUtilsSwapTokensForStake as clientsUtilsSwapUsdcForStake, contractFactory, createAllocatorContract, createDevContract, createDevkitContract, createErc20Contract, createLockupContract, createMarketBehaviorContract, createMarketContract, createMarketFactoryContract, createMetricsContract, createMetricsGroupContract, createPolicyContract, createPolicyFactoryContract, createPolicyGroupContract, createPropertyContract, createPropertyFactoryContract, createRegistryContract, createSTokensContract, createSimpleCollectionsContract, createSwapArbitraryTokensContract, createSwapContract, createWithdrawContract, devAbi, estimationsAPY, execute, lockupAbi, marketAbi, marketAddresses, marketBehaviorAbi, marketFactoryAbi, metricsAbi, metricsFactoryAbi, metricsGroupAbi, policyAbi, policyFactoryAbi, policyGroupAbi, positionsCreate, positionsCreateWithAnyTokens, positionsCreateWithEth, positionsCreateWithEthForPolygon, propertiesAssets, propertyAbi, propertyFactoryAbi, sTokensAbi, simpleCollectionsAbi, utils, withdrawAbi }; |
export { positionsCreate } from './positionsCreate' | ||
export { positionsCreateWithEth } from './positionsCreateWithEth' | ||
export { positionsCreateWithEthForPolygon } from './positionsCreateWithEthForPolygon' | ||
export { positionsCreateWithAnyTokens } from './positionsCreateWithAnyTokens' | ||
export { | ||
positionsCreateWithAnyTokens, | ||
type ReturnOfPositionsCreateWithAnyTokensERC20, | ||
type ReturnOfPositionsCreateWithAnyTokensNative, | ||
} from './positionsCreateWithAnyTokens' | ||
export { estimationsAPY } from './estimationsAPY' | ||
@@ -6,0 +10,0 @@ export { propertiesAssets } from './propertiesAssets' |
@@ -38,3 +38,3 @@ /* eslint-disable functional/functional-parameters */ | ||
export function positionsCreateWithAnyTokens(opts: ParamsWithToken): Promise< | ||
export type ReturnOfPositionsCreateWithAnyTokensERC20 = Promise< | ||
UndefinedOr<{ | ||
@@ -46,3 +46,4 @@ readonly estimatedDev: string | ||
> | ||
export function positionsCreateWithAnyTokens(opts: Params): Promise< | ||
export type ReturnOfPositionsCreateWithAnyTokensNative = Promise< | ||
UndefinedOr<{ | ||
@@ -55,2 +56,9 @@ readonly estimatedDev: string | ||
export function positionsCreateWithAnyTokens( | ||
opts: ParamsWithToken, | ||
): ReturnOfPositionsCreateWithAnyTokensERC20 | ||
export function positionsCreateWithAnyTokens( | ||
opts: Params, | ||
): ReturnOfPositionsCreateWithAnyTokensNative | ||
export async function positionsCreateWithAnyTokens( | ||
@@ -57,0 +65,0 @@ options: ParamsWithToken | Params, |
{ | ||
"name": "@devprotocol/dev-kit", | ||
"type": "module", | ||
"version": "8.4.3", | ||
"version": "8.4.4", | ||
"description": "Dev Kit for JavaScript", | ||
@@ -6,0 +6,0 @@ "author": "abyssparanoia", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1694048
67261