added the USD voucher to the TokenHoldings
This commit is contained in:
parent
75a7ec6b32
commit
af76541c86
@ -34,12 +34,18 @@ func (tas *TestAccountService) TrackAccountStatus(ctx context.Context, publicKey
|
||||
|
||||
func (tas *TestAccountService) FetchVouchers(ctx context.Context, publicKey string) ([]dataserviceapi.TokenHoldings, error) {
|
||||
return []dataserviceapi.TokenHoldings{
|
||||
dataserviceapi.TokenHoldings{
|
||||
{
|
||||
TokenAddress: "0x6CC75A06ac72eB4Db2eE22F781F5D100d8ec03ee",
|
||||
TokenSymbol: "SRF",
|
||||
TokenDecimals: "6",
|
||||
Balance: "2745987",
|
||||
},
|
||||
{
|
||||
TokenAddress: "0x3f195a3F68BF4c6D49748eFa033a00C6634fF311",
|
||||
TokenSymbol: "USD",
|
||||
TokenDecimals: "6",
|
||||
Balance: "4269100",
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
@ -120,4 +126,3 @@ func (m TestAccountService) CheckTokenInPool(ctx context.Context, poolAddress, t
|
||||
func (m TestAccountService) GetCreditSendMaxLimit(ctx context.Context, poolAddress, fromTokenAddress, toTokenAddress, publicKey string) (*models.CreditSendLimitsResult, error) {
|
||||
return &models.CreditSendLimitsResult{}, nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user