arbAggregatorReadContract
Type Aliases
ArbAggregatorAbi
type ArbAggregatorAbi: typeof arbAggregator.abi;
Source
src/arbAggregatorReadContract.ts:6
ArbAggregatorFunctionName
type ArbAggregatorFunctionName: GetFunctionName<ArbAggregatorAbi>;
Source
src/arbAggregatorReadContract.ts:7
ArbAggregatorReadContractParameters<TFunctionName>
type ArbAggregatorReadContractParameters<TFunctionName>: object & GetFunctionArgs<ArbAggregatorAbi, TFunctionName>;
Type declaration
Member | Type |
---|---|
functionName | TFunctionName |
Type parameters
Type parameter |
---|
TFunctionName extends ArbAggregatorFunctionName |
Source
src/arbAggregatorReadContract.ts:9
ArbAggregatorReadContractReturnType<TFunctionName>
type ArbAggregatorReadContractReturnType<TFunctionName>: ReadContractReturnType<ArbAggregatorAbi, TFunctionName>;
Type parameters
Type parameter |
---|
TFunctionName extends ArbAggregatorFunctionName |
Source
src/arbAggregatorReadContract.ts:13
Functions
arbAggregatorReadContract()
function arbAggregatorReadContract<TChain, TFunctionName>(client: object, params: ArbAggregatorReadContractParameters<TFunctionName>): Promise<ArbAggregatorReadContractReturnType<TFunctionName>>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
TFunctionName extends |
| "addBatchPoster" |
| "getBatchPosters" |
| "getDefaultAggregator" |
| "getFeeCollector" |
| "getPreferredAggregator" |
| "getTxBaseFee" |
| "setFeeCollector" |
| "setTxBaseFee" |
Parameters
Parameter | Type |
---|---|
client | object |
params | ArbAggregatorReadContractParameters <TFunctionName > |
Returns
Promise
<ArbAggregatorReadContractReturnType
<TFunctionName
>>