Skip to content
Open
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
4 changes: 4 additions & 0 deletions script/production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,7 @@ corresponding production integration or role is not configured at execution time

All commands require an RPC URL supplied at runtime; this runbook and the scripts contain no RPC endpoint
or signing secret.

## Deployment records

- [Polygon Polymarket V2 custom whitelist, 2026-10-15](deployments/polygon-poly-v2-whitelist-2026-10-15/README.md): deployed address, ownership, sole proxy member, successful receipts and runtime/source provenance.
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Polygon Polymarket V2 custom whitelist

Deployed and configured on 2026-10-15 on Polygon (chain ID 137).
This is a request-specific proposer whitelist for the initializer's atomic
AccessManager path. It does not replace the ManagedOO default whitelist.

| Contract | Address |
|---|---|
| Custom AddressWhitelist | `0x0044C7b41206A4EB4183C1b37D6Ba65261173c42` |
| Owner and only member: SignedProposer proxy | `0x632dA7EcAD445C090DaFe1B03c24c113bD0edD13` |
| SignedProposer implementation at verification | `0x1307Ce44A51AF6D84AD2e346D7655f1B7D20D856` |
| AccessManager | `0xfa6f0Ff6c719001Cba691Ff12CeaA9c49aCDCb66` |
| ManagedOptimisticOracleV2 | `0x2C0367a9DB231dDeBd88a94b4f6461a6e47C58B1` |
| OOReporter proxy | `0x53703Dd6129d723066b6362510E5aE2fECd48218` |

## Executed transactions

All three receipts succeeded. Ownership transfer is immediate; no acceptance
transaction is required. The deployer was
`0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D`.

| Operation | Nonce | Block | Transaction |
|---|---|---|---|
| Deploy AddressWhitelist | 14944 | 95570673 | [Receipt](https://polygonscan.com/tx/0x7b8b4a1c5f5ff149cf84af9d1323892ff82d9d5202a67eee862a1b3cc13870b4) |
| Add SignedProposer proxy | 14945 | 95570755 | [Receipt](https://polygonscan.com/tx/0x5658e6d4e666d14d6afe29e6e156a9ed4d6f1fc82e8af8760ae9d929d2fa302f) |
| Transfer ownership to proxy | 14946 | 95570769 | [Receipt](https://polygonscan.com/tx/0x9ad99421fdcc1126ef7a2bf69f6d9a81199d4d5cb81f24167bc15e1e7bf7377d) |

[deployment.json](deployment.json) records receipt block hashes and logs,
configuration calldata, source revisions, compiler settings and verified state.
At block `95573288` (`0xfa7f5ccfc98241b34e95586909c3606e6a7473a1bf142f1938de59541598dd9c`),
`owner()` and `getWhitelist()` returned the proxy above and a one-element list,
respectively; `isWhitelistEnabled()` returned `true`. Thus the implementation
address is not a member. The deployed runtime exactly matched the pinned build,
including metadata; its Keccak-256 is `0x086f94e78f61895eb3b08f67be1b92989ff5b7e233abdaca63e7217ce2f2a7e7`.

## Build and implementation provenance

The whitelist was compiled from managed-oracle commit
`886c23b88e7210dc3eac16f03a900ac36811862d`, contract
`src/common/implementation/AddressWhitelist.sol:AddressWhitelist`, with no
constructor arguments. Solidity 0.8.30, Prague, optimizer runs 1 and viaIR were
used with the dependency revisions recorded in `deployment.json`. Compiler
remappings are recorded in `deployment.json`; changing remappings can change metadata hashes.

[verified-code-pins.json](verified-code-pins.json) records the AccessManager
runtime pin and the effective SignedProposer implementation runtime pin.
[bytecode-reproduction.json](bytecode-reproduction.json) includes the exact
compiler settings and immutable offsets; [reviewed-source-provenance.json](reviewed-source-provenance.json)
contains source hashes and matching revisions. The two `*-standard-input.json`
files retain the verified source closures and compiler inputs. Compile them
with Solidity `0.8.30+commit.73712a01` using standard JSON, requesting deployed
bytecode and immutable references; for SignedProposer, fill the two documented
`__self` locations with the implementation address before comparing the entire
runtime, including metadata, with `eth_getCode` at the recorded block.

AccessManager matches canonical OpenZeppelin Contracts v5.6.1; it is outside
the UMA-specific OOReporter/SignedProposer diff audit. SignedProposer matches
release `24a5930ba82bb9a91fb3251d8d7ff243b5d95a7a` and the reviewed PR79 fixes.
The [audit](https://audits.openzeppelin.com/risk-labs/uma-26-retainer-01-ooreporter-consolidation-and-signedproposer-batching)
resolved N-03/N-04; L-05 remains acknowledged under the trusted relayer model.
These checks establish deployment provenance, not a new integration audit.

## Initializer handoff

The compatible initializer in [MCP-OTB PR2540](https://github.com/UMAprotocol/mcp-otb/pull/2540)
assigns this custom whitelist and initializes each request through
AccessManager in one transaction. The existing initializer HSM is
`0x2964a637fEaeA99edf573087E8C3C0C1917D553C`; the permissions batch maps role 11 to the
ManagedOO whitelist selector and role 12 to OOReporter initialization.
The configured proposer API relayer is
`0xE6018D3913ff69ce30C467144442ba3E57cE3743`.

Before activation, verify that the Safe authorization of AccessManager in
OOReporter and the selector-role batch have executed, recheck the effective
implementation and pins, release the compatible initializer, and stop/drain
old direct initialization transactions before recording the inclusive
`HISTORICAL_DIRECT_MAX_BLOCK`. The deployment receipts here do not establish
that those separate governance or runtime steps have completed. This record
neither assigns the whitelist to existing requests nor activates the worker.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"chainId": 137,
"blockNumber": 95573288,
"blockHash": "0xfa7f5ccfc98241b34e95586909c3606e6a7473a1bf142f1938de59541598dd9c",
"signedProposerProxy": "0x632dA7EcAD445C090DaFe1B03c24c113bD0edD13",
"implementationSlot": "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc",
"implementation": "0x1307ce44a51af6d84ad2e346d7655f1b7d20d856",
"contracts": {
"access-manager": {
"address": "0xfa6f0ff6c719001cba691ff12ceaa9c49acdcb66",
"runtimeBytes": 8768,
"rawCompilerRuntimeMatches": true,
"immutableReferences": {},
"immutableValueRule": "UUPS __self must equal the implementation address; no arbitrary byte masking",
"exactRuntimeIncludingMetadataMatches": true,
"onchainKeccak256": "0x9bb503f05d0dc3393bdcf782e23b52c70019c828aed9f25a3329d92b3efd8428",
"reproducedKeccak256": "0x9bb503f05d0dc3393bdcf782e23b52c70019c828aed9f25a3329d92b3efd8428",
"compiler": {
"version": "0.8.30+commit.73712a01"
},
"compilerSettings": {
"remappings": [
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"@uma/contracts/=lib/protocol/packages/core/contracts/",
"ds-test/=lib/permit2/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"permit2/=lib/permit2/",
"protocol/=lib/protocol/",
"solmate/=lib/permit2/lib/solmate/"
],
"optimizer": {
"enabled": true,
"runs": 1
},
"metadata": {
"bytecodeHash": "ipfs"
},
"compilationTarget": {
"lib/openzeppelin-contracts/contracts/access/manager/AccessManager.sol": "AccessManager"
},
"evmVersion": "cancun",
"libraries": {},
"viaIR": true
}
},
"signed-proposer-implementation": {
"address": "0x1307ce44a51af6d84ad2e346d7655f1b7d20d856",
"runtimeBytes": 13795,
"rawCompilerRuntimeMatches": false,
"immutableReferences": {
"652": [
{
"start": 5009,
"length": 32
},
{
"start": 5174,
"length": 32
}
]
},
"immutableValueRule": "UUPS __self must equal the implementation address; no arbitrary byte masking",
"exactRuntimeIncludingMetadataMatches": true,
"onchainKeccak256": "0xbc198f557cff5fc69b0d8c3aee31d8cbd8d1c048275259fc291f9ae950453f10",
"reproducedKeccak256": "0xbc198f557cff5fc69b0d8c3aee31d8cbd8d1c048275259fc291f9ae950453f10",
"compiler": {
"version": "0.8.30+commit.73712a01"
},
"compilerSettings": {
"remappings": [
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"@uma/contracts/=lib/protocol/packages/core/contracts/",
"ds-test/=lib/permit2/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"permit2/=lib/permit2/",
"protocol/=lib/protocol/",
"solmate/=lib/permit2/lib/solmate/"
],
"optimizer": {
"enabled": true,
"runs": 1
},
"metadata": {
"bytecodeHash": "ipfs"
},
"compilationTarget": {
"src/optimistic-oracle-v2/implementation/SignedProposer.sol": "SignedProposer"
},
"evmVersion": "prague",
"libraries": {},
"viaIR": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
{
"chainId": 137,
"whitelist": "0x0044C7b41206A4EB4183C1b37D6Ba65261173c42",
"verifiedAtBlock": 95573288,
"verifiedBlockHash": "0xfa7f5ccfc98241b34e95586909c3606e6a7473a1bf142f1938de59541598dd9c",
"owner": "0x632dA7EcAD445C090DaFe1B03c24c113bD0edD13",
"members": [
"0x632dA7EcAD445C090DaFe1B03c24c113bD0edD13"
],
"enabled": true,
"runtimeKeccak256": "0x086f94e78f61895eb3b08f67be1b92989ff5b7e233abdaca63e7217ce2f2a7e7",
"runtimeMatchesPinnedBuild": true,
"source": {
"repository": "UMAprotocol/managed-oracle",
"revision": "886c23b88e7210dc3eac16f03a900ac36811862d",
"contract": "src/common/implementation/AddressWhitelist.sol:AddressWhitelist",
"constructorArguments": [],
"openzeppelinRevision": "c64a1edb67b6e3f4a15cca8909c9482ad33a02b0",
"protocolRevision": "6a23be19d8a0dbee4475db9ff52ce4d9572212b5",
"forgeStdRevision": "77041d2ce690e692d6e03cc812b57d1ddaa4d505"
},
"compiler": {
"version": "0.8.30+commit.73712a01",
"optimizer": true,
"optimizerRuns": 1,
"viaIR": true,
"evmVersion": "prague"
},
"transactions": [
{
"hash": "0x7b8b4a1c5f5ff149cf84af9d1323892ff82d9d5202a67eee862a1b3cc13870b4",
"nonce": 14944,
"blockNumber": 95570673,
"blockHash": "0x60327a314a9b3def8232b7b837eb354b70667df16da9820fffa4f3f4f9b83908",
"from": "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"to": null,
"value": "0",
"status": 1,
"contractAddress": "0x0044c7b41206a4eb4183c1b37d6ba65261173c42",
"input": null,
"logs": [
{
"address": "0x0044c7b41206a4eb4183c1b37d6ba65261173c42",
"blockHash": "0x60327a314a9b3def8232b7b837eb354b70667df16da9820fffa4f3f4f9b83908",
"blockNumber": "0x5b24af1",
"blockTimestamp": "0x6ad0af97",
"data": "0x",
"logIndex": "0x363",
"removed": false,
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d"
],
"transactionHash": "0x7b8b4a1c5f5ff149cf84af9d1323892ff82d9d5202a67eee862a1b3cc13870b4",
"transactionIndex": "0x3d"
},
{
"address": "0x0000000000000000000000000000000000001010",
"blockHash": "0x60327a314a9b3def8232b7b837eb354b70667df16da9820fffa4f3f4f9b83908",
"blockNumber": "0x5b24af1",
"blockTimestamp": "0x6ad0af97",
"data": "0x0000000000000000000000000000000000000000000000000111095aefbf3000000000000000000000000000000000000000000000000002afb50772054b7f880000000000000000000000000000000000000000000713c9f3d75739f7bcab73000000000000000000000000000000000000000000000002aea3fe17158c4f880000000000000000000000000000000000000000000713c9f4e86094e77bdb73",
"logIndex": "0x364",
"removed": false,
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"0x0000000000000000000000007ee41d8a25641000661b1ef5e6ae8a00400466b0"
],
"transactionHash": "0x7b8b4a1c5f5ff149cf84af9d1323892ff82d9d5202a67eee862a1b3cc13870b4",
"transactionIndex": "0x3d"
}
]
},
{
"hash": "0x5658e6d4e666d14d6afe29e6e156a9ed4d6f1fc82e8af8760ae9d929d2fa302f",
"nonce": 14945,
"blockNumber": 95570755,
"blockHash": "0x21a67d643cbf9912274790cedf31df0cf2730211752b13eec8ce8946fcdece69",
"from": "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"to": "0x0044c7b41206a4eb4183c1b37d6ba65261173c42",
"value": "0",
"status": 1,
"contractAddress": null,
"input": "0xe43252d7000000000000000000000000632da7ecad445c090dafe1b03c24c113bd0edd13",
"logs": [
{
"address": "0x0044c7b41206a4eb4183c1b37d6ba65261173c42",
"blockHash": "0x21a67d643cbf9912274790cedf31df0cf2730211752b13eec8ce8946fcdece69",
"blockNumber": "0x5b24b43",
"blockTimestamp": "0x6ad0b012",
"data": "0x",
"logIndex": "0x28f",
"removed": false,
"topics": [
"0xa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab03",
"0x000000000000000000000000632da7ecad445c090dafe1b03c24c113bd0edd13"
],
"transactionHash": "0x5658e6d4e666d14d6afe29e6e156a9ed4d6f1fc82e8af8760ae9d929d2fa302f",
"transactionIndex": "0x36"
},
{
"address": "0x0000000000000000000000000000000000001010",
"blockHash": "0x21a67d643cbf9912274790cedf31df0cf2730211752b13eec8ce8946fcdece69",
"blockNumber": "0x5b24b43",
"blockTimestamp": "0x6ad0b012",
"data": "0x00000000000000000000000000000000000000000000000000359df31ebd4900000000000000000000000000000000000000000000000002ad2124541a5928980000000000000000000000000000000000000000000713e154d312c0da8defbf000000000000000000000000000000000000000000000002aceb8660fb9bdf980000000000000000000000000000000000000000000713e15508b0b3f94b38bf",
"logIndex": "0x290",
"removed": false,
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"0x0000000000000000000000007ee41d8a25641000661b1ef5e6ae8a00400466b0"
],
"transactionHash": "0x5658e6d4e666d14d6afe29e6e156a9ed4d6f1fc82e8af8760ae9d929d2fa302f",
"transactionIndex": "0x36"
}
]
},
{
"hash": "0x9ad99421fdcc1126ef7a2bf69f6d9a81199d4d5cb81f24167bc15e1e7bf7377d",
"nonce": 14946,
"blockNumber": 95570769,
"blockHash": "0x4262de5b19e81f6b88795df6ef5e6b935d9cfd3edf8ef61dd322f88c0e313dde",
"from": "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"to": "0x0044c7b41206a4eb4183c1b37d6ba65261173c42",
"value": "0",
"status": 1,
"contractAddress": null,
"input": "0xf2fde38b000000000000000000000000632da7ecad445c090dafe1b03c24c113bd0edd13",
"logs": [
{
"address": "0x0044c7b41206a4eb4183c1b37d6ba65261173c42",
"blockHash": "0x4262de5b19e81f6b88795df6ef5e6b935d9cfd3edf8ef61dd322f88c0e313dde",
"blockNumber": "0x5b24b51",
"blockTimestamp": "0x6ad0b027",
"data": "0x",
"logIndex": "0x431",
"removed": false,
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"0x000000000000000000000000632da7ecad445c090dafe1b03c24c113bd0edd13"
],
"transactionHash": "0x9ad99421fdcc1126ef7a2bf69f6d9a81199d4d5cb81f24167bc15e1e7bf7377d",
"transactionIndex": "0x4a"
},
{
"address": "0x0000000000000000000000000000000000001010",
"blockHash": "0x4262de5b19e81f6b88795df6ef5e6b935d9cfd3edf8ef61dd322f88c0e313dde",
"blockNumber": "0x5b24b51",
"blockTimestamp": "0x6ad0b027",
"data": "0x00000000000000000000000000000000000000000000000000112aff1ae01000000000000000000000000000000000000000000000000002ac8d1f5db71ac6d00000000000000000000000000000000000000000000713e59b7356f2c00a4075000000000000000000000000000000000000000000000002ac7bf45e9c3ab6d00000000000000000000000000000000000000000000713e59b8481f1daea5075",
"logIndex": "0x432",
"removed": false,
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d",
"0x0000000000000000000000007ee41d8a25641000661b1ef5e6ae8a00400466b0"
],
"transactionHash": "0x9ad99421fdcc1126ef7a2bf69f6d9a81199d4d5cb81f24167bc15e1e7bf7377d",
"transactionIndex": "0x4a"
}
]
}
],
"compilerSettings": {
"remappings": [
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"@uma/contracts/=lib/protocol/packages/core/contracts/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
"permit2/=lib/permit2/",
"protocol/=lib/protocol/"
],
"optimizer": {
"enabled": true,
"runs": 1
},
"metadata": {
"bytecodeHash": "ipfs"
},
"compilationTarget": {
"src/common/implementation/AddressWhitelist.sol": "AddressWhitelist"
},
"evmVersion": "prague",
"libraries": {},
"viaIR": true
}
}
Loading
Loading