mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
14 lines
372 B
Solidity
14 lines
372 B
Solidity
// SPDX-License-Identifier: AGPL-3.0-only
|
|
pragma solidity ^0.8.26;
|
|
|
|
import "Router.sol";
|
|
|
|
// Wrap the Router with a contract which exposes the createAddress function
|
|
contract CreateAddress is Router {
|
|
constructor() Router(bytes32(uint256(1))) { }
|
|
|
|
function createAddressForSelf(uint256 nonce) external returns (address) {
|
|
return Router.createAddress(nonce);
|
|
}
|
|
}
|