Skip to content

Commit 9ca68bb

Browse files
committed
contract question update
1 parent adf6703 commit 9ca68bb

File tree

1 file changed

+1
-1
lines changed
  • projects/orakle-nft-marketplace-app-contracts/smart_contracts/nft_marketplace

1 file changed

+1
-1
lines changed

projects/orakle-nft-marketplace-app-contracts/smart_contracts/nft_marketplace/contract.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def buy(
153153
- 메서드 호출자(Txn.sender)가 앱의 생성자(Global.creator_address)인지 체크해야합니다.
154154
155155
# 2단계: withdraw_and_delete 메서드는 아래 기능들을 수행합니다.
156-
1. 앱 계정에 있는 에셋(ASA)을 앱 계정으로 전송합니다. (AssetTransfer Transaction)
156+
1. 앱 계정에 있는 에셋(ASA)을 앱 호출자 계정으로 전송합니다. (AssetTransfer Transaction)
157157
이때 asset_close_to 패러미터를 앱 생성자(판매자)로 설정하여
158158
앱 계정에 남아있는 에섯 전부를 앱 생성자(판매자)에게 보냅니다.
159159
에셋의 수량과 무관하게 전 수량 송금되기 때문에 에셋 수량(asset_amount)은 설정하지 않으셔도 됩니다.

0 commit comments

Comments
 (0)