US 11,899,783 B2
System level function based access control for smart contract execution on a blockchain
Venkata Siva Vijayendra Bhamidipati, Milpitas, CA (US); Michael Chan, Cupertino, CA (US); Derek Chamorro, Austin, TX (US); Arpit Jain, Milpitas, CA (US); and Ashok Srinivasa Murthy, Fremont, CA (US)
Assigned to eBay, Inc., San Jose, CA (US)
Filed by EBAY INC., San Jose, CA (US)
Filed on Jan. 7, 2022, as Appl. No. 17/571,371.
Application 17/571,371 is a continuation of application No. 16/429,656, filed on Jun. 3, 2019, granted, now 11,263,315.
Claims priority of provisional application 62/774,799, filed on Dec. 3, 2018.
Prior Publication US 2022/0129546 A1, Apr. 28, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 21/54 (2013.01); G06Q 20/40 (2012.01); G06Q 20/36 (2012.01); H04L 9/06 (2006.01)
CPC G06F 21/54 (2013.01) [G06Q 20/3678 (2013.01); G06Q 20/405 (2013.01); H04L 9/0637 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
detecting a function call made by a method of a smart contract on a blockchain by identifying an entrance or exit of the function call in a kernel for smart contract execution on the blockchain; and
in response to detecting the function call:
adding the function call to a function call stack for the smart contract,
accessing a set of function based access control rules from one or more blocks of the blockchain,
checking the function call stack against the set of function based access control rules that each define a prohibited sequence of function calls, and
blocking execution of the function call based on determining the function call stack includes a sequence of function calls that matches a first prohibited sequence of function calls defined by a first function based access control rule of the set of function based access control rules.