Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit c1e8aa6

Browse files
authored
Merge pull request #601 from tokencard/remove_some_ens
2 parents 6dc76df + 81531ad commit c1e8aa6

File tree

12 files changed

+13
-41
lines changed

12 files changed

+13
-41
lines changed

contracts/internals/ensResolvable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ contract ENSResolvable is Initializable {
3636
}
3737

3838
/// @notice this is used to that one can observe which ENS registry is being used
39-
function ensRegistry() external view returns (address) {
39+
function ensRegistry() public view returns (address) {
4040
return _ensRegistry;
4141
}
4242

contracts/walletCache.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ contract WalletCache is ENSResolvable, Controllable {
4848
bytes32 public walletDeployerNode = _DEFAULT_WALLET_DEPLOYER_NODE;
4949

5050
address public walletImplementation;
51-
address public ens;
5251
uint256 public defaultSpendLimit;
5352

5453
address payable[] public cachedWallets;
@@ -67,7 +66,6 @@ contract WalletCache is ENSResolvable, Controllable {
6766
_initializeENSResolvable(_ens_);
6867
_initializeControllable(_controllerNode_);
6968
walletImplementation = _walletImplementation_;
70-
ens = _ens_;
7169
defaultSpendLimit = _defaultSpendLimit_;
7270

7371
// Set licenceNode or use default
@@ -113,7 +111,7 @@ contract WalletCache is ENSResolvable, Controllable {
113111
Wallet(wallet).initializeWallet(
114112
address(uint160(walletDeployerAddress)), // the address(uint160()) cast is done as the Wallet owner (1st argument) needs to be payable
115113
true,
116-
ens,
114+
ensRegistry(),
117115
tokenWhitelistNode,
118116
controllerNode(),
119117
licenceNode,

pkg/bindings/holder.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/licence.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/mocks/isValidSignatureExporter.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/mocks/tokenWhitelistableExporter.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/oracle.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/tokenWhitelist.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/wallet.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/walletCache.go

Lines changed: 2 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)