:Allowance leaf node


Label

Token Allowance

Description

A Token Allowance provided by a Token Balance. The Delegate Account of the Allowance can spend a fixed amount of Tokens on behalf of the token owner.

Usage

Instances of :Allowance can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class :Allowance
:allowance owl:DatatypeProperty The remaining allowance as provided by the token contract. This value is updated with the most recent known value - but should always be considered potentially outdated. xsd:integer
:initialAllowance owl:DatatypeProperty Number of tokens that may be spent by an allowance's delegate on behalf of the tokens' owner. xsd:integer
:transferAllowance owl:DatatypeProperty The remaining allowance calculated based on the token transfers seen on chain. xsd:integer
:hasApprovalLogEntry owl:FunctionalProperty Relates a Token Approval to the LogEntry of the Event that was emitted when it was created. ethon:LogEntry
:hasDelegate owl:FunctionalProperty Relates a Token Allowance to the Account that has been delegate to spend it on behalf of the Tokens' owner. :TokenDelegate ethon:Account
:hasAllowanceFunctionCall owl:ObjectProperty Relates an allowance to the function call that set the allowance. Newer function calls overwrite the values set by older function calls. Contracts:FunctionCall
From class owl:Thing
:EthOnERC20DataProperty owl:DatatypeProperty Groups all EthOn ERC-20 extension Data Properties. owl:Thing
:EthOnERC20ObjectProperty owl:ObjectProperty Groups all EthOn ERC-20 extension Object Properties owl:Thing
:changesAllowance owl:ObjectProperty Relates a delegate token transfer to the allowance it changes. When a delegate spends a certain amount of a token, this amount is deducted from its balance. owl:Thing
:initialBalance owl:DatatypeProperty The amount of tokens this token balance has initially. The initial value is set in the token contract and cannot be derived from the token transfers. owl:Thing
dc:contributor owl:AnnotationProperty -- owl:Thing
dc:creator owl:AnnotationProperty -- owl:Thing
dc:title owl:AnnotationProperty -- owl:Thing
ethon:suggestedStringRepresentation owl:AnnotationProperty -- owl:Thing
ns:term_status owl:AnnotationProperty -- owl:Thing
vann:preferredNamespacePrefix owl:AnnotationProperty -- owl:Thing
vann:preferredNamespaceUri owl:AnnotationProperty -- owl:Thing

Implementation

@prefix : <http://ethon.consensys.net/ERC20/> .
@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#> .

:Allowance a owl:Class ;
    rdfs:label "Token Allowance"@en ;
    ethon:suggestedStringRepresentation "Allowance" ;
    rdfs:comment "A Token Allowance provided by a Token Balance. The Delegate Account of the Allowance can spend a fixed amount of Tokens on behalf of the token owner."@en ;
    ns:term_status "unstable" .