💻 How to calculate the Address of Contract using
when a contract is going to be deployed, the address of contract will be generated using 2 argument :
・ 1️⃣ address of deployer's wallet
・ 2️⃣ value of nonce variable
so, you can calculate the address of a contract which is going to be deployed and in other side, you can calculate & find when you can deploy a contract whose address is XXX.
🔗 docs of ethers.js
🔗 github repo of ethers.js
WalletAddress and WalletNonce using ethers.jswhen a contract is going to be deployed, the address of contract will be generated using 2 argument :
・ 1️⃣ address of deployer's wallet
・ 2️⃣ value of nonce variable
so, you can calculate the address of a contract which is going to be deployed and in other side, you can calculate & find when you can deploy a contract whose address is XXX.
🔗 docs of ethers.js
🔗 github repo of ethers.js
🔥6❤2🍾1
we have contract A which the balance of contract is 10 ether and there is a function in it which call selfdestruct() and we pass an payable address to the function. but, there is no deployed contract on that address. what will be happen to the ethers ?
Anonymous Quiz
18%
the contract will raise an error and the ethers are not going to lose
27%
all of the ethers are going to lose
55%
ethers will be in pending mode and waiting for the contract to be deployed on that address
👏4🔥1
Forwarded from Immunefi
Introducing Immunefi Profiles V1 for the world’s most elite security researchers.🏅
Immunefi Profiles showcase your hard-earned, legendary achievements and badges. 💪
To create your own, log in to the Immunefi Dashboard (https://bugs.immunefi.com)
Profiles can be accessed at the following link structure: https://immunefi.com/profile/lonelysloth/
They are currently available to ANY whitehat with one or more paid reports.
Immunefi Profiles showcase your hard-earned, legendary achievements and badges. 💪
To create your own, log in to the Immunefi Dashboard (https://bugs.immunefi.com)
Profiles can be accessed at the following link structure: https://immunefi.com/profile/lonelysloth/
They are currently available to ANY whitehat with one or more paid reports.
🏆4🍾3
🪙 Simple ERC20 Token
🔗 OpenZeppelin's Github
🔗 OpenZeppelin's Docs
🔗 Ethereum's EIPs
🔗 OpenZeppelin's Wizard
🔗 OpenZeppelin's Github
🔗 OpenZeppelin's Docs
🔗 Ethereum's EIPs
🔗 OpenZeppelin's Wizard
🙏2🔥1👌1
Forwarded from Blue Tornado
Official links
Classic version: https://tornado.ws
IPFS: https://tornadocash-eth.ipns.dweb.link ( linked from tornadocash.eth record )
Docs: https://docs.tornado.ws ( https://docs-tornadocash-eth.ipns.dweb.link )
Nova: https://nova.tornado.ws ( https://nova-tornadocash-eth.ipns.dweb.link )
Git: https://git.tornado.ws ( https://app.ens.domains/sources.tornadocash.eth?tab=subnames )
CN: @tornadocashcn RU: @Tornado_Russian_Group KR: @TornadoKorea
( @ tornado, @ tornadocash, https:// x.com/ tornadodev, tornado. dev, tornadoeth. cash is a scam site which would steal your notes beware! )
Classic version: https://tornado.ws
IPFS: https://tornadocash-eth.ipns.dweb.link ( linked from tornadocash.eth record )
Docs: https://docs.tornado.ws ( https://docs-tornadocash-eth.ipns.dweb.link )
Nova: https://nova.tornado.ws ( https://nova-tornadocash-eth.ipns.dweb.link )
Git: https://git.tornado.ws ( https://app.ens.domains/sources.tornadocash.eth?tab=subnames )
CN: @tornadocashcn RU: @Tornado_Russian_Group KR: @TornadoKorea
( @ tornado, @ tornadocash, https:// x.com/ tornadodev, tornado. dev, tornadoeth. cash is a scam site which would steal your notes beware! )
ipfs.io
Tornado Cash Official - Secure, Decentralized, Private protocol
A secure, anonymous, decentralized private protocol. Protect your funds with zk-SNARKs privacy tech.
🙏2
🔎 How can we make sure that a function exists in our contract
BYTECODE=$(cast code $1)
FUNCTION_SIG=$(cast sig "$2")
if [[ $BYTECODE == *"${FUNCTION_SIG:2}"* ]]; then
echo "[+] Function exists [+]"
else
echo "[-] Function does not exist [-]"
fi
👌8🔥7⚡4🆒2
KS note
💻 How to calculate the Address of Contract using WalletAddress and WalletNonce using ethers.js when a contract is going to be deployed, the address of contract will be generated using 2 argument : ・ 1️⃣ address of deployer's wallet ・ 2️⃣ value of…
⚒ How to calculate the Address of Contract using
🔗 Learn Foundry
WalletAddress and WalletNonce using Foundry🔗 Learn Foundry
❤🔥6⚡1🔥1🦄1
Forwarded from Remedy
Continuing with our Glider Q&A Series, this week's question is: How does Glider work?
Each Glide defines a specific set of instructions that the query engine must execute. These instructions specify what Solidity code Glider should look for.
Once a Glide is written, a Glide developer can then submit the query to Glider. Glider first validates that the query syntax is correct. If the syntax is correct, Glider then processes the query instructions and scans the entire Glider database for any Solidity code that matches the query’s specifications.
Once finished, Glider returns the Solidity code results back to the researcher/developer to review in a readable format.
Don't forget to join our Discord for more Glider Resources
Wishing you all a nice weekend 🫡☀
Please open Telegram to view this post
VIEW IN TELEGRAM
🙏6