Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jianlunz-cb committed Dec 17, 2024
1 parent d48dad0 commit f6ed73f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdp/smart_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,10 @@ def read(
@classmethod
def update(
cls,
contract_name: str,
contract_address: str,
network_id: str,
abi: list[dict],
contract_name: str | None = None,
abi: list[dict] | None = None,
) -> "SmartContract":
"""Update an existing SmartContract.
Expand Down Expand Up @@ -439,10 +439,10 @@ def update(
@classmethod
def register(
cls,
contract_name: str,
contract_address: str,
network_id: str,
abi: list[dict],
contract_name: str | None = None,
) -> "SmartContract":
"""Register a new SmartContract.
Expand Down

0 comments on commit f6ed73f

Please sign in to comment.