Skip to content

Commit

Permalink
update 2 task description
Browse files Browse the repository at this point in the history
  • Loading branch information
aSpite committed Dec 24, 2023
1 parent 884ec10 commit fa128b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions descriptions/2.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TL-B:
add_user#368ddef3 query_id:uint64 address:MsgAddressInt share:uint32 = InternalMsgBody;
remove_user#278205c8 query_id:uint64 address:MsgAddressInt = InternalMsgBody;
split_ton#068530b3 query_id:uint64 amount:Coins = InternalMsgBody;
transfer_notification#701c09a6 query_id:uint64 amount:Coins = InternalMsgBody;
transfer_notification#7362d09c query_id:uint64 amount:Coins = InternalMsgBody;
```

### Contract storage
Expand Down Expand Up @@ -85,8 +85,8 @@ The contract should send out to all users according to their shares. You should

The contract must have the following **GET** methods:

- get_users: returns a dictionary with 267 bit keys (user addresses) and the value is uint32, which means user share.
- get_user_share(slice user_address): calculates and returns the user's share.
- get_users: returns a dictionary with 256 bits keys (user addresses' data bits) and the value is uint32, which means user share.
- get_user_share(slice user_address): returns the user's share. It is guaranteed that the user is in the storage.

### Optional

Expand Down

0 comments on commit fa128b8

Please sign in to comment.