RU

Report of eGaaS team

January 22, 2016 — January 29, 2017

Software applications of the eGaaS platform

Application for conducting polls

Design and functionality of the mobile app for conducting polls StemNLwijzer.nl for the Dutch Party StemNL were substantially improved.

    Position of the controls on the polling page was secured.

Ability of user voting from the list of questions and reflection of the results of their voting were added;

    Ability to change one’s mind before the poll expiration was added.

    Following functions were added for the administrator

    deleting users

    viewing the preliminary results before the poll expiration.

Software platform and language of the smart contracts

Language of the smart contracts and the interface description

    Basic functionality to calculate the cost of the smart contracts execution was developed:

    calculation of the cost of execution of built-in functions and transactions;

    determination of F (Fuel) rate to EGS;

    function of the control of adequacy of user funds for execution of the contract.

    Functional of the private key encryption in the process of adding users to the platform was introduced. Logon script in the case of clickthrough with the encrypted private key was added.

    Functions to receive arrays in the interface and use them for representation of data in tables were added.

    Several bugs were fixed.

Platform design and interface

    Anchors for scrolling through long pages (tables) to the target position were added.

    Menu system was improved.

    A number of classes for configuration of the interface on mobile devices were added

    Expanding the block from top to bottom;

    Hiding the blocks’ background.

January 29, 2017 — February 6, 2017

Software applications of the eGaaS platform

Survey application

The functionality of the StemNLwijzer.nl survey mobile application for the StemNL Dutch party was improved:

    The new survey type was added: obtaining deployed text answers to questions

Application for employment

1. The test application for the job search and the staff employment was developed with the following functionality:

    Filing an application by a citizen for job search;

Filling an application by a company for job vacancies

Company’s approval and rejection of applications relevant to job vacancies;

    Signing of a labor smart-contract between the company and employee for the sales percentage deduction as a reward;

    Implementation of labor smart-contract performance upon the sale contract callback.

Software platform and language of the smart contracts

Language of the smart contracts and the interface description

1. There was completed the preparation of documentation of the eGaaS platform programming language that includes:

    75 functions of the interface elements description language

    the required set of variable types and language constructs for smart-contracts writing

    33 functions of language for smart-contracts writing:

1. AddressToID(input string) int

2. CallContract(name string, params map)

3. ContractAccess(name string) bool

4. DBAmount(tblname string, column string, id int) money

5. DBGetList(tblname string, name string, offset int, limit int, order string, where string, params ...) array

6. DBGetTable(tblname string, columns string, offset int, limit int, order string, where string, params ...) array

7. DBInsert(tblname string, params string, val ...) int

8. DBInt(tblname string, name string, id int) int

9. DBIntExt(tblname string, name string, val (int|string), idname string) int

10. DBIntWhere(tblname string, name string, where string, params ...) int

11. DBString(tblname string, name string, id int) string

12. DBStringExt(tblname string, name string, val (int|string), idname string) string

13. DBStringWhere(tblname string, name string, where string, params ...) string

14. DBTransfer(tblname, columns string, idFrom int, idTo int, amount money)

15. DBUpdate(tblname string, id int, params string, val...)

16. DBUpdateWhere(tblname string, column string, value (int|string), params string, val ...)

17. Float(val int|string) float

18. HexToBytes(hexdata string) bytes

19. IdToAddress(id int) string

20. Int(val string) int

21. IsGovAccount(wallet int) bool

22. Len(val array) int

23. Money(val string|float|int) money

24. PubToID(hexkey string) int

25. Sha256(val string) string

26. Sprintf(pattern string, val ...) string

27. StateValue(name string) string

28. Str(val int|float) string

29. Table(tblname) string

30. UpdateContract(name string, value string, conditions string)

31. UpdateMenu(name string, value string, conditions string)

32. UpdatePage(name string, value string, menu string, conditions string)

33. UpdateParam(name string, value string, conditions string)

2. The system of smart-contracts interaction was improved:

    the contract callback function by link was added

    the system of control of the contracts rights of access to register was debugged

3. The function of data export from table was implemented in the applications building service.

Platform design and interface

The radial dynamic charts were implemented