Skip to content

Commit

Permalink
Create SmartContractInterface.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 8, 2024
1 parent 297c924 commit b9d7d24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pi-nexus-smart-contracts/common/SmartContractInterface.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
interface SmartContractInterface {
function deployContract(bytes memory bytecode) external returns (address);
function executeContract(address contractAddress, bytes memory input) external returns (bytes memory);
function getContractBalance(address contractAddress) external view returns (uint256);
}

0 comments on commit b9d7d24

Please sign in to comment.