diff --git a/stubs/algopy-stubs/_transaction.pyi b/stubs/algopy-stubs/_transaction.pyi index f5e3b01c81..e710f2b1dd 100644 --- a/stubs/algopy-stubs/_transaction.pyi +++ b/stubs/algopy-stubs/_transaction.pyi @@ -143,6 +143,10 @@ class _AssetConfigProtocol(typing.Protocol): def clawback(self) -> Account: """32 byte address""" + @property + def created_asset(self) -> Asset: + """Asset ID allocated by the creation of an ASA""" + class _AssetTransferProtocol(typing.Protocol): @property def xfer_asset(self) -> Asset: @@ -234,6 +238,17 @@ class _ApplicationProtocol(typing.Protocol): def last_log(self) -> Bytes: """The last message emitted. Empty bytes if none were emitted. Application mode only""" + def logs(self, index: UInt64 | int) -> Bytes: + """Log messages emitted by an application call""" + + @property + def num_logs(self) -> UInt64: + """Number of logs""" + + @property + def created_app(self) -> Application: + """ApplicationID allocated by the creation of an application""" + @property def num_approval_program_pages(self) -> UInt64: """Number of Approval Program pages""" diff --git a/stubs/algopy-stubs/itxn.pyi b/stubs/algopy-stubs/itxn.pyi index 82baa4185c..ea6581036d 100644 --- a/stubs/algopy-stubs/itxn.pyi +++ b/stubs/algopy-stubs/itxn.pyi @@ -31,9 +31,6 @@ class KeyRegistrationInnerTransaction( class AssetConfigInnerTransaction(_AssetConfigProtocol, _TransactionBaseProtocol, typing.Protocol): """Asset Config inner transaction""" - @property - def created_asset(self) -> Asset: ... - class AssetTransferInnerTransaction( _AssetTransferProtocol, _TransactionBaseProtocol, typing.Protocol ): @@ -47,17 +44,6 @@ class ApplicationCallInnerTransaction( ): """Application Call inner transaction""" - def logs(self, index: UInt64 | int) -> Bytes: - """Log messages emitted by an application call""" - - @property - def num_logs(self) -> UInt64: - """Number of logs""" - - @property - def created_app(self) -> Application: - """ApplicationID allocated by the creation of an application""" - class InnerTransactionResult( PaymentInnerTransaction, KeyRegistrationInnerTransaction,