Skip to content

Iroha 特殊指令

目前的資料模型公開下列內建指令族群:

指令變體
RegisterBoxDomain, Account, AssetDefinition, Nft, Role, Trigger, RegisterPeerWithPop
UnregisterBoxPeer, Domain, Account, AssetDefinition, Nft, Role, Trigger
MintBox數值型 Asset、觸發器重複次數
BurnBox數值型 Asset、觸發器重複次數
TransferBoxDomainAssetDefinition、數值型 AssetNft
SetKeyValueBoxDomainAccountAssetDefinitionNftTrigger 中繼資料
RemoveKeyValueBoxDomainAccountAssetDefinitionNftTrigger 中繼資料
GrantBoxPermission (Grant<Permission, Account>), Role (Grant<RoleId, Account>), RolePermission (Grant<Permission, Role>)
RevokeBoxPermission (Revoke<Permission, Account>), Role (Revoke<RoleId, Account>), RolePermission (Revoke<Permission, Role>)
SetParameter更新鏈上參數
ExecuteTrigger執行觸發器
Upgrade升級執行器
Log執行器日誌項目
CustomInstruction執行器專用的 JSON 承載
原生資產託管OpenAssetEscrow, AcceptAssetEscrow, MarkEscrowPaymentSent, ReleaseAssetEscrow, CancelAssetEscrow, OpenEscrowDispute, ResolveEscrowDispute
通用資產鎖定OpenAssetLock, DrawdownAssetLock, CancelAssetLock, ExpireAssetLock
匿名資產託管OpenAnonymousAssetEscrow, AcceptAnonymousAssetEscrow, MarkAnonymousEscrowPaymentSent, ReleaseAnonymousAssetEscrow, CancelAnonymousAssetEscrow, OpenAnonymousEscrowDispute, ResolveAnonymousEscrowDispute

其他 Iroha 3 模組可透過指令登錄檔註冊特定領域的指令型別。如需由目前原始碼樹產生的結構描述層級清單,請參閱資料模型結構描述

圖表:核心指令族群