While configuring any pallet (treasury pallet in my case), we need to configure some required associative types. To set the values of these required types, we mostly define some constants within the parameter_types!()
macro.
I will quote here the example of pallet_treasury configuration in Kusama here.
In the given example, a constant is defined to be used for PalletId
required associative type like this:
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
Now my question is, can we refer to that constant anywhere else in our runtime code? if Yes how?