From b3045b57eab3d603b943f85c1ca97a6c336ded6a Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 12 Oct 2017 16:02:16 +0200 Subject: [PATCH 1/3] new ontology link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17f8415..513c443 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Find more illustrations here: [EthOn illustrations](EthOn_illustrations.md) ### 2. Visualize the Ontology Visualize the ontology using [WebVOWL](http://vowl.visualdataweb.org/webvowl/). -[It should be enough to click this link](http://visualdataweb.de/webvowl/#iri=https://raw.githubusercontent.com/ConsenSys/ethereum-ontology/master/EthOn.rdf). +[It should be enough to click this link](http://visualdataweb.de/webvowl/#iri=http://ethon.consensys.net/EthOn.ttl). WebVOWL is also developed on GitHub: https://github.com/VisualDataWeb/WebVOWL ### 3. Check out the specification From 117f789f04e82e744b33b3981eaef582dd5ffb46 Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 12 Oct 2017 16:10:33 +0200 Subject: [PATCH 2/3] fix erc20:value thanks @hydrarulz --- ERC20/EthOn_ERC20.ttl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ERC20/EthOn_ERC20.ttl b/ERC20/EthOn_ERC20.ttl index bdc6cda..728c63e 100644 --- a/ERC20/EthOn_ERC20.ttl +++ b/ERC20/EthOn_ERC20.ttl @@ -389,16 +389,16 @@ ns:term_status rdf:type owl:AnnotationProperty . ns:term_status "unstable" . -### http://ethon.consensys.net/ERC20/http://ethon.consensys.net/ERC20/value - rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf :EthOnERC20DataProperty ; - rdf:type owl:FunctionalProperty ; - rdfs:domain :TokenTransfer ; - rdfs:range xsd:integer ; - ethon:suggestedStringRepresentation "value" ; - rdfs:comment "Number of tokens transferred."@en ; - rdfs:label "value"@en ; - ns:term_status "unstable" . +### http://ethon.consensys.net/ERC20/value +:value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf :EthOnERC20DataProperty ; + rdf:type owl:FunctionalProperty ; + rdfs:domain :TokenTransfer ; + rdfs:range xsd:integer ; + ethon:suggestedStringRepresentation "value" ; + rdfs:comment "Number of tokens transferred."@en ; + rdfs:label "value"@en ; + ns:term_status "unstable" . ################################################################# From 229817929a52b72df660e90e738f7c0d3cea4270 Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 13 Oct 2017 08:01:32 +0200 Subject: [PATCH 3/3] Add REVERT opcode --- Contracts/EthOn_Contracts.ttl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Contracts/EthOn_Contracts.ttl b/Contracts/EthOn_Contracts.ttl index 1d6413d..463ba0e 100644 --- a/Contracts/EthOn_Contracts.ttl +++ b/Contracts/EthOn_Contracts.ttl @@ -1621,6 +1621,16 @@ If it represents an Input of an Event it can have the boolean property isIndexed :stackItemsRemoved "0"^^xsd:integer ; rdfs:comment "Halt execution returning output data."@en . # +# http://ethon.consensys.net/Contracts/Opcode_REVERT + +:Opcode_REVERT a owl:NamedIndividual , :Opcode ; + :cost "0"^^xsd:integer ; + :hexValue "fd"^^xsd:hexBinary ; + :name "RETURN"^^xsd:string ; + :stackItemsAdded "2"^^xsd:integer ; + :stackItemsRemoved "0"^^xsd:integer ; + rdfs:comment "Throw an exception without consuming all gas."@en . +# # http://ethon.consensys.net/Contracts/Opcode_SDIV :Opcode_SDIV a owl:NamedIndividual , :Opcode ;