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**