package
0.0.0-20231212030111-86af83068773
Repository: https://github.com/blastchain/blast.git
Documentation: pkg.go.dev

# Functions

AddressToCodeNamespace takes a predeploy address and computes the implementation address that the implementation should be deployed at.
BuildL1DeveloperGenesis will create a L1 genesis block after creating all of the state required for an Optimism network to function.
BuildL2DeveloperGenesis will build the L2 genesis block.
FromUint8 converts a uint8 to a WithdrawalNetwork.
FundDevAccounts will fund each of the development accounts.
GetBlockFromTag will resolve a Block given an rpc block tag.
No description provided by the author
NewDeployConfig reads a config file given a path on the filesystem.
NewDeployConfigWithNetwork takes a path to a deploy config directory and the network name.
NewL1Deployments will create a new L1Deployments from a JSON file on disk at the given path.
NewL1Genesis will create a new L1 genesis config.
NewL2Genesis will create a new L2 genesis.
NewL2ImmutableConfig will create an ImmutableConfig given an instance of a DeployConfig and a block.
NewL2StorageConfig will create a StorageConfig given an instance of a Hardhat and a DeployConfig.
NewStateDump will read a Dump JSON file from disk.
PostProcessL1DeveloperGenesis will apply post processing to the L1 genesis state.
SetPrecompileBalances will set a single wei at each precompile address.

# Constants

initialzedValue represents the `Initializable` contract value.
PrecompileCount represents the number of precompile addresses starting from `address(0)` to PrecompileCount that are funded with a single wei in the genesis state.

# Variables

implementationSlot represents the EIP 1967 admin storage slot.
BedrockTransitionBlockExtraData represents the default extra data for the bedrock transition block.
bigL2PredeployNamespace represents the predeploy namespace as a big.Int.
The default values for the ResourceConfig, used as part of an EIP-1559 curve for deposit gas.
DevAccounts represent the standard hardhat development accounts.
No description provided by the author
No description provided by the author
implementationSlot represents the EIP 1967 implementation storage slot.

# Structs

DeployConfig represents the deployment configuration for an OP Stack chain.
L1Deployments represents a set of L1 contracts that are deployed.

# Type aliases

No description provided by the author
WithdrawalNetwork represents the network that withdrawals are sent to.