FIELD: information technology.
SUBSTANCE: invention relates to a method, a computer-readable data medium and a system for controlling access to smart contracts in a network of gates. Method comprises identifying request for execution of closed function of smart contract, containing initiator identifier of requesting account, besides, smart contract contains closed function and main function, performing a closed smart contract function for extracting a white list from a blockchain predefined before the smart contract call, comprising a functional decorator specific for the smart contract programming language, a link to an external location relative to the smart contract, storing account identifiers authorized to execute a smart contract configured to be called before executing a primary function of the smart contract; processing a white list for identification based on account indicators authorized to execute a smart account of accounts; determining that requesting account is authorized to execute smart contract, by calling a closed function; performing a smart contract main function to generate transaction data.
EFFECT: technical result consists in controlling access to smart contracts.
20 cl, 6 dwg
Authors
Dates
2021-03-16—Published
2018-12-28—Filed