0x1::XFIcan be used as type parameter in generic functions, like in this example:
deposit<T>which contain generic type
T. By passing
XFI::Tas type parameter into these generic functions, we make them work with XFI balances. Note that other coin types can too be passed as type parameters.
0x1::Coinsmodule to use in smart contracts: