added the default stable voucher address and decimals
This commit is contained in:
parent
c2cfd0fe44
commit
aacea81397
@ -39,5 +39,7 @@ DEFAULT_MPESA_ASSET=cUSD
|
|||||||
MPESA_BEARER_TOKEN=eyJeSIsInRcCI6IkpXVCJ.yJwdWJsaWNLZXkiOiIwrrrrrr
|
MPESA_BEARER_TOKEN=eyJeSIsInRcCI6IkpXVCJ.yJwdWJsaWNLZXkiOiIwrrrrrr
|
||||||
MPESA_ONRAMP_BASE=https://pretium.v1.grassecon.net
|
MPESA_ONRAMP_BASE=https://pretium.v1.grassecon.net
|
||||||
|
|
||||||
# Known stable voucher addresses (USDT, USDm)
|
# Known stable voucher addresses (USDm, USD₮)
|
||||||
STABLE_VOUCHER_ADDRESSES=0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e,0x765DE816845861e75A25fCA122bb6898B8B1282a
|
STABLE_VOUCHER_ADDRESSES=0x765DE816845861e75A25fCA122bb6898B8B1282a,0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e
|
||||||
|
DEFAULT_STABLE_VOUCHER_ADDRESS=0x765DE816845861e75A25fCA122bb6898B8B1282a
|
||||||
|
DEFAULT_STABLE_VOUCHER_DECIMALS=18
|
||||||
|
|||||||
@ -142,3 +142,11 @@ func StableVoucherAddresses() []string {
|
|||||||
|
|
||||||
return parsed
|
return parsed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func DefaultStableVoucherAddress() string {
|
||||||
|
return env.GetEnv("DEFAULT_STABLE_VOUCHER_ADDRESS", "")
|
||||||
|
}
|
||||||
|
|
||||||
|
func DefaultStableVoucherDecimals() string {
|
||||||
|
return env.GetEnv("DEFAULT_STABLE_VOUCHER_DECIMALS", "")
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user