Skip to content

Commit c3c581e

Browse files
committed
chore: address PR feedback
Signed-off-by: dosi <dosi.kolev@limechain.tech>
1 parent 010308c commit c3c581e

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

src/hiero_sdk_python/contract/contract_create_transaction.py

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,25 @@ class ContractCreateParams:
3030
Represents contract creation parameters.
3131
3232
Attributes:
33-
bytecode_file_id (optional): The FileID of the file containing the
34-
contract bytecode.
35-
proxy_account_id (optional): The AccountID of the proxy account.
36-
admin_key (optional): The admin key for the contract.
37-
gas (optional): The gas limit for contract creation.
38-
initial_balance (optional): The initial balance for the contract
33+
bytecode_file_id (Optional[FileId]): The FileId of the file containing
34+
the contract bytecode.
35+
proxy_account_id (Optional[AccountId]): The AccountId of the proxy account.
36+
admin_key (Optional[PublicKey]): The admin key for the contract.
37+
gas (Optional[int]): The gas limit for contract creation.
38+
initial_balance (Optional[int]): The initial balance for the contract
3939
in tinybars.
40-
auto_renew_period: The auto-renewal period for the contract.
41-
parameters (optional): The constructor parameters for the contract.
42-
contract_memo (optional): The memo for the contract.
43-
bytecode (optional): The bytecode for the contract.
44-
auto_renew_account_id (optional): The AccountID that will pay for
45-
auto-renewal.
46-
max_automatic_token_associations (optional): Maximum number of
40+
auto_renew_period (Duration): The auto-renewal period for the contract.
41+
parameters (Optional[bytes]): ABI-encoded constructor parameters to be
42+
passed to the smart contract upon creation.
43+
contract_memo (Optional[str]): The memo for the contract.
44+
bytecode (Optional[bytes]): The bytecode for the contract.
45+
auto_renew_account_id (Optional[AccountId]): The AccountId that will pay
46+
for auto-renewal.
47+
max_automatic_token_associations (Optional[int]): Maximum number of
4748
automatic token associations.
48-
staked_account_id (optional): The AccountID to stake to.
49-
staked_node_id (optional): The node ID to stake to.
50-
decline_reward (optional): Whether to decline staking rewards.
49+
staked_account_id (Optional[AccountId]): The AccountId to stake to.
50+
staked_node_id (Optional[int]): The node ID to stake to.
51+
decline_reward (Optional[bool]): Whether to decline staking rewards.
5152
"""
5253

5354
bytecode_file_id: Optional[FileId] = None

0 commit comments

Comments
 (0)