-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add paymentTokenTypes to DropDetails struct
- Loading branch information
1 parent
32eafee
commit 4efcd8e
Showing
6 changed files
with
71 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import "DropTypes" | ||
|
||
access(all) fun main(nftTypeIdentifier: String, minter: Address?, quantity: Int?, paymentIdentifier: String?): [DropTypes.DropSummary] { | ||
return DropTypes.getAllDropSummaries(nftTypeIdentifier: nftTypeIdentifier, minter: minter, quantity: quantity, paymentIdentifier: paymentIdentifier) | ||
return DropTypes.getAllDropSummaries( | ||
nftTypeIdentifier: nftTypeIdentifier, | ||
minter: minter, | ||
quantity: quantity, | ||
paymentIdentifiers: paymentIdentifier != nil ? [paymentIdentifier!] : [] | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
import "DropTypes" | ||
|
||
access(all) fun main(nftTypeIdentifier: String, dropID: UInt64, minter: Address?, quantity: Int?, paymentIdentifier: String?): DropTypes.DropSummary? { | ||
return DropTypes.getDropSummary(nftTypeIdentifier: nftTypeIdentifier, dropID: dropID, minter: minter, quantity: quantity, paymentIdentifier: paymentIdentifier) | ||
return DropTypes.getDropSummary( | ||
nftTypeIdentifier: nftTypeIdentifier, | ||
dropID: dropID, | ||
minter: minter, | ||
quantity: quantity, | ||
paymentIdentifiers: paymentIdentifier != nil ? [paymentIdentifier!]: [] | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters