Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

More Updated Site #167

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .devnet/addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"AddressManager": "0x055c36A33Bd6b0b2478e195f88C2c280a066FecC",
"BlockOracle": "0x042deb7f12Dad67215b7dD433f53B50C1C1bcb85",
"DisputeGameFactory": "0x1D76cd1460239F99516F165578b6A80EFb70f3C6",
"DisputeGameFactoryProxy": "0x68B43ec79EA334449D8dD38f02E6C34e3ad47981",
"L1CrossDomainMessenger": "0xDa2332D0a7608919Cd331B1304Cd179129a90495",
"L1CrossDomainMessengerProxy": "0xB4962667FC83444c584E3F3c1E5f6a6da4e47Dc7",
"L1ERC721Bridge": "0x806C2d0d2BDDFf9279CB2A8722F9117f0b0aDE73",
"L1ERC721BridgeProxy": "0x8afa551D0543AadDacA27078ecbAe93907daf112",
"L1StandardBridge": "0xcfBCbA6d9E84A3c4FaE0eda9684cE39a09aa2c8A",
"L1StandardBridgeProxy": "0xbD2480d4E28209F1BEF32A66d4Fb7Dd46A9a7512",
"L2OutputOracle": "0x8203dEBE6cD849358473715fD46FE9b1aE44C44D",
"L2OutputOracleProxy": "0x26d657013cD9891Ba93198661998e52A3B7BcFCE",
"Mips": "0xc5E3069cF714625A6f4339549058ED310B15017E",
"OptimismMintableERC20Factory": "0x373B66bd178cb2716D5A9596B1a42Ed39b87A535",
"OptimismMintableERC20FactoryProxy": "0x0964aE5282Ff3Daca1E9108A9f40354184e6660c",
"OptimismPortal": "0xD14AA6C7B6D92803F3910Ec1DADCCd0757341862",
"OptimismPortalProxy": "0x49428D7fdcCaeF0447943bDF1520CEC31527A11C",
"PreimageOracle": "0xC1327F8a7819f4ed1708Afb2e5cE4C810d3B6195",
"ProtocolVersions": "0x42F0bD8313ad456A38061308857b2383fe2c72a0",
"ProtocolVersionsProxy": "0xc0AF870f5C82E734186BDA6AeF1C97D93774d085",
"ProxyAdmin": "0x6f4c6Eb773193de65A36a9878572911faB3682F6",
"SafeProxyFactory": "0xA1cC3d758f16a2F2254B87e5E66EE77EA226e43a",
"SafeSingleton": "0x28B38ECf5261cAdA607c30198eBf766dfD056854",
"SystemConfig": "0x3b6090d4ba84B94C20a789436B9010F340AaaC70",
"SystemConfigProxy": "0x61119F6D289CbB2cf38001934715F30676633e51",
"SystemOwnerSafe": "0xA15F1B2899f26264ec2f415457AC2550de3D9625"
}
466 changes: 466 additions & 0 deletions .devnet/allocs-l1.json

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions .devnet/devnetL1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"l1ChainID": 900,
"l2ChainID": 901,
"l2BlockTime": 2,
"maxSequencerDrift": 300,
"sequencerWindowSize": 200,
"channelTimeout": 120,
"p2pSequencerAddress": "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc",
"batchInboxAddress": "0xff00000000000000000000000000000000000901",
"batchSenderAddress": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"cliqueSignerAddress": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"l1UseClique": true,
"l1StartingBlockTag": "earliest",
"l2OutputOracleSubmissionInterval": 6,
"l2OutputOracleStartingTimestamp": 0,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleProposer": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"l2OutputOracleChallenger": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",
"l2GenesisBlockGasLimit": "0x1c9c380",
"l1BlockTime": 3,
"baseFeeVaultRecipient": "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955",
"l1FeeVaultRecipient": "0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f",
"sequencerFeeVaultRecipient": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": "remote",
"l1FeeVaultWithdrawalNetwork": "remote",
"sequencerFeeVaultWithdrawalNetwork": "remote",
"proxyAdminOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"finalSystemOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"portalGuardian": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"finalizationPeriodSeconds": 2,
"fundDevAccounts": true,
"l2GenesisBlockBaseFeePerGas": "0x1",
"gasPriceOracleOverhead": 2100,
"gasPriceOracleScalar": 1000000,
"enableGovernance": true,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"eip1559Denominator": 50,
"eip1559Elasticity": 6,
"l1GenesisBlockTimestamp": "0x64c811bf",
"l2GenesisRegolithTimeOffset": "0x0",
"l2GenesisSpanBatchTimeOffset": "0x0",
"faultGameAbsolutePrestate": "0x03c7ae758795765c6664a5d39bf63841c71ff191e9189522bad8ebff5d4eca98",
"faultGameMaxDepth": 30,
"faultGameMaxDuration": 1200,
"systemConfigStartBlock": 0,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
7 changes: 5 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@

title: Pessimism
description: >- # this means to ignore newlines until "baseurl:"
Detect real-time threats on Op-stack compatible chains
Detect real-time threats and events on OP Stack compatible blockchains
baseurl: "/pessimism" # the subpath of your site, e.g. /blog
url: "base-org.github.io" # the base hostname & protocol for your site, e.g. http://example.com

# Build settings
theme: minima
remote_theme: jekyll/minima
minima:
skin: dark

plugins:
- jekyll-feed

Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/etl.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Currently, there are three total component types:
The diagram below showcases how interactivity between components occurs:

{% raw %}
<div class="mermaid">
<div class="mermaid" background="#fefdfc">
graph LR;
A((Component0)) -->|dataX| C[Ingress];

Expand Down
18 changes: 10 additions & 8 deletions docs/heuristics.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The hardcoded `balance_enforcement` heuristic checks the native ETH balance of s

| Name | Type | Description |
| ---- | ---- | ----------- |
| network | string | The network to run the heuristic on |
| address | string | The address to check the balance of |
| lower | float | The ETH lower bound of the balance |
| upper | float | The ETH upper bound of the balance |
Expand Down Expand Up @@ -48,6 +49,7 @@ The hardcoded `contract_event` heuristic scans newly produced blocks for a speci

| Name | Type | Description |
|---------|----------|----------------------------------------------------|
| network | string | The network to run the heuristic on |
| address | string | The address of the contract to scan for the events |
| args | []string | The event signatures to scan for |

Expand Down Expand Up @@ -82,10 +84,10 @@ The hardcoded `withdrawal_enforcement` heuristic scans for active `WithdrawalPro

### Parameters

| Name | Type | Description |
|-------------------|--------|-------------------------------------------------|
| l1_portal_address | string | The address of the L1Portal contract |
| l2_to_l1_address | string | The address of the L2ToL1MessagePasser contract |
| Network | Name | Type | Description |
|---------|-------------------|--------|-------------------------------------------------|
| layer1 | l1_portal_address | string | The address of the OptimismPortal contract |
| layer2 | l2_to_l1_address | string | The address of the L2ToL1MessagePasser contract |

### Example Deploy Request

Expand Down Expand Up @@ -115,10 +117,10 @@ The hardcoded `fault_detector` heuristic scans for active `OutputProposed` event

### Parameters

| Name | Type | Description |
|-------------------|--------|-------------------------------------------------|
| l2_output_address | string | The address of the L1 output oracle |
| l2_to_l1_address | string | The address of the L2ToL1MessagePasser contract |
| Network | Name | Type | Description |
|---------|-------------------|--------|-------------------------------------------------|
| layer2 | l2_output_address | string | The address of the L1 output oracle |
| layer1 | l2_to_l1_address | string | The address of the L2ToL1MessagePasser contract |

### Example Deploy Request

Expand Down
2 changes: 1 addition & 1 deletion docs/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: home
---

Detect real-time threats on Op-stack compatible chains
Welcome to the Pessimism documentation. This documentation is intended to provide a high-level overview of the Pessimism architecture and core algorithms.

## Contents

Expand Down
Loading