Smart contracts, (blockchains, distributed ledgers) and rights management broadly construed are the themes of today's Spotlight Patents. Assigned to Coinbase, the first of today's three spotlight patents address techniques for automatic smart contract feature analysis and risk assessment based on unique source code signatures and/or fingerprints within the smart contract. Assigned to Alipay (CN), the second patent addresses techniques for executing a smart contract by a blockchain node of a blockchain. Assigned to Strong Force, the third patent addresses techniques for a smart contract and distributed ledger platform with blockchain custody service.
11544045, “Automatic smart contract analysis,” assigned to Coinbase.
One or more aspects described herein provide automatic smart contract feature analysis and risk assessment based on unique source code signatures and/or fingerprints within the smart contract. A risk assessment engine may automatically analyze a smart contract by first retrieving smart contract source code from a contract address on a blockchain where the smart contract is accessible. The risk assessment engine may generate an abstract syntax tree (AST) of the smart contract using a compiler for the smart contract source code, and then flatten the AST by removing non-differentiating elements from the AST. The flattened AST may be divided by function calls within the smart contract, and then each division may be fingerprinted, e.g., hashed using a one-way hash. The fingerprint is compared to a database of known functions to automatically identify one or more features of the smart contract with associated risk levels.
11544044, “Methods, blockchain nodes, and storage media for executing smart contract,” assigned to Alipay (CN).
Methods, systems, and apparatus for executing a smart contract by a blockchain node of a blockchain. An example method includes receiving bytecode of a smart contract; deploying the smart contract, comprising storing the bytecode of the smart contract on the blockchain; compiling, through Just-In-Time (JIT) compilation, the bytecode of the smart contract into machine code; locally storing the machine code in a memory of the blockchain node; and executing the smart contract deployed on the blockchain, comprising determining whether the machine code corresponding to the bytecode of the smart contract is locally stored in the memory of the blockchain node, and interpreting and executing the bytecode of the smart contract if the machine code corresponding to the bytecode of the smart contract is not locally stored.
11544782, “System and method of a smart contract and distributed ledger platform with blockchain custody service,” assigned to Strong Force TX Portfolio 2018, LLC.
A system and method of a smart contract and distributed ledger platform with blockchain custody service includes a blockchain service circuit structured to interface with a distributed ledger; a data collection circuit structured to receive data related to items of collateral or data related to environments of the items of collateral; a valuation circuit structured to determine a value for each of the plurality of items of collateral based on a valuation model and the received data; and a smart contract circuit structured to interpret a smart lending contract for a loan, and to modify the smart lending contract by assigning, based on the determined value for each of the items of collateral, at least a portion of the items of collateral as security for the loan such that the determined value of the items of collateral is sufficient to provide security for the loan.