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 }}
Repository navigation
Summarise a new token's control rules before signing a contract create or update #6079
When a contract create or update adds a token, the signer is not told who will control it. The Update Contract screen in the iOS example app (#6053) lists a new token only by its position, and the Settings transition builder and the Kotlin screen show nothing at all. A token definition can name a third party as the one allowed to mint, burn, freeze, or change its rules, with no further approval from the owner.
Proposal
Have rs-platform-wallet summarise the effective authority of each control rule of a new or changed token: the action takers (owner, identity, or group with member weights and threshold) and the admin action takers, covering manual minting, burning, freezing, unfreezing, destroying frozen funds, emergency actions, distribution and the rule-change rules. Return the summary with contract create and update previews, and show it before signing in iOS, Android and the builder. A minting-only summary would understate who controls the token.
Context
Raised in review of #6053 and deferred there: the preview reports what differs from the live contract, and an added token is new in full, with its definition in the tokens field the owner reviews.
Activity