-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Refactor assets to simplify Wallet Setup (#108)
- Loading branch information
1 parent
f039bbc
commit f53b45a
Showing
7 changed files
with
78 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package assets | ||
|
||
import "github.com/stellar/stellar-disbursement-platform-backend/internal/data" | ||
|
||
// USDCAssetCode is the code for the USDC asset for pubnet and testnet | ||
const USDCAssetCode = "USDC" | ||
|
||
// XLMAssetCode is the code for the XLM asset for pubnet and testnet | ||
const XLMAssetCode = "XLM" | ||
|
||
// USDCAssetIssuerPubnet is the issuer for the USDC asset for pubnet | ||
const USDCAssetIssuerPubnet = "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN" | ||
|
||
// USDCAssetPubnet is the USDC asset for pubnet | ||
var USDCAssetPubnet = data.Asset{ | ||
Code: USDCAssetCode, | ||
Issuer: USDCAssetIssuerPubnet, | ||
} | ||
|
||
// XLMAsset is the XLM asset for pubnet | ||
var XLMAsset = data.Asset{ | ||
Code: XLMAssetCode, | ||
Issuer: "", | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package assets | ||
|
||
import "github.com/stellar/stellar-disbursement-platform-backend/internal/data" | ||
|
||
// USDCAssetIssuerTestnet is the issuer for the USDC asset for testnet | ||
const USDCAssetIssuerTestnet = "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5" | ||
|
||
// USDCAssetTestnet is the USDC asset for testnet | ||
var USDCAssetTestnet = data.Asset{ | ||
Code: USDCAssetCode, | ||
Issuer: USDCAssetIssuerTestnet, | ||
} |
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