Versions in this module Expand all Collapse all v0 v0.1.2 Aug 6, 2021 v0.1.1 Jul 8, 2021 Changes in this version + var LOGGER = logging.MustGetLogger("asset") + func ChangeTrust(gClient gasservice.GasServiceClient, ...) (string, error) + func CreateNativePayment(gClient gasservice.GasServiceClient, sourceAccount nc.Account, ...) (string, error) + func DecodeStellarError(err error) error + func DecodeStellarPaymentError(err error) error + func DoAllowTrust(gClient gasservice.GasServiceClient, trustorAccountAddress string, ...) (error, string) + func DoChangeTrust(gClient gasservice.GasServiceClient, trustorAccount model.Account, ...) (error, string) + func GetAssetType(assetCode string) string + func GetBalance(accountId, assetCode, assetIssuer string) string + func GetCreditAsset(ast model.Asset, amount decimal.Decimal, prclient pr_client.PRServiceClient) (creditAsset interface{}, err error) + func GetStellarAccount(accountId string) hProtocol.Account + func GetTrustedAssets(accountAddress string) (bool, []hProtocol.Asset) + func IsBalanceExist(accountId, assetCode, assetIssuer string) bool + func IsNative(assetCode string) bool