From bfc7f8d5ce891f676044533851956243e753f82a Mon Sep 17 00:00:00 2001 From: xiaoxianBoy Date: Sat, 18 May 2024 10:14:18 +0800 Subject: [PATCH] chore: fix typos Signed-off-by: xiaoxianBoy --- examples/signature/dutch_auction.py | 2 +- pyteal/ast/acct.py | 2 +- pyteal/ast/txn.py | 2 +- pyteal/ir/tealblock.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/signature/dutch_auction.py b/examples/signature/dutch_auction.py index be2adbb61..a8048cd26 100644 --- a/examples/signature/dutch_auction.py +++ b/examples/signature/dutch_auction.py @@ -50,7 +50,7 @@ def dutch_auction( redeem_round=tmpl_redeem_round, wrapup_time=tmpl_wrapup_time, ): - # the definition of i simplifies the original desgin by only constraining last_valid here + # the definition of i simplifies the original design by only constraining last_valid here i_upper = (Gtxn[0].last_valid() - start_round) / period bid = And( diff --git a/pyteal/ast/acct.py b/pyteal/ast/acct.py index 7bc19ec78..8ba925f41 100644 --- a/pyteal/ast/acct.py +++ b/pyteal/ast/acct.py @@ -84,7 +84,7 @@ def minBalance(cls, acct: Expr) -> MaybeValue: @classmethod def authAddr(cls, acct: Expr) -> MaybeValue: - """Get the authorizing address for an account. If the account is not rekeyed, the empty addresss is returned. + """Get the authorizing address for an account. If the account is not rekeyed, the empty address is returned. Args: acct: An index into Txn.accounts that corresponds to the application to check or an address available at runtime. diff --git a/pyteal/ast/txn.py b/pyteal/ast/txn.py index 81824a2e0..ac44cca9a 100644 --- a/pyteal/ast/txn.py +++ b/pyteal/ast/txn.py @@ -494,7 +494,7 @@ def asset_close_to(self) -> TxnExpr: def group_index(self) -> TxnExpr: """Get the position of the transaction within the atomic transaction group. - A stand-alone transaction is implictly element 0 in a group of 1. + A stand-alone transaction is implicitly element 0 in a group of 1. For more information, see https://developer.algorand.org/docs/reference/transactions/#group """ diff --git a/pyteal/ir/tealblock.py b/pyteal/ir/tealblock.py index 55f3c0a5c..cbfb760eb 100644 --- a/pyteal/ir/tealblock.py +++ b/pyteal/ir/tealblock.py @@ -195,7 +195,7 @@ def NormalizeBlocks(cls, start: "TealBlock") -> "TealBlock": functionality of its underlying program, however it does mutate the input graph. Returns: - The new starting point of the altered graph. May be the same or differant than start. + The new starting point of the altered graph. May be the same or different than start. """ for block in TealBlock.Iterate(start): if len(block.incoming) == 1: