Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
docs: update buy crypto documentation
Browse files Browse the repository at this point in the history
It's now clear that it returns a Moonpay url
  • Loading branch information
CassiusPacheco committed Aug 4, 2022
1 parent 7d8144b commit 2b82cac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/ImmutableXCore/ImmutableXCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public struct ImmutableXCore {
}
}

/// This is a utility function that will chain the necessary calls to return a website URL to buy crypto.
/// Gets a URL to MoonPay that provides a service for buying crypto directly on Immutable in exchange for fiat.
///
/// - Parameters:
/// - colorCodeHex: the color code in hex (e.g. #00818e) for the Moon pay widget main color.
Expand All @@ -240,7 +240,7 @@ public struct ImmutableXCore {
try await buyCryptoWorkflow.buyCryptoURL(colorCodeHex: colorCodeHex, signer: signer)
}

/// This is a utility function that will chain the necessary calls to return a website URL to buy crypto.
/// Gets a URL to MoonPay that provides a service for buying crypto directly on Immutable in exchange for fiat.
///
/// - Parameters:
/// - colorCodeHex: the color code in hex (e.g. #00818e) for the Moon pay widget main color.
Expand Down
2 changes: 1 addition & 1 deletion Sources/ImmutableXCore/Workflows/BuyCryptoWorkflow.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

class BuyCryptoWorkflow {
/// This is a utility function that will chain the necessary calls to return a website URL to buy crypto.
/// Gets a URL to MoonPay that provides a service for buying crypto directly on Immutable in exchange for fiat.
///
/// - Parameters:
/// - colorCodeHex: the color code in hex (e.g. #00818e) for the Moon pay widget main color.
Expand Down

0 comments on commit 2b82cac

Please sign in to comment.