Standards

Three specifications, three ledger shapes

Balance mappings

Fungible standards map each address to a numeric balance. Transfers subtract from one entry and add to another, so the total supply stays consistent.

Allowance delegation

An allowance lets a spender move a capped amount on the owner's behalf. The contract records this approval as a separate state variable, not as a change to the balance.

Metadata structures

Non-fungible standards assign each unique identifier to a metadata record. The identifier, not the balance, defines which item an entry refers to.

Step by step

From function call to state update

A transfer begins as a function call. The contract checks the caller, validates the amount, and then writes new values to its storage. Each write is recorded as an event log.

Follow these mechanics on the Bloxology DEFI app.