Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tip-16.md #682

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions tip-16.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ Alice can assign witness-permission to the administrator. Since the administrato
```

AccountPermissionUpdateContract {
bytes owner_address = 1;
Permission owner = 2; //Empty is invalidate
bytes owner_address = TSVemzDGKLohfQwwHZcSJVan1hHKtruoaQ
Permission owner = TSVemzDGKLohfQwwHZcSJVan1hHKtruoaQ
Permission witness = 3;//Can be empty
repeated Permission actives = 4;//Empty is invalidate
}
* @param owner_address: The address of the account to be modified
* @param owner :Modified owner-permission
repeated Permission actives = TXtWP5RLC5v6GVrQoymu6HnQypsv17GVhE

* @param owner_address:TXtWP5RLC5v6GVrQoymu6HnQypsv17GVhE
* @param owner :TSVemzDGKLohfQwwHZcSJVan1hHKtruoaQ
* @param witness :Modified witness permission (if it is a witness)
* @param actives :Modified actives permission
* @return The transaction
Expand All @@ -75,11 +75,11 @@ Alice can assign witness-permission to the administrator. Since the administrato
}
PermissionType type = 1;
int32 id = 2; //Owner id=0, Witness id=1, Active id start by 2
string permission_name = 3;
string permission_name = owner
int64 threshold = 4;
int32 parent_id = 5;
bytes operations = 6; //1 bit 1 contract
repeated Key keys = 7;
repeated Key keys =
}
* @param type : Permission type, currently only supports three kind of permissions
* @param id : Value is automatically set by the system
Expand Down Expand Up @@ -117,9 +117,9 @@ TransactionSignWeight {
string message = 2;
}

Permission permission = 1;
repeated bytes approved_list = 2;
int64 current_weight = 3;
Permission permission = 0
repeated bytes approved_list = 1
int64 current_weight = 1
Result result = 4;
TransactionExtention transaction = 5;
}
Expand Down