EP4121849A1 - Method and system for auditing smart contracts - Google Patents
Method and system for auditing smart contractsInfo
- Publication number
- EP4121849A1 EP4121849A1 EP21771691.9A EP21771691A EP4121849A1 EP 4121849 A1 EP4121849 A1 EP 4121849A1 EP 21771691 A EP21771691 A EP 21771691A EP 4121849 A1 EP4121849 A1 EP 4121849A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- smart contract
- source code
- hash
- level source
- bytecode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Definitions
- the present disclosure relates to a method and system for auditing smart contracts, and more particularly a method and system for auditing smart contracts on a blockchain through the use of hashing functions.
- Blockchain was initially created as a storage mechanism for use in conducting payment transactions with a cryptographic currency.
- Using a blockchain provides a number of benefits, such as decentralization, distributed computing, transparency regarding transactions, and yet also provides anonymity as to the individuals or entities involved in a transaction.
- New blocks are added to the blockchain through a process known as “consensus.”
- blockchain nodes work to generate a new block that satisfies all requirements, a process known as “mining,” and then will share the new block with other nodes.
- the other nodes wil l confirm that the block is suitable and then distribute the block throughout the blockchain, which effectively adds that block into the blockchain and moves the nodes on to working on consensus on the next block.
- Smart contracts are written using a high-level language which makes it easier for developers to create them.
- a high-level language can include programming languages such as C, FORTRAN, or Pascal that enables a programmer to write programs that are more or less independent for a particular type of computer. Such languages can be considered high-level because they are closer, for example, to human languages and further from machine languages.
- the smart contracts are deployed to a blockchain, the smart contracts are compiled into a compact bytecode format, which can be executed by a virtual machine when invoking one of its clauses.
- auditing the smart contract requires either analyzing the bytecode itself, which can be difficult, or to transform the bytecode back into a high-level language (“decompilation”) for analysis, may require additional tools.
- the bytecode of the smart contract is published with metadata, including the hash of the original high-level source code compiled to generate the smart contract, and the version of the compiler used.
- the original high-level code is published with metadata, which can be used to compute the hash of the compiled bytecode.
- the resulting hash can then be compared with the actual hash value of the published smart contract as proof that the published high-level code is the one that produced the smart contract bytecode.
- the published high-level code is then used for analysis.
- the above-mentioned approaches may be combined to give either option to a person auditing the smart contract.
- a method to audit smart contracts, the method comprising: publishing, with a processing server, a smart contract bytecode with metadata on a blockchain; retrieving, with the processing server, the published smart contract bytecode with metadata from the blockchain; extracting, with the processing server, the smart contract bytecode from the published smart contract bytecode; and verifying the smart contract bytecode by comparing a computed hash of a high-level source code of the published smart contract bytecode with the metadata retrieved from the blockchain.
- a system for auditing smart contracts, the system comprising: a processing server configured to: publish a smart contract bytecode with metadata on a blockchain; retrieve the published smart contract bytecode with metadata from the blockchain; extract the smart contract bytecode from the published smart contract bytecode; and verify the smart contract bytecode by comparing a computed hash of a high-level source code of the published smart contract bytecode with the metadata retrieved from the blockchain.
- FIG. 1 is a block diagram illustrating a high level system architecture for auditing a smart contract in accordance with exemplary embodiments.
- FIG. 2 is a diagram illustrating a method for publishing a smart contract in accordance with an exemplary embodiment.
- FIG. 3 is a flowchart illustrating a method for publishing a smart contract in accordance with the embodiment as shown in FIG. 2 in accordance with an exemplary embodiment.
- FIG. 4 is a diagram illustrating a method for publishing a smart contract in accordance with another exemplary embodiment.
- FIG. 5 is a flowchart illustrating the method for publishing a smart contract in accordance with the embodiment as shown in FIG. 4 in accordance with an exemplary embodiment.
- FIG. 6 is a diagram illustrating a method for verifying the bytecode without a compiler in accordance with an exemplary embodiment.
- FIG. 7 is a flowchart illustrating a method to verify the bytecode without a compiler as shown in FIG. 6 in accordance with an exemplary embodiment.
- FIG. 8 is a diagram illustrating a method for verifying the bytecode with a compiler in accordance with another exemplary embodiment.
- FIG. 9 is a flowchart illustrating the method for verifying the bytecode with the compiler as shown in FIG. 8 in accordance with an exemplary embodiment.
- FIG. 10 is a block diagram illustrating a computer system architecture in accordance with exemplary embodiments.
- One or more computing devices may comprise a blockchain network, which may be configured to process and record transactions as part of a block in the blockchain. Once a block is completed, the block is added to the blockchain and the transaction record thereby updated.
- the blockchain may be a ledger of transactions in chronological order, or may be presented in any other order that may be suitable for use by the blockchain network.
- transactions recorded in the blockchain may include a destination address and a currency amount, such that the blockchain records how much currency is attributable to a specific address.
- the transactions are financial and others not financial, or might include additional or different information, such as a source address, timestamp, etc.
- a blockchain may also or alternatively include nearly any type of data as a form of transaction that is or needs to be placed in a distributed database that maintains a continuously growing list of data records hardened against tampering and revision, even by its operators, and may be confirmed and validated by the blockchain network through proof of work and/or any other suitable verification techniques associated therewith.
- data regarding a given transaction may further include additional data that is not directly part of the transaction appended to transaction data.
- the inclusion of such data in a blockchain may constitute a transaction.
- a blockchain may not be directly associated with a specific digital, virtual, fiat, or other type of currency.
- Payment Network A system or network used for the transfer of money via the use of cash-substitutes for thousands, millions, and even billions of transactions during a given period. Payment networks may use a variety of different protocols and procedures in order to process the transfer of money for various types of transactions. Transactions that may be performed via a payment network may include product or service purchases, credit purchases, debit transactions, fund transfers, account withdrawals, etc. Payment networks may be configured to perform transactions via cash-substitutes, which may include payment cards, letters of credit, checks, transaction accounts, etc. Examples of networks or systems configured to perform as payment networks include those operated by Mastercard ® ', VISA ® ', Discover ® ’, American Express ® , PayPal ® ’, etc. Use of the term “payment network” herein may refer to both the payment network as an entity, and the physical payment network, such as the equipment, hardware, and software executed on hardware comprising the payment network.
- Payment Rails - Infrastructure associated with a payment network used in the processing of payment transactions and the communication of transaction messages and other similar data between the payment network and other entities interconnected with the payment network that handles thousands, millions, and even billions of transactions during a given period.
- the payment rails may be comprised of the hardware used to establish the payment network and the interconnections between the payment network and other associated entities, such as financial institutions, gateway processors, etc.
- payment rails may also be affected by software, such as via special programming of the communication hardware and devices that comprise the payment rails.
- the payment rails may include specifically configured computing devices that are specially configured for the routing of transaction messages, which may be specially formatted data messages that are electronically transmitted via the payment rails, as discussed in more detail below.
- a merchant may be a consumer, a retailer, a wholesaler, a manufacturer, or any other type of entity that may provide products for purchase as will be apparent to persons having skill in the relevant art.
- a merchant may have special knowledge in the goods and/or services provided for purchase.
- a merchant may not have or require any special knowledge in offered products.
- an entity involved in a single transaction may be considered a merchant.
- the term “merchant” may refer to an apparatus or device of a merchant entity.
- Issuer An entity that establishes (e.g., opens) a letter or line of credit in favor of a beneficiary, and honors drafts drawn by the beneficiary against the amount specified in the letter or line of credit.
- the issuer may be a bank or other financial institution authorized to open lines of credit.
- any entity that may extend a line of credit to a beneficiary may be considered an issuer.
- the line of credit opened by the issuer may be represented in the form of a payment account, and may be drawn on by the beneficiary via the use of a payment card.
- An issuer may also offer additional types of payment accounts to consumers as will be apparent to persons having skill in the relevant art, such as debit accounts, prepaid accounts, electronic wallet accounts, savings accounts, checking accounts, etc., and may provide consumers with physical or non-physical means for accessing and/or utilizing such an account, such as debit cards, prepaid cards, automated teller machine cards, electronic wallets, checks, etc.
- Acquirer An entity that may process payment card transactions on behalf of a merchant.
- the acquirer may be a bank or other financial institution authorized to process payment card transactions on a merchant's behalf. In many instances, the acquirer may open a line of credit with the merchant acting as a beneficiary.
- the acquirer may exchange funds with an issuer in instances where a consumer, which may be a beneficiary to a line of credit offered by the issuer, transacts via a payment card with a merchant that is represented by the acquirer.
- Payment Transaction A transaction between two entities in which money or other financial benefit is exchanged from one entity to the other.
- the payment transaction may be a transfer of funds, for the purchase of goods or services, for the repayment of debt, or for any other exchange of financial benefit as will be apparent to persons having skill in the relevant art.
- payment transaction may refer to transactions funded via a payment card and/or payment account, such as credit card transactions.
- Such payment transactions may be processed via an issuer, payment network, and acquirer.
- the process for processing such a payment transaction may include at least one of authorization, batching, clearing, settlement, and funding.
- Authorization may include the furnishing of payment details by the consumer to a merchant, the submitting of transaction details (e.g., including the payment details) from the merchant to their acquirer, and the verification of payment details with the issuer of the consumer’s payment account used to fund the transaction.
- Batching may refer to the storing of an authorized transaction in a batch with other authorized transactions for distribution to an acquirer.
- Clearing may include the sending of batched transactions from the acquirer to a payment network for processing. Settlement may include the debiting of the issuer by the payment network for transactions involving beneficiaries of the issuer.
- the issuer may pay the acquirer via the payment network. In other instances, the issuer may pay the acquirer directly. Funding may include payment to the merchant from the acquirer for the payment transactions that have been cleared and settled. It will be apparent to persons having skill in the relevant art that the order and/or categorization of the steps discussed above performed as part of payment transaction processing.
- Point of Sale A computing device or computing system configured to receive interaction with a user (e.g., a consumer, employee, etc.) for entering in transaction data, payment data, and/or other suitable types of data for the purchase of and/or payment for goods and/or services.
- the point of sale may be a physical device (e.g., a cash register, kiosk, desktop computer, smart phone, tablet computer, etc.) in a physical location that a customer visits as part of the transaction, such as in a “brick and mortar” store, or may be virtual in e-commerce environments, such as online retailers receiving communications from customers over a network such as the Internet.
- the point of sale may be virtual, the computing device operated by the user to initiate the transaction or the computing system that receives data as a result of the transaction may be considered the point of sale, as applicable.
- FIG. 1 illustrates a system 100 for auditing smart contracts on a blockchain through the use of hashing.
- the system 100 may include a processing server 102.
- the processing serv er 102 may be one of a plurality of nodes comprising a blockchain network 104.
- the blockchain network 104 may be associated with one or more blockchains, which may be used to store data associated with a sending device 106 (for example, a merchant, an acquirer and/or issuer via a payment network).
- the processing server 102 may be configured to generate and validate new blocks that are added to the blockchain, where the validation process for a new block may involve mathematical verification of data stored therein across a plurality of the nodes comprising the blockchain network 104.
- the processing server 102 discussed in more detail below with respect to FIG. 10, may be configured to obtain services provided by the sending device 106, store such data in a new block that is generated and added to the blockchain, and, in some cases, may provide services to others.
- the blockchain network 104 may be comprised of a plurality of blocks, where each block is comprised of a block header and one or more data values.
- the data values may each be associated with services provided by the sending device 106 (i.e., issuers or issuing institutions), and may include, for example, services directed to smart contacts as disclosed herein.
- Each block header may include at least a timestamp, a block reference value, and a data reference value.
- the timestamp may be a stamp of a time when the block header is generated.
- the block reference value may be a reference to the previous block (e.g., determined via timestamp) in the blockchain.
- the block reference value may be a hash value generated via the application of one or more hashing algorithms to the block header of the previous block.
- the data reference value may be a reference to the one or more data values included in the respective block.
- the data reference value may be a hash value generated via the application of one or more hashing algorithms, which may be the same or different than those used in generation of the block reference value, to the one or more data values included in the block.
- the use of the reference values may ensure that the data stored in the blockchain is immutable, as a modification to any data value can be detected via generation of the data reference value, as it would thus differ from the value stored in the block header, which would, in turn result in a different block reference value for the subsequent block, which would cany on through every subsequent block.
- no block header or data value may be modified without requiring modification to every single subsequent block in the blockchain.
- no modification to the blockchain may be performed without compromise of every single node.
- the processing server 102 of the blockchain network 104 may receive the data value corresponding to the services offered by the sending device 106, which may be included in a newly generated block (e.g., and incorporated into the data reference value in the respective block header).
- the generated block may be validated by other nodes in the blockchain network 104 using traditional methods, which may include independent generation of the reference values and validation thereof. Once validation is completed, the newly generated block may be added to the blockchain and provisioned to all of the nodes in the blockchain network 104.
- validation of the data prior to addition of the new block may include authentication of the sending device 106. In some instances, authentication may be performed via a password or other unique value) s) provided by the sending device 106 for authentication thereof.
- the blockchain network 104 may provision a private key to the sending device 106 of a cryptographic key pair.
- the sending device 106 may generate a digital signature using their private key, which may be submitted to the processing server 102 with their services provided.
- the processing server 102 may validate the digital signature using the corresponding public key and associated signature validation algorithms to authenticate the sending device 106.
- the other nodes comprising the blockchain network 104 may also validate the digital signature as part of the validation process before confirming a new block for addition to the blockchain.
- the blockchain network 104 can alternatively be a private or permissioned blockchain.
- only authorized entities e.g., sending device 106 may have access to the data stored in the blockchain network 104.
- access may be limited to the sending device 106 using any suitable method, such as being stored in a private network or location, being encrypted, etc.
- FIG. 2 is a diagram 200 illustrating a method for publishing a smart contract 210 in accordance with an exemplary embodiment.
- the smart contract 210 is written in a high-level language into a high-level source code 212, and the high-level source code 212 is compiled into a bytecode 220.
- the smart contract 210 in the form of the bytecode 220 is published on the blockchain network 104 with metadata 230.
- the metadata 230 can include a hash function used to produce the hash of the high-level source code H f 232, a hash of a high-level source code h c 234, and a Version V of the compiler 236 used to compile the bytecode 220.
- the original high- level source code 212 can be published on-chain (i.e., on the blockchain network 104) for easier retrieval, or by a different channel, for example, an online source code repository, for later verification.
- FIG. 3 is a flowchart illustrating a method 300 for publishing a smart contract 210 in accordance with the embodiment as shown in FIG. 2.
- the smart contract 210 is written in a high-level language into a high-level source code 212.
- the smart contract 210 in the high-level source code 212 is compiled into a bytecode 220.
- the high-level source code 212 is hashed to produce a hash function of the high-level source code H f 232 and a hash of a high-level source code h c 234.
- step 340 the metadata 230 of the smart contract 210 is generated using the hash function used to produce the hash of the high-level source code H f 232, the hash of a high-level source code h c 234, and the version of the compiler 236 used to compile the bytecode 220.
- step 350 the smart contract 210 is published as a bytecode 220 with the metadata 230 on the blockchain network 104.
- FIG. 4 is a diagram 400 illustrating a method for publishing a smart contract 210 in accordance with another exemplary embodiment.
- the high-level source code 212 of the smart contract 210 can be published 450 on the blockchain 104 with the following metadata 430: a hash function used to produce the hash of the bytecode H f 432, a hash of the generated bytecode h s 434, a version of the compiler 438 used to compile the published bytecode V, a hash of the transaction publishing the smart contract bytecode h t 436, and optionally the bytecode 220 of the smart contract 210 itself.
- the transaction may or may not be signed with the same private key used to sign the transaction publishing the original bytecode 220, which means that someone can publish the high-level source code 212 of a smart contract 210 on behalf of its author.
- FIG. 5 is a flowchart 500 illustrating the method for publishing a smart contract in accordance with the embodiment as shown in FIG. 4.
- the high-level source code 212 of the smart contract 210 is written in a high-level language.
- the high-level source code 212 of the smart contract 210 is compiled into a bytecode 220.
- the bytecode 220 is hashed to produce a hash function of the bytecode H f 432, a hash of the generated bytecode h g 434, and a hash of the transaction publishing the smart contract bytecode h t 436.
- step 540 the metadata 430 for the smart contract 210 is generated using the hash function of the bytecode H f 432, the hash of the generated bytecode h g 434, the hash of the transaction publishing the smart contract bytecode hi 436, and the version of the compiler 438 used to compile the bytecode 220.
- step 550 the bytecode 220 and the metadata 430 of the smart contract 210 is published on the blockchain network 104. Verifying the By tecode without a Compiler
- FIG. 6 is a diagram 600 illustrating a method for verifying the bytecode 220 without a compiler in accordance with an exemplary embodiment.
- the bytecode 220 to verify the bytecode 220 without a compiler, the bytecode 220 must have been published with the hash of the high-level source code h c 234 that produced the bytecode 220, and the auditor must have been in possession of the original high-level source code 212 (either retrieved from the blockchain network 104 if the original high-level source code 212 was published there, or, for example, alternatively, retrieved from an online source code repository).
- FIG. 7 is a flowchart illustrating a method 700 to verify the bytecode 220 of the smart contract 210 without a compiler in accordance with an exemplary embodiment.
- the auditor in step 710, to verify, the auditor must compute the hash of the original source code h c ' using the hash function H f 232 defined in the metadata 230 of the bytecode 220.
- the hash of the original source code h c ' using the hash function H f 232 defined in the metadata 230 of the bytecode 220 is compared to the hash of the high-level source code h c .
- step 730 if h c ' matches h c , the source code can be authenticated as the original high-level source code 212 that produced the bytecode 220, and can be used to audit the smart contract 210.
- FIG. 8 is a diagram 800 illustrating a method for verifying the bytecode 220 with a compiler in accordance with another exemplary embodiment. As shown in FIG. 8, if the auditor has a compiler, the original high-level source code 212 must have been published with the metadata 430 of the hash of the generated bytecode h g 434 and the hash function used to hash the generated bytecode H f 432.
- the entry containing the published original high-level source code must be retrieved, either by: using the transaction of the published smart contract code, if it is known; searching an entry with h t equal to the hash of the transaction used to publish the smart contract 210; or searching an entry with h g to the hash of the generated bytecode 220 (if the hash function is known).
- the published byte code 220 of the smart contract 210 can be extracted.
- the published bytecode 220 can then be compiled using the version V of the compiler 438 specified in the metadata 430.
- the resulting bytecode 220 is then hashed using H f 432 and wherein the result is h c .
- h c should match h g 434, however, this is not a requirement.
- the hash of the bytecode 220 is then computed using the hash function H f 432 specified in the metadata 430. The result is h b . If the two hashes h b and h c match, the published high-level code source 212 for the smart contract 210 can reasonably be regarded as the source for the bytecode 220 to audit, and be used for auditing the smart contract logic.
- FIG. 9 is a flowchart 900 illustrating the method for verifying the bytecode with the compiler as shown in FIG. 8.
- the published bytecode 220 with metadata 430 is retrieved from the blockchain network 104.
- the published bytecode with the compiler specified in the metadata is compiled.
- the compiled bytecode is hashed using the hash function used to produce the hash of the bytecode H f .
- the hash of the bytecode is computed using the hash function H f specified in the metadata.
- step 950 the hash of the bytecode H f from step 930 is compared to the hash of the bytecode computed in step 940 using the hash function H f specified in the metadata.
- step 960 if the computed hash of the bytecode H f from step 930 matches the hash of the bytecode computed in step 940, the source code can be authenticated.
- FIG. 10 illustrates a computer system 1000 in which embodiments of the present disclosure, or portions thereof, may be implemented as computer-readable code.
- the blockchain network 104 of FIG. 1 may be implemented in the computer system 1000 using hardware, non-transitory computer readable media having instructions stored thereon, or a combination thereof and may be implemented in one or more computer systems or other processing systems.
- Hardware may embody modules and components used to implement the methods of FIGS. 2-9.
- programmable logic may execute on a commercially available processing platform configured by executable software code to become a specific purpose computer or a special purpose device (e.g., programmable logic array, application-specific integrated circuit, etc.).
- a person having ordinary skill in the art may appreciate that embodiments of the disclosed subject matter can be practiced with various computer system configurations, including multi-core multiprocessor systems, minicomputers, mainframe computers, computers linked or clustered with distributed functions, as well as pervasive or miniature computers that may be embedded into virtually any device.
- at least one processor device and a memory may be used to implement the above described embodiments.
- a processor unit or device as discussed herein may be a single processor, a p lurality of processors, or combinations thereof. Processor devices may have one or more processor “cores.”
- the terms “computer program medium,” “non- transitory computer readable medium,” and “computer usable medium” as discussed herein are used to generally refer to tangible media such as a removable storage unit 1018, a removable storage unit 1022, and a hard disk installed in hard disk drive 1012.
- Processor device 1004 may be a special purpose or a general purpose processor device specifically configured to perform the functions discussed herein.
- the processor device 1004 may be connected to a communications infrastructure 1006, such as a bus, message queue, network, multi-core message-passing scheme, etc.
- the network may be any network suitable for performing the functions as disclosed herein and may include a local area network (LAN), a wide area network (WAN), a wireless network (e.g., WiFi), a mobile communication network, a satellite network, the Internet, fiber optic, coaxial cable, infrared, radio frequency (RF), or any combination thereof.
- LAN local area network
- WAN wide area network
- WiFi wireless network
- mobile communication network e.g., a mobile communication network
- satellite network the Internet, fiber optic, coaxial cable, infrared, radio frequency (RF), or any combination thereof.
- RF radio frequency
- the computer system 1000 may also include a main memory 1008 (e.g., random access memory, read-only memory, etc.), and may also include a secondary memory 1010.
- the secondary memory 1010 may include the hard disk drive 1012 and a removable storage drive 1014, such as a floppy disk drive, a magnetic tape drive, an optical disk drive, a flash memory, etc.
- the removable storage drive 1014 may read from and/or write to the removable storage unit 1018 in a well-known manner.
- the removable storage unit 1018 may include a removable storage media that may be read by and written to by the removable storage drive 1014.
- the removable storage drive 1014 is a floppy disk drive or universal serial bus port
- the removable storage unit 1018 may be a floppy disk or portable flash drive, respectively.
- the removable storage unit 1018 may be non-transitory computer readable recording media.
- the secondary memory 1010 may include alternative means for allowing computer programs or other instructions to be loaded into the computer system 1000, for example, the removable storage unit 1022 and an interface 1020.
- Examples of such means may include a program cartridge and cartridge interface (e.g., as found in video game systems), a removable memory chip (e.g., EEPROM, PROM, etc.) and associated socket, and other removable storage units 1022 and interfaces 1020 as will be apparent to persons having skill in the relevant art.
- Data stored in the computer system 1000 may be stored on any type of suitable computer readable media, such as optical storage (e.g., a compact disc, digital versatile disc, Blu-ray disc, etc.) or magnetic tape storage (e.g., a hard disk drive).
- optical storage e.g., a compact disc, digital versatile disc, Blu-ray disc, etc.
- magnetic tape storage e.g., a hard disk drive
- the data may be configured in any type of suitable database configuration, such as a relational database, a structured query language (SQL) database, a distributed database, an object database, etc.
- suitable configurations and storage types will be apparent to persons having skill in the relevant art.
- the computer system 1000 may also include a communications interface 1024.
- the communications interface 1024 may be configured to allow software and data to be transferred between the computer system 1000 and external devices.
- Exemplary communications interfaces 1024 may include a modem, a network interface (e.g., an Ethernet card), a communications port, a PCMCIA slot and card, etc.
- Software and data transferred via the communications interface 1024 may be in the form of signals, which may be electronic, electromagnetic, optical, or other signals as will be apparent to persons having skill in the relevant art.
- the signals may travel via a communications path 1026, which may be configured to carry the signals and may be implemented using wire, cable, fiber optics, a phone line, a cellular phone link, a radio frequency link, etc.
- the computer system 1000 may further include a display interface 1002.
- the display interface 1002 may be configured to allow data to be transferred between the computer system 1000 and external display 1030.
- Exemplary display interfaces 1002 may include high-definition multimedia interface (HDMI), digital visual interface (DVI), video graphics array (VGA), etc.
- the display 1030 may be any suitable type of display for displaying data transmitted via the display interface 1002 of the computer system 1000, including a cathode ray tube (CRT) display, liquid crystal display (LCD), light-emitting diode (LED) display, capacitive touch display, thin-film transistor (TFT) display, etc.
- CTR cathode ray tube
- LCD liquid crystal display
- LED light-emitting diode
- TFT thin-film transistor
- Computer program medium and computer usable medium may refer to memories, such as the main memory 1008 and secondary memory 1010, which may be memory semiconductors (e.g., DRAMs, etc.). These computer program products may be means for providing software to the computer system 1000.
- Computer programs e.g., computer control logic
- Computer programs may also be received via the communications interface 1024.
- Such computer programs, when executed, may enable computer system 1000 to implement the present methods as discussed herein.
- the computer programs, when executed may enable processor device 1004 to implement the processes and methods illustrated by FIGS. 2-9, as discussed herein. Accordingly, such computer programs may represent controllers of the computer system 1000.
- the software may be stored in a computer program product and loaded into the computer system 1000 using the removable storage drive 1014, interface 1020, and hard disk drive 1012, or communications interface 1024.
- the processor device 1004 may comprise one or more modules or engines configured to perform the functions of the computer system 1000. Each of the modules or engines may be implemented using hardware and, in some instances, may also utilize software, such as corresponding to program code and/or programs stored in the main memory 1008 or secondary memory 1010. In such instances, program code may be compiled by the processor device 1004 (e.g., by a compiling module or engine) prior to execution by the hardware of the computer system 1000. For example, the program code may be source code written in a programming language that is translated into a lower level language, such as assembly language or machine code, for execution by the processor device 1004 and/or any additional hardware components of the computer system 1000.
- the process of compiling may include the use of lexical analysis, preprocessing, parsing, semantic analysis, syntax- directed translation, code generation, code optimization, and any other techniques that may be suitable for translation of program code into a lower level language suitable for controlling the computer system 1000 to perform the functions disclosed herein. It will be apparent to persons having skill in the relevant art that such processes result in the computer system 1000 being a specially configured computer system 1000 uniquely programmed to perform the functions discussed above.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202062992240P | 2020-03-20 | 2020-03-20 | |
| PCT/US2021/022904 WO2021188765A1 (en) | 2020-03-20 | 2021-03-18 | Method and system for auditing smart contracts |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP4121849A1 true EP4121849A1 (en) | 2023-01-25 |
| EP4121849A4 EP4121849A4 (en) | 2024-04-03 |
Family
ID=77748518
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP21771691.9A Pending EP4121849A4 (en) | 2020-03-20 | 2021-03-18 | Method and system for auditing smart contracts |
Country Status (3)
| Country | Link |
|---|---|
| US (2) | US11558173B2 (en) |
| EP (1) | EP4121849A4 (en) |
| WO (1) | WO2021188765A1 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11558173B2 (en) * | 2020-03-20 | 2023-01-17 | Mastercard International Incorporated | Method and system for auditing smart contracts |
| ES2991831T3 (en) * | 2020-11-20 | 2024-12-05 | Quant Network Ltd | Multi-distributed secure ledger system |
| US12587490B2 (en) | 2023-01-19 | 2026-03-24 | Citibank, N.A. | Managing digital artifact access using agentic artificial intelligence models |
| US12592897B2 (en) | 2023-01-19 | 2026-03-31 | Citibank, N.A. | Detecting anomalous resource distribution patterns in distributed artificial intelligence-based agent networks |
| US12556493B2 (en) * | 2023-01-19 | 2026-02-17 | Citibank. N.A. | Encrypted autonomous agent verification in multi-tiered distributed systems of third party agents |
| US12526244B2 (en) * | 2024-02-06 | 2026-01-13 | Citibank, N.A. | Encrypted autonomous agent verification in multi-tiered distributed systems across global or cloud networks |
| US12587489B2 (en) | 2023-01-19 | 2026-03-24 | Citibank, N.A. | Knowledge registry for agentic artificial intelligence models stored on a distributed network |
| CN119377967B (en) * | 2024-10-24 | 2025-10-24 | 中国电信股份有限公司 | A blockchain-based smart contract audit verification method, system and medium |
Family Cites Families (26)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR3015078B1 (en) * | 2013-12-16 | 2017-03-31 | Morpho | BINARY CODE AUTHENTICATION |
| US9849364B2 (en) | 2016-02-02 | 2017-12-26 | Bao Tran | Smart device |
| GB2564208A (en) * | 2016-05-13 | 2019-01-09 | Nchain Holdings Ltd | A method and system for verifying ownership of a digital asset using a distributed hash table and a peer-to-peer distributed ledger |
| KR101849917B1 (en) * | 2016-10-13 | 2018-05-31 | 주식회사 코인플러그 | Method for providing certificate service based on smart contract and server using the same |
| WO2018111295A1 (en) | 2016-12-16 | 2018-06-21 | Hitachi, Ltd. | Blockchain monitoring and management |
| US10795977B2 (en) | 2017-08-24 | 2020-10-06 | Oracle International Corporation | Digital asset traceability and assurance using a distributed ledger |
| US11144893B2 (en) * | 2017-10-30 | 2021-10-12 | Nec Corporation | Method and system for securing smart contracts in blockchains |
| US11699201B2 (en) * | 2017-11-01 | 2023-07-11 | Docusign, Inc. | System and method for blockchain-based network transitioned by a legal contract |
| CN108229170B (en) * | 2018-02-02 | 2020-05-12 | 中科软评科技(北京)有限公司 | Software analysis method and apparatus using big data and neural network |
| US10832220B2 (en) * | 2018-03-06 | 2020-11-10 | At&T Intellectual Property I, L.P. | Methods, devices and systems for managing group membership and record verification using blockchain |
| US20190303541A1 (en) * | 2018-04-02 | 2019-10-03 | Ca, Inc. | Auditing smart contracts configured to manage and document software audits |
| US11888985B2 (en) * | 2018-04-06 | 2024-01-30 | Nippon Telegraph And Telephone Corporation | Blockchain system, registration terminal, approval terminal, smart contract registration method, and smart contract registration program |
| US11005664B2 (en) * | 2018-04-16 | 2021-05-11 | R3 Ltd. | Blockchain post-quantum signature scheme |
| WO2020018523A1 (en) * | 2018-07-17 | 2020-01-23 | Jpmorgan Chase Bank, N.A. | System and method for distributed ledger-based software supply chain management |
| US20200028691A1 (en) * | 2018-07-20 | 2020-01-23 | Honeywell International Inc. | System and method for a blockchain based automated certifiable workflow process |
| WO2020051540A1 (en) * | 2018-09-06 | 2020-03-12 | Clause, Inc. | System and method for a hybrid contract execution environment |
| CN109040133A (en) | 2018-09-27 | 2018-12-18 | 上海点融信息科技有限责任公司 | The method, apparatus and storage medium of intelligent contract are installed in block chain network |
| US11341451B2 (en) * | 2018-10-10 | 2022-05-24 | Questaweb Holdings Inc. | Hierarchical blockchain architecture for global trade management |
| US11018852B2 (en) * | 2018-12-21 | 2021-05-25 | International Business Machines Corporation | Blockchain trust anchor |
| US11777738B2 (en) * | 2019-06-04 | 2023-10-03 | International Business Machines Corporation | Metadata-based endorsement |
| US10554406B1 (en) * | 2019-06-04 | 2020-02-04 | Capital One Services, Llc | Authorized data sharing using smart contracts |
| US11621973B2 (en) * | 2019-07-03 | 2023-04-04 | Battelle Memorial Institute | Blockchain cybersecurity audit platform |
| US11526614B2 (en) * | 2019-10-15 | 2022-12-13 | Anchain.ai Inc. | Continuous vulnerability management system for blockchain smart contract based digital asset using sandbox and artificial intelligence |
| US20210182848A1 (en) * | 2019-12-17 | 2021-06-17 | Capital One Services, Llc | Identification and authorization of transactions via smart contracts |
| US11558173B2 (en) * | 2020-03-20 | 2023-01-17 | Mastercard International Incorporated | Method and system for auditing smart contracts |
| US11416474B2 (en) * | 2020-04-05 | 2022-08-16 | International Business Machines Corporation | Blockchain-based software library access and usage management |
-
2021
- 2021-03-18 US US17/205,386 patent/US11558173B2/en active Active
- 2021-03-18 WO PCT/US2021/022904 patent/WO2021188765A1/en not_active Ceased
- 2021-03-18 EP EP21771691.9A patent/EP4121849A4/en active Pending
-
2023
- 2023-01-10 US US18/095,283 patent/US12028440B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| US11558173B2 (en) | 2023-01-17 |
| US12028440B2 (en) | 2024-07-02 |
| US20210297234A1 (en) | 2021-09-23 |
| US20230163947A1 (en) | 2023-05-25 |
| EP4121849A4 (en) | 2024-04-03 |
| WO2021188765A1 (en) | 2021-09-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12028440B2 (en) | Method and system for auditing smart contracts | |
| US11748747B2 (en) | Method and system for payment card verification via blockchain | |
| US11803857B2 (en) | Method and system for implementing chargebacks on a distributed ledger system | |
| US12217246B2 (en) | Method and system for use of an EMV card in a multi-signature wallet for cryptocurrency transactions | |
| US20220222674A1 (en) | Method and system for transaction authorization via controlled blockchain | |
| US11423367B2 (en) | Method and system for securing transactions by check using blockchain technology | |
| US11132704B2 (en) | Method and system for electronic vouchers via blockchain | |
| US11093924B2 (en) | Method and system for verification of device authenticity | |
| WO2020023180A1 (en) | Method and system for hybrid payment authorization | |
| US12100014B2 (en) | Method and system for providing a service node within a blockchain | |
| US12131326B2 (en) | Method and system for transferring digital tokens to and from a physical card | |
| US20210056557A1 (en) | Method and system for verifying point of sale authenticity through blockchain distributed ledger | |
| KR20240127382A (en) | Method and system for integrating blockchain technology into existing computer architecture | |
| US20210295279A1 (en) | Method and system to manage dispute resolution via digital asset network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20220901 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40087024 Country of ref document: HK |
|
| A4 | Supplementary search report drawn up and despatched |
Effective date: 20240301 |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04L 9/32 20060101ALI20240226BHEP Ipc: H04L 9/06 20060101ALI20240226BHEP Ipc: G06Q 10/10 20120101ALI20240226BHEP Ipc: G06F 21/10 20130101ALI20240226BHEP Ipc: G06F 21/64 20130101ALI20240226BHEP Ipc: G06F 8/30 20180101ALI20240226BHEP Ipc: G06F 8/41 20180101AFI20240226BHEP |