createRollupPrepareConfig
Type Aliases
CreateRollupPrepareConfigParams
type CreateRollupPrepareConfigParams: Prettify<RequiredParams & object & OptionalParams>;
Source
src/createRollupPrepareConfig.ts:15
CreateRollupPrepareConfigResult
type CreateRollupPrepareConfigResult: CreateRollupFunctionInputs[0]["config"];
Source
src/createRollupPrepareConfig.ts:9
Variables
defaults
const defaults: object;
Type declaration
Member | Type | Value |
---|---|---|
baseStake | bigint | ... |
confirmPeriodBlocks | bigint | ... |
extraChallengeTimeBlocks | bigint | ... |
genesisBlockNum | bigint | ... |
loserStakeEscrow | "0x0000000000000000000000000000000000000000" | zeroAddress |
sequencerInboxMaxTimeVariation | object | ... |
sequencerInboxMaxTimeVariation.delayBlocks | bigint | ... |
sequencerInboxMaxTimeVariation.delaySeconds | bigint | ... |
sequencerInboxMaxTimeVariation.futureBlocks | bigint | ... |
sequencerInboxMaxTimeVariation.futureSeconds | bigint | ... |
stakeToken | "0x0000000000000000000000000000000000000000" | zeroAddress |
wasmModuleRoot | `0x${string}` | - |
Source
src/createRollupPrepareConfig.ts:19
Functions
createRollupPrepareConfig()
function createRollupPrepareConfig(__namedParameters: object): CreateRollupPrepareConfigResult
Parameters
Parameter | Type |
---|---|
__namedParameters | object |
__namedParameters.baseStake | undefined | bigint |
__namedParameters.chainConfig ? | ChainConfig |
__namedParameters.chainId | bigint |
__namedParameters.confirmPeriodBlocks | undefined | bigint |
__namedParameters.extraChallengeTimeBlocks | undefined | bigint |
__namedParameters.genesisBlockNum | undefined | bigint |
__namedParameters.loserStakeEscrow | undefined | `0x${string}` |
__namedParameters.owner | `0x${string}` |
__namedParameters.sequencerInboxMaxTimeVariation | undefined | object |
__namedParameters.stakeToken | undefined | `0x${string}` |
__namedParameters.wasmModuleRoot | undefined | `0x${string}` |
Returns
CreateRollupPrepareConfigResult
Deprecated
Will be removed in a future release. Please use createRollupPrepareDeploymentParamsConfig instead.