:byteSignature leaf node


Label

byte signature

Description

A function can be identified by its byte signature. It is generated from the canonical signature. For example the Function `bar(uint32 x, bool y)` returns `(bool r)` has the canonical signature `bar(uint32,bool)`. The first 4 bytes of the Keccac 256 hash of this forms the byte signature of the function, in the example that would be `0xcdcd77c0`.

Usage

DOMAINPROPERTYRANGE
:FunctionSelector :byteSignature xsd:hexBinary

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#> .

:byteSignature a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "byte signature"@en ;
    ethon:suggestedStringRepresentation "byteSignature" ;
    rdfs:comment "A function can be identified by its byte signature. It is generated from the canonical signature. For example the Function `bar(uint32 x, bool y)` returns `(bool r)` has the canonical signature `bar(uint32,bool)`. The first 4 bytes of the Keccac 256 hash of this forms the byte signature of the function, in the example that would be `0xcdcd77c0`."@en ;
    rdfs:domain :FunctionSelector ;
    rdfs:range xsd:hexBinary ;
    rdfs:seeAlso <https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI#function-selector-and-argument-encoding> ;
    rdfs:subPropertyOf :EthOnContractsDataProperty ;
    ns:term_status "unstable" .