test-isol-01 0.0.24 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,9 +11,15 @@ import "@openzeppelin/contracts/access/Ownable.sol";
11
11
  /// @dev `receiveWithAuthorize` restricts the caller to the `to` address (recipient submits the proof). `transferWithAuthorize` is open to relayers.
12
12
  abstract contract ERC20xTransferWithAuthorize is ERC20, TransferAuthorize, ReentrancyGuard, Ownable {
13
13
 
14
- constructor(string memory name, string memory symbol, uint256 initialSupply)
14
+ constructor(
15
+ string memory name,
16
+ string memory symbol,
17
+ uint256 initialSupply,
18
+ string memory domainName,
19
+ string memory domainVersion
20
+ )
15
21
  ERC20(name, symbol)
16
- TransferAuthorize("ERC20xTransferWithAuthorize", "ERC20xTransferWithAuthorize")
22
+ TransferAuthorize(domainName, domainVersion)
17
23
  Ownable(msg.sender)
18
24
  {
19
25
  _mint(msg.sender, initialSupply * 10 ** decimals());
@@ -19,10 +19,12 @@ abstract contract WrapERC20xWithAuthorize is ERC20Wrapper, ERC20TransferWithAuth
19
19
  constructor(
20
20
  address _underlyingToken,
21
21
  string memory _name,
22
- string memory _symbol
22
+ string memory _symbol,
23
+ string memory _domainName,
24
+ string memory _domainVersion
23
25
  )
24
26
  ERC20Wrapper(IERC20(_underlyingToken))
25
- ERC20TransferWithAuthorize(_name, _symbol, "WrapERC20xWithAuthorize", "WrapERC20xWithAuthorize")
27
+ ERC20TransferWithAuthorize(_name, _symbol, _domainName, _domainVersion)
26
28
  {}
27
29
 
28
30
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-isol-01",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {