You've already forked AstralRinth
forked from didirus/AstralRinth
Provide more specific payout method names on frontend (#4977)
* Provide more specific payout method names on frontend Been getting a lot of confused tickets recently of people withdrawing to PayPal but then not recognizing what "Tremendous" means. This should clarify things. * feat: improve icons + names for withdrawals * Update apps/frontend/src/components/ui/dashboard/RevenueTransaction.vue Co-authored-by: Emma Alexia <emma@modrinth.com> Signed-off-by: Calum H. <hendersoncal117@gmail.com> * fix: icons * fix: object cover * feat: icons for crypto + bank * fix: remove empty null * fix: qa --------- Signed-off-by: Calum H. <hendersoncal117@gmail.com> Co-authored-by: Calum H. <contact@cal.engineer>
This commit is contained in:
@@ -855,6 +855,7 @@ export const MURALPAY_RAILS: Record<string, RailConfig> = {
|
||||
currency: 'USDC',
|
||||
type: 'crypto',
|
||||
fee: '≈ 1%',
|
||||
railCode: 'blockchain-usdc-polygon',
|
||||
blockchain: 'POLYGON',
|
||||
warningMessage: defineMessage({
|
||||
id: 'muralpay.warning.wallet-address',
|
||||
@@ -888,6 +889,7 @@ export const MURALPAY_RAILS: Record<string, RailConfig> = {
|
||||
currency: 'USDC',
|
||||
type: 'crypto',
|
||||
fee: '≈ 1%',
|
||||
railCode: 'blockchain-usdc-base',
|
||||
blockchain: 'BASE',
|
||||
warningMessage: defineMessage({
|
||||
id: 'muralpay.warning.wallet-address',
|
||||
@@ -924,6 +926,7 @@ export const MURALPAY_RAILS: Record<string, RailConfig> = {
|
||||
currency: 'USDC',
|
||||
type: 'crypto',
|
||||
fee: '≈ 1%',
|
||||
railCode: 'blockchain-usdc-ethereum',
|
||||
blockchain: 'ETHEREUM',
|
||||
warningMessage: defineMessage({
|
||||
id: 'muralpay.warning.wallet-address',
|
||||
@@ -957,6 +960,7 @@ export const MURALPAY_RAILS: Record<string, RailConfig> = {
|
||||
currency: 'USDC',
|
||||
type: 'crypto',
|
||||
fee: '≈ 1%',
|
||||
railCode: 'blockchain-usdc-celo',
|
||||
blockchain: 'CELO',
|
||||
warningMessage: defineMessage({
|
||||
id: 'muralpay.warning.wallet-address',
|
||||
@@ -996,3 +1000,7 @@ export function getRailsByType(type: 'fiat' | 'crypto'): RailConfig[] {
|
||||
export function getRailConfig(railId: string): RailConfig | undefined {
|
||||
return MURALPAY_RAILS[railId]
|
||||
}
|
||||
|
||||
export function findRail(railCode: string): RailConfig | undefined {
|
||||
return Object.values(MURALPAY_RAILS).find((rail) => rail.railCode === railCode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user