Skip to content
Merged
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Master list of UniV3 forks:

### Breaking changes

* Deprecate MonadTestnet chain

### Non-breaking changes

## 2025-12-03
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,8 @@ your integration.

* `0x0000000000001fF3684f28c67538d4D072C22734` on chains supporting the Cancun
hardfork (Ethereum mainnet, Ethereum Sepolia testnet, Polygon, Base, Optimism,
Arbitrum, Blast, Bnb, Mode, World Chain, Gnosis, Fantom Sonic, Ink, Monad
testnet, Avalanche, Unichain, Berachain, Scroll, HyperEvm, Katana, Plasma,
Monad mainnet)
Arbitrum, Blast, Bnb, Mode, World Chain, Gnosis, Fantom Sonic, Ink, Avalanche,
Unichain, Berachain, Scroll, HyperEvm, Katana, Plasma, Monad mainnet)
* `0x0000000000005E88410CcDFaDe4a5EfaE4b49562` on chains supporting the Shanghai
hardfork (Mantle, Taiko)
* `0x000000000000175a8b9bC6d539B3708EEd92EA6c` on chains supporting the London
Expand Down
3 changes: 0 additions & 3 deletions api_secrets.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"ink": {
"rpcUrl": ""
},
"monad-testnet": {
"rpcUrl": ""
},
"unichain": {
"etherscanKey": "",
"rpcUrl": ""
Expand Down
33 changes: 0 additions & 33 deletions chain_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,39 +607,6 @@
},
"blockscoutApi": "https://explorer.inkonchain.com/api"
},
"monad-testnet": {
"chainId": 10143,
"displayName": "MonadTestnet",
"isShanghai": true,
"isCancun": true,
"isEraVm": false,
"extraFlags": "",
"extraScriptFlags": "--isolate",
"gasMultiplierPercent": 110,
"minGasPriceGwei": 50,
"wnative": "0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701",
"safe": {
"toehold": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
"singleton": "0x3E5c63644E683549055b9Be8653de26E0B4CD36E",
"factory": "0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2",
"fallback": "0xf48f2B2d2a534e402487b3ee7C18c33Aec0Fe5e4",
"multiCall": "0x40A2aCCbd92BCA938b02010E17A5b8929b49130D",
"apiUrl": "NOT SUPPORTED"
},
"governance": {
"upgradeSafe": "0xC6eE74143546ab222bFB6FDDB5726D0502B39184",
"deploymentSafe": "0x059bD6D6DDE3769A7467fE21cC5a2C4c30D3dbfb",
"pause": "0x1CeC01DC0fFEE5eB5aF47DbEc1809F2A7c601C30",
"daoSafe": null
},
"deployment": {
"deployer": "0x00000000000004533Fe15556B1E086BB1A72cEae",
"allowanceHolder": "0x0000000000001fF3684f28c67538d4D072C22734",
"forwardingMultiCall": "0x00000000000000CF9E3c5A26621af382fA17f24f",
"crossChainFactory": "0x00000000000000304861c3aDfb80dd5ebeC96325"
},
"sourcifyApi": "https://sourcify-api-monad.blockvision.org"
},
"unichain": {
"chainId": 130,
"displayName": "Unichain",
Expand Down
6 changes: 2 additions & 4 deletions script/SafeConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import {ItoA} from "src/utils/ItoA.sol";
library SafeConfig {
function _isTestnet() internal view returns (bool) {
if (
block.chainid == 10143 // monad testnet
|| block.chainid == 11124 // abstract sepolia
block.chainid == 11124 // abstract sepolia
|| block.chainid == 11155111 // sepolia
) {
return true;
Expand Down Expand Up @@ -59,7 +58,6 @@ library SafeConfig {
|| block.chainid == 5000 // mantle
|| block.chainid == 8453 // base
|| block.chainid == 9745 // plasma
|| block.chainid == 10143 // monad testnet
|| block.chainid == 11124 // abstract sepolia
|| block.chainid == 34443 // mode
|| block.chainid == 42161 // arbitrum
Expand Down Expand Up @@ -89,13 +87,13 @@ library SafeConfig {
|| block.chainid == 100 // gnosis
|| block.chainid == 130 // unichain
|| block.chainid == 137 // polygon
|| block.chainid == 143 // monad
|| block.chainid == 146 // sonic
|| block.chainid == 480 // worldchain
|| block.chainid == 999 // hyperevm
|| block.chainid == 5000 // mantle
|| block.chainid == 8453 // base
|| block.chainid == 9745 // plasma
|| block.chainid == 10143 // monad testnet
|| block.chainid == 34443 // mode
|| block.chainid == 42161 // arbitrum
|| block.chainid == 43114 // avalanche
Expand Down
2 changes: 2 additions & 0 deletions sh/abandon_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ cd "$project_root"
. "$project_root"/sh/common.sh
. "$project_root"/sh/common_secrets.sh

decrypt_secrets

# Determine which safe to abandon based on last argument
declare safe_address
declare initial_owner
Expand Down
10 changes: 7 additions & 3 deletions sh/common_secrets.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
declare secrets

if [[ ${DECRYPT_SECRETS-yes} = [Nn]o ]] ; then
# Read public values from secrets.json.template (no decryption needed)
if [ ! -f "$project_root"/secrets.json.template ] ; then
echo 'secrets.json.template is missing' >&2
exit 1
fi

function decrypt_secrets {
secrets="$(<"$project_root"/secrets.json.template)"
}

function get_secret {
declare _secret_value
_secret_value="$(jq -Mr ."$1"."$2" < "$project_root"/secrets.json.template)"
_secret_value="$(jq -Mr ."$1"."$2" <<<"$secrets")"
if [[ ${_secret_value:-unset} = 'unset' ]] || [[ $_secret_value = 'null' ]] ; then
echo 'Secret "'"$1"'.'"$2"'" requires decryption but DECRYPT_SECRETS=no' >&2
exit 1
Expand Down Expand Up @@ -45,8 +51,6 @@ else
exit 1
fi

declare secrets

function decrypt_secrets {
secrets="$(scrypt dec -f "$project_root"/secrets.json.scrypt)"

Expand Down
2 changes: 2 additions & 0 deletions sh/confirm_abandon_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ cd "$project_root"
. "$project_root"/sh/common.sh
. "$project_root"/sh/common_secrets.sh

decrypt_secrets

# Determine which safe to abandon based on last argument
declare safe_address
declare initial_owner
Expand Down
57 changes: 0 additions & 57 deletions src/chains/MonadTestnet/Common.sol

This file was deleted.

97 changes: 0 additions & 97 deletions src/chains/MonadTestnet/Intent.sol

This file was deleted.

48 changes: 0 additions & 48 deletions src/chains/MonadTestnet/MetaTxn.sol

This file was deleted.

Loading