Numericalstorage Open Menu
Opens a Numerical Storage menu (triggerable)
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
definition | Ref<NumericalStorageDefinitionEntry> | — | The storage definition to open. |
layoutPool | List<LayoutData> | empty | Layout pool for the menu. |
mainLayoutId | String | — | The ID of the main layout to display from the pool. |
TypeWriter 通用字段(triggers, criteria, modifiers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | Triggerable entries after this entry. |
criteria | List<Criteria> | empty | Criteria to check before triggering. |
modifiers | List<Modifier> | empty | Modifiers to apply when triggered. |
How to use it
The action opens the menu of definition: the title and the number of rows come from the definition, the items from the layoutPool of this entry. Put the id of one layout in mainLayoutId. Each item that should work as a button needs buttonPrefix set to numericalstorage_button: and a buttonType such as DEPOSIT_FIXED:100. The full list is in the Menus section of the extension page.
This entry is also used to reopen the menu after a transaction and by /typewriter ns open. Create exactly one per definition.