diff --git a/devportal/application_contracts/golos_contracts/golos.social_contract.md b/devportal/application_contracts/golos_contracts/golos.social_contract.md index 8b1d8b9..8a2428a 100644 --- a/devportal/application_contracts/golos_contracts/golos.social_contract.md +++ b/devportal/application_contracts/golos_contracts/golos.social_contract.md @@ -11,7 +11,7 @@ The `golos.social` smart contract provides users with the following features: **A user’s pin list** — a database item containing a list of account names that a given user is interested in. The user’s pin list is created and edited by the user. It can be used in the client application to create subscriptions, including informing the given user (subscriber) about the appearance of a new post whose author’s name is contained in the pin list. -**«Black» list** — a database item containing a list of account names that this user characterizes as unwanted. The «black» list is created and edited by the user. Using the «black» list allows the user to block comments and votes of accounts whose names are contained in this list. The `golos.publication` smart contract verifies the presence of the account name in this list when performing `createmsg`, `upvote` and `downvote` actions. +**«Black» list** — a database item containing a list of account names that this user characterizes as unwanted. The «black» list is created and edited by the user. Using the «black» list allows the user to block comments and votes of accounts whose names are contained in this list. The `golos.publication` smart contract verifies the absence of the account name in this list when performing `createmssg` action. ## Actions supported by golos.social smart contract The `golos.social` smart contract supports the following actions: [pin](#pin), [unpin](#unpin), [block](#block), [unblock](#unblock), [updatemeta](#updatemeta) and [deletemeta](#deletemeta). @@ -30,6 +30,8 @@ struct accountmeta { optional instagram; // User’s instagram account optional telegram; // User’s telegram account optional vk; // User’s vk account + optional whatsapp; // User’s whatsapp account + optional wechat; // User’s wechat account optional website; // Personal website url optional first_name; // User first name @@ -58,7 +60,7 @@ struct accountmeta { optional target_point_b; // Intermediate target B } ``` -The `accountmeta` declaration is set as a parameter in the `updatemeta` and `deletemeta` actions. +The `accountmeta` declaration is set as a parameter in the `updatemeta` action. ## pinblock table The `pinblock` table is a database item and contains information about the relationship of one user to another. The data from the table is used to create a pin-list and a list of blocked users.