upgradeExecutorPrepareRemoveExecutorTransactionRequest
Type Aliases
UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams<TChain>
type UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams<TChain>: object;
Type for the params of the upgradeExecutorPrepareRemoveExecutorTransactionRequest function
Type parameters
Type parameter |
---|
TChain extends Chain | undefined |
Type declaration
Member | Type |
---|---|
account | Address |
executorAccountAddress | Address |
publicClient | PublicClient <Transport , TChain > |
upgradeExecutorAddress | Address |
Source
src/upgradeExecutorPrepareRemoveExecutorTransactionRequest.ts:19
Functions
upgradeExecutorPrepareRemoveExecutorTransactionRequest()
function upgradeExecutorPrepareRemoveExecutorTransactionRequest<TChain>(upgradeExecutorPrepareRemoveExecutorTransactionRequestParams: UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams<TChain>): Promise<any>
Prepares a transaction to revoke the executor role from an account
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type | Description |
---|---|---|
upgradeExecutorPrepareRemoveExecutorTransactionRequestParams | UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams <TChain > | UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams |
Returns
Promise
<any
>
Promise
Example
const removeExecutorTransactionRequest = await upgradeExecutorPrepareRemoveExecutorTransactionRequest({
account: accountAddress,
upgradeExecutorAddress: coreContracts.upgradeExecutor,
executorAccountAddress: deployer.address,
publicClient,
});
Source
src/upgradeExecutorPrepareRemoveExecutorTransactionRequest.ts:49