[Core] Implement getTokenInfo
on HTS to retrieve the treasury account and token info
#108
Labels
feature
Enhancing an existing feature driven by business requirements. Typically backwards compatible.
HTS allows the user to set up a treasury account which acts as the receiver when newly minted tokens are created. In order to support mint (and burn) operations1, we need to have access to the treasury account. The treasury account2 is retrievable through the
getTokenInfo(address)
3 as specified in HIP-514.Implement the
getTokenInfo(address)
as part ofHtsSystemContract
. Provide the necessary slots to store the corresponding information per token, i.e.,TokenInfo
4Footnotes
https://github.com/hashgraph/hedera-forking/issues/78 ↩
IHederaTokenService.sol#L148
treasury
↩IHederaTokenService.sol#L668-L674
getTokenInfo
↩IHederaTokenService.sol#L173-L200
TokenInfo
↩The text was updated successfully, but these errors were encountered: