Here you can ask questions related to this specific course section.
When a token smart contract is just created, how do the tokens circulate among exchanges?
In case of a dex, the creator of the token has to provide liquidity, for a cex you will need to contact the exchange, surely pay a fee and provide liquidity to it.
Cheers,
Dani
can you just copy the standards of an erc20 tokens to let’s say a bep20 tokens or are the rules always different?
You can check the docs for both of them, I am sure Binance provides an accurate breakdown of the BEP20 standard.
Cheers,
Dani
Hi, would like to know what is address(0) ? Thank you !
Address(0) (0x0000000000000000000000000000000000000000): https://etherscan.io/address/0x0000000000000000000000000000000000000000
Is an address used in lots of Solidity contract implementations as burner address from ERC tokens.
Is there a base ERC20 contract that we can inherit from? Then we only need to override a few functions to make our token unique.
Hey @Placebo, hope you are well.
Sorry for the delay, check https://openzeppelin.com/ which is a open source framework with templates for multiple contracts, you should be learning how to install them and import then further in this course
Carlos Z
When a contract inherits from ours, is there a way to see that from the parent contract’s side ? Maybe some logs ?
This would mean that whenever a contract inherits from let’s say ERC20.sol, the creator of ERC20.sol could see that somehow.
When contract A inherits from 3 other contracts (B, C & D) that all have a virtual function called MyFunction, if we define in contract A:
function MyFunction() public override(B,C) {}
-
what will happen to the definition of MyFunction in contract D ?
-
What will
super.MyFunction()
be ? will it concatenate what’s in B and C ? and D too ?
You could monitor the transactions made in your contract, if one of the addresses that has interacted with your contract triggers one of your events, you could track it and research more on which are contracts an which just users (wallets).
By the events triggered on a contract interaction. For example:
If someone transfer from user A to B, X amount > It will trigger the transfer
event from A to B with X amount.
Read here: https://docs.soliditylang.org/en/v0.8.16/contracts.html?highlight=super#inheritance
Carlos Z