Skip to content

Commit

Permalink
Merge pull request #601 from tokencard/remove_some_ens
Browse files Browse the repository at this point in the history
  • Loading branch information
mischat committed Jul 16, 2020
2 parents 6dc76df + 81531ad commit c1e8aa6
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 41 deletions.
2 changes: 1 addition & 1 deletion contracts/internals/ensResolvable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contract ENSResolvable is Initializable {
}

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

Expand Down
4 changes: 1 addition & 3 deletions contracts/walletCache.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ contract WalletCache is ENSResolvable, Controllable {
bytes32 public walletDeployerNode = _DEFAULT_WALLET_DEPLOYER_NODE;

address public walletImplementation;
address public ens;
uint256 public defaultSpendLimit;

address payable[] public cachedWallets;
Expand All @@ -67,7 +66,6 @@ contract WalletCache is ENSResolvable, Controllable {
_initializeENSResolvable(_ens_);
_initializeControllable(_controllerNode_);
walletImplementation = _walletImplementation_;
ens = _ens_;
defaultSpendLimit = _defaultSpendLimit_;

// Set licenceNode or use default
Expand Down Expand Up @@ -113,7 +111,7 @@ contract WalletCache is ENSResolvable, Controllable {
Wallet(wallet).initializeWallet(
address(uint160(walletDeployerAddress)), // the address(uint160()) cast is done as the Wallet owner (1st argument) needs to be payable
true,
ens,
ensRegistry(),
tokenWhitelistNode,
controllerNode(),
licenceNode,
Expand Down
2 changes: 1 addition & 1 deletion pkg/bindings/holder.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/bindings/licence.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/bindings/mocks/isValidSignatureExporter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/bindings/mocks/tokenWhitelistableExporter.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/bindings/oracle.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/bindings/tokenWhitelist.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/bindings/wallet.go

Large diffs are not rendered by default.

30 changes: 2 additions & 28 deletions pkg/bindings/walletCache.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/bindings/walletDeployer.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/slither/slither.db.json

Large diffs are not rendered by default.

0 comments on commit c1e8aa6

Please sign in to comment.