File tree Expand file tree Collapse file tree 4 files changed +30
-18
lines changed
Expand file tree Collapse file tree 4 files changed +30
-18
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,9 @@ gnosis = "${GNOSIS_RPC_URL}"
149149hyper = " ${HYPER_RPC_URL}"
150150linea = " ${LINEA_RPC_URL}"
151151mainnet = " ${ETHEREUM_RPC_URL}"
152+ monad = " ${MONAD_RPC_URL}"
152153optimism = " ${OPTIMISM_RPC_URL}"
154+ plume = " ${PLUME_RPC_URL}"
153155polygon = " ${POLYGON_RPC_URL}"
154156sonic = " ${SONIC_RPC_URL}"
155157zksync = " ${ZKSYNC_RPC_URL}"
@@ -163,7 +165,9 @@ bsc = { key = "${BSC_BLOCKSCAN_KEY}" }
163165gnosis = { key = " ${GNOSIS_BLOCKSCAN_KEY}" }
164166linea = { key = " ${LINEA_BLOCKSCAN_KEY}" }
165167mainnet = { key = " ${ETHEREUM_BLOCKSCAN_KEY}" }
168+ monad = { key = " ${MONAD_BLOCKSCAN_KEY}" }
166169optimism = { key = " ${OPTIMISM_BLOCKSCAN_KEY}" }
170+ plume = { key = " ${PLUME_BLOCKSCAN_KEY}" }
167171polygon = { key = " ${POLYGON_BLOCKSCAN_KEY}" }
168172sonic = { key = " ${SONIC_BLOCKSCAN_KEY}" }
169173zksync = { key = " ${ZKSYNC_BLOCKSCAN_KEY}" }
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: UNLICENSED
2+ pragma solidity ^ 0.8.28 ;
3+
4+ import { OrderlyOneHelpers } from "../src/helpers/OrderlyOneHelpers.sol " ;
5+ import "forge-std/Script.sol " ;
6+
7+ contract OrderlyOneHelpersDeployer is Script {
8+ function run () public returns (OrderlyOneHelpers orderlyOneHelpers ) {
9+ uint256 deployerPrivateKey = vm.envUint ("PRIVATE_KEY " );
10+
11+ vm.startBroadcast (deployerPrivateKey);
12+ orderlyOneHelpers = new OrderlyOneHelpers { salt: "OrderlyOneHelpers " }();
13+ vm.stopBroadcast ();
14+ }
15+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT
2+ pragma solidity ^ 0.8.28 ;
3+
4+ /**
5+ * @notice Helper contract to encode Orderly One deposit params
6+ */
7+ contract OrderlyOneHelpers {
8+ function getOrderlyOneAccountId (bytes32 brokerHash , address receiver ) external pure returns (bytes32 accountId ) {
9+ return keccak256 (abi.encode (receiver, brokerHash));
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments