Smart contracts: What happens when you call one?
What is a smart contract in simple terms? It is code at a blockchain address that runs when called, setting a result without a central operator.
The Top Crypto Editors 3 min read
A smart contract is a program stored at an address on a blockchain that runs when someone sends it a transaction. It has code and stored data, such as balances or settings, and anyone can call its public functions. The code sets what happens when the contract receives a valid call.
You meet smart contracts when you use apps that move tokens between networks. The Monad bridge is a cross-chain app for transferring supported assets between Monad and Ethereum. Its contracts handle the on-chain steps of that transfer.
What happens when your wallet calls a smart contract?
Your wallet signs a transaction that tells a contract which function to run and supplies any required details. Every node executes the same code and records the same result, so no single party can change the outcome of that call. You pay gas for the call: ETH on Ethereum and MON on Monad.
Ethereum contracts run on the Ethereum Virtual Machine (EVM) and are usually written in Solidity. Monad is EVM-compatible, so Solidity contracts can be deployed there without being rewritten.
When you use this bridge, a contract on Ethereum locks or burns your tokens and emits a message. Once that message is verified, a contract on Monad releases or mints the corresponding tokens. Your wallet approves and sends transactions; the contracts perform the on-chain steps.
A smart contract is not the same thing as a decentralized app (dApp). The contract is the on-chain program; the dApp is the app you use to interact with one or more contracts. That distinction matters because a familiar app screen does not replace the contract call your wallet asks you to approve.
Deployed code generally cannot be changed. Some contracts sit behind upgradeable proxies, which let an admin key holder replace the logic the proxy uses. Many bridge contracts use proxies, so the person or group controlling that key may be able to change how the bridge works. Before signing, check the network, token, contract address and approval amount in your wallet; this helps you avoid approving a call on the wrong network or allowing more token access than you intended.
What should you check next?
How do I read a contract on a block explorer?
Search for its address on the explorer for the relevant network. Review its transactions and, if available, its verified source code and read-only data.
What does it mean when a contract is verified?
Verification means the published source code matches the code deployed at that address. It helps you inspect the contract, but does not guarantee that its logic is safe.
How do I revoke a token approval I gave a contract?
Use a wallet or approval tool that supports the network to find the token allowance for that contract, then set it to zero. That revocation is a transaction and costs gas.