Skip to content

Commit

Permalink
change eth bytes representation
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Jul 26, 2024
1 parent 5af17b2 commit 09045c9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions interfaces/StateMachine.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,51 +19,51 @@ library StateMachine {

// @notice Address the ethereum "execution layer"
function ethereum() internal pure returns (bytes memory) {
return bytes("ETHE");
return bytes("ETH-EXEC");
}

// @notice Address the Polygon POS state machine
function polygon() internal pure returns (bytes memory) {
return bytes("POLY");
}

// @notice Address the Binance smart chain state machine
function bsc() internal pure returns (bytes memory) {
return bytes("BSC");
}

// @notice Address the Arbitrum state machine
function arbitrum() internal pure returns (bytes memory) {
return bytes("ARBI");
return bytes("ETH-ARBI");
}

// @notice Address the Optimism state machine
function optimism() internal pure returns (bytes memory) {
return bytes("OPTI");
return bytes("ETH-OPTI");
}

// @notice Address the Base state machine
function base() internal pure returns (bytes memory) {
return bytes("BASE");
}

// @notice Address the Polygon POS state machine
function polygon() internal pure returns (bytes memory) {
return bytes("POLY");
}

// @notice Address the Binance smart chain state machine
function bsc() internal pure returns (bytes memory) {
return bytes("BSC");
return bytes("ETH-BASE");
}

// @notice Address the Blast state machine
function blast() internal pure returns (bytes memory) {
return bytes("BLST");
return bytes("ETH-BLST");
}

// @notice Address the Mantle machine
function mantle() internal pure returns (bytes memory) {
return bytes("MNTL");
return bytes("ETH-MNTL");
}

// @notice Address the Manta machine
function manta() internal pure returns (bytes memory) {
return bytes("MNTA");
return bytes("ETH-MNTA");
}

// @notice Address the Build on Bitcoin machine
function bob() internal pure returns (bytes memory) {
return bytes("BOB");
return bytes("ETH-BOB");
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polytope-labs/ismp-solidity",
"version": "0.3.0",
"version": "0.3.1",
"description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol",
"author": "Polytope Labs <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 09045c9

Please sign in to comment.