UNPKG

@1hive/connect-core

Version:

Access and interact with Aragon Organizations and their apps.

16 lines 892 B
import type { Address } from '@1hive/connect-types'; import { Provider } from '@ethersproject/providers'; import App from '../../entities/App'; import ForwardingPath from '../../entities/ForwardingPath'; /** * Calculate the transaction path for a transaction to `destination` * that invokes `methodSignature` with `params`. * * @param {string} destination * @param {string} methodSignature * @param {Array<*>} params * @param {string} [finalForwarder] Address of the final forwarder that can perfom the action * @return {Promise<Array<Object>>} An array of Ethereum transactions that describe each step in the path */ export declare function getForwardingPath(sender: Address, destinationApp: App, methodSignature: string, params: any[], installedApps: App[], provider: Provider, finalForwarder?: Address): Promise<ForwardingPath>; //# sourceMappingURL=getForwardingPath.d.ts.map