Skip to content

Commit

Permalink
refactor: remove readline, add system contract import (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Sep 1, 2023
1 parent 0262960 commit 1a19994
Show file tree
Hide file tree
Showing 15 changed files with 1,349 additions and 20 deletions.
8 changes: 2 additions & 6 deletions contracts/TestSystemContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ pragma solidity 0.8.7;

import "@zetachain/protocol-contracts/contracts/zevm/interfaces/zContract.sol";
import "@zetachain/protocol-contracts/contracts/zevm/interfaces/IZRC20.sol";
import "@zetachain/protocol-contracts/contracts/zevm/SystemContract.sol";

interface SystemContractErrors {
contract TestSystemContract {
error CallerIsNotFungibleModule();

error InvalidTarget();

error CantBeIdenticalAddresses();

error CantBeZeroAddress();
}

contract TestSystemContract is SystemContractErrors {
mapping(uint256 => uint256) public gasPriceByChainId;
mapping(uint256 => address) public gasCoinZRC20ByChainId;
mapping(uint256 => address) public gasZetaPoolByChainId;
Expand Down
5 changes: 0 additions & 5 deletions index.ts

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
"moment": "^2.29.4",
"ora": "5.4.1",
"spinnies": "^0.5.1",
"readline": "^1.3.0",
"tiny-secp256k1": "^2.2.3",
"ws": "^8.13.0"
}
Expand Down
Loading

0 comments on commit 1a19994

Please sign in to comment.