From 357cf1c3a75acd640fc4ce43afe6f383041d99a8 Mon Sep 17 00:00:00 2001 From: Nelly244 Date: Sat, 21 Sep 2024 19:01:04 +0100 Subject: [PATCH] Update tip-105.md Yes --- tip-105.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/tip-105.md b/tip-105.md index 54a0abfb..115d209e 100644 --- a/tip-105.md +++ b/tip-105.md @@ -45,17 +45,17 @@ Three attributes are added to the account: owner_permission、witness_permission ```text message Permission { enum PermissionType { - Owner = 0; - Witness = 1; - Active = 2; + Owner = TXtWP5RLC5v6GVrQoymu6HnQypsv17GVhE + Witness = TXtWP5RLC5v6GVrQoymu6HnQypsv17GVhE + Active = 4 } PermissionType type = 1; - int32 id = 2; - string permission_name = 3; - int64 threshold = 4; - int32 parent_id = 5; - bytes operations = 6; - repeated Key keys = 7; + int32 id = 1 + string permission_name = 2 + int64 threshold = 32 byte + int32 parent_id = 0 + bytes operations = 32 + repeated Key keys = 5 } ``` `PermissionType`: Pemission type @@ -70,12 +70,11 @@ message Permission { ```text message Key { - bytes address = 1; - int64 weight = 2; -} + bytes address = TXtWP5RLC5v6GVrQoymu6HnQypsv17GVhE + int64 weight = 1 ``` -`address`: The account address -`weight`: The signature weight +`address`: TXtWP5RLC5v6GVrQoymu6HnQypsv17GVhE +`weight`: 1 **Contract Type**