Skip to content

Commit d54b0d2

Browse files
committed
deploy-config rm profit
1 parent b12c0d2 commit d54b0d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
> 🚧✋ 잠깐! 오늘 코딩 과제를 성공적으로 끝내기 위해 꼭!! 아래 설명을 차례대로 다 읽고 진행해주세요!!!
66
7-
카이스트 오라클 X 알고랜드 개발자 세션에 오신 여러분 반갑습니다~! test
7+
카이스트 오라클 X 알고랜드 개발자 세션에 오신 여러분 반갑습니다~!
88

99
이 코딩과제에서 여러분은 [알고랜드 파이썬](https://algorandfoundation.github.io/puya/index.html)으로 NFT 마켓플레이스 스마트 계약을 직접 구현하고 [AlgoKit Utils TypeScript](https://github.com/algorandfoundation/algokit-utils-ts)[Application Client](https://github.com/algorandfoundation/algokit-client-generator-ts/tree/main)를 사용해 스마트계약을 배포 및 호출하는 React 프론트앤드 연동을 구축해볼 것 입니다.
1010

projects/orakle-nft-marketplace-app-contracts/smart_contracts/nft_marketplace/deploy-config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ export async function deploy() {
153153
await buyAsset(buyerAppClient, 'buyer', buyer, assetId, 1, app.appAddress, unitaryPrice)
154154

155155
// 판매자가 NftMarketplaceClient 앱을 삭제하며 수익금과 잔여 NFT 에셋을 회수
156-
const returnVal = await appClient.delete.withdrawAndDelete(
156+
await appClient.delete.withdrawAndDelete(
157157
{},
158158
{ sendParams: { fee: algokit.transactionFees(3), populateAppCallResources: true } },
159159
)
160-
console.log('총 수익금: ', returnVal.return)
160+
161161
console.log('4. IU 티켓 판매 종료 및 수익금 회수 완료!')
162162
}

0 commit comments

Comments
 (0)