Skip to content

Commit

Permalink
Add missing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed Apr 3, 2024
1 parent 3fb731d commit b9242ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions python/src/skale_contracts/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ def abi(self) -> SkaleAbi:
def get_contract_address(
self,
name: str,
*args: str|Address|ChecksumAddress
*args: str | Address | ChecksumAddress
) -> Address:
"""Get address of the contract by it's name"""

def get_contract(
self,
name: str,
*args: str|Address|ChecksumAddress
*args: str | Address | ChecksumAddress
) -> Contract:
"""Get Contract object of the contract by it's name"""
address = self.get_contract_address(name, *args)
Expand Down
4 changes: 2 additions & 2 deletions python/src/skale_contracts/projects/ima.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, project: Project, address: Address) -> None:

def get_contract_address(
self,
name: str, *args: str|Address|ChecksumAddress
name: str, *args: str | Address | ChecksumAddress
) -> Address:
if name == 'MessageProxyForMainnet':
return self.address
Expand Down Expand Up @@ -122,7 +122,7 @@ class SchainImaInstance(ImaInstance):
def get_contract_address(
self,
name: str,
*args: str|Address|ChecksumAddress
*args: str | Address | ChecksumAddress
) -> Address:
if name in self.PREDEPLOYED:
return self.PREDEPLOYED[name]
Expand Down
2 changes: 1 addition & 1 deletion python/src/skale_contracts/projects/skale_allocator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, project: Project, address: Address) -> None:
def get_contract_address(
self,
name: str,
*args: str|Address|ChecksumAddress
*args: str | Address | ChecksumAddress
) -> Address:
if name == 'Allocator':
return self.address
Expand Down
2 changes: 1 addition & 1 deletion python/src/skale_contracts/projects/skale_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, project: Project, address: Address) -> None:
def get_contract_address(
self,
name: str,
*args: str|Address|ChecksumAddress
*args: str | Address | ChecksumAddress
) -> Address:
return to_canonical_address(
self.contract_manager.functions.getContract(
Expand Down

0 comments on commit b9242ea

Please sign in to comment.