Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Jul 10, 2024
1 parent d4d473e commit 4c03e20
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/actions/setConfirmPeriodBlocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
encodeFunctionData,
} from 'viem';
import { rollupAdminLogic } from '../contracts';
import { WithAccount, WithContractAddress } from '../types/Actions';
import { WithAccount, ActionParameters } from '../types/Actions';
import { Prettify } from '../types/utils';
import { getRollupAddress } from '../getRollupAddress';

export type SetConfirmPeriodBlocksParameters<Curried extends boolean = false> = Prettify<
WithAccount<WithContractAddress<{ newPeriod: bigint }, 'rollupAdminLogic', Curried>>
WithAccount<ActionParameters<{ newPeriod: bigint }, 'rollupAdminLogic', Curried>>
>;

export type SetConfirmPeriodBlocksReturnType = PrepareTransactionRequestReturnType;
Expand Down
4 changes: 2 additions & 2 deletions src/actions/setExtraChallengeTimeBlocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
encodeFunctionData,
} from 'viem';
import { rollupAdminLogic } from '../contracts';
import { WithAccount, WithContractAddress } from '../types/Actions';
import { WithAccount, ActionParameters } from '../types/Actions';
import { Prettify } from '../types/utils';
import { getRollupAddress } from '../getRollupAddress';

export type SetExtraChallengeTimeBlocksParameters<Curried extends boolean = false> = Prettify<
WithAccount<WithContractAddress<{ newExtraTimeBlocks: bigint }, 'rollupAdminLogic', Curried>>
WithAccount<ActionParameters<{ newExtraTimeBlocks: bigint }, 'rollupAdminLogic', Curried>>
>;

export type SetExtraChallengeTimeBlocksReturnType = PrepareTransactionRequestReturnType;
Expand Down
4 changes: 2 additions & 2 deletions src/actions/setMinimumAssertionPeriod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
encodeFunctionData,
} from 'viem';
import { rollupAdminLogic } from '../contracts';
import { WithAccount, WithContractAddress } from '../types/Actions';
import { WithAccount, ActionParameters } from '../types/Actions';
import { Prettify } from '../types/utils';
import { getRollupAddress } from '../getRollupAddress';

export type SetMinimumAssertionPeriodParameters<Curried extends boolean = false> = Prettify<
WithAccount<WithContractAddress<{ newPeriod: bigint }, 'rollupAdminLogic', Curried>>
WithAccount<ActionParameters<{ newPeriod: bigint }, 'rollupAdminLogic', Curried>>
>;

export type SetMinimumAssertionPeriodReturnType = PrepareTransactionRequestReturnType;
Expand Down
4 changes: 2 additions & 2 deletions src/actions/setValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import {
encodeFunctionData,
} from 'viem';
import { rollupAdminLogic } from '../contracts';
import { WithAccount, WithContractAddress } from '../types/Actions';
import { WithAccount, ActionParameters } from '../types/Actions';
import { Prettify } from '../types/utils';
import { getRollupAddress } from '../getRollupAddress';

export type SetIsValidatorParameters<Curried extends boolean = false> = Prettify<
WithAccount<
WithContractAddress<
ActionParameters<
{
add: Address[];
remove: Address[];
Expand Down
4 changes: 2 additions & 2 deletions src/actions/setValidatorWhitelistDisabled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
encodeFunctionData,
} from 'viem';
import { rollupAdminLogic } from '../contracts';
import { WithAccount, WithContractAddress } from '../types/Actions';
import { WithAccount, ActionParameters } from '../types/Actions';
import { Prettify } from '../types/utils';
import { getRollupAddress } from '../getRollupAddress';

export type SetValidatorWhitelistDisabledParameters<Curried extends boolean = false> = Prettify<
WithAccount<WithContractAddress<{}, 'rollupAdminLogic', Curried>>
WithAccount<ActionParameters<{}, 'rollupAdminLogic', Curried>>
>;

export type SetValidatorWhitelistDisabledReturnType = PrepareTransactionRequestReturnType;
Expand Down
4 changes: 2 additions & 2 deletions src/actions/setWasmModuleRoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import {
encodeFunctionData,
} from 'viem';
import { rollupAdminLogic } from '../contracts';
import { WithAccount, WithContractAddress } from '../types/Actions';
import { WithAccount, ActionParameters } from '../types/Actions';
import { Prettify } from '../types/utils';
import { getRollupAddress } from '../getRollupAddress';

export type SetWasmModuleRootParameters<Curried extends boolean = false> = Prettify<
WithAccount<
WithContractAddress<
ActionParameters<
{
newWasmModuleRoot: Hex;
},
Expand Down

0 comments on commit 4c03e20

Please sign in to comment.