A smart contract is code that lives on a blockchain. When the input condition is met, the output
executes automatically — with no intermediary and with nobody able to intervene. Despite the name it
is not a legal contract; it is a program whose rules are public and whose behaviour can be read
before use.
Where a player encounters one
Decentralised casinos. Some crypto casinos run their game logic and payouts in a smart contract.
The advantage is transparency: the rules are in the code and payout does not depend on an operator's
willingness. The drawback is that if there is a bug, nobody is there to fix it — the code did
exactly what it said.
Tokens. USDT and other tokens are themselves smart
contracts. The transfer is performed by the contract rather than the network itself, which is exactly
why sending a token costs more gas than sending a native coin.
DEX swaps and bridges. Both run on smart contracts.
What it does not mean
A smart contract does not automatically mean safety. Code can contain bugs or a deliberate back door,
and an unaudited contract is risky. **"Smart-contract based" is no substitute for a
provably fair check or for a licence** — it is a technical property, not
consumer protection.
How a contract is used
You sign a transaction that calls a function of the contract, and you pay a gas fee for it. The result is written to the blockchain and cannot be reversed. Tokens usually take two steps: first an "approve", which lets the contract spend your tokens, and then the actual transfer. This is where the most common trap lies: some pages offer an unlimited allowance. Example: if you hold 500 USDT and grant an unlimited allowance, the contract (or an attacker who controls it) can take all 500; if you allow 20 USDT, the upper limit of the risk is 20 USDT. Check the amount before confirming and revoke unused allowances. How contracts work is explained at ethereum.org: Smart contracts.
What to check before using one
- Whether the contract's source code is verified and readable in a block explorer. Without that, nobody knows what the contract does.
- Whether the contract has been audited, by whom and what was found. An audit reduces risk but does not guarantee there is no bug.
- Whether the contract can be upgraded. If an administrator can swap the code, an "immutable" contract is not really immutable; see who holds that right.
- How long the contract has been in use and how much money it has held.
What a smart contract is not
A casino built on a smart contract is not automatically under an Estonian licence or the supervision of any other regulator. Check the licence separately; there is a guide on the licence page of freespin.ee. General background is in Wikipedia: Smart contract. How to keep a limited amount in a wallet for play is covered under hot wallet.