@gearbox-protocol/sdk 13.6.0-kyc.7 → 13.6.1
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/cjs/dev/AccountOpener.js +5 -45
- package/dist/cjs/dev/logSplitterTransport.js +10 -1
- package/dist/cjs/plugins/adapters/abi/actionAbi.js +1 -1
- package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +1 -1
- package/dist/cjs/plugins/adapters/createAdapter.js +1 -1
- package/dist/cjs/plugins/adapters/types.js +1 -1
- package/dist/cjs/plugins/apy/ApyPlugin.js +266 -0
- package/dist/cjs/plugins/apy/apy-cache.js +120 -0
- package/dist/cjs/plugins/apy/apy-parser.js +169 -0
- package/dist/cjs/{sdk/market/kyc/securitize → plugins/apy}/constants.js +6 -3
- package/dist/cjs/{sdk/market/kyc/securitize → plugins/apy}/index.js +14 -6
- package/dist/cjs/{sdk/market/kyc/securitize/types.js → plugins/apy/pool-apy-types.js} +2 -2
- package/dist/cjs/plugins/apy/pool-apy-utils.js +141 -0
- package/dist/cjs/rewards/rewards/extra-apy.js +10 -8
- package/dist/cjs/sdk/GearboxSDK.js +5 -52
- package/dist/cjs/sdk/accounts/AbstractCreditAccountsService.js +16 -324
- package/dist/cjs/sdk/accounts/CreditAccountsServiceV310.js +1 -7
- package/dist/cjs/sdk/base/TokensMeta.js +43 -32
- package/dist/cjs/sdk/base/token-types.js +0 -9
- package/dist/cjs/sdk/chain/chains.js +32 -17
- package/dist/cjs/sdk/constants/address-provider.js +0 -3
- package/dist/cjs/sdk/market/MarketRegister.js +116 -70
- package/dist/cjs/sdk/market/MarketSuite.js +0 -3
- package/dist/cjs/sdk/market/index.js +0 -2
- package/dist/cjs/sdk/market/pool/PoolSuite.js +0 -3
- package/dist/cjs/sdk/market/pool/PoolV310Contract.js +2 -11
- package/dist/cjs/sdk/market/pool/index.js +0 -2
- package/dist/cjs/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
- package/dist/cjs/sdk/options.js +1 -7
- package/dist/cjs/sdk/pools/PoolService.js +12 -104
- package/dist/cjs/sdk/utils/viem/index.js +0 -2
- package/dist/cjs/sdk/utils/viem/simulateWithPriceUpdates.js +39 -2
- package/dist/esm/dev/AccountOpener.js +6 -47
- package/dist/esm/dev/logSplitterTransport.js +10 -1
- package/dist/esm/plugins/adapters/abi/actionAbi.js +1 -1
- package/dist/esm/plugins/adapters/abi/conctructorAbi.js +1 -1
- package/dist/esm/plugins/adapters/createAdapter.js +1 -1
- package/dist/esm/plugins/adapters/types.js +1 -1
- package/dist/esm/plugins/apy/ApyPlugin.js +255 -0
- package/dist/esm/plugins/apy/apy-cache.js +86 -0
- package/dist/esm/plugins/apy/apy-parser.js +143 -0
- package/dist/esm/plugins/apy/constants.js +6 -0
- package/dist/esm/plugins/apy/index.js +7 -0
- package/dist/esm/plugins/apy/pool-apy-utils.js +113 -0
- package/dist/esm/rewards/rewards/extra-apy.js +10 -8
- package/dist/esm/sdk/GearboxSDK.js +6 -56
- package/dist/esm/sdk/accounts/AbstractCreditAccountsService.js +17 -328
- package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +1 -7
- package/dist/esm/sdk/base/TokensMeta.js +45 -32
- package/dist/esm/sdk/base/token-types.js +0 -6
- package/dist/esm/sdk/chain/chains.js +32 -17
- package/dist/esm/sdk/constants/address-provider.js +0 -2
- package/dist/esm/sdk/market/MarketRegister.js +118 -74
- package/dist/esm/sdk/market/MarketSuite.js +0 -3
- package/dist/esm/sdk/market/index.js +0 -1
- package/dist/esm/sdk/market/pool/PoolSuite.js +0 -3
- package/dist/esm/sdk/market/pool/PoolV310Contract.js +2 -11
- package/dist/esm/sdk/market/pool/index.js +0 -1
- package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
- package/dist/esm/sdk/options.js +1 -7
- package/dist/esm/sdk/pools/PoolService.js +13 -109
- package/dist/esm/sdk/utils/viem/index.js +0 -1
- package/dist/esm/sdk/utils/viem/simulateWithPriceUpdates.js +41 -2
- package/dist/types/dev/logSplitterTransport.d.ts +3 -1
- package/dist/types/plugins/adapters/types.d.ts +2 -2
- package/dist/types/plugins/apy/ApyPlugin.d.ts +46 -0
- package/dist/types/plugins/apy/apy-cache.d.ts +28 -0
- package/dist/types/plugins/apy/apy-parser.d.ts +5 -0
- package/dist/types/plugins/apy/constants.d.ts +2 -0
- package/dist/types/plugins/apy/index.d.ts +7 -0
- package/dist/types/plugins/apy/pool-apy-types.d.ts +41 -0
- package/dist/types/plugins/apy/pool-apy-utils.d.ts +73 -0
- package/dist/types/plugins/apy/types.d.ts +37 -0
- package/dist/types/rewards/rewards/api.d.ts +10 -1
- package/dist/types/rewards/rewards/common.d.ts +0 -10
- package/dist/types/rewards/rewards/extra-apy.d.ts +4 -6
- package/dist/types/sdk/GearboxSDK.d.ts +0 -7
- package/dist/types/sdk/accounts/AbstractCreditAccountsService.d.ts +2 -52
- package/dist/types/sdk/accounts/CreditAccountsServiceV310.d.ts +1 -1
- package/dist/types/sdk/accounts/types.d.ts +13 -93
- package/dist/types/sdk/base/TokensMeta.d.ts +3 -14
- package/dist/types/sdk/base/token-types.d.ts +4 -44
- package/dist/types/sdk/base/types.d.ts +11 -116
- package/dist/types/sdk/chain/chains.d.ts +5 -5
- package/dist/types/sdk/constants/address-provider.d.ts +0 -1
- package/dist/types/sdk/market/MarketRegister.d.ts +9 -6
- package/dist/types/sdk/market/MarketSuite.d.ts +0 -2
- package/dist/types/sdk/market/index.d.ts +0 -1
- package/dist/types/sdk/market/oracle/PriceOracleBaseContract.d.ts +2 -3
- package/dist/types/sdk/market/oracle/types.d.ts +10 -3
- package/dist/types/sdk/market/pool/PoolSuite.d.ts +0 -2
- package/dist/types/sdk/market/pool/PoolV310Contract.d.ts +2 -6
- package/dist/types/sdk/market/pool/index.d.ts +0 -1
- package/dist/types/sdk/market/pricefeeds/PriceFeedsRegister.d.ts +1 -1
- package/dist/types/sdk/market/types.d.ts +1 -1
- package/dist/types/sdk/options.d.ts +0 -1
- package/dist/types/sdk/pools/PoolService.d.ts +8 -8
- package/dist/types/sdk/pools/types.d.ts +1 -1
- package/dist/types/sdk/types/state-human.d.ts +0 -2
- package/dist/types/sdk/types/state.d.ts +0 -5
- package/dist/types/sdk/utils/viem/index.d.ts +0 -1
- package/package.json +2 -3
- package/dist/cjs/abi/kyc/iDSRegistryService.js +0 -70
- package/dist/cjs/abi/kyc/iDSToken.js +0 -71
- package/dist/cjs/abi/kyc/iKYCCompressor.js +0 -196
- package/dist/cjs/abi/kyc/iKYCFactory.js +0 -122
- package/dist/cjs/abi/kyc/iKYCUnderlying.js +0 -401
- package/dist/cjs/abi/kyc/iSecuritizeDegenNFT.js +0 -326
- package/dist/cjs/abi/kyc/iSecuritizeKYCFactory.js +0 -319
- package/dist/cjs/plugins/pools-history/Pools7DAgoPlugin.js +0 -108
- package/dist/cjs/plugins/pools-history/index.js +0 -24
- package/dist/cjs/sdk/market/kyc/KYCRegistry.js +0 -269
- package/dist/cjs/sdk/market/kyc/index.js +0 -26
- package/dist/cjs/sdk/market/kyc/securitize/SecuritizeKYCFactory.js +0 -244
- package/dist/cjs/sdk/market/kyc/types.js +0 -34
- package/dist/cjs/sdk/utils/viem/executeDelegatedMulticalls.js +0 -38
- package/dist/esm/abi/kyc/iDSRegistryService.js +0 -46
- package/dist/esm/abi/kyc/iDSToken.js +0 -47
- package/dist/esm/abi/kyc/iKYCCompressor.js +0 -172
- package/dist/esm/abi/kyc/iKYCFactory.js +0 -98
- package/dist/esm/abi/kyc/iKYCUnderlying.js +0 -377
- package/dist/esm/abi/kyc/iSecuritizeDegenNFT.js +0 -302
- package/dist/esm/abi/kyc/iSecuritizeKYCFactory.js +0 -295
- package/dist/esm/plugins/pools-history/Pools7DAgoPlugin.js +0 -90
- package/dist/esm/plugins/pools-history/index.js +0 -2
- package/dist/esm/sdk/market/kyc/KYCRegistry.js +0 -253
- package/dist/esm/sdk/market/kyc/index.js +0 -3
- package/dist/esm/sdk/market/kyc/securitize/SecuritizeKYCFactory.js +0 -220
- package/dist/esm/sdk/market/kyc/securitize/constants.js +0 -4
- package/dist/esm/sdk/market/kyc/securitize/index.js +0 -3
- package/dist/esm/sdk/market/kyc/types.js +0 -9
- package/dist/esm/sdk/utils/viem/executeDelegatedMulticalls.js +0 -14
- package/dist/types/abi/kyc/iDSRegistryService.d.ts +0 -71
- package/dist/types/abi/kyc/iDSToken.d.ts +0 -67
- package/dist/types/abi/kyc/iKYCCompressor.d.ts +0 -228
- package/dist/types/abi/kyc/iKYCFactory.d.ts +0 -139
- package/dist/types/abi/kyc/iKYCUnderlying.d.ts +0 -548
- package/dist/types/abi/kyc/iSecuritizeDegenNFT.d.ts +0 -404
- package/dist/types/abi/kyc/iSecuritizeKYCFactory.d.ts +0 -376
- package/dist/types/plugins/pools-history/Pools7DAgoPlugin.d.ts +0 -20
- package/dist/types/plugins/pools-history/index.d.ts +0 -2
- package/dist/types/plugins/pools-history/types.d.ts +0 -9
- package/dist/types/sdk/market/kyc/KYCRegistry.d.ts +0 -52
- package/dist/types/sdk/market/kyc/index.d.ts +0 -3
- package/dist/types/sdk/market/kyc/securitize/SecuritizeKYCFactory.d.ts +0 -428
- package/dist/types/sdk/market/kyc/securitize/constants.d.ts +0 -1
- package/dist/types/sdk/market/kyc/securitize/index.d.ts +0 -3
- package/dist/types/sdk/market/kyc/securitize/types.d.ts +0 -127
- package/dist/types/sdk/market/kyc/types.d.ts +0 -170
- package/dist/types/sdk/utils/viem/executeDelegatedMulticalls.d.ts +0 -28
- /package/dist/cjs/plugins/{pools-history → apy}/package.json +0 -0
- /package/dist/cjs/plugins/{pools-history → apy}/types.js +0 -0
- /package/dist/esm/plugins/{pools-history → apy}/package.json +0 -0
- /package/dist/esm/plugins/{pools-history/types.js → apy/pool-apy-types.js} +0 -0
- /package/dist/esm/{sdk/market/kyc/securitize → plugins/apy}/types.js +0 -0
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import type { AbiParametersToPrimitiveTypes, ExtractAbiFunction } from "abitype";
|
|
2
|
-
import type { Address, ContractFunctionParameters } from "viem";
|
|
3
|
-
import type { iKYCCompressorAbi } from "../../../abi/kyc/iKYCCompressor.js";
|
|
4
|
-
import type { IBaseContract, Unarray } from "../../base/index.js";
|
|
5
|
-
import type { MultiCall, RawTx } from "../../types/index.js";
|
|
6
|
-
import type { SecuritizeInvestorData, SecuritizeKYCFactoryStateHuman, SecuritizeMulticallParams, SecuritizeOpenAccountRequirements } from "./securitize/index.js";
|
|
7
|
-
import { KYC_FACTORY_SECURITIZE } from "./securitize/index.js";
|
|
8
|
-
/**
|
|
9
|
-
* Discriminated union of all known KYC factory contract type strings.
|
|
10
|
-
**/
|
|
11
|
-
export declare const KYC_FACTORY_TYPES: readonly ["KYC_FACTORY::SECURITIZE"];
|
|
12
|
-
/**
|
|
13
|
-
* String literal union of known KYC factory types.
|
|
14
|
-
**/
|
|
15
|
-
export type KYCFactoryType = (typeof KYC_FACTORY_TYPES)[number];
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*
|
|
19
|
-
* Type-level registry mapping each {@link KYCFactoryType} to its associated
|
|
20
|
-
* data types. Adding a new KYC factory requires a single new entry here;
|
|
21
|
-
* all derived types ({@link InvestorData}, {@link AnyOpenAccountRequirements},
|
|
22
|
-
* etc.) update automatically.
|
|
23
|
-
**/
|
|
24
|
-
interface KYCFactoryTypeMap {
|
|
25
|
-
[KYC_FACTORY_SECURITIZE]: {
|
|
26
|
-
investorData: SecuritizeInvestorData;
|
|
27
|
-
openAccountRequirements: SecuritizeOpenAccountRequirements;
|
|
28
|
-
stateHuman: SecuritizeKYCFactoryStateHuman;
|
|
29
|
-
multicallParams: SecuritizeMulticallParams;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
/** Extracts the investor data type for a specific factory type `T`. */
|
|
33
|
-
type KYCInvestorDataFor<T extends KYCFactoryType> = KYCFactoryTypeMap[T]["investorData"];
|
|
34
|
-
/** Extracts the open-account requirements type for a specific factory type `T`. */
|
|
35
|
-
type KYCOpenAccountReqFor<T extends KYCFactoryType> = KYCFactoryTypeMap[T]["openAccountRequirements"];
|
|
36
|
-
/** Extracts the multicall/openCreditAccount extra params type for a specific factory type `T`. */
|
|
37
|
-
type KYCMulticallParamsFor<T extends KYCFactoryType> = KYCFactoryTypeMap[T]["multicallParams"];
|
|
38
|
-
/**
|
|
39
|
-
* Raw return type of `KYCCompressor.getKYCMarketsData`.
|
|
40
|
-
**/
|
|
41
|
-
export type KYCCompressorResponse = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iKYCCompressorAbi, "getKYCMarketsData">["outputs"]>;
|
|
42
|
-
/**
|
|
43
|
-
* On-chain state of a KYC underlying token.
|
|
44
|
-
**/
|
|
45
|
-
export type KYCUnderlyingData = Unarray<KYCCompressorResponse[0]>;
|
|
46
|
-
/**
|
|
47
|
-
* On-chain state of a KYC factory.
|
|
48
|
-
**/
|
|
49
|
-
export type KYCFactoryData = Unarray<KYCCompressorResponse[1]>;
|
|
50
|
-
/**
|
|
51
|
-
* Typed contract call parameters for `KYCCompressor.getKYCMarketsData`.
|
|
52
|
-
**/
|
|
53
|
-
export type KYCCompressorCall = ContractFunctionParameters<typeof iKYCCompressorAbi, "view", "getKYCMarketsData">;
|
|
54
|
-
/**
|
|
55
|
-
* Single element of the `KYCCompressor.getKYCInvestorData` return array.
|
|
56
|
-
* Contains per-factory credit accounts and factory-specific extra details.
|
|
57
|
-
**/
|
|
58
|
-
export type KYCCompressorInvestorData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iKYCCompressorAbi, "getKYCInvestorData">["outputs"]>[0]>;
|
|
59
|
-
/**
|
|
60
|
-
* Full KYC compressor response, used as the persisted/hydrated state.
|
|
61
|
-
**/
|
|
62
|
-
export type KYCState = KYCCompressorResponse;
|
|
63
|
-
/**
|
|
64
|
-
* Investor data decoded from the KYC compressor, union of all factory types.
|
|
65
|
-
**/
|
|
66
|
-
export type InvestorData = KYCFactoryTypeMap[KYCFactoryType]["investorData"];
|
|
67
|
-
/**
|
|
68
|
-
* Human-readable KYC factory state, union of all factory types.
|
|
69
|
-
**/
|
|
70
|
-
export type KYCFactoryStateHuman = KYCFactoryTypeMap[KYCFactoryType]["stateHuman"];
|
|
71
|
-
/**
|
|
72
|
-
* Human-readable snapshot of the full KYC registry state.
|
|
73
|
-
**/
|
|
74
|
-
export interface KYCStateHuman {
|
|
75
|
-
/** State of each loaded KYC factory. */
|
|
76
|
-
factories: KYCFactoryStateHuman[];
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Open-account requirements for any KYC factory (union of all factory types).
|
|
80
|
-
**/
|
|
81
|
-
export type OpenAccountRequirements = KYCFactoryTypeMap[KYCFactoryType]["openAccountRequirements"];
|
|
82
|
-
/**
|
|
83
|
-
* Shared interface for all KYC factory contracts.
|
|
84
|
-
*
|
|
85
|
-
* Parameterised by a single factory type literal `T` which indexes into
|
|
86
|
-
* {@link KYCFactoryTypeMap} to derive all associated data types.
|
|
87
|
-
*
|
|
88
|
-
* @typeParam T - factory type
|
|
89
|
-
**/
|
|
90
|
-
export interface IKYCFactory<T extends KYCFactoryType = KYCFactoryType> extends IBaseContract {
|
|
91
|
-
/**
|
|
92
|
-
* Narrowed factory type discriminant
|
|
93
|
-
**/
|
|
94
|
-
readonly contractType: T;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*
|
|
98
|
-
* Decodes factory-specific extra details from the compressor's investor data.
|
|
99
|
-
* Each factory knows how to decode its own extra details.
|
|
100
|
-
*
|
|
101
|
-
* @param data - raw KYCCompressor InvestorData
|
|
102
|
-
**/
|
|
103
|
-
decodeInvestorData(data: KYCCompressorInvestorData): KYCInvestorDataFor<T>;
|
|
104
|
-
/**
|
|
105
|
-
* Returns the investor address for a credit account.
|
|
106
|
-
* @param creditAccount - credit account address
|
|
107
|
-
* @param fromCache - if true, use and update an in-memory cache
|
|
108
|
-
* (creditAccount → investor). On cache miss, loads from contract and
|
|
109
|
-
* stores the result for future calls.
|
|
110
|
-
**/
|
|
111
|
-
getInvestor(creditAccount: Address, fromCache?: boolean): Promise<Address>;
|
|
112
|
-
/**
|
|
113
|
-
* Returns address to which approval should be given on collateral token
|
|
114
|
-
*
|
|
115
|
-
* @param options - either `{ creditManager, creditAccount }` for an
|
|
116
|
-
* existing account or `{ creditManager, borrower }` for a new one
|
|
117
|
-
**/
|
|
118
|
-
getApprovalAddress(options: {
|
|
119
|
-
creditManager: Address;
|
|
120
|
-
borrower: Address;
|
|
121
|
-
} | {
|
|
122
|
-
creditManager: Address;
|
|
123
|
-
creditAccount: Address;
|
|
124
|
-
}): Promise<Address>;
|
|
125
|
-
/**
|
|
126
|
-
* Returns the wallet address for a credit account.
|
|
127
|
-
* Wallet is a smart contract that owns the credit account, and
|
|
128
|
-
* it is different from the investor address (actual user).
|
|
129
|
-
* @param creditAccount - credit account address
|
|
130
|
-
**/
|
|
131
|
-
getWallet(creditAccount: Address): Promise<Address>;
|
|
132
|
-
/**
|
|
133
|
-
* Creates a raw transaction to perform operations on a credit account.
|
|
134
|
-
* Similar to {@link CreditFacadeV310Contract.multicall}.
|
|
135
|
-
*
|
|
136
|
-
* @param creditAccount - credit account address
|
|
137
|
-
* @param calls - calls to perform
|
|
138
|
-
* @param options - optional factory-specific parameters (e.g. tokens to
|
|
139
|
-
* register, signatures to cache). When omitted the implementation
|
|
140
|
-
* uses sensible defaults (typically empty arrays).
|
|
141
|
-
**/
|
|
142
|
-
multicall(creditAccount: Address, calls: MultiCall[], options?: KYCMulticallParamsFor<T>): RawTx;
|
|
143
|
-
/**
|
|
144
|
-
* Checks if the user can open a credit account with this factory.
|
|
145
|
-
* @param investor - investor address
|
|
146
|
-
* @returns open account requirements for the investor, or `undefined` if the
|
|
147
|
-
* user can open a credit account without any further actions
|
|
148
|
-
**/
|
|
149
|
-
getOpenAccountRequirements(investor: Address): Promise<KYCOpenAccountReqFor<T> | undefined>;
|
|
150
|
-
/**
|
|
151
|
-
* Creates a raw transaction to open a credit account.
|
|
152
|
-
* Similar to {@link CreditFacadeV310Contract.openCreditAccount}.
|
|
153
|
-
*
|
|
154
|
-
* @param creditManager - credit manager address
|
|
155
|
-
* @param calls - initial calls to perform
|
|
156
|
-
* @param options - optional factory-specific parameters (e.g. tokens to
|
|
157
|
-
* register, signatures to cache). When omitted the implementation
|
|
158
|
-
* uses sensible defaults (typically empty arrays).
|
|
159
|
-
**/
|
|
160
|
-
openCreditAccount(creditManager: Address, calls: MultiCall[], options?: KYCMulticallParamsFor<T>): RawTx;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Narrows an {@link IKYCFactory} to a specific factory type.
|
|
164
|
-
*
|
|
165
|
-
* @param factory - factory instance to check
|
|
166
|
-
* @param type - expected factory type literal
|
|
167
|
-
* @returns `true` if `factory.factoryType === type`
|
|
168
|
-
**/
|
|
169
|
-
export declare function isKYCFactory<T extends KYCFactoryType>(factory: IKYCFactory, type: T): factory is IKYCFactory<T>;
|
|
170
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { Chain, Client, ContractFunctionParameters, Transport } from "viem";
|
|
2
|
-
import type { IPriceUpdateTx } from "../../types/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* A contract call paired with a callback that receives its decoded result.
|
|
5
|
-
* Used to compose batched on-chain reads that are executed together inside a
|
|
6
|
-
* single {@link simulateWithPriceUpdates} call.
|
|
7
|
-
**/
|
|
8
|
-
export interface DelegatedMulticall {
|
|
9
|
-
/** Contract call parameters (ABI, address, function name, args). */
|
|
10
|
-
call: ContractFunctionParameters;
|
|
11
|
-
/** Callback invoked with the decoded return value after simulation. */
|
|
12
|
-
onResult: (resp: unknown) => void;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Executes multiple contract read calls in a single
|
|
16
|
-
* {@link simulateWithPriceUpdates} batch and dispatches each result to its
|
|
17
|
-
* corresponding {@link DelegatedMulticall.onResult} callback.
|
|
18
|
-
*
|
|
19
|
-
* @param client - Viem public client.
|
|
20
|
-
* @param multicalls - Calls to execute with their result handlers.
|
|
21
|
-
* @param opts - Price-update transactions, target block number, and optional
|
|
22
|
-
* gas limit forwarded to the simulation.
|
|
23
|
-
**/
|
|
24
|
-
export declare function executeDelegatedMulticalls(client: Client<Transport, Chain>, multicalls: DelegatedMulticall[], opts: {
|
|
25
|
-
priceUpdates: IPriceUpdateTx[];
|
|
26
|
-
blockNumber: bigint;
|
|
27
|
-
gas?: bigint;
|
|
28
|
-
}): Promise<void>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|