You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
Total supply (current chain and all chains) for fungible-v2 tokens
kitty-kad
Draft
Standard
Interfaces
2021-12-09
Abstract
This proposal adds the ability to get the total supply of tokens on the chain and across all chains to the current fungible-v2 interface.
This will help other tools (such as exchanges, coin trackers and Dapps) track supply and market cap over time and help tokens launched on Kadena be integrated into such systems in the future.
Specification
Two new methods are proposed.
1. total-local-supply
This returns the available supply on the current chain.
(defun total-local-supply: decimal
()
@doc " Returns all the available supply for the\
\ current chain"
)
2. total-global-supply
This returns the total supply across all the chains
(defun total-global-supply: decimal
()
@doc " Returns all the available supply across\
\ all the chains"
)
Abstract
This proposal adds the ability to get the total supply of tokens on the chain and across all chains to the current fungible-v2 interface.
This will help other tools (such as exchanges, coin trackers and Dapps) track supply and market cap over time and help tokens launched on Kadena be integrated into such systems in the future.
Specification
Two new methods are proposed.
1. total-local-supply
This returns the available supply on the current chain.
2. total-global-supply
This returns the total supply across all the chains
References