Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/python: unlock slotindex #1393

Merged
merged 14 commits into from
Oct 10, 2023
6 changes: 3 additions & 3 deletions bindings/python/iota_sdk/types/unlock_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ class StorageDepositReturnUnlockCondition:
@json
@dataclass
class TimelockUnlockCondition:
"""A timelock unlock condition.
"""Defines a slot index until which the output can not be unlocked.
Args:
slot_index: The slot index that determines when the associated output expires.
slot_index: Slot index starting from which the output can be consumed.
kwek20 marked this conversation as resolved.
Show resolved Hide resolved
"""
slot_index: SlotIndex
type: int = field(
Expand All @@ -83,7 +83,7 @@ class TimelockUnlockCondition:
@json
@dataclass
class ExpirationUnlockCondition:
"""An expiration unlock condition.
"""Defines a slot index until which only Address, defined in Address Unlock Condition, is allowed to unlock the output. After the slot index is reached/passed, only Return Address can unlock it.
kwek20 marked this conversation as resolved.
Show resolved Hide resolved
Args:
slot_index: Before this slot index, Address Unlock Condition is allowed to unlock the output,
after that only the address defined in Return Address.
Expand Down
Loading