Skip to content

Commit

Permalink
Update projects/python-contract-examples/smart_contracts/arc4_types/c…
Browse files Browse the repository at this point in the history
…ontract.py

Co-authored-by: Gabriel Kuettel <[email protected]>
  • Loading branch information
iskysun96 and gabrielkuettel authored Dec 6, 2024
1 parent 2671ac6 commit 9de2602
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def hello(self, name: arc4.String) -> String:
# example: ARC4_DYNAMIC_BYTES
@abimethod()
def arc4_dynamic_bytes(self) -> arc4.DynamicBytes:
"""arc4.DynamicBytes are essentially an arc4.DynamicArray[arc4.Bytes] and some convenience methods."""
"""arc4.DynamicBytes is essentially an arc4.DynamicArray[arc4.Byte] with additional convenience methods"""
dynamic_bytes = arc4.DynamicBytes(b"\xFF\xFF\xFF")

# arc4.DynamicBytes can return the native bytearray instead of accessing every single index of the array.
Expand Down

0 comments on commit 9de2602

Please sign in to comment.