Modular, configurable smart contracts for blockchain transaction processing
AssigneeKpmg LLP
InventorsNikola G. OGNJANOVIC, David Richard JARCZYK, Michal POL, Jenny LI
Life of this patent
Estimating the term…
Abstract
The invention relates to systems and methods for providing modular and configurable smart contracts for blockchain applications. The smart contracts may be utilized to retain all transaction attribute values in a world state database of the blockchain-implemented ledger. The systems and methods can further provide for dynamically configurable metadata and rules for transaction attributes recorded on a blockchain transaction log. The metadata and rules corresponding to the transaction attributes may be dynamically updated and applied to the transaction attributes.
Claims20
A computer-implemented method for managing a set of rules for transactions on a blockchain, the method comprising:
- storing, by a processing device, a first smart contract on a transaction log partition of the blockchain, wherein the first smart contract is configured to execute the transaction;
- storing, by the processing device, a second smart contract on a data partition of the blockchain, wherein the second smart contract comprises a transaction smart contract configured to perform an action on the transaction;
- storing, by the processing device executing the second smart contract, in the data partition, a data object, wherein the data object comprises a set of rules for transaction attributes, the set of rules being configurable via an interactive user interface;
- receiving, by the processing device executing the second smart contact, at least one updated rule for transaction attributes;
- updating, by the processing device executing the second smart contract, the data object in the data partition by modifying the set of rules for transaction attributes based on the received at least one updated rule for transaction attributes;
- receiving, by the processing device executing the first smart contract, a transaction data object comprising at least one attribute value related to the transaction;
- performing the action, by the processing device executing the first smart contract, on the data object, wherein performing the action is defined via the interactive user interface and further comprises:
- calling, by the processing device executing the first smart contract, the second smart contract;
- retrieving, by the processing device executing the second smart contract, the data object from the data partition;
- dynamically applying, by the processing device executing the second smart contract, the configurable set of rules from the data object to the at least one attribute value in the transaction data object;
- determining, by the processing device executing the second smart contract, that the at least one attribute value satisfies the configurable set of rules from the data object;
- and
- storing, by the processing device executing the first smart contract, the transaction data object in the transaction log partition.
A computer-implemented system for managing a set of rules for transactions on a blockchain, the system comprising:
- a first processing device that is configured to perform the steps of:
- storing a first smart contract on a transaction log partition of the blockchain, wherein the first smart contract is configured to execute the transaction;
- storing a second smart contract on a data partition of the blockchain, wherein the second smart contract comprises a transaction smart contract configured to perform an action on the transaction;
- a second processing device executing the second smart contract configured to perform the steps of:
- storing in the data partition, a data object, wherein the data object comprises a set of rules for transaction attributes, the set of rules being configurable via an interactive user interface;
- receiving at least one updated rule for transaction attributes;
- updating the data object in the data partition by modifying the set of rules for transaction attributes based on the received at least one updated rule for transaction attributes;
- a third processing device executing the second first contract configured to perform the steps of:
- receiving a transaction data object comprising at least one attribute value related to the transaction;
- performing the action on the data object, wherein performing the action is defined via the interactive user interface and further comprises:
- calling, by the processing device executing the first smart contract, the second smart contract;
- retrieving, by the processing device executing the second smart contract, the data object from the data partition;
- dynamically applying, by the processing device executing the second smart contract, the configurable set of rules from the data object to the at least one attribute value in the transaction data object;
- determining, by the processing device executing the second smart contract, that the at least one attribute value satisfies the configurable set of rules from the data object;
- and
- storing, by the processing device executing the first smart contract, the transaction data object in the transaction log partition.
Dependencies are inferred from the claim text.