- Code executes rules; it does not judge whether your intention is sensible.
- A token approval can allow later transfers.
- Audits and transparency are useful, but do not eliminate all risk.
Contents
A shared program rather than a promise
On Ethereum, a contract has an address and exposes functions. A transaction can call one of those functions to change its state. The network executes code according to its rules; it does not reinterpret the intention of the person clicking.
A vending machine delivers a product when its conditions are met. But if the wrong button was pressed, it does not guess the intended product. Likewise, automating a rule does not prove that the rule matches what you wanted.
A program runs on a network whose participants enforce rules: our Proof of Work and Proof of Stake guide explains that role. Interactions may also incur Ethereum gas fees, even when the intended action fails.
Why a swap may require two actions
For some tokens, one operation permits a contract to move an amount; a second performs the swap. Read both screens. A broad permission can remain after a one-off action. Connecting a wallet to a website is not, by itself, the same as approving spending.
Ask which contract receives permission, for which token and up to what amount. If you cannot answer, a polished interface is not enough. See our security checklist as well.
Oracles, upgrades and audits: overlooked questions
A contract does not inherently know an external price or real-world event result. An oracle supplies external data, making data quality a dependency. Some systems can also be upgraded by administrators or governance.
- Does the live code match the audited version?
- Who can change the rules or pause the system?
- Which external input could become incorrect?
- What permissions are you granting for the action?
An audit is an assessment at a point in time, not all-risk insurance. Understanding these limits is more useful than treating decentralised as a universal safety label.
From button label to actual action
A button labelled “claim offer” is marketing language, not a technical description. Translate it into the actual verb: transfer, approve, deposit, borrow or withdraw. Then identify the object and beneficiary of that action. This also produces a better support question: “Which contract will be authorised to move which token?” is more useful than “Is it safe?” A vague reassurance is not an explanation of the requested permission. Keep the interface’s promise separate from what the signature actually authorises.
Explore the mechanisms discussed in this guide : Blockchain oracles: connecting data and smart contracts, AMMs and liquidity pools: how does a DEX work?, RWA tokenisation: what rights back a real-world asset token?.
Coin or token: what is the difference? · ERC-20: what a token standard does and does not guarantee · Owning an NFT: what do you actually own?
Frequently asked questions
Is a smart contract always immutable?
Not in every system: some architectures allow the logic being used to be upgraded.
Can a contract directly read the internet?
Not like a conventional app; external data depends on mechanisms such as oracles.
About this guide
Fictional examples for educational purposes. This guide is not investment advice. The illustrations are visual artwork, not technical diagrams.



