:isConstant leaf node


Label

is constant

Description

Functions with the property isConstant set to true promise to not modify the state of the blockchain. For instance, in solidity this can be achieved by a function modifier that declares the function to be constant (solidity doesn't enforce this, yet).

Usage

DOMAINPROPERTYRANGE
:Function :isConstant xsd:boolean

Implementation

@prefix : <http://ethon.consensys.net/Contracts/> .
@prefix ethon: <http://ethon.consensys.net/> .
@prefix ns: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:isConstant a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "is constant"@en ;
    ethon:suggestedStringRepresentation "isConstant" ;
    rdfs:comment "Functions with the property isConstant set to true promise to not modify the state of the blockchain. For instance, in solidity this can be achieved by a function modifier that declares the function to be constant (solidity doesn't enforce this, yet)."@en ;
    rdfs:domain :Function ;
    rdfs:range xsd:boolean ;
    rdfs:subPropertyOf :EthOnContractsDataProperty ;
    ns:term_status "unstable" .