Calls the functionName
on contractAddress
target using the Multicall contract. If the call requires
a price update, ERC7412 price update tx is prepended to the tx.
Target contract address for the call
Contract ABI
Function to be called on the contract
Arguments list for the function call
Array of Call3Value calls for Multicall contract
Response from the contract function call
Generates Call3Value tx for Price update data of Oracle
Oracle Contract address
Encoded Price Update data
Transaction Request for Oracle price update
Handles ERC7412 error by creating a price update tx which is prepended to the existing calls
Error thrown by the call function
Multicall call data
call array with ERC7412 fulfillOracleQuery transaction
Calls the functionName
on contractAddress
target using the Multicall contract. If the call requires
a price update, ERC7412 price update tx is prepended to the tx.
Target contract address for the call
Contract ABI
Function to be called on the contract
Array of arguments list for the function call
Array of Call3Value calls for Multicall contract
Array of responses from the contract function call for the multicalls
Calls the functionName
on contractAddress
target using the Multicall contract. If the call requires
a price update, ERC7412 price update tx is prepended to the tx.
Target contract address for the call
Contract ABI
Function to be called on the contract
Array of arguments list for the function call
Array of Call3Value calls for Multicall contract
Array of responses from the contract function call for the multicalls
Simulates the functionName
on contractAddress
target using the Multicall contract and returns the
final transaction call with ERC7412 price update data if required
Optional
contractAddress: `0x${string}`Target contract address for the call
Optional
abi: unknownContract ABI
Optional
functionName: stringFunction to be called on the contract
Optional
args: unknown[]Arguments list for the function call
Array of Call3Value calls for Multicall contract
Final transaction with ERC7412 tx data (if necessary)
Utility class